RTEMS 4.11
Annotated Report
Sun Dec 23 01:07:42 2012

ffc06e90 <IMFS_dump_directory>:                                       
 */                                                                   
static void IMFS_dump_directory(                                      
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
ffc06e90:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc06e94:	7c 08 02 a6 	mflr    r0                                     
ffc06e98:	7d 80 00 26 	mfcr    r12                                    
ffc06e9c:	90 01 00 44 	stw     r0,68(r1)                              
ffc06ea0:	93 61 00 2c 	stw     r27,44(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc06ea4:	83 63 00 50 	lwz     r27,80(r3)                             
ffc06ea8:	93 41 00 28 	stw     r26,40(r1)                             
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 ));            
ffc06eac:	3b 43 00 54 	addi    r26,r3,84                              
  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 );                    
ffc06eb0:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
 */                                                                   
static void IMFS_dump_directory(                                      
  IMFS_jnode_t  *the_directory,                                       
  int            level                                                
)                                                                     
{                                                                     
ffc06eb4:	92 81 00 10 	stw     r20,16(r1)                             
ffc06eb8:	92 a1 00 14 	stw     r21,20(r1)                             
ffc06ebc:	92 c1 00 18 	stw     r22,24(r1)                             
ffc06ec0:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc06ec4:	93 01 00 20 	stw     r24,32(r1)                             
ffc06ec8:	93 21 00 24 	stw     r25,36(r1)                             
ffc06ecc:	93 81 00 30 	stw     r28,48(r1)                             
ffc06ed0:	93 a1 00 34 	stw     r29,52(r1)                             
ffc06ed4:	93 c1 00 38 	stw     r30,56(r1)                             
ffc06ed8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc06edc:	91 81 00 0c 	stw     r12,12(r1)                             
  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 );                    
ffc06ee0:	41 9e 00 c4 	beq-    cr7,ffc06fa4 <IMFS_dump_directory+0x114>
ffc06ee4:	2e 04 00 00 	cmpwi   cr4,r4,0                               
ffc06ee8:	3f c0 00 00 	lis     r30,0                                  
ffc06eec:	3f 80 ff c2 	lis     r28,-62                                
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
ffc06ef0:	3e 80 ff c2 	lis     r20,-62                                
      return;                                                         
  }                                                                   
  puts("");                                                           
ffc06ef4:	3f 20 ff c2 	lis     r25,-62                                
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc06ef8:	3e a0 ff c2 	lis     r21,-62                                
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc06efc:	3e e0 ff c2 	lis     r23,-62                                
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc06f00:	3e c0 ff c2 	lis     r22,-62                                
ffc06f04:	7c 9d 23 78 	mr      r29,r4                                 
ffc06f08:	3b de 27 f0 	addi    r30,r30,10224                          
ffc06f0c:	3b 9c 62 80 	addi    r28,r28,25216                          
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
ffc06f10:	3a 94 62 e0 	addi    r20,r20,25312                          
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
ffc06f14:	3f 00 ff c2 	lis     r24,-62                                
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
      return;                                                         
  }                                                                   
  puts("");                                                           
ffc06f18:	3b 39 54 f0 	addi    r25,r25,21744                          
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc06f1c:	3a b5 62 cc 	addi    r21,r21,25292                          
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc06f20:	3a f7 62 b8 	addi    r23,r23,25272                          
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc06f24:	3a d6 62 ac 	addi    r22,r22,25260                          
        !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++ )                                      
ffc06f28:	41 90 00 2c 	blt-    cr4,ffc06f54 <IMFS_dump_directory+0xc4><== NEVER TAKEN
ffc06f2c:	3b e0 00 00 	li      r31,0                                  
      fprintf(stdout, "...." );                                       
ffc06f30:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc06f34:	7f 83 e3 78 	mr      r3,r28                                 
ffc06f38:	38 80 00 01 	li      r4,1                                   
ffc06f3c:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc06f40:	38 a0 00 04 	li      r5,4                                   
        !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++ )                                      
ffc06f44:	3b ff 00 01 	addi    r31,r31,1                              
      fprintf(stdout, "...." );                                       
ffc06f48:	48 01 0f a1 	bl      ffc17ee8 <fwrite>                      
        !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++ )                                      
ffc06f4c:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc06f50:	40 9c ff e0 	bge+    cr7,ffc06f30 <IMFS_dump_directory+0xa0>
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
ffc06f54:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc06f58:	38 7b 00 0c 	addi    r3,r27,12                              
ffc06f5c:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06f60:	48 01 01 29 	bl      ffc17088 <fputs>                       
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
ffc06f64:	81 3b 00 4c 	lwz     r9,76(r27)                             
ffc06f68:	80 a9 00 00 	lwz     r5,0(r9)                               
  switch( IMFS_type( the_jnode ) ) {                                  
ffc06f6c:	2b 85 00 06 	cmplwi  cr7,r5,6                               
ffc06f70:	40 9d 00 7c 	ble-    cr7,ffc06fec <IMFS_dump_directory+0x15c><== ALWAYS TAKEN
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
ffc06f74:	81 3e 00 00 	lwz     r9,0(r30)                              <== NOT EXECUTED
ffc06f78:	7e 84 a3 78 	mr      r4,r20                                 <== NOT EXECUTED
ffc06f7c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06f80:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc06f84:	48 00 ff 09 	bl      ffc16e8c <fprintf>                     <== NOT EXECUTED
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
ffc06f88:	81 3b 00 4c 	lwz     r9,76(r27)                             
    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 ) )                             
ffc06f8c:	81 29 00 00 	lwz     r9,0(r9)                               
ffc06f90:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06f94:	41 9e 00 98 	beq-    cr7,ffc0702c <IMFS_dump_directory+0x19c>
                                                                      
  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 ) {                                 
ffc06f98:	83 7b 00 00 	lwz     r27,0(r27)                             
  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 );                    
ffc06f9c:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc06fa0:	40 9e ff 88 	bne+    cr7,ffc06f28 <IMFS_dump_directory+0x98>
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( IMFS_is_directory( the_jnode ) )                             
      IMFS_dump_directory( the_jnode, level + 1 );                    
  }                                                                   
}                                                                     
ffc06fa4:	80 01 00 44 	lwz     r0,68(r1)                              
ffc06fa8:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc06fac:	7c 08 03 a6 	mtlr    r0                                     
ffc06fb0:	82 81 00 10 	lwz     r20,16(r1)                             
ffc06fb4:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc06fb8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06fbc:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc06fc0:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc06fc4:	83 01 00 20 	lwz     r24,32(r1)                             
ffc06fc8:	83 21 00 24 	lwz     r25,36(r1)                             
ffc06fcc:	83 41 00 28 	lwz     r26,40(r1)                             
ffc06fd0:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc06fd4:	83 81 00 30 	lwz     r28,48(r1)                             
ffc06fd8:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc06fdc:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc06fe0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc06fe4:	38 21 00 40 	addi    r1,r1,64                               
ffc06fe8:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
ffc06fec:	39 38 62 64 	addi    r9,r24,25188                           
ffc06ff0:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc06ff4:	7d 49 28 2e 	lwzx    r10,r9,r5                              
ffc06ff8:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc06ffc:	7d 29 03 a6 	mtctr   r9                                     
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc07000:	81 3e 00 00 	lwz     r9,0(r30)                              
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
ffc07004:	4e 80 04 20 	bctr                                           
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
ffc07008:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc0700c:	7e e3 bb 78 	mr      r3,r23                                 
ffc07010:	38 80 00 01 	li      r4,1                                   
ffc07014:	38 a0 00 13 	li      r5,19                                  
ffc07018:	48 01 0e d1 	bl      ffc17ee8 <fwrite>                      
ffc0701c:	81 3b 00 4c 	lwz     r9,76(r27)                             
    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 ) )                             
ffc07020:	81 29 00 00 	lwz     r9,0(r9)                               
ffc07024:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07028:	40 9e ff 70 	bne+    cr7,ffc06f98 <IMFS_dump_directory+0x108><== ALWAYS TAKEN
      IMFS_dump_directory( the_jnode, level + 1 );                    
ffc0702c:	7f 63 db 78 	mr      r3,r27                                 
ffc07030:	38 9d 00 01 	addi    r4,r29,1                               
ffc07034:	4b ff fe 5d 	bl      ffc06e90 <IMFS_dump_directory>         
ffc07038:	4b ff ff 60 	b       ffc06f98 <IMFS_dump_directory+0x108>   
      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)",                       
ffc0703c:	3c 80 ff c2 	lis     r4,-62                                 
ffc07040:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07044:	80 bb 00 54 	lwz     r5,84(r27)                             
ffc07048:	38 84 62 9c 	addi    r4,r4,25244                            
ffc0704c:	80 db 00 58 	lwz     r6,88(r27)                             
ffc07050:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07054:	48 00 fe 39 	bl      ffc16e8c <fprintf>                     
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
      return;                                                         
  }                                                                   
  puts("");                                                           
ffc07058:	7f 23 cb 78 	mr      r3,r25                                 
ffc0705c:	48 01 21 01 	bl      ffc1915c <puts>                        
ffc07060:	4b ff ff 28 	b       ffc06f88 <IMFS_dump_directory+0xf8>    
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
ffc07064:	80 69 00 08 	lwz     r3,8(r9)                               
ffc07068:	3c 80 ff c2 	lis     r4,-62                                 
ffc0706c:	80 bb 00 50 	lwz     r5,80(r27)                             
ffc07070:	38 84 62 88 	addi    r4,r4,25224                            
ffc07074:	80 db 00 54 	lwz     r6,84(r27)                             
ffc07078:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0707c:	48 00 fe 11 	bl      ffc16e8c <fprintf>                     
ffc07080:	4b ff ff d8 	b       ffc07058 <IMFS_dump_directory+0x1c8>   
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
ffc07084:	80 89 00 08 	lwz     r4,8(r9)                               
ffc07088:	38 60 00 2f 	li      r3,47                                  
ffc0708c:	48 00 fe e5 	bl      ffc16f70 <fputc>                       
ffc07090:	4b ff ff c8 	b       ffc07058 <IMFS_dump_directory+0x1c8>   
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
ffc07094:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc07098:	7e a3 ab 78 	mr      r3,r21                                 
ffc0709c:	38 80 00 01 	li      r4,1                                   
ffc070a0:	38 a0 00 12 	li      r5,18                                  
ffc070a4:	48 01 0e 45 	bl      ffc17ee8 <fwrite>                      
ffc070a8:	4b ff fe e0 	b       ffc06f88 <IMFS_dump_directory+0xf8>    
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
ffc070ac:	80 bb 00 54 	lwz     r5,84(r27)                             
ffc070b0:	7e c4 b3 78 	mr      r4,r22                                 
ffc070b4:	80 69 00 08 	lwz     r3,8(r9)                               
ffc070b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc070bc:	48 00 fd d1 	bl      ffc16e8c <fprintf>                     
ffc070c0:	4b ff ff 98 	b       ffc07058 <IMFS_dump_directory+0x1c8>   
                                                                      

ffc0e2dc <IMFS_eval_token>: rtems_filesystem_eval_path_context_t *ctx, void *arg, const char *token, size_t tokenlen ) {
ffc0e2dc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0e2e0:	7c 08 02 a6 	mflr    r0                                     
  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;                        
  bool access_ok = rtems_filesystem_eval_path_check_access(           
ffc0e2e4:	38 80 00 01 	li      r4,1                                   
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
ffc0e2e8:	90 01 00 24 	stw     r0,36(r1)                              
ffc0e2ec:	93 a1 00 14 	stw     r29,20(r1)                             
  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;                        
ffc0e2f0:	83 a3 00 20 	lwz     r29,32(r3)                             
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
ffc0e2f4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0e2f8:	7c bb 2b 78 	mr      r27,r5                                 
ffc0e2fc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0e300:	7c de 33 78 	mr      r30,r6                                 
  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;                        
  bool access_ok = rtems_filesystem_eval_path_check_access(           
ffc0e304:	80 bd 00 30 	lwz     r5,48(r29)                             
ffc0e308:	a0 dd 00 3c 	lhz     r6,60(r29)                             
ffc0e30c:	a0 fd 00 3e 	lhz     r7,62(r29)                             
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
ffc0e310:	93 81 00 10 	stw     r28,16(r1)                             
ffc0e314:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0e318:	93 41 00 08 	stw     r26,8(r1)                              
ffc0e31c:	93 e1 00 1c 	stw     r31,28(r1)                             
  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;                        
  bool access_ok = rtems_filesystem_eval_path_check_access(           
ffc0e320:	48 00 0f ad 	bl      ffc0f2cc <rtems_filesystem_eval_path_check_access>
    dir->st_mode,                                                     
    dir->st_uid,                                                      
    dir->st_gid                                                       
  );                                                                  
                                                                      
  if ( access_ok ) {                                                  
ffc0e324:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e328:	40 9e 00 30 	bne-    cr7,ffc0e358 <IMFS_eval_token+0x7c>    
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc0e32c:	38 60 00 01 	li      r3,1                                   
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e330:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0e334:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0e338:	7c 08 03 a6 	mtlr    r0                                     
ffc0e33c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0e340:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0e344:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0e348:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0e34c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0e350:	38 21 00 20 	addi    r1,r1,32                               
ffc0e354:	4e 80 00 20 	blr                                            
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc0e358:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc0e35c:	41 9e 01 5c 	beq-    cr7,ffc0e4b8 <IMFS_eval_token+0x1dc>   
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
ffc0e360:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc0e364:	41 9e 00 c8 	beq-    cr7,ffc0e42c <IMFS_eval_token+0x150>   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0e368:	83 fd 00 50 	lwz     r31,80(r29)                            
    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 );           
ffc0e36c:	3b 5d 00 54 	addi    r26,r29,84                             
                                                                      
      while ( current != tail ) {                                     
ffc0e370:	7f 9f d0 00 	cmpw    cr7,r31,r26                            
ffc0e374:	41 9e 00 b0 	beq-    cr7,ffc0e424 <IMFS_eval_token+0x148>   
        IMFS_jnode_t *entry = (IMFS_jnode_t *) current;               
        bool match = strncmp( entry->name, token, tokenlen ) == 0     
ffc0e378:	38 7f 00 0c 	addi    r3,r31,12                              
ffc0e37c:	7f 64 db 78 	mr      r4,r27                                 
ffc0e380:	7f c5 f3 78 	mr      r5,r30                                 
ffc0e384:	48 00 55 e5 	bl      ffc13968 <strncmp>                     
          && entry->name [tokenlen] == '\0';                          
ffc0e388:	7d 3f f2 14 	add     r9,r31,r30                             
ffc0e38c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e390:	40 9e 00 88 	bne-    cr7,ffc0e418 <IMFS_eval_token+0x13c>   
ffc0e394:	89 29 00 0c 	lbz     r9,12(r9)                              
ffc0e398:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e39c:	40 9e 00 7c 	bne-    cr7,ffc0e418 <IMFS_eval_token+0x13c>   
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
ffc0e3a0:	81 3f 00 4c 	lwz     r9,76(r31)                             
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
ffc0e3a4:	39 40 00 00 	li      r10,0                                  
                                                                      
  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 );    
ffc0e3a8:	80 7c 00 04 	lwz     r3,4(r28)                              
ffc0e3ac:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0e3b0:	7c 63 00 34 	cntlzw  r3,r3                                  
};                                                                    
                                                                      
void IMFS_eval_path( rtems_filesystem_eval_path_context_t *ctx )      
{                                                                     
  rtems_filesystem_eval_path_generic( ctx, NULL, &IMFS_eval_config ); 
}                                                                     
ffc0e3b4:	81 1c 00 10 	lwz     r8,16(r28)                             
      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)) {
ffc0e3b8:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc0e3bc:	91 5c 00 0c 	stw     r10,12(r28)                            
                                                                      
  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 );    
ffc0e3c0:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
      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)) {
ffc0e3c4:	41 9e 01 08 	beq-    cr7,ffc0e4cc <IMFS_eval_token+0x1f0>   
        entry = entry->info.hard_link.link_node;                      
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
ffc0e3c8:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc0e3cc:	41 9e 00 8c 	beq-    cr7,ffc0e458 <IMFS_eval_token+0x17c>   
  IMFS_jnode_types_t type                                             
)                                                                     
{                                                                     
  rtems_filesystem_global_location_t **fs_root_ptr = NULL;            
                                                                      
  if ( type == IMFS_DIRECTORY ) {                                     
ffc0e3d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e3d4:	40 9e 00 94 	bne-    cr7,ffc0e468 <IMFS_eval_token+0x18c>   
    if ( node->info.directory.mt_fs != NULL ) {                       
ffc0e3d8:	83 df 00 5c 	lwz     r30,92(r31)                            
ffc0e3dc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e3e0:	41 9e 00 88 	beq-    cr7,ffc0e468 <IMFS_eval_token+0x18c>   
                                                                      
          if ( !terminal ) {                                          
            status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;     
          }                                                           
        } else {                                                      
          access_ok = rtems_filesystem_eval_path_check_access(        
ffc0e3e4:	80 bf 00 30 	lwz     r5,48(r31)                             
ffc0e3e8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e3ec:	a0 df 00 3c 	lhz     r6,60(r31)                             
ffc0e3f0:	38 80 00 01 	li      r4,1                                   
ffc0e3f4:	a0 ff 00 3e 	lhz     r7,62(r31)                             
ffc0e3f8:	48 00 0e d5 	bl      ffc0f2cc <rtems_filesystem_eval_path_check_access>
            RTEMS_FS_PERMS_EXEC,                                      
            entry->st_mode,                                           
            entry->st_uid,                                            
            entry->st_gid                                             
          );                                                          
          if ( access_ok ) {                                          
ffc0e3fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e400:	41 9e ff 2c 	beq+    cr7,ffc0e32c <IMFS_eval_token+0x50>    <== NEVER TAKEN
            rtems_filesystem_eval_path_restart( ctx, fs_root_ptr );   
ffc0e404:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e408:	38 9e 00 24 	addi    r4,r30,36                              
ffc0e40c:	4b ff 7f d1 	bl      ffc063dc <rtems_filesystem_eval_path_restart>
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc0e410:	38 60 00 01 	li      r3,1                                   
ffc0e414:	4b ff ff 1c 	b       ffc0e330 <IMFS_eval_token+0x54>        
};                                                                    
                                                                      
void IMFS_eval_path( rtems_filesystem_eval_path_context_t *ctx )      
{                                                                     
  rtems_filesystem_eval_path_generic( ctx, NULL, &IMFS_eval_config ); 
}                                                                     
ffc0e418:	83 ff 00 00 	lwz     r31,0(r31)                             
    } 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 ) {                                     
ffc0e41c:	7f 9a f8 00 	cmpw    cr7,r26,r31                            
ffc0e420:	40 9e ff 58 	bne+    cr7,ffc0e378 <IMFS_eval_token+0x9c>    
            rtems_filesystem_eval_path_restart( ctx, fs_root_ptr );   
          }                                                           
        }                                                             
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
ffc0e424:	38 60 00 02 	li      r3,2                                   
ffc0e428:	4b ff ff 08 	b       ffc0e330 <IMFS_eval_token+0x54>        
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
ffc0e42c:	89 3b 00 00 	lbz     r9,0(r27)                              
ffc0e430:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0e434:	40 9e ff 34 	bne+    cr7,ffc0e368 <IMFS_eval_token+0x8c>    
ffc0e438:	89 3b 00 01 	lbz     r9,1(r27)                              
ffc0e43c:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0e440:	40 9e ff 28 	bne+    cr7,ffc0e368 <IMFS_eval_token+0x8c>    <== NEVER TAKEN
{                                                                     
  if ( rtems_filesystem_is_current_directory( token, tokenlen ) ) {   
    return dir;                                                       
  } else {                                                            
    if ( rtems_filesystem_is_parent_directory( token, tokenlen ) ) {  
      return dir->Parent;                                             
ffc0e444:	83 fd 00 08 	lwz     r31,8(r29)                             
  );                                                                  
                                                                      
  if ( access_ok ) {                                                  
    IMFS_jnode_t *entry = IMFS_search_in_directory( dir, token, tokenlen );
                                                                      
    if ( entry != NULL ) {                                            
ffc0e448:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0e44c:	40 be ff 54 	bne-    cr7,ffc0e3a0 <IMFS_eval_token+0xc4>    
            rtems_filesystem_eval_path_restart( ctx, fs_root_ptr );   
          }                                                           
        }                                                             
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
ffc0e450:	38 60 00 02 	li      r3,2                                   
ffc0e454:	4b ff fe dc 	b       ffc0e330 <IMFS_eval_token+0x54>        
                                                                      
      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)) { 
ffc0e458:	71 09 00 10 	andi.   r9,r8,16                               
ffc0e45c:	40 82 00 90 	bne-    ffc0e4ec <IMFS_eval_token+0x210>       
ffc0e460:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e464:	41 9e 00 88 	beq-    cr7,ffc0e4ec <IMFS_eval_token+0x210>   
      } else {                                                        
        rtems_filesystem_global_location_t **fs_root_ptr =            
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
ffc0e468:	a1 3d 00 34 	lhz     r9,52(r29)                             
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e46c:	80 01 00 24 	lwz     r0,36(r1)                              
      } else {                                                        
        rtems_filesystem_global_location_t **fs_root_ptr =            
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
ffc0e470:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
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;                            
ffc0e474:	81 5f 00 4c 	lwz     r10,76(r31)                            
ffc0e478:	b1 3d 00 34 	sth     r9,52(r29)                             
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e47c:	7c 08 03 a6 	mtlr    r0                                     
        rtems_filesystem_global_location_t **fs_root_ptr =            
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
          ++entry->reference_count;                                   
ffc0e480:	a1 3f 00 34 	lhz     r9,52(r31)                             
ffc0e484:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc0e488:	39 29 00 01 	addi    r9,r9,1                                
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e48c:	83 41 00 08 	lwz     r26,8(r1)                              
        rtems_filesystem_global_location_t **fs_root_ptr =            
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
          ++entry->reference_count;                                   
ffc0e490:	b1 3f 00 34 	sth     r9,52(r31)                             
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e494:	83 61 00 0c 	lwz     r27,12(r1)                             
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
          ++entry->reference_count;                                   
          currentloc->node_access = entry;                            
ffc0e498:	93 fc 00 20 	stw     r31,32(r28)                            
ffc0e49c:	91 5c 00 28 	stw     r10,40(r28)                            
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0e4a0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0e4a4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0e4a8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0e4ac:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0e4b0:	38 21 00 20 	addi    r1,r1,32                               
ffc0e4b4:	4e 80 00 20 	blr                                            
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc0e4b8:	89 3b 00 00 	lbz     r9,0(r27)                              
ffc0e4bc:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0e4c0:	40 9e fe a8 	bne+    cr7,ffc0e368 <IMFS_eval_token+0x8c>    
ffc0e4c4:	7f bf eb 78 	mr      r31,r29                                
ffc0e4c8:	4b ff fe d8 	b       ffc0e3a0 <IMFS_eval_token+0xc4>        
      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)) {
ffc0e4cc:	71 09 00 08 	andi.   r9,r8,8                                
ffc0e4d0:	41 82 00 0c 	beq-    ffc0e4dc <IMFS_eval_token+0x200>       
        entry = entry->info.hard_link.link_node;                      
ffc0e4d4:	83 ff 00 50 	lwz     r31,80(r31)                            
ffc0e4d8:	4b ff ff 90 	b       ffc0e468 <IMFS_eval_token+0x18c>       
      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)) {
ffc0e4dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e4e0:	40 be ff 88 	bne-    cr7,ffc0e468 <IMFS_eval_token+0x18c>   <== ALWAYS TAKEN
        entry = entry->info.hard_link.link_node;                      
ffc0e4e4:	83 ff 00 50 	lwz     r31,80(r31)                            <== NOT EXECUTED
ffc0e4e8:	4b ff ff 80 	b       ffc0e468 <IMFS_eval_token+0x18c>       <== NOT EXECUTED
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
        const char *target = entry->info.sym_link.name;               
ffc0e4ec:	83 ff 00 50 	lwz     r31,80(r31)                            
                                                                      
        rtems_filesystem_eval_path_recursive( ctx, target, strlen( target ) );
ffc0e4f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e4f4:	48 00 53 d9 	bl      ffc138cc <strlen>                      
ffc0e4f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc0e4fc:	7c 65 1b 78 	mr      r5,r3                                  
ffc0e500:	7f 83 e3 78 	mr      r3,r28                                 
ffc0e504:	4b ff 7f 79 	bl      ffc0647c <rtems_filesystem_eval_path_recursive>
ffc0e508:	4b ff fe 24 	b       ffc0e32c <IMFS_eval_token+0x50>        
                                                                      

ffc04bd8 <IMFS_fifo_write>: static ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc04bd8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04bdc:	7c 08 02 a6 	mflr    r0                                     
ffc04be0:	7c 66 1b 78 	mr      r6,r3                                  
ffc04be4:	90 01 00 24 	stw     r0,36(r1)                              
ffc04be8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04bec:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
ffc04bf0:	83 e3 00 1c 	lwz     r31,28(r3)                             
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
ffc04bf4:	80 7f 00 50 	lwz     r3,80(r31)                             
ffc04bf8:	48 00 c9 31 	bl      ffc11528 <pipe_write>                  
  if (err > 0) {                                                      
ffc04bfc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04c00:	40 81 00 38 	ble-    ffc04c38 <IMFS_fifo_write+0x60>        
    IMFS_mtime_ctime_update(jnode);                                   
ffc04c04:	38 61 00 08 	addi    r3,r1,8                                
ffc04c08:	38 80 00 00 	li      r4,0                                   
ffc04c0c:	48 00 12 19 	bl      ffc05e24 <gettimeofday>                
ffc04c10:	81 21 00 08 	lwz     r9,8(r1)                               
ffc04c14:	91 3f 00 44 	stw     r9,68(r31)                             
ffc04c18:	91 3f 00 48 	stw     r9,72(r31)                             
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
}                                                                     
ffc04c1c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04c20:	7f c3 f3 78 	mr      r3,r30                                 
ffc04c24:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04c28:	7c 08 03 a6 	mtlr    r0                                     
ffc04c2c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04c30:	38 21 00 20 	addi    r1,r1,32                               
ffc04c34:	4e 80 00 20 	blr                                            
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
ffc04c38:	41 82 ff e4 	beq+    ffc04c1c <IMFS_fifo_write+0x44>        <== NEVER TAKEN
ffc04c3c:	7f de 00 d0 	neg     r30,r30                                
ffc04c40:	48 00 ef 21 	bl      ffc13b60 <__errno>                     
ffc04c44:	93 c3 00 00 	stw     r30,0(r3)                              
ffc04c48:	3b c0 ff ff 	li      r30,-1                                 
ffc04c4c:	4b ff ff d0 	b       ffc04c1c <IMFS_fifo_write+0x44>        
                                                                      

ffc0e570 <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 ) {
ffc0e570:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0e574:	7c 08 02 a6 	mflr    r0                                     
ffc0e578:	90 01 00 34 	stw     r0,52(r1)                              
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
ffc0e57c:	81 03 00 24 	lwz     r8,36(r3)                              
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
void IMFS_fsunmount(                                                  
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0e580:	93 e1 00 2c 	stw     r31,44(r1)                             
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
ffc0e584:	80 e8 00 08 	lwz     r7,8(r8)                               
ffc0e588:	81 68 00 00 	lwz     r11,0(r8)                              
ffc0e58c:	81 27 00 4c 	lwz     r9,76(r7)                              
   jnode = (IMFS_jnode_t *)loc.node_access;                           
ffc0e590:	7c ff 3b 78 	mr      r31,r7                                 
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
ffc0e594:	80 68 00 04 	lwz     r3,4(r8)                               
ffc0e598:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0e59c:	80 88 00 0c 	lwz     r4,12(r8)                              
ffc0e5a0:	80 a8 00 10 	lwz     r5,16(r8)                              
ffc0e5a4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0e5a8:	80 c8 00 14 	lwz     r6,20(r8)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
ffc0e5ac:	39 40 00 00 	li      r10,0                                  
    ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next))
                                                                      
void IMFS_fsunmount(                                                  
  rtems_filesystem_mount_table_entry_t *temp_mt_entry                 
)                                                                     
{                                                                     
ffc0e5b0:	93 c1 00 28 	stw     r30,40(r1)                             
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
ffc0e5b4:	91 61 00 08 	stw     r11,8(r1)                              
ffc0e5b8:	90 61 00 0c 	stw     r3,12(r1)                              
ffc0e5bc:	90 e1 00 10 	stw     r7,16(r1)                              
ffc0e5c0:	90 81 00 14 	stw     r4,20(r1)                              
ffc0e5c4:	90 a1 00 18 	stw     r5,24(r1)                              
ffc0e5c8:	90 c1 00 1c 	stw     r6,28(r1)                              
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
ffc0e5cc:	91 48 00 08 	stw     r10,8(r8)                              
ffc0e5d0:	81 29 00 04 	lwz     r9,4(r9)                               
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0e5d4:	83 df 00 08 	lwz     r30,8(r31)                             
     loc.node_access = (void *)jnode;                                 
ffc0e5d8:	93 e1 00 10 	stw     r31,16(r1)                             
ffc0e5dc:	91 21 00 18 	stw     r9,24(r1)                              
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( !IMFS_is_directory( jnode ) || jnode_has_no_children( jnode ) ) {
ffc0e5e0:	40 9e 00 40 	bne-    cr7,ffc0e620 <IMFS_fsunmount+0xb0>     <== NEVER TAKEN
ffc0e5e4:	81 3f 00 50 	lwz     r9,80(r31)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0e5e8:	39 5f 00 54 	addi    r10,r31,84                             
ffc0e5ec:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0e5f0:	41 9e 00 30 	beq-    cr7,ffc0e620 <IMFS_fsunmount+0xb0>     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0e5f4:	7d 3f 4b 78 	mr      r31,r9                                 
       if ( IMFS_is_directory( jnode ) ) {                            
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
ffc0e5f8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0e5fc:	41 9e 00 74 	beq-    cr7,ffc0e670 <IMFS_fsunmount+0x100>    <== NEVER TAKEN
ffc0e600:	81 3f 00 4c 	lwz     r9,76(r31)                             
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
ffc0e604:	83 df 00 08 	lwz     r30,8(r31)                             
ffc0e608:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0e60c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0e610:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
     loc.node_access = (void *)jnode;                                 
ffc0e614:	93 e1 00 10 	stw     r31,16(r1)                             
ffc0e618:	91 21 00 18 	stw     r9,24(r1)                              
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( !IMFS_is_directory( jnode ) || jnode_has_no_children( jnode ) ) {
ffc0e61c:	41 9e ff c8 	beq+    cr7,ffc0e5e4 <IMFS_fsunmount+0x74>     
        result = IMFS_rmnod( NULL, &loc );                            
ffc0e620:	38 60 00 00 	li      r3,0                                   
ffc0e624:	38 81 00 08 	addi    r4,r1,8                                
ffc0e628:	4b ff 5e 15 	bl      ffc0443c <IMFS_rmnod>                  
        if ( result != 0 )                                            
ffc0e62c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0e630:	40 9e 00 58 	bne-    cr7,ffc0e688 <IMFS_fsunmount+0x118>    <== NEVER TAKEN
	  rtems_fatal_error_occurred( 0xdeadbeef );                          
        IMFS_node_destroy( jnode );                                   
ffc0e634:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e638:	4b ff 5a 31 	bl      ffc04068 <IMFS_node_destroy>           
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
ffc0e63c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0e640:	41 9e 00 30 	beq-    cr7,ffc0e670 <IMFS_fsunmount+0x100>    
ffc0e644:	81 3e 00 4c 	lwz     r9,76(r30)                             
       if ( IMFS_is_directory( jnode ) ) {                            
ffc0e648:	7f df f3 78 	mr      r31,r30                                
ffc0e64c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0e650:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0e654:	40 9e ff 7c 	bne+    cr7,ffc0e5d0 <IMFS_fsunmount+0x60>     <== NEVER TAKEN
ffc0e658:	83 fe 00 50 	lwz     r31,80(r30)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0e65c:	39 5e 00 54 	addi    r10,r30,84                             
         if ( jnode_has_children( jnode ) )                           
ffc0e660:	7f 1f 50 00 	cmpw    cr6,r31,r10                            
ffc0e664:	40 ba ff 94 	bne-    cr6,ffc0e5f8 <IMFS_fsunmount+0x88>     
ffc0e668:	7f df f3 78 	mr      r31,r30                                
ffc0e66c:	4b ff ff 64 	b       ffc0e5d0 <IMFS_fsunmount+0x60>         
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
}                                                                     
ffc0e670:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0e674:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0e678:	7c 08 03 a6 	mtlr    r0                                     
ffc0e67c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0e680:	38 21 00 30 	addi    r1,r1,48                               
ffc0e684:	4e 80 00 20 	blr                                            
     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 );                          
ffc0e688:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc0e68c:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc0e690:	4b ff bd 09 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc03f00 <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] ) {
ffc03f00:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc03f04:	7c 08 02 a6 	mflr    r0                                     
ffc03f08:	93 81 00 08 	stw     r28,8(r1)                              
ffc03f0c:	7c 9c 23 78 	mr      r28,r4                                 
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
ffc03f10:	38 80 00 24 	li      r4,36                                  
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]      
)                                                                     
{                                                                     
ffc03f14:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc03f18:	7c 7d 1b 78 	mr      r29,r3                                 
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
ffc03f1c:	38 60 00 01 	li      r3,1                                   
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]      
)                                                                     
{                                                                     
ffc03f20:	93 c1 00 10 	stw     r30,16(r1)                             
ffc03f24:	93 e1 00 14 	stw     r31,20(r1)                             
ffc03f28:	7c bf 2b 78 	mr      r31,r5                                 
ffc03f2c:	90 01 00 1c 	stw     r0,28(r1)                              
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
ffc03f30:	48 00 08 89 	bl      ffc047b8 <calloc>                      
                                                                      
  if ( fs_info != NULL ) {                                            
ffc03f34:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc03f38:	41 82 01 04 	beq-    ffc0403c <IMFS_initialize_support+0x13c>
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
ffc03f3c:	3d 00 00 00 	lis     r8,0                                   
ffc03f40:	81 48 28 b8 	lwz     r10,10424(r8)                          
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
ffc03f44:	3c a0 ff c2 	lis     r5,-62                                 
ffc03f48:	38 a5 e0 e4 	addi    r5,r5,-7964                            
  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++;                              
ffc03f4c:	38 ea 00 01 	addi    r7,r10,1                               
ffc03f50:	91 5e 00 00 	stw     r10,0(r30)                             
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
ffc03f54:	38 c0 00 00 	li      r6,0                                   
  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++;                              
ffc03f58:	90 e8 28 b8 	stw     r7,10424(r8)                           
    memcpy(                                                           
ffc03f5c:	80 ff 00 00 	lwz     r7,0(r31)                              
ffc03f60:	80 9f 00 04 	lwz     r4,4(r31)                              
ffc03f64:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc03f68:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc03f6c:	90 fe 00 08 	stw     r7,8(r30)                              
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
ffc03f70:	38 e0 41 ed 	li      r7,16877                               
                                                                      
  if ( fs_info != NULL ) {                                            
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
    memcpy(                                                           
ffc03f74:	91 1e 00 10 	stw     r8,16(r30)                             
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
ffc03f78:	39 00 00 00 	li      r8,0                                   
                                                                      
  if ( fs_info != NULL ) {                                            
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
    memcpy(                                                           
ffc03f7c:	90 9e 00 0c 	stw     r4,12(r30)                             
ffc03f80:	91 5e 00 14 	stw     r10,20(r30)                            
ffc03f84:	80 9f 00 14 	lwz     r4,20(r31)                             
ffc03f88:	81 7f 00 10 	lwz     r11,16(r31)                            
ffc03f8c:	81 5f 00 18 	lwz     r10,24(r31)                            
ffc03f90:	90 9e 00 1c 	stw     r4,28(r30)                             
ffc03f94:	91 7e 00 18 	stw     r11,24(r30)                            
ffc03f98:	91 5e 00 20 	stw     r10,32(r30)                            
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
ffc03f9c:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc03fa0:	48 00 a1 75 	bl      ffc0e114 <IMFS_allocate_node>          
      "",                                                             
      0,                                                              
      (S_IFDIR | 0755),                                               
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
ffc03fa4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc03fa8:	41 82 00 94 	beq-    ffc0403c <IMFS_initialize_support+0x13c><== NEVER TAKEN
    errno = ENOMEM;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    IMFS_determine_bytes_per_block(                                   
ffc03fac:	3d 40 00 00 	lis     r10,0                                  
                                                                      
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;                            
ffc03fb0:	80 e3 00 4c 	lwz     r7,76(r3)                              
ffc03fb4:	81 4a 27 54 	lwz     r10,10068(r10)                         
      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;
ffc03fb8:	3c c0 ff c2 	lis     r6,-62                                 
ffc03fbc:	80 e7 00 04 	lwz     r7,4(r7)                               
ffc03fc0:	38 c6 e8 bc 	addi    r6,r6,-5956                            
                                                                      
  /*                                                                  
   * 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) {                      
ffc03fc4:	2f 8a 00 10 	cmpwi   cr7,r10,16                             
    );                                                                
    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;
      mt_entry->mt_fs_root->location.node_access = root_node;         
ffc03fc8:	81 1d 00 24 	lwz     r8,36(r29)                             
      0,                                                              
      (S_IFDIR | 0755),                                               
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
      mt_entry->fs_info = fs_info;                                    
ffc03fcc:	93 dd 00 08 	stw     r30,8(r29)                             
      mt_entry->ops = op_table;                                       
ffc03fd0:	93 9d 00 0c 	stw     r28,12(r29)                            
      mt_entry->pathconf_limits_and_options = &IMFS_LIMITS_AND_OPTIONS;
ffc03fd4:	90 dd 00 2c 	stw     r6,44(r29)                             
      mt_entry->mt_fs_root->location.node_access = root_node;         
ffc03fd8:	90 68 00 08 	stw     r3,8(r8)                               
ffc03fdc:	90 e8 00 10 	stw     r7,16(r8)                              
                                                                      
  /*                                                                  
   * 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) {                      
ffc03fe0:	41 9e 00 30 	beq-    cr7,ffc04010 <IMFS_initialize_support+0x110>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc03fe4:	2f 8a 00 0f 	cmpwi   cr7,r10,15                             
ffc03fe8:	40 9d 00 24 	ble-    cr7,ffc0400c <IMFS_initialize_support+0x10c>
ffc03fec:	39 00 00 05 	li      r8,5                                   
ffc03ff0:	7d 09 03 a6 	mtctr   r8                                     
ffc03ff4:	39 20 00 20 	li      r9,32                                  
                                                                      
  /*                                                                  
   * 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) {                      
ffc03ff8:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
ffc03ffc:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
    if (bit_mask == requested_bytes_per_block) {                      
ffc04000:	41 9e 00 10 	beq-    cr7,ffc04010 <IMFS_initialize_support+0x110>
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
ffc04004:	41 9c 00 08 	blt-    cr7,ffc0400c <IMFS_initialize_support+0x10c><== NEVER TAKEN
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
ffc04008:	42 00 ff f0 	bdnz+   ffc03ff8 <IMFS_initialize_support+0xf8>
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
ffc0400c:	39 40 00 80 	li      r10,128                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
ffc04010:	3d 20 00 00 	lis     r9,0                                   
ffc04014:	91 49 28 00 	stw     r10,10240(r9)                          
  const IMFS_node_control *const node_controls [IMFS_TYPE_COUNT]      
)                                                                     
{                                                                     
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
ffc04018:	38 60 00 00 	li      r3,0                                   
      IMFS_MEMFILE_DEFAULT_BYTES_PER_BLOCK                            
    );                                                                
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0401c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04020:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04024:	7c 08 03 a6 	mtlr    r0                                     
ffc04028:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0402c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04030:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04034:	38 21 00 18 	addi    r1,r1,24                               
ffc04038:	4e 80 00 20 	blr                                            
    } else {                                                          
      errno = ENOMEM;                                                 
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = ENOMEM;                                                   
ffc0403c:	48 00 e0 3d 	bl      ffc12078 <__errno>                     
ffc04040:	39 20 00 0c 	li      r9,12                                  
ffc04044:	91 23 00 00 	stw     r9,0(r3)                               
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
ffc04048:	38 60 ff ff 	li      r3,-1                                  
ffc0404c:	4b ff ff d0 	b       ffc0401c <IMFS_initialize_support+0x11c>
                                                                      

ffc0621c <IMFS_make_generic_node>: const char *path, mode_t mode, const IMFS_node_control *node_control, void *context ) {
ffc0621c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc06220:	7c 08 02 a6 	mflr    r0                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
ffc06224:	3d 20 00 00 	lis     r9,0                                   
ffc06228:	81 29 27 50 	lwz     r9,10064(r9)                           
  const char *path,                                                   
  mode_t mode,                                                        
  const IMFS_node_control *node_control,                              
  void *context                                                       
)                                                                     
{                                                                     
ffc0622c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc06230:	93 e1 00 74 	stw     r31,116(r1)                            
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
ffc06234:	83 e9 00 08 	lwz     r31,8(r9)                              
  const char *path,                                                   
  mode_t mode,                                                        
  const IMFS_node_control *node_control,                              
  void *context                                                       
)                                                                     
{                                                                     
ffc06238:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc0623c:	7c dd 33 78 	mr      r29,r6                                 
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
ffc06240:	7c 9f f8 78 	andc    r31,r4,r31                             
                                                                      
  switch (mode & S_IFMT) {                                            
ffc06244:	57 e9 04 26 	rlwinm  r9,r31,0,16,19                         
  const char *path,                                                   
  mode_t mode,                                                        
  const IMFS_node_control *node_control,                              
  void *context                                                       
)                                                                     
{                                                                     
ffc06248:	93 c1 00 70 	stw     r30,112(r1)                            
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
ffc0624c:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
  const char *path,                                                   
  mode_t mode,                                                        
  const IMFS_node_control *node_control,                              
  void *context                                                       
)                                                                     
{                                                                     
ffc06250:	93 81 00 68 	stw     r28,104(r1)                            
ffc06254:	7c be 2b 78 	mr      r30,r5                                 
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
ffc06258:	41 9e 00 5c 	beq-    cr7,ffc062b4 <IMFS_make_generic_node+0x98>
ffc0625c:	2b 89 20 00 	cmplwi  cr7,r9,8192                            
ffc06260:	41 9d 00 40 	bgt-    cr7,ffc062a0 <IMFS_make_generic_node+0x84><== ALWAYS TAKEN
ffc06264:	2f 89 10 00 	cmpwi   cr7,r9,4096                            <== NOT EXECUTED
ffc06268:	41 9e 00 4c 	beq-    cr7,ffc062b4 <IMFS_make_generic_node+0x98><== NOT EXECUTED
        rv = -1;                                                      
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
    } else {                                                          
      errno = EINVAL;                                                 
ffc0626c:	48 01 18 f5 	bl      ffc17b60 <__errno>                     
      rv = -1;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc06270:	80 01 00 7c 	lwz     r0,124(r1)                             
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
    } else {                                                          
      errno = EINVAL;                                                 
      rv = -1;                                                        
ffc06274:	3b e0 ff ff 	li      r31,-1                                 
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc06278:	83 81 00 68 	lwz     r28,104(r1)                            
ffc0627c:	7c 08 03 a6 	mtlr    r0                                     
        rv = -1;                                                      
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
    } else {                                                          
      errno = EINVAL;                                                 
ffc06280:	39 20 00 16 	li      r9,22                                  
ffc06284:	91 23 00 00 	stw     r9,0(r3)                               
      rv = -1;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc06288:	7f e3 fb 78 	mr      r3,r31                                 
ffc0628c:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc06290:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc06294:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc06298:	38 21 00 78 	addi    r1,r1,120                              
ffc0629c:	4e 80 00 20 	blr                                            
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
ffc062a0:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc062a4:	41 9e 00 10 	beq-    cr7,ffc062b4 <IMFS_make_generic_node+0x98>
ffc062a8:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc062ac:	2f 8a 80 00 	cmpwi   cr7,r10,-32768                         
ffc062b0:	40 9e ff bc 	bne+    cr7,ffc0626c <IMFS_make_generic_node+0x50><== ALWAYS TAKEN
      rv = -1;                                                        
      break;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    if ( node_control->imfs_type == IMFS_GENERIC ) {                  
ffc062b4:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc062b8:	2f 89 00 07 	cmpwi   cr7,r9,7                               
ffc062bc:	40 be ff b0 	bne-    cr7,ffc0626c <IMFS_make_generic_node+0x50>
      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 =            
ffc062c0:	7c 64 1b 78 	mr      r4,r3                                  
ffc062c4:	38 a0 00 78 	li      r5,120                                 
ffc062c8:	38 61 00 08 	addi    r3,r1,8                                
ffc062cc:	48 00 25 29 	bl      ffc087f4 <rtems_filesystem_eval_path_start>
ffc062d0:	7c 7c 1b 78 	mr      r28,r3                                 
        rtems_filesystem_eval_path_start( &ctx, path, eval_flags );   
                                                                      
      if ( IMFS_is_imfs_instance( currentloc ) ) {                    
ffc062d4:	4b ff fe d5 	bl      ffc061a8 <IMFS_is_imfs_instance>       
ffc062d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc062dc:	40 9e 00 40 	bne-    cr7,ffc0631c <IMFS_make_generic_node+0x100>
          IMFS_update_mtime( parent );                                
        } else {                                                      
          rv = -1;                                                    
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error( &ctx, ENOTSUP );            
ffc062e0:	38 61 00 08 	addi    r3,r1,8                                
ffc062e4:	38 80 00 86 	li      r4,134                                 
ffc062e8:	48 00 21 3d 	bl      ffc08424 <rtems_filesystem_eval_path_error>
        rv = -1;                                                      
ffc062ec:	3b e0 ff ff 	li      r31,-1                                 
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
ffc062f0:	38 61 00 08 	addi    r3,r1,8                                
ffc062f4:	48 00 26 49 	bl      ffc0893c <rtems_filesystem_eval_path_cleanup>
      rv = -1;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc062f8:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc062fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc06300:	83 81 00 68 	lwz     r28,104(r1)                            
ffc06304:	7c 08 03 a6 	mtlr    r0                                     
ffc06308:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc0630c:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc06310:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc06314:	38 21 00 78 	addi    r1,r1,120                              
ffc06318:	4e 80 00 20 	blr                                            
      if ( IMFS_is_imfs_instance( currentloc ) ) {                    
        IMFS_types_union info;                                        
        IMFS_jnode_t *new_node;                                       
                                                                      
        info.generic.context = context;                               
        new_node = IMFS_create_node_with_control(                     
ffc0631c:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc06320:	7f e7 fb 78 	mr      r7,r31                                 
ffc06324:	80 c1 00 14 	lwz     r6,20(r1)                              
ffc06328:	7f 83 e3 78 	mr      r3,r28                                 
ffc0632c:	7f c4 f3 78 	mr      r4,r30                                 
                                                                      
      if ( IMFS_is_imfs_instance( currentloc ) ) {                    
        IMFS_types_union info;                                        
        IMFS_jnode_t *new_node;                                       
                                                                      
        info.generic.context = context;                               
ffc06330:	93 a1 00 40 	stw     r29,64(r1)                             
        new_node = IMFS_create_node_with_control(                     
ffc06334:	39 01 00 40 	addi    r8,r1,64                               
ffc06338:	48 00 d9 01 	bl      ffc13c38 <IMFS_create_node_with_control>
          IMFS_jnode_t *parent = currentloc->node_access;             
                                                                      
          IMFS_update_ctime( parent );                                
          IMFS_update_mtime( parent );                                
        } else {                                                      
          rv = -1;                                                    
ffc0633c:	3b e0 ff ff 	li      r31,-1                                 
          rtems_filesystem_eval_path_get_tokenlen( &ctx ),            
          mode,                                                       
          &info                                                       
        );                                                            
                                                                      
        if ( new_node != NULL ) {                                     
ffc06340:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06344:	41 be ff ac 	beq-    cr7,ffc062f0 <IMFS_make_generic_node+0xd4>
          IMFS_jnode_t *parent = currentloc->node_access;             
                                                                      
          IMFS_update_ctime( parent );                                
ffc06348:	38 80 00 00 	li      r4,0                                   
          mode,                                                       
          &info                                                       
        );                                                            
                                                                      
        if ( new_node != NULL ) {                                     
          IMFS_jnode_t *parent = currentloc->node_access;             
ffc0634c:	83 dc 00 08 	lwz     r30,8(r28)                             
                                                                      
          IMFS_update_ctime( parent );                                
ffc06350:	38 61 00 58 	addi    r3,r1,88                               
ffc06354:	48 00 09 a5 	bl      ffc06cf8 <gettimeofday>                
ffc06358:	81 21 00 58 	lwz     r9,88(r1)                              
          IMFS_update_mtime( parent );                                
ffc0635c:	38 61 00 58 	addi    r3,r1,88                               
        );                                                            
                                                                      
        if ( new_node != NULL ) {                                     
          IMFS_jnode_t *parent = currentloc->node_access;             
                                                                      
          IMFS_update_ctime( parent );                                
ffc06360:	91 3e 00 48 	stw     r9,72(r30)                             
          IMFS_update_mtime( parent );                                
ffc06364:	38 80 00 00 	li      r4,0                                   
ffc06368:	3b e0 00 00 	li      r31,0                                  
ffc0636c:	48 00 09 8d 	bl      ffc06cf8 <gettimeofday>                
ffc06370:	81 21 00 58 	lwz     r9,88(r1)                              
ffc06374:	91 3e 00 44 	stw     r9,68(r30)                             
ffc06378:	4b ff ff 78 	b       ffc062f0 <IMFS_make_generic_node+0xd4> 
                                                                      

ffc10b84 <IMFS_memfile_addblock>: */ MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
ffc10b84:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc10b88:	7c 08 02 a6 	mflr    r0                                     
  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 );
ffc10b8c:	38 a0 00 01 	li      r5,1                                   
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_addblock(                             
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
ffc10b90:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc10b94:	90 01 00 14 	stw     r0,20(r1)                              
  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 );
ffc10b98:	4b ff fa 49 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
ffc10b9c:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( *block_entry_ptr )                                             
ffc10ba0:	81 23 00 00 	lwz     r9,0(r3)                               
    return 0;                                                         
ffc10ba4:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
  if ( *block_entry_ptr )                                             
ffc10ba8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10bac:	41 9e 00 18 	beq-    cr7,ffc10bc4 <IMFS_memfile_addblock+0x40>
  if ( !memory )                                                      
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
  return 0;                                                           
}                                                                     
ffc10bb0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc10bb4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc10bb8:	7c 08 03 a6 	mtlr    r0                                     
ffc10bbc:	38 21 00 10 	addi    r1,r1,16                               
ffc10bc0:	4e 80 00 20 	blr                                            
    return 0;                                                         
                                                                      
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
ffc10bc4:	4b ff f9 d9 	bl      ffc1059c <memfile_alloc_block>         
  if ( !memory )                                                      
ffc10bc8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10bcc:	41 82 00 10 	beq-    ffc10bdc <IMFS_memfile_addblock+0x58>  <== NEVER TAKEN
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
ffc10bd0:	90 7f 00 00 	stw     r3,0(r31)                              
  return 0;                                                           
ffc10bd4:	38 60 00 00 	li      r3,0                                   
ffc10bd8:	4b ff ff d8 	b       ffc10bb0 <IMFS_memfile_addblock+0x2c>  
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
  if ( !memory )                                                      
    return 1;                                                         
ffc10bdc:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc10be0:	4b ff ff d0 	b       ffc10bb0 <IMFS_memfile_addblock+0x2c>  <== NOT EXECUTED
                                                                      

ffc10e8c <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, bool zero_fill, off_t new_length ) {
ffc10e8c:	94 21 ff b8 	stwu    r1,-72(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10e90:	39 00 00 00 	li      r8,0                                   
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10e94:	7d 80 00 26 	mfcr    r12                                    
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10e98:	7f 88 28 00 	cmpw    cr7,r8,r5                              
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10e9c:	93 21 00 2c 	stw     r25,44(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ea0:	3f 20 00 00 	lis     r25,0                                  
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ea4:	7c 08 02 a6 	mflr    r0                                     
ffc10ea8:	93 e1 00 44 	stw     r31,68(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10eac:	83 f9 28 00 	lwz     r31,10240(r25)                         
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10eb0:	92 c1 00 20 	stw     r22,32(r1)                             
ffc10eb4:	7c 96 23 78 	mr      r22,r4                                 
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10eb8:	57 e9 f0 be 	rlwinm  r9,r31,30,2,31                         
ffc10ebc:	39 49 00 01 	addi    r10,r9,1                               
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ec0:	92 e1 00 24 	stw     r23,36(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ec4:	7d 4a 49 d6 	mullw   r10,r10,r9                             
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ec8:	93 41 00 30 	stw     r26,48(r1)                             
ffc10ecc:	7c d7 33 78 	mr      r23,r6                                 
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ed0:	39 4a 00 01 	addi    r10,r10,1                              
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ed4:	93 c1 00 40 	stw     r30,64(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ed8:	7d 2a 49 d6 	mullw   r9,r10,r9                              
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10edc:	90 01 00 4c 	stw     r0,76(r1)                              
ffc10ee0:	7c ba 2b 78 	mr      r26,r5                                 
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ee4:	39 29 ff ff 	addi    r9,r9,-1                               
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ee8:	93 01 00 28 	stw     r24,40(r1)                             
ffc10eec:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10ef0:	93 61 00 34 	stw     r27,52(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10ef4:	7d 29 f9 d6 	mullw   r9,r9,r31                              
MEMFILE_STATIC int IMFS_memfile_extend(                               
   IMFS_jnode_t  *the_jnode,                                          
   bool           zero_fill,                                          
   off_t          new_length                                          
)                                                                     
{                                                                     
ffc10ef8:	93 81 00 38 	stw     r28,56(r1)                             
ffc10efc:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc10f00:	91 81 00 1c 	stw     r12,28(r1)                             
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc10f04:	40 9d 01 f8 	ble-    cr7,ffc110fc <IMFS_memfile_extend+0x270><== ALWAYS TAKEN
    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 )                      
ffc10f08:	83 7e 00 50 	lwz     r27,80(r30)                            
ffc10f0c:	83 1e 00 54 	lwz     r24,84(r30)                            
ffc10f10:	7f 9a d8 00 	cmpw    cr7,r26,r27                            
ffc10f14:	40 9d 01 28 	ble-    cr7,ffc1103c <IMFS_memfile_extend+0x1b0><== ALWAYS TAKEN
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc10f18:	7f fc fe 70 	srawi   r28,r31,31                             
ffc10f1c:	7f 85 e3 78 	mr      r5,r28                                 
ffc10f20:	7f e6 fb 78 	mr      r6,r31                                 
ffc10f24:	7f 43 d3 78 	mr      r3,r26                                 
ffc10f28:	7e e4 bb 78 	mr      r4,r23                                 
ffc10f2c:	48 00 a9 65 	bl      ffc1b890 <__divdi3>                    
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc10f30:	7f 63 db 78 	mr      r3,r27                                 
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
ffc10f34:	7c 9d 23 78 	mr      r29,r4                                 
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc10f38:	7f 85 e3 78 	mr      r5,r28                                 
ffc10f3c:	7f e6 fb 78 	mr      r6,r31                                 
ffc10f40:	7f 04 c3 78 	mr      r4,r24                                 
ffc10f44:	48 00 a9 4d 	bl      ffc1b890 <__divdi3>                    
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( !IMFS_memfile_addblock( the_jnode, block ) ) {               
       if ( zero_fill ) {                                             
ffc10f48:	2e 16 00 00 	cmpwi   cr4,r22,0                              
  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++ ) {            
ffc10f4c:	7f 9d 20 40 	cmplw   cr7,r29,r4                             
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
  offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc10f50:	7f 84 f9 d6 	mullw   r28,r4,r31                             
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc10f54:	7c 9b 23 78 	mr      r27,r4                                 
  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++ ) {            
ffc10f58:	7c 9f 23 78 	mr      r31,r4                                 
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
  offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK;
ffc10f5c:	7f 9c c0 50 	subf    r28,r28,r24                            
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
ffc10f60:	40 bc 00 14 	bge+    cr7,ffc10f74 <IMFS_memfile_extend+0xe8><== ALWAYS TAKEN
ffc10f64:	48 00 00 64 	b       ffc10fc8 <IMFS_memfile_extend+0x13c>   <== NOT EXECUTED
ffc10f68:	3b ff 00 01 	addi    r31,r31,1                              
ffc10f6c:	7f 9d f8 40 	cmplw   cr7,r29,r31                            
ffc10f70:	41 9c 00 58 	blt-    cr7,ffc10fc8 <IMFS_memfile_extend+0x13c>
    if ( !IMFS_memfile_addblock( the_jnode, block ) ) {               
ffc10f74:	7f e4 fb 78 	mr      r4,r31                                 
ffc10f78:	7f c3 f3 78 	mr      r3,r30                                 
ffc10f7c:	4b ff fc 09 	bl      ffc10b84 <IMFS_memfile_addblock>       
ffc10f80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10f84:	40 9e 01 08 	bne-    cr7,ffc1108c <IMFS_memfile_extend+0x200><== NEVER TAKEN
       if ( zero_fill ) {                                             
ffc10f88:	41 92 ff e0 	beq+    cr4,ffc10f68 <IMFS_memfile_extend+0xdc>
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
          block_p *block_ptr =                                        
ffc10f8c:	7f e4 fb 78 	mr      r4,r31                                 
   *  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;       
ffc10f90:	83 19 28 00 	lwz     r24,10240(r25)                         
          block_p *block_ptr =                                        
ffc10f94:	38 a0 00 00 	li      r5,0                                   
ffc10f98:	7f c3 f3 78 	mr      r3,r30                                 
ffc10f9c:	4b ff f6 45 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
   *  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;       
ffc10fa0:	7f 1c c0 50 	subf    r24,r28,r24                            
          block_p *block_ptr =                                        
            IMFS_memfile_get_block_pointer( the_jnode, block, 0 );    
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
ffc10fa4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc10fa8:	38 80 00 00 	li      r4,0                                   
ffc10fac:	7f 05 c3 78 	mr      r5,r24                                 
ffc10fb0:	7c 63 e2 14 	add     r3,r3,r28                              
  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++ ) {            
ffc10fb4:	3b ff 00 01 	addi    r31,r31,1                              
       if ( zero_fill ) {                                             
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
          block_p *block_ptr =                                        
            IMFS_memfile_get_block_pointer( the_jnode, block, 0 );    
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
ffc10fb8:	48 00 1e b9 	bl      ffc12e70 <memset>                      
  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++ ) {            
ffc10fbc:	7f 9d f8 40 	cmplw   cr7,r29,r31                            
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
          block_p *block_ptr =                                        
            IMFS_memfile_get_block_pointer( the_jnode, block, 0 );    
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
ffc10fc0:	3b 80 00 00 	li      r28,0                                  
  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++ ) {            
ffc10fc4:	40 9c ff b0 	bge+    cr7,ffc10f74 <IMFS_memfile_extend+0xe8>
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc10fc8:	93 5e 00 50 	stw     r26,80(r30)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc10fcc:	38 80 00 00 	li      r4,0                                   
ffc10fd0:	38 61 00 08 	addi    r3,r1,8                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
ffc10fd4:	92 fe 00 54 	stw     r23,84(r30)                            
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc10fd8:	4b ff 3c 7d 	bl      ffc04c54 <gettimeofday>                
ffc10fdc:	81 21 00 08 	lwz     r9,8(r1)                               
  IMFS_update_mtime(the_jnode);                                       
ffc10fe0:	38 61 00 08 	addi    r3,r1,8                                
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
ffc10fe4:	91 3e 00 48 	stw     r9,72(r30)                             
  IMFS_update_mtime(the_jnode);                                       
ffc10fe8:	38 80 00 00 	li      r4,0                                   
ffc10fec:	4b ff 3c 69 	bl      ffc04c54 <gettimeofday>                
  return 0;                                                           
}                                                                     
ffc10ff0:	80 01 00 4c 	lwz     r0,76(r1)                              
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
ffc10ff4:	81 21 00 08 	lwz     r9,8(r1)                               
  return 0;                                                           
ffc10ff8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc10ffc:	7c 08 03 a6 	mtlr    r0                                     
ffc11000:	81 81 00 1c 	lwz     r12,28(r1)                             
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
ffc11004:	91 3e 00 44 	stw     r9,68(r30)                             
  return 0;                                                           
}                                                                     
ffc11008:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1100c:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc11010:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc11014:	83 01 00 28 	lwz     r24,40(r1)                             
ffc11018:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc1101c:	83 41 00 30 	lwz     r26,48(r1)                             
ffc11020:	83 61 00 34 	lwz     r27,52(r1)                             
ffc11024:	83 81 00 38 	lwz     r28,56(r1)                             
ffc11028:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc1102c:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc11030:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc11034:	38 21 00 48 	addi    r1,r1,72                               
ffc11038:	4e 80 00 20 	blr                                            
    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 )                      
ffc1103c:	40 9e 00 0c 	bne-    cr7,ffc11048 <IMFS_memfile_extend+0x1bc><== NEVER TAKEN
ffc11040:	7f 97 c0 40 	cmplw   cr7,r23,r24                            
ffc11044:	41 9d fe d4 	bgt+    cr7,ffc10f18 <IMFS_memfile_extend+0x8c><== ALWAYS TAKEN
    return 0;                                                         
ffc11048:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc1104c:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc11050:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc11054:	7c 08 03 a6 	mtlr    r0                                     
ffc11058:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc1105c:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc11060:	7d 80 81 20 	mtcrf   8,r12                                  
ffc11064:	83 01 00 28 	lwz     r24,40(r1)                             
ffc11068:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc1106c:	83 41 00 30 	lwz     r26,48(r1)                             
ffc11070:	83 61 00 34 	lwz     r27,52(r1)                             
ffc11074:	83 81 00 38 	lwz     r28,56(r1)                             
ffc11078:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc1107c:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc11080:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc11084:	38 21 00 48 	addi    r1,r1,72                               
ffc11088:	4e 80 00 20 	blr                                            
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
ffc1108c:	7f 9f d8 40 	cmplw   cr7,r31,r27                            <== NOT EXECUTED
ffc11090:	41 9c 00 1c 	blt-    cr7,ffc110ac <IMFS_memfile_extend+0x220><== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
ffc11094:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc11098:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
ffc1109c:	3b ff ff ff 	addi    r31,r31,-1                             <== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
ffc110a0:	4b ff fd b1 	bl      ffc10e50 <IMFS_memfile_remove_block>   <== NOT EXECUTED
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
ffc110a4:	7f 9b f8 40 	cmplw   cr7,r27,r31                            <== NOT EXECUTED
ffc110a8:	40 9d ff ec 	ble+    cr7,ffc11094 <IMFS_memfile_extend+0x208><== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc110ac:	48 00 0f cd 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc110b0:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc110b4:	81 81 00 1c 	lwz     r12,28(r1)                             <== NOT EXECUTED
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc110b8:	39 20 00 1c 	li      r9,28                                  <== NOT EXECUTED
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc110bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc110c0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc110c4:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
ffc110c8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
ffc110cc:	82 c1 00 20 	lwz     r22,32(r1)                             <== NOT EXECUTED
ffc110d0:	82 e1 00 24 	lwz     r23,36(r1)                             <== NOT EXECUTED
ffc110d4:	83 01 00 28 	lwz     r24,40(r1)                             <== NOT EXECUTED
ffc110d8:	83 21 00 2c 	lwz     r25,44(r1)                             <== NOT EXECUTED
ffc110dc:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc110e0:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc110e4:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc110e8:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc110ec:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc110f0:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc110f4:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc110f8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
ffc110fc:	40 9e 00 0c 	bne-    cr7,ffc11108 <IMFS_memfile_extend+0x27c><== NEVER TAKEN
ffc11100:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc11104:	41 9d fe 04 	bgt+    cr7,ffc10f08 <IMFS_memfile_extend+0x7c>
    rtems_set_errno_and_return_minus_one( EFBIG );                    
ffc11108:	48 00 0f 71 	bl      ffc12078 <__errno>                     
ffc1110c:	39 20 00 1b 	li      r9,27                                  
ffc11110:	91 23 00 00 	stw     r9,0(r3)                               
ffc11114:	38 60 ff ff 	li      r3,-1                                  
ffc11118:	4b ff ff 34 	b       ffc1104c <IMFS_memfile_extend+0x1c0>   
                                                                      

ffc105e0 <IMFS_memfile_get_block_pointer>: my_block = block; /* * Is the block number in the simple indirect portion? */ if ( my_block <= LAST_INDIRECT ) {
ffc105e0:	3d 20 00 00 	lis     r9,0                                   
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc105e4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc105e8:	7c 08 02 a6 	mflr    r0                                     
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc105ec:	81 29 28 00 	lwz     r9,10240(r9)                           
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc105f0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc105f4:	7c 7f 1b 78 	mr      r31,r3                                 
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc105f8:	55 29 f0 be 	rlwinm  r9,r9,30,2,31                          
ffc105fc:	39 49 ff ff 	addi    r10,r9,-1                              
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10600:	90 01 00 24 	stw     r0,36(r1)                              
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10604:	7f 84 50 40 	cmplw   cr7,r4,r10                             
#endif                                                                
   IMFS_jnode_t   *the_jnode,                                         
   unsigned int    block,                                             
   int             malloc_it                                          
)                                                                     
{                                                                     
ffc10608:	93 81 00 10 	stw     r28,16(r1)                             
ffc1060c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc10610:	93 c1 00 18 	stw     r30,24(r1)                             
  my_block = block;                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
ffc10614:	41 9d 00 40 	bgt-    cr7,ffc10654 <IMFS_memfile_get_block_pointer+0x74>
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
ffc10618:	2f 85 00 00 	cmpwi   cr7,r5,0                               
                                                                      
  /*                                                                  
   *  Is the block number in the simple indirect portion?             
   */                                                                 
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
ffc1061c:	80 63 00 58 	lwz     r3,88(r3)                              
                                                                      
    if ( malloc_it ) {                                                
ffc10620:	40 9e 01 3c 	bne-    cr7,ffc1075c <IMFS_memfile_get_block_pointer+0x17c>
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10624:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10628:	41 9e 01 e8 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
ffc1062c:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc10630:	7c 63 22 14 	add     r3,r3,r4                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10634:	80 01 00 24 	lwz     r0,36(r1)                              
ffc10638:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1063c:	7c 08 03 a6 	mtlr    r0                                     
ffc10640:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc10644:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc10648:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1064c:	38 21 00 20 	addi    r1,r1,32                               
ffc10650:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
ffc10654:	39 49 00 01 	addi    r10,r9,1                               
ffc10658:	7d 4a 49 d6 	mullw   r10,r10,r9                             
ffc1065c:	39 0a ff ff 	addi    r8,r10,-1                              
ffc10660:	7f 84 40 40 	cmplw   cr7,r4,r8                              
ffc10664:	40 9d 00 98 	ble-    cr7,ffc106fc <IMFS_memfile_get_block_pointer+0x11c>
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
ffc10668:	39 0a 00 01 	addi    r8,r10,1                               
ffc1066c:	7d 08 49 d6 	mullw   r8,r8,r9                               
ffc10670:	39 08 ff ff 	addi    r8,r8,-1                               
ffc10674:	7f 84 40 40 	cmplw   cr7,r4,r8                              
ffc10678:	41 9d 01 98 	bgt-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
    my_block -= FIRST_TRIPLY_INDIRECT;                                
ffc1067c:	7c 8a 20 50 	subf    r4,r10,r4                              
    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;                               
                                                                      
    p = info->triply_indirect;                                        
ffc10680:	80 63 00 60 	lwz     r3,96(r3)                              
   *  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;                     
ffc10684:	7d 04 4b 96 	divwu   r8,r4,r9                               
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
ffc10688:	7f c8 4b 96 	divwu   r30,r8,r9                              
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc1068c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
   *  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;                     
ffc10690:	7d 48 49 d6 	mullw   r10,r8,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc10694:	7d 3e 49 d6 	mullw   r9,r30,r9                              
   *  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;                     
ffc10698:	7f 8a 20 50 	subf    r28,r10,r4                             
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
ffc1069c:	7f a9 40 50 	subf    r29,r9,r8                              
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
ffc106a0:	41 9e 01 20 	beq-    cr7,ffc107c0 <IMFS_memfile_get_block_pointer+0x1e0>
      if ( !p ) {                                                     
ffc106a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc106a8:	41 9e 01 c0 	beq-    cr7,ffc10868 <IMFS_memfile_get_block_pointer+0x288>
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
ffc106ac:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc106b0:	7c c3 f0 2e 	lwzx    r6,r3,r30                              
ffc106b4:	7f c3 f2 14 	add     r30,r3,r30                             
      if ( !p1 ) {                                                    
ffc106b8:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc106bc:	41 9e 01 98 	beq-    cr7,ffc10854 <IMFS_memfile_get_block_pointer+0x274>
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
ffc106c0:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc106c4:	7c e6 e8 2e 	lwzx    r7,r6,r29                              
ffc106c8:	7f a6 ea 14 	add     r29,r6,r29                             
      if ( !p2 ) {                                                    
ffc106cc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc106d0:	41 9e 01 5c 	beq-    cr7,ffc1082c <IMFS_memfile_get_block_pointer+0x24c>
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc106d4:	80 01 00 24 	lwz     r0,36(r1)                              
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc106d8:	57 83 10 3a 	rlwinm  r3,r28,2,0,29                          
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc106dc:	83 a1 00 14 	lwz     r29,20(r1)                             
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
ffc106e0:	7c 67 1a 14 	add     r3,r7,r3                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc106e4:	7c 08 03 a6 	mtlr    r0                                     
ffc106e8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc106ec:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc106f0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc106f4:	38 21 00 20 	addi    r1,r1,32                               
ffc106f8:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
ffc106fc:	7c 89 20 50 	subf    r4,r9,r4                               
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
ffc10700:	80 63 00 5c 	lwz     r3,92(r3)                              
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc10704:	7f c4 4b 96 	divwu   r30,r4,r9                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc10708:	2f 85 00 00 	cmpwi   cr7,r5,0                               
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
ffc1070c:	7d 3e 49 d6 	mullw   r9,r30,r9                              
ffc10710:	7f a9 20 50 	subf    r29,r9,r4                              
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
ffc10714:	41 9e 00 6c 	beq-    cr7,ffc10780 <IMFS_memfile_get_block_pointer+0x1a0>
                                                                      
      if ( !p ) {                                                     
ffc10718:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1071c:	41 9e 01 24 	beq-    cr7,ffc10840 <IMFS_memfile_get_block_pointer+0x260>
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
ffc10720:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc10724:	7d 03 f0 2e 	lwzx    r8,r3,r30                              
ffc10728:	7f c3 f2 14 	add     r30,r3,r30                             
      if ( !p1 ) {                                                    
ffc1072c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc10730:	41 9e 00 e8 	beq-    cr7,ffc10818 <IMFS_memfile_get_block_pointer+0x238>
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10734:	80 01 00 24 	lwz     r0,36(r1)                              
        if ( !p1 )                                                    
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
ffc10738:	57 a3 10 3a 	rlwinm  r3,r29,2,0,29                          
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc1073c:	83 81 00 10 	lwz     r28,16(r1)                             
        if ( !p1 )                                                    
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
ffc10740:	7c 68 1a 14 	add     r3,r8,r3                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10744:	7c 08 03 a6 	mtlr    r0                                     
ffc10748:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1074c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc10750:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc10754:	38 21 00 20 	addi    r1,r1,32                               
ffc10758:	4e 80 00 20 	blr                                            
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
ffc1075c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10760:	40 9e fe cc 	bne+    cr7,ffc1062c <IMFS_memfile_get_block_pointer+0x4c>
        p = memfile_alloc_block();                                    
ffc10764:	90 81 00 08 	stw     r4,8(r1)                               
ffc10768:	4b ff fe 35 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p )                                                     
ffc1076c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10770:	80 81 00 08 	lwz     r4,8(r1)                               
ffc10774:	41 82 00 9c 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        info->indirect = p;                                           
ffc10778:	90 7f 00 58 	stw     r3,88(r31)                             
ffc1077c:	4b ff fe b0 	b       ffc1062c <IMFS_memfile_get_block_pointer+0x4c>
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc10780:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10784:	41 9e 00 8c 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
ffc10788:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc1078c:	7d 43 f0 2e 	lwzx    r10,r3,r30                             
    if ( !p )                                                         
ffc10790:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10794:	41 9e 00 7c 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc10798:	80 01 00 24 	lwz     r0,36(r1)                              
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
ffc1079c:	57 a3 10 3a 	rlwinm  r3,r29,2,0,29                          
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc107a0:	83 81 00 10 	lwz     r28,16(r1)                             
                                                                      
    p = (block_p *)p[ doubly ];                                       
    if ( !p )                                                         
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
ffc107a4:	7c 6a 1a 14 	add     r3,r10,r3                              
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc107a8:	7c 08 03 a6 	mtlr    r0                                     
ffc107ac:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc107b0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc107b4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc107b8:	38 21 00 20 	addi    r1,r1,32                               
ffc107bc:	4e 80 00 20 	blr                                            
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
ffc107c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc107c4:	41 9e 00 4c 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
ffc107c8:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc107cc:	7d 43 f0 2e 	lwzx    r10,r3,r30                             
    if ( !p1 )                                                        
ffc107d0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc107d4:	41 9e 00 3c 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
ffc107d8:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc107dc:	7d 2a e8 2e 	lwzx    r9,r10,r29                             
    if ( !p2 )                                                        
ffc107e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc107e4:	41 9e 00 2c 	beq-    cr7,ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc107e8:	80 01 00 24 	lwz     r0,36(r1)                              
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc107ec:	57 83 10 3a 	rlwinm  r3,r28,2,0,29                          
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc107f0:	83 a1 00 14 	lwz     r29,20(r1)                             
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
    if ( !p2 )                                                        
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
ffc107f4:	7c 69 1a 14 	add     r3,r9,r3                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
ffc107f8:	7c 08 03 a6 	mtlr    r0                                     
ffc107fc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc10800:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc10804:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc10808:	38 21 00 20 	addi    r1,r1,32                               
ffc1080c:	4e 80 00 20 	blr                                            
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
           return 0;                                                  
ffc10810:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc10814:	4b ff fe 20 	b       ffc10634 <IMFS_memfile_get_block_pointer+0x54><== NOT EXECUTED
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc10818:	4b ff fd 85 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p1 )                                                    
ffc1081c:	7c 68 1b 79 	mr.     r8,r3                                  
ffc10820:	41 a2 ff f0 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
ffc10824:	91 1e 00 00 	stw     r8,0(r30)                              
ffc10828:	4b ff ff 0c 	b       ffc10734 <IMFS_memfile_get_block_pointer+0x154>
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
ffc1082c:	4b ff fd 71 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p2 )                                                    
ffc10830:	7c 67 1b 79 	mr.     r7,r3                                  
ffc10834:	41 a2 ff dc 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
ffc10838:	90 fd 00 00 	stw     r7,0(r29)                              
ffc1083c:	4b ff fe 98 	b       ffc106d4 <IMFS_memfile_get_block_pointer+0xf4>
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc10840:	4b ff fd 5d 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p )                                                     
ffc10844:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10848:	41 a2 ff c8 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        info->doubly_indirect = p;                                    
ffc1084c:	90 7f 00 5c 	stw     r3,92(r31)                             
ffc10850:	4b ff fe d0 	b       ffc10720 <IMFS_memfile_get_block_pointer+0x140>
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
ffc10854:	4b ff fd 49 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p1 )                                                    
ffc10858:	7c 66 1b 79 	mr.     r6,r3                                  
ffc1085c:	41 a2 ff b4 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
ffc10860:	90 de 00 00 	stw     r6,0(r30)                              
ffc10864:	4b ff fe 5c 	b       ffc106c0 <IMFS_memfile_get_block_pointer+0xe0>
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
ffc10868:	4b ff fd 35 	bl      ffc1059c <memfile_alloc_block>         
        if ( !p )                                                     
ffc1086c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10870:	41 a2 ff a0 	beq-    ffc10810 <IMFS_memfile_get_block_pointer+0x230><== NEVER TAKEN
           return 0;                                                  
        info->triply_indirect = p;                                    
ffc10874:	90 7f 00 60 	stw     r3,96(r31)                             
ffc10878:	4b ff fe 34 	b       ffc106ac <IMFS_memfile_get_block_pointer+0xcc>
                                                                      

ffc1087c <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
ffc1087c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc10880:	7c 08 02 a6 	mflr    r0                                     
ffc10884:	93 01 00 20 	stw     r24,32(r1)                             
ffc10888:	7c f8 3b 78 	mr      r24,r7                                 
ffc1088c:	90 01 00 44 	stw     r0,68(r1)                              
ffc10890:	93 41 00 28 	stw     r26,40(r1)                             
ffc10894:	7c 7a 1b 78 	mr      r26,r3                                 
ffc10898:	93 c1 00 38 	stw     r30,56(r1)                             
ffc1089c:	7c be 2b 78 	mr      r30,r5                                 
ffc108a0:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc108a4:	7c df 33 78 	mr      r31,r6                                 
ffc108a8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc108ac:	93 21 00 24 	stw     r25,36(r1)                             
ffc108b0:	93 61 00 2c 	stw     r27,44(r1)                             
ffc108b4:	93 81 00 30 	stw     r28,48(r1)                             
ffc108b8:	93 a1 00 34 	stw     r29,52(r1)                             
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
ffc108bc:	81 23 00 4c 	lwz     r9,76(r3)                              
   *  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 ) {                 
ffc108c0:	81 29 00 00 	lwz     r9,0(r9)                               
ffc108c4:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc108c8:	41 9e 01 d8 	beq-    cr7,ffc10aa0 <IMFS_memfile_read+0x224> 
  /*                                                                  
   *  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 )                        
ffc108cc:	81 23 00 50 	lwz     r9,80(r3)                              
ffc108d0:	39 40 00 00 	li      r10,0                                  
ffc108d4:	83 83 00 54 	lwz     r28,84(r3)                             
ffc108d8:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
                                                                      
  /*                                                                  
   *  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;                                         
ffc108dc:	7c c9 33 78 	mr      r9,r6                                  
ffc108e0:	7d 48 32 14 	add     r10,r8,r6                              
  if ( last_byte > the_jnode->info.file.size )                        
ffc108e4:	40 9d 01 24 	ble-    cr7,ffc10a08 <IMFS_memfile_read+0x18c> <== ALWAYS TAKEN
    my_length = the_jnode->info.file.size - start;                    
ffc108e8:	7f 89 e0 50 	subf    r28,r9,r28                             
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc108ec:	3f 20 00 00 	lis     r25,0                                  
ffc108f0:	83 b9 28 00 	lwz     r29,10240(r25)                         
ffc108f4:	7f e4 fb 78 	mr      r4,r31                                 
ffc108f8:	7f c3 f3 78 	mr      r3,r30                                 
ffc108fc:	7f bb fe 70 	srawi   r27,r29,31                             
ffc10900:	7f 65 db 78 	mr      r5,r27                                 
ffc10904:	7f a6 eb 78 	mr      r6,r29                                 
ffc10908:	48 00 b3 ad 	bl      ffc1bcb4 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc1090c:	7f c3 f3 78 	mr      r3,r30                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc10910:	7c 97 23 78 	mr      r23,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc10914:	7f 65 db 78 	mr      r5,r27                                 
ffc10918:	7f e4 fb 78 	mr      r4,r31                                 
ffc1091c:	7f a6 eb 78 	mr      r6,r29                                 
ffc10920:	48 00 af 71 	bl      ffc1b890 <__divdi3>                    
  if ( start_offset )  {                                              
ffc10924:	2f 97 00 00 	cmpwi   cr7,r23,0                              
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc10928:	7c 9f 23 78 	mr      r31,r4                                 
  if ( start_offset )  {                                              
ffc1092c:	41 9e 00 e8 	beq-    cr7,ffc10a14 <IMFS_memfile_read+0x198> 
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc10930:	7f b7 e8 50 	subf    r29,r23,r29                            
ffc10934:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc10938:	7f 9b e3 78 	mr      r27,r28                                
ffc1093c:	41 9d 01 b4 	bgt-    cr7,ffc10af0 <IMFS_memfile_read+0x274> 
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc10940:	7f 43 d3 78 	mr      r3,r26                                 
ffc10944:	7f e4 fb 78 	mr      r4,r31                                 
ffc10948:	38 a0 00 00 	li      r5,0                                   
ffc1094c:	4b ff fc 95 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc10950:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
ffc10954:	38 60 00 00 	li      r3,0                                   
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc10958:	41 82 00 7c 	beq-    ffc109d4 <IMFS_memfile_read+0x158>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
ffc1095c:	80 89 00 00 	lwz     r4,0(r9)                               
ffc10960:	7f 03 c3 78 	mr      r3,r24                                 
ffc10964:	7f 65 db 78 	mr      r5,r27                                 
ffc10968:	7c 84 ba 14 	add     r4,r4,r23                              
ffc1096c:	48 00 24 11 	bl      ffc12d7c <memcpy>                      
ffc10970:	83 b9 28 00 	lwz     r29,10240(r25)                         
    dest += to_copy;                                                  
ffc10974:	7f d8 da 14 	add     r30,r24,r27                            
    block++;                                                          
ffc10978:	3b ff 00 01 	addi    r31,r31,1                              
    my_length -= to_copy;                                             
ffc1097c:	7f 9b e0 50 	subf    r28,r27,r28                            
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc10980:	7f 9c e8 40 	cmplw   cr7,r28,r29                            
ffc10984:	40 bc 00 20 	bge+    cr7,ffc109a4 <IMFS_memfile_read+0x128> 
ffc10988:	48 00 00 98 	b       ffc10a20 <IMFS_memfile_read+0x1a4>     
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc1098c:	80 89 00 00 	lwz     r4,0(r9)                               
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
    copied += to_copy;                                                
ffc10990:	7f 7b ea 14 	add     r27,r27,r29                            
  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 );                      
ffc10994:	48 00 23 e9 	bl      ffc12d7c <memcpy>                      
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc10998:	81 39 28 00 	lwz     r9,10240(r25)                          
ffc1099c:	7f 89 e0 40 	cmplw   cr7,r9,r28                             
ffc109a0:	41 9d 00 80 	bgt-    cr7,ffc10a20 <IMFS_memfile_read+0x1a4> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc109a4:	7f e4 fb 78 	mr      r4,r31                                 
ffc109a8:	38 a0 00 00 	li      r5,0                                   
ffc109ac:	7f 43 d3 78 	mr      r3,r26                                 
ffc109b0:	4b ff fc 31 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
    block++;                                                          
    my_length -= to_copy;                                             
ffc109b4:	7f 9d e0 50 	subf    r28,r29,r28                            
   *  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 );
    if ( !block_ptr )                                                 
ffc109b8:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
ffc109bc:	7f a5 eb 78 	mr      r5,r29                                 
ffc109c0:	7f c3 f3 78 	mr      r3,r30                                 
    dest += to_copy;                                                  
    block++;                                                          
ffc109c4:	3b ff 00 01 	addi    r31,r31,1                              
  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 );                      
    dest += to_copy;                                                  
ffc109c8:	7f de ea 14 	add     r30,r30,r29                            
   *  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 );
    if ( !block_ptr )                                                 
ffc109cc:	40 82 ff c0 	bne+    ffc1098c <IMFS_memfile_read+0x110>     <== ALWAYS TAKEN
  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;                                                  
ffc109d0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return copied;                                                      
}                                                                     
ffc109d4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc109d8:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc109dc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc109e0:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc109e4:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc109e8:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc109ec:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc109f0:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc109f4:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc109f8:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc109fc:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc10a00:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc10a04:	4e 80 00 20 	blr                                            <== 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 )                        
ffc10a08:	41 9e 00 f0 	beq-    cr7,ffc10af8 <IMFS_memfile_read+0x27c> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc10a0c:	7d 1c 43 78 	mr      r28,r8                                 <== NOT EXECUTED
ffc10a10:	4b ff fe dc 	b       ffc108ec <IMFS_memfile_read+0x70>      <== NOT EXECUTED
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
ffc10a14:	7f 1e c3 78 	mr      r30,r24                                
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
ffc10a18:	3b 60 00 00 	li      r27,0                                  
ffc10a1c:	4b ff ff 64 	b       ffc10980 <IMFS_memfile_read+0x104>     
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
ffc10a20:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc10a24:	41 9e 00 30 	beq-    cr7,ffc10a54 <IMFS_memfile_read+0x1d8> 
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc10a28:	7f 43 d3 78 	mr      r3,r26                                 
ffc10a2c:	7f e4 fb 78 	mr      r4,r31                                 
ffc10a30:	38 a0 00 00 	li      r5,0                                   
ffc10a34:	4b ff fb ad 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc10a38:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10a3c:	41 a2 ff 94 	beq-    ffc109d0 <IMFS_memfile_read+0x154>     <== NEVER TAKEN
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
ffc10a40:	80 83 00 00 	lwz     r4,0(r3)                               
ffc10a44:	7f 85 e3 78 	mr      r5,r28                                 
ffc10a48:	7f c3 f3 78 	mr      r3,r30                                 
ffc10a4c:	48 00 23 31 	bl      ffc12d7c <memcpy>                      
    copied += my_length;                                              
ffc10a50:	7f 7b e2 14 	add     r27,r27,r28                            
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc10a54:	38 61 00 08 	addi    r3,r1,8                                
ffc10a58:	38 80 00 00 	li      r4,0                                   
ffc10a5c:	4b ff 41 f9 	bl      ffc04c54 <gettimeofday>                
ffc10a60:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  return copied;                                                      
ffc10a64:	7f 63 db 78 	mr      r3,r27                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc10a68:	91 3a 00 40 	stw     r9,64(r26)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc10a6c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc10a70:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc10a74:	7c 08 03 a6 	mtlr    r0                                     
ffc10a78:	83 01 00 20 	lwz     r24,32(r1)                             
ffc10a7c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc10a80:	83 41 00 28 	lwz     r26,40(r1)                             
ffc10a84:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc10a88:	83 81 00 30 	lwz     r28,48(r1)                             
ffc10a8c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc10a90:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc10a94:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc10a98:	38 21 00 40 	addi    r1,r1,64                               
ffc10a9c:	4e 80 00 20 	blr                                            
  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))        
ffc10aa0:	81 43 00 50 	lwz     r10,80(r3)                             
ffc10aa4:	39 20 00 00 	li      r9,0                                   
ffc10aa8:	81 63 00 54 	lwz     r11,84(r3)                             
  my_length = length;                                                 
                                                                      
  if ( IMFS_type( the_jnode ) == IMFS_LINEAR_FILE ) {                 
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
ffc10aac:	80 83 00 58 	lwz     r4,88(r3)                              
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
ffc10ab0:	7c ff 58 10 	subfc   r7,r31,r11                             
ffc10ab4:	7c de 51 10 	subfe   r6,r30,r10                             
ffc10ab8:	7f 89 30 00 	cmpw    cr7,r9,r6                              
ffc10abc:	40 9d 00 4c 	ble-    cr7,ffc10b08 <IMFS_memfile_read+0x28c> <== ALWAYS TAKEN
      my_length = the_jnode->info.linearfile.size - start;            
ffc10ac0:	7f 7f 58 50 	subf    r27,r31,r11                            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
ffc10ac4:	7c 84 fa 14 	add     r4,r4,r31                              
ffc10ac8:	7f 65 db 78 	mr      r5,r27                                 
ffc10acc:	7f 03 c3 78 	mr      r3,r24                                 
ffc10ad0:	48 00 22 ad 	bl      ffc12d7c <memcpy>                      
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc10ad4:	38 61 00 08 	addi    r3,r1,8                                
ffc10ad8:	38 80 00 00 	li      r4,0                                   
ffc10adc:	4b ff 41 79 	bl      ffc04c54 <gettimeofday>                
ffc10ae0:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  return copied;                                                      
ffc10ae4:	7f 63 db 78 	mr      r3,r27                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc10ae8:	91 3a 00 40 	stw     r9,64(r26)                             
ffc10aec:	4b ff ff 80 	b       ffc10a6c <IMFS_memfile_read+0x1f0>     
ffc10af0:	7f bb eb 78 	mr      r27,r29                                
ffc10af4:	4b ff fe 4c 	b       ffc10940 <IMFS_memfile_read+0xc4>      
  /*                                                                  
   *  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 )                        
ffc10af8:	7f 8a e0 40 	cmplw   cr7,r10,r28                            
ffc10afc:	41 bd fd ec 	bgt-    cr7,ffc108e8 <IMFS_memfile_read+0x6c>  
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc10b00:	7d 1c 43 78 	mr      r28,r8                                 
ffc10b04:	4b ff fd e8 	b       ffc108ec <IMFS_memfile_read+0x70>      
  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))        
ffc10b08:	40 9e 00 0c 	bne-    cr7,ffc10b14 <IMFS_memfile_read+0x298> <== NEVER TAKEN
ffc10b0c:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc10b10:	41 9d ff b0 	bgt+    cr7,ffc10ac0 <IMFS_memfile_read+0x244> <== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
ffc10b14:	7d 1b 43 78 	mr      r27,r8                                 <== NOT EXECUTED
ffc10b18:	4b ff ff ac 	b       ffc10ac4 <IMFS_memfile_read+0x248>     <== NOT EXECUTED
                                                                      

ffc10ca4 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ IMFS_jnode_t *IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
ffc10ca4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10ca8:	7c 08 02 a6 	mflr    r0                                     
ffc10cac:	90 01 00 2c 	stw     r0,44(r1)                              
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc10cb0:	81 23 00 58 	lwz     r9,88(r3)                              
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
IMFS_jnode_t *IMFS_memfile_remove(                                    
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc10cb4:	93 c1 00 20 	stw     r30,32(r1)                             
                                                                      
  /*                                                                  
   *  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;                                 
ffc10cb8:	3f c0 00 00 	lis     r30,0                                  
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc10cbc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
IMFS_jnode_t *IMFS_memfile_remove(                                    
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc10cc0:	93 a1 00 1c 	stw     r29,28(r1)                             
                                                                      
  /*                                                                  
   *  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;                                 
ffc10cc4:	83 be 28 00 	lwz     r29,10240(r30)                         
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
IMFS_jnode_t *IMFS_memfile_remove(                                    
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc10cc8:	93 41 00 10 	stw     r26,16(r1)                             
ffc10ccc:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
  /*                                                                  
   *  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;                                 
ffc10cd0:	57 bd f0 be 	rlwinm  r29,r29,30,2,31                        
 *         is better to stick to simple, easy to understand algorithms.
 */                                                                   
IMFS_jnode_t *IMFS_memfile_remove(                                    
 IMFS_jnode_t  *the_jnode                                             
)                                                                     
{                                                                     
ffc10cd4:	93 21 00 0c 	stw     r25,12(r1)                             
ffc10cd8:	93 61 00 14 	stw     r27,20(r1)                             
ffc10cdc:	93 81 00 18 	stw     r28,24(r1)                             
ffc10ce0:	93 e1 00 24 	stw     r31,36(r1)                             
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
ffc10ce4:	41 9e 00 10 	beq-    cr7,ffc10cf4 <IMFS_memfile_remove+0x50>
    memfile_free_blocks_in_table( &info->indirect, to_free );         
ffc10ce8:	38 63 00 58 	addi    r3,r3,88                               
ffc10cec:	7f a4 eb 78 	mr      r4,r29                                 
ffc10cf0:	4b ff ff 25 	bl      ffc10c14 <memfile_free_blocks_in_table>
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
ffc10cf4:	81 3a 00 5c 	lwz     r9,92(r26)                             
ffc10cf8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10cfc:	41 9e 00 68 	beq-    cr7,ffc10d64 <IMFS_memfile_remove+0xc0>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc10d00:	81 5e 28 00 	lwz     r10,10240(r30)                         
ffc10d04:	55 48 f0 bf 	rlwinm. r8,r10,30,2,31                         
ffc10d08:	41 82 00 50 	beq-    ffc10d58 <IMFS_memfile_remove+0xb4>    <== NEVER TAKEN
ffc10d0c:	3f 80 00 00 	lis     r28,0                                  
ffc10d10:	38 60 00 00 	li      r3,0                                   
ffc10d14:	3b e0 00 00 	li      r31,0                                  
ffc10d18:	3b 9c 28 00 	addi    r28,r28,10240                          
ffc10d1c:	48 00 00 08 	b       ffc10d24 <IMFS_memfile_remove+0x80>    
ffc10d20:	81 3a 00 5c 	lwz     r9,92(r26)                             
      if ( info->doubly_indirect[i] ) {                               
ffc10d24:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc10d28:	7d 49 18 2e 	lwzx    r10,r9,r3                              
  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++ ) {                  
ffc10d2c:	3b ff 00 01 	addi    r31,r31,1                              
      if ( info->doubly_indirect[i] ) {                               
        memfile_free_blocks_in_table(                                 
ffc10d30:	7f a4 eb 78 	mr      r4,r29                                 
    memfile_free_blocks_in_table( &info->indirect, to_free );         
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      if ( info->doubly_indirect[i] ) {                               
ffc10d34:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10d38:	7c 69 1a 14 	add     r3,r9,r3                               
ffc10d3c:	41 9e 00 08 	beq-    cr7,ffc10d44 <IMFS_memfile_remove+0xa0><== NEVER TAKEN
        memfile_free_blocks_in_table(                                 
ffc10d40:	4b ff fe d5 	bl      ffc10c14 <memfile_free_blocks_in_table>
  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++ ) {                  
ffc10d44:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc10d48:	7f e3 fb 78 	mr      r3,r31                                 
ffc10d4c:	55 29 f0 be 	rlwinm  r9,r9,30,2,31                          
ffc10d50:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc10d54:	41 9c ff cc 	blt+    cr7,ffc10d20 <IMFS_memfile_remove+0x7c>
      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 );  
ffc10d58:	38 7a 00 5c 	addi    r3,r26,92                              
ffc10d5c:	7f a4 eb 78 	mr      r4,r29                                 
ffc10d60:	4b ff fe b5 	bl      ffc10c14 <memfile_free_blocks_in_table>
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
ffc10d64:	80 7a 00 60 	lwz     r3,96(r26)                             
ffc10d68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10d6c:	41 9e 00 b4 	beq-    cr7,ffc10e20 <IMFS_memfile_remove+0x17c>
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc10d70:	81 5e 28 00 	lwz     r10,10240(r30)                         
ffc10d74:	55 4a f0 bf 	rlwinm. r10,r10,30,2,31                        
ffc10d78:	41 82 00 9c 	beq-    ffc10e14 <IMFS_memfile_remove+0x170>   <== NEVER TAKEN
      p = (block_p *) info->triply_indirect[i];                       
ffc10d7c:	83 c3 00 00 	lwz     r30,0(r3)                              
      if ( !p )  /* ensure we have a valid pointer */                 
ffc10d80:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10d84:	41 9e 00 90 	beq-    cr7,ffc10e14 <IMFS_memfile_remove+0x170><== NEVER TAKEN
ffc10d88:	3f 80 00 00 	lis     r28,0                                  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc10d8c:	3b 20 00 00 	li      r25,0                                  
      if ( !p )  /* ensure we have a valid pointer */                 
ffc10d90:	3b 60 00 00 	li      r27,0                                  
ffc10d94:	3b 9c 28 00 	addi    r28,r28,10240                          
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
ffc10d98:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10d9c:	41 9e 00 44 	beq-    cr7,ffc10de0 <IMFS_memfile_remove+0x13c><== NEVER TAKEN
ffc10da0:	39 20 00 00 	li      r9,0                                   
ffc10da4:	3b e0 00 00 	li      r31,0                                  
        if ( p[j] ) {                                                 
ffc10da8:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc10dac:	7d 5e 48 2e 	lwzx    r10,r30,r9                             
  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++ ) {                
ffc10db0:	3b ff 00 01 	addi    r31,r31,1                              
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc10db4:	7f a4 eb 78 	mr      r4,r29                                 
    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++ ) {                
        if ( p[j] ) {                                                 
ffc10db8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10dbc:	7c 7e 4a 14 	add     r3,r30,r9                              
ffc10dc0:	41 9e 00 08 	beq-    cr7,ffc10dc8 <IMFS_memfile_remove+0x124><== NEVER TAKEN
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
ffc10dc4:	4b ff fe 51 	bl      ffc10c14 <memfile_free_blocks_in_table>
  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++ ) {                
ffc10dc8:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc10dcc:	7f e9 fb 78 	mr      r9,r31                                 
ffc10dd0:	55 4a f0 be 	rlwinm  r10,r10,30,2,31                        
ffc10dd4:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc10dd8:	41 9c ff d0 	blt+    cr7,ffc10da8 <IMFS_memfile_remove+0x104>
ffc10ddc:	80 7a 00 60 	lwz     r3,96(r26)                             
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
ffc10de0:	7c 63 ca 14 	add     r3,r3,r25                              
ffc10de4:	7f a4 eb 78 	mr      r4,r29                                 
ffc10de8:	4b ff fe 2d 	bl      ffc10c14 <memfile_free_blocks_in_table>
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
ffc10dec:	81 5c 00 00 	lwz     r10,0(r28)                             
ffc10df0:	3b 7b 00 01 	addi    r27,r27,1                              
ffc10df4:	55 4a f0 be 	rlwinm  r10,r10,30,2,31                        
ffc10df8:	7f 9b 50 40 	cmplw   cr7,r27,r10                            
ffc10dfc:	40 9c 00 18 	bge-    cr7,ffc10e14 <IMFS_memfile_remove+0x170>
      p = (block_p *) info->triply_indirect[i];                       
ffc10e00:	80 7a 00 60 	lwz     r3,96(r26)                             
 *         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(                                    
ffc10e04:	57 79 10 3a 	rlwinm  r25,r27,2,0,29                         
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
ffc10e08:	7f c3 c8 2e 	lwzx    r30,r3,r25                             
      if ( !p )  /* ensure we have a valid pointer */                 
ffc10e0c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10e10:	40 9e ff 88 	bne+    cr7,ffc10d98 <IMFS_memfile_remove+0xf4><== ALWAYS TAKEN
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
ffc10e14:	38 7a 00 60 	addi    r3,r26,96                              
ffc10e18:	7f a4 eb 78 	mr      r4,r29                                 
ffc10e1c:	4b ff fd f9 	bl      ffc10c14 <memfile_free_blocks_in_table>
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return the_jnode;                                                   
}                                                                     
ffc10e20:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10e24:	7f 43 d3 78 	mr      r3,r26                                 
ffc10e28:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc10e2c:	7c 08 03 a6 	mtlr    r0                                     
ffc10e30:	83 41 00 10 	lwz     r26,16(r1)                             
ffc10e34:	83 61 00 14 	lwz     r27,20(r1)                             
ffc10e38:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10e3c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10e40:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10e44:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10e48:	38 21 00 28 	addi    r1,r1,40                               
ffc10e4c:	4e 80 00 20 	blr                                            
                                                                      

ffc10e50 <IMFS_memfile_remove_block>: */ MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
ffc10e50:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc10e54:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
ffc10e58:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
 */                                                                   
MEMFILE_STATIC int IMFS_memfile_remove_block(                         
   IMFS_jnode_t  *the_jnode,                                          
   unsigned int   block                                               
)                                                                     
{                                                                     
ffc10e5c:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
ffc10e60:	4b ff f7 81 	bl      ffc105e0 <IMFS_memfile_get_block_pointer><== NOT EXECUTED
ffc10e64:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
  *block_ptr = 0;                                                     
ffc10e68:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
ffc10e6c:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
  *block_ptr = 0;                                                     
ffc10e70:	91 49 00 00 	stw     r10,0(r9)                              <== NOT EXECUTED
  memfile_free_block( ptr );                                          
ffc10e74:	4b ff fd 71 	bl      ffc10be4 <memfile_free_block>          <== NOT EXECUTED
                                                                      
  return 1;                                                           
}                                                                     
ffc10e78:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc10e7c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc10e80:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc10e84:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc10e88:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1111c <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
ffc1111c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc11120:	7c 08 02 a6 	mflr    r0                                     
   *  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 ) {                      
ffc11124:	39 40 00 00 	li      r10,0                                  
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc11128:	93 41 00 28 	stw     r26,40(r1)                             
ffc1112c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc11130:	93 61 00 2c 	stw     r27,44(r1)                             
ffc11134:	7c bb 2b 78 	mr      r27,r5                                 
ffc11138:	93 81 00 30 	stw     r28,48(r1)                             
ffc1113c:	7c fc 3b 78 	mr      r28,r7                                 
ffc11140:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11144:	7d 1d 43 78 	mr      r29,r8                                 
ffc11148:	93 c1 00 38 	stw     r30,56(r1)                             
ffc1114c:	7c de 33 78 	mr      r30,r6                                 
  /*                                                                  
   *  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;                                      
ffc11150:	7c c8 32 14 	add     r6,r8,r6                               
   IMFS_jnode_t          *the_jnode,                                  
   off_t                  start,                                      
   const unsigned char   *source,                                     
   unsigned int           length                                      
)                                                                     
{                                                                     
ffc11154:	90 01 00 44 	stw     r0,68(r1)                              
ffc11158:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc1115c:	93 01 00 20 	stw     r24,32(r1)                             
ffc11160:	93 21 00 24 	stw     r25,36(r1)                             
ffc11164:	93 e1 00 3c 	stw     r31,60(r1)                             
   *  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 ) {                      
ffc11168:	81 23 00 50 	lwz     r9,80(r3)                              
ffc1116c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc11170:	81 43 00 54 	lwz     r10,84(r3)                             
ffc11174:	41 9d 01 b8 	bgt-    cr7,ffc1132c <IMFS_memfile_write+0x210><== NEVER TAKEN
ffc11178:	41 9e 01 ac 	beq-    cr7,ffc11324 <IMFS_memfile_write+0x208><== ALWAYS TAKEN
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc1117c:	3f 20 00 00 	lis     r25,0                                  
ffc11180:	83 f9 28 00 	lwz     r31,10240(r25)                         
ffc11184:	7f 63 db 78 	mr      r3,r27                                 
ffc11188:	7f c4 f3 78 	mr      r4,r30                                 
ffc1118c:	7f f8 fe 70 	srawi   r24,r31,31                             
ffc11190:	7f 05 c3 78 	mr      r5,r24                                 
ffc11194:	7f e6 fb 78 	mr      r6,r31                                 
ffc11198:	48 00 ab 1d 	bl      ffc1bcb4 <__moddi3>                    
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc1119c:	7f 63 db 78 	mr      r3,r27                                 
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
ffc111a0:	7c 97 23 78 	mr      r23,r4                                 
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc111a4:	7f 05 c3 78 	mr      r5,r24                                 
ffc111a8:	7f c4 f3 78 	mr      r4,r30                                 
ffc111ac:	7f e6 fb 78 	mr      r6,r31                                 
ffc111b0:	48 00 a6 e1 	bl      ffc1b890 <__divdi3>                    
  if ( start_offset )  {                                              
ffc111b4:	2f 97 00 00 	cmpwi   cr7,r23,0                              
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
ffc111b8:	7c 9e 23 78 	mr      r30,r4                                 
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
    if ( status )                                                     
      return status;                                                  
  }                                                                   
                                                                      
  copied = 0;                                                         
ffc111bc:	3b 60 00 00 	li      r27,0                                  
  /*                                                                  
   *  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 )  {                                              
ffc111c0:	41 9e 00 54 	beq-    cr7,ffc11214 <IMFS_memfile_write+0xf8> 
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
ffc111c4:	7f 77 f8 50 	subf    r27,r23,r31                            
ffc111c8:	7f 9b e8 40 	cmplw   cr7,r27,r29                            
ffc111cc:	40 9d 00 08 	ble-    cr7,ffc111d4 <IMFS_memfile_write+0xb8> 
ffc111d0:	7f bb eb 78 	mr      r27,r29                                
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc111d4:	7f 43 d3 78 	mr      r3,r26                                 
ffc111d8:	7f c4 f3 78 	mr      r4,r30                                 
ffc111dc:	38 a0 00 00 	li      r5,0                                   
ffc111e0:	4b ff f4 01 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc111e4:	7c 69 1b 79 	mr.     r9,r3                                  
      return copied;                                                  
ffc111e8:	38 60 00 00 	li      r3,0                                   
  if ( start_offset )  {                                              
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
ffc111ec:	41 82 00 7c 	beq-    ffc11268 <IMFS_memfile_write+0x14c>    <== NEVER TAKEN
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
ffc111f0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc111f4:	7f 84 e3 78 	mr      r4,r28                                 
ffc111f8:	7f 65 db 78 	mr      r5,r27                                 
ffc111fc:	7c 63 ba 14 	add     r3,r3,r23                              
ffc11200:	48 00 1b 7d 	bl      ffc12d7c <memcpy>                      
ffc11204:	83 f9 28 00 	lwz     r31,10240(r25)                         
    src += to_copy;                                                   
ffc11208:	7f 9c da 14 	add     r28,r28,r27                            
    block++;                                                          
ffc1120c:	3b de 00 01 	addi    r30,r30,1                              
    my_length -= to_copy;                                             
ffc11210:	7f bb e8 50 	subf    r29,r27,r29                            
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc11214:	7f 9d f8 40 	cmplw   cr7,r29,r31                            
ffc11218:	40 bc 00 20 	bge+    cr7,ffc11238 <IMFS_memfile_write+0x11c>
ffc1121c:	48 00 00 80 	b       ffc1129c <IMFS_memfile_write+0x180>    
    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 );                       
ffc11220:	80 63 00 00 	lwz     r3,0(r3)                               
 *  IMFS_memfile_write                                                
 *                                                                    
 *  This routine writes the specified data buffer into the in memory  
 *  file pointed to by the_jnode.  The file is extended as needed.    
 */                                                                   
MEMFILE_STATIC ssize_t IMFS_memfile_write(                            
ffc11224:	7f 7b fa 14 	add     r27,r27,r31                            
    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 );                       
ffc11228:	48 00 1b 55 	bl      ffc12d7c <memcpy>                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
ffc1122c:	81 39 28 00 	lwz     r9,10240(r25)                          
ffc11230:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc11234:	41 9d 00 68 	bgt-    cr7,ffc1129c <IMFS_memfile_write+0x180>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc11238:	7f c4 f3 78 	mr      r4,r30                                 
ffc1123c:	38 a0 00 00 	li      r5,0                                   
ffc11240:	7f 43 d3 78 	mr      r3,r26                                 
ffc11244:	4b ff f3 9d 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
      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;                                                   
    block++;                                                          
    my_length -= to_copy;                                             
ffc11248:	7f bf e8 50 	subf    r29,r31,r29                            
   */                                                                 
                                                                      
  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 )                                                 
ffc1124c:	2c 03 00 00 	cmpwi   r3,0                                   
      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 );                       
ffc11250:	7f 84 e3 78 	mr      r4,r28                                 
ffc11254:	7f e5 fb 78 	mr      r5,r31                                 
    src += to_copy;                                                   
ffc11258:	7f 9c fa 14 	add     r28,r28,r31                            
    block++;                                                          
ffc1125c:	3b de 00 01 	addi    r30,r30,1                              
   */                                                                 
                                                                      
  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 )                                                 
ffc11260:	40 82 ff c0 	bne+    ffc11220 <IMFS_memfile_write+0x104>    <== ALWAYS TAKEN
ffc11264:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
ffc11268:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc1126c:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc11270:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11274:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc11278:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc1127c:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc11280:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc11284:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc11288:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc1128c:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc11290:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc11294:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc11298:	4e 80 00 20 	blr                                            <== 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 ) {                                                  
ffc1129c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc112a0:	41 9e 00 34 	beq-    cr7,ffc112d4 <IMFS_memfile_write+0x1b8>
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
ffc112a4:	7f 43 d3 78 	mr      r3,r26                                 
ffc112a8:	7f c4 f3 78 	mr      r4,r30                                 
ffc112ac:	38 a0 00 00 	li      r5,0                                   
ffc112b0:	4b ff f3 31 	bl      ffc105e0 <IMFS_memfile_get_block_pointer>
    if ( !block_ptr )                                                 
ffc112b4:	7c 69 1b 79 	mr.     r9,r3                                  
ffc112b8:	7f 63 db 78 	mr      r3,r27                                 
ffc112bc:	41 a2 ff ac 	beq-    ffc11268 <IMFS_memfile_write+0x14c>    <== NEVER TAKEN
      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 );                     
ffc112c0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc112c4:	7f 84 e3 78 	mr      r4,r28                                 
ffc112c8:	7f a5 eb 78 	mr      r5,r29                                 
ffc112cc:	48 00 1a b1 	bl      ffc12d7c <memcpy>                      
    my_length = 0;                                                    
    copied += to_copy;                                                
ffc112d0:	7f 7b ea 14 	add     r27,r27,r29                            
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc112d4:	38 61 00 08 	addi    r3,r1,8                                
ffc112d8:	38 80 00 00 	li      r4,0                                   
ffc112dc:	4b ff 39 79 	bl      ffc04c54 <gettimeofday>                
                                                                      
  return copied;                                                      
}                                                                     
ffc112e0:	80 01 00 44 	lwz     r0,68(r1)                              
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc112e4:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  return copied;                                                      
ffc112e8:	7f 63 db 78 	mr      r3,r27                                 
}                                                                     
ffc112ec:	7c 08 03 a6 	mtlr    r0                                     
ffc112f0:	82 e1 00 1c 	lwz     r23,28(r1)                             
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
ffc112f4:	91 3a 00 44 	stw     r9,68(r26)                             
ffc112f8:	91 3a 00 48 	stw     r9,72(r26)                             
                                                                      
  return copied;                                                      
}                                                                     
ffc112fc:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11300:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11304:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11308:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1130c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11310:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11314:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11318:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1131c:	38 21 00 40 	addi    r1,r1,64                               
ffc11320:	4e 80 00 20 	blr                                            
   *  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 ) {                      
ffc11324:	7f 86 50 40 	cmplw   cr7,r6,r10                             
ffc11328:	40 9d fe 54 	ble+    cr7,ffc1117c <IMFS_memfile_write+0x60> 
    bool zero_fill = start > the_jnode->info.file.size;               
ffc1132c:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc11330:	38 80 00 01 	li      r4,1                                   
ffc11334:	40 9d 00 50 	ble-    cr7,ffc11384 <IMFS_memfile_write+0x268><== ALWAYS TAKEN
                                                                      
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
ffc11338:	7f 43 d3 78 	mr      r3,r26                                 
ffc1133c:	54 84 07 fe 	clrlwi  r4,r4,31                               
ffc11340:	38 a0 00 00 	li      r5,0                                   
ffc11344:	4b ff fb 49 	bl      ffc10e8c <IMFS_memfile_extend>         
    if ( status )                                                     
ffc11348:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1134c:	41 82 fe 30 	beq+    ffc1117c <IMFS_memfile_write+0x60>     
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
ffc11350:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11354:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc11358:	7c 08 03 a6 	mtlr    r0                                     
ffc1135c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc11360:	83 21 00 24 	lwz     r25,36(r1)                             
ffc11364:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11368:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1136c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc11370:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11374:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11378:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1137c:	38 21 00 40 	addi    r1,r1,64                               
ffc11380:	4e 80 00 20 	blr                                            
   *  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;               
ffc11384:	41 9e 00 24 	beq-    cr7,ffc113a8 <IMFS_memfile_write+0x28c><== ALWAYS TAKEN
ffc11388:	38 80 00 00 	li      r4,0                                   
                                                                      
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
ffc1138c:	7f 43 d3 78 	mr      r3,r26                                 
ffc11390:	54 84 07 fe 	clrlwi  r4,r4,31                               
ffc11394:	38 a0 00 00 	li      r5,0                                   
ffc11398:	4b ff fa f5 	bl      ffc10e8c <IMFS_memfile_extend>         
    if ( status )                                                     
ffc1139c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc113a0:	41 82 fd dc 	beq+    ffc1117c <IMFS_memfile_write+0x60>     
ffc113a4:	4b ff ff ac 	b       ffc11350 <IMFS_memfile_write+0x234>    
   *  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;               
ffc113a8:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
ffc113ac:	41 bd ff 8c 	bgt-    cr7,ffc11338 <IMFS_memfile_write+0x21c>
ffc113b0:	4b ff ff d8 	b       ffc11388 <IMFS_memfile_write+0x26c>    
                                                                      

ffc04168 <IMFS_mknod>: dev_t dev, IMFS_jnode_types_t *type, IMFS_types_union *info ) { if ( S_ISDIR( mode ) ) {
ffc04168:	54 c9 04 26 	rlwinm  r9,r6,0,16,19                          
  const char *name,                                                   
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
ffc0416c:	94 21 ff d0 	stwu    r1,-48(r1)                             
  dev_t dev,                                                          
  IMFS_jnode_types_t *type,                                           
  IMFS_types_union *info                                              
)                                                                     
{                                                                     
  if ( S_ISDIR( mode ) ) {                                            
ffc04170:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
  const char *name,                                                   
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
ffc04174:	7c 08 02 a6 	mflr    r0                                     
ffc04178:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0417c:	7c ca 33 78 	mr      r10,r6                                 
ffc04180:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04184:	90 01 00 34 	stw     r0,52(r1)                              
ffc04188:	7c 8b 23 78 	mr      r11,r4                                 
ffc0418c:	7c a6 2b 78 	mr      r6,r5                                  
  dev_t dev,                                                          
  IMFS_jnode_types_t *type,                                           
  IMFS_types_union *info                                              
)                                                                     
{                                                                     
  if ( S_ISDIR( mode ) ) {                                            
ffc04190:	41 9e 00 b0 	beq-    cr7,ffc04240 <IMFS_mknod+0xd8>         
    *type = IMFS_DIRECTORY;                                           
  } else if ( S_ISREG( mode ) ) {                                     
ffc04194:	6d 25 ff ff 	xoris   r5,r9,65535                            
ffc04198:	2f 85 80 00 	cmpwi   cr7,r5,-32768                          
ffc0419c:	41 9e 00 ac 	beq-    cr7,ffc04248 <IMFS_mknod+0xe0>         
    *type = IMFS_MEMORY_FILE;                                         
  } else if ( S_ISBLK( mode ) || S_ISCHR( mode ) ) {                  
ffc041a0:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc041a4:	41 9e 00 8c 	beq-    cr7,ffc04230 <IMFS_mknod+0xc8>         
ffc041a8:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
ffc041ac:	41 9e 00 84 	beq-    cr7,ffc04230 <IMFS_mknod+0xc8>         
    rtems_filesystem_split_dev_t(                                     
      dev,                                                            
      info->device.major,                                             
      info->device.minor                                              
    );                                                                
  } else if (S_ISFIFO( mode )) {                                      
ffc041b0:	2f 89 10 00 	cmpwi   cr7,r9,4096                            
ffc041b4:	40 be 00 08 	bne+    cr7,ffc041bc <IMFS_mknod+0x54>         <== NEVER TAKEN
    *type = IMFS_FIFO;                                                
ffc041b8:	38 00 00 06 	li      r0,6                                   
  size_t namelen,                                                     
  mode_t mode,                                                        
  const IMFS_types_union *info                                        
)                                                                     
{                                                                     
  const IMFS_fs_info_t *fs_info =                                     
ffc041bc:	81 3f 00 14 	lwz     r9,20(r31)                             
    (const IMFS_fs_info_t *) parentloc->mt_entry->fs_info;            
                                                                      
  return IMFS_create_node_with_control(                               
ffc041c0:	54 08 10 3a 	rlwinm  r8,r0,2,0,29                           
ffc041c4:	7f e3 fb 78 	mr      r3,r31                                 
ffc041c8:	81 29 00 08 	lwz     r9,8(r9)                               
ffc041cc:	7d 65 5b 78 	mr      r5,r11                                 
ffc041d0:	7d 47 53 78 	mr      r7,r10                                 
ffc041d4:	7d 29 42 14 	add     r9,r9,r8                               
ffc041d8:	80 89 00 08 	lwz     r4,8(r9)                               
ffc041dc:	39 01 00 08 	addi    r8,r1,8                                
ffc041e0:	48 00 a0 89 	bl      ffc0e268 <IMFS_create_node_with_control>
  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 ) {                                           
ffc041e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc041e8:	41 9e 00 68 	beq-    cr7,ffc04250 <IMFS_mknod+0xe8>         
    IMFS_jnode_t *parent = parentloc->node_access;                    
                                                                      
    IMFS_update_ctime( parent );                                      
ffc041ec:	38 80 00 00 	li      r4,0                                   
                                                                      
  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 ) {                                           
    IMFS_jnode_t *parent = parentloc->node_access;                    
ffc041f0:	83 ff 00 08 	lwz     r31,8(r31)                             
                                                                      
    IMFS_update_ctime( parent );                                      
ffc041f4:	38 61 00 20 	addi    r3,r1,32                               
ffc041f8:	48 00 0a 5d 	bl      ffc04c54 <gettimeofday>                
ffc041fc:	81 21 00 20 	lwz     r9,32(r1)                              
    IMFS_update_mtime( parent );                                      
ffc04200:	38 61 00 20 	addi    r3,r1,32                               
                                                                      
  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 );                                      
ffc04204:	91 3f 00 48 	stw     r9,72(r31)                             
    IMFS_update_mtime( parent );                                      
ffc04208:	38 80 00 00 	li      r4,0                                   
ffc0420c:	48 00 0a 49 	bl      ffc04c54 <gettimeofday>                
ffc04210:	81 21 00 20 	lwz     r9,32(r1)                              
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
ffc04214:	38 60 00 00 	li      r3,0                                   
  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 );                                      
    IMFS_update_mtime( parent );                                      
ffc04218:	91 3f 00 44 	stw     r9,68(r31)                             
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0421c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc04220:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc04224:	7c 08 03 a6 	mtlr    r0                                     
ffc04228:	38 21 00 30 	addi    r1,r1,48                               
ffc0422c:	4e 80 00 20 	blr                                            
    *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(                                     
ffc04230:	90 e1 00 08 	stw     r7,8(r1)                               
  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;                                              
ffc04234:	38 00 00 01 	li      r0,1                                   
    rtems_filesystem_split_dev_t(                                     
ffc04238:	91 01 00 0c 	stw     r8,12(r1)                              
ffc0423c:	4b ff ff 80 	b       ffc041bc <IMFS_mknod+0x54>             
  IMFS_jnode_types_t *type,                                           
  IMFS_types_union *info                                              
)                                                                     
{                                                                     
  if ( S_ISDIR( mode ) ) {                                            
    *type = IMFS_DIRECTORY;                                           
ffc04240:	38 00 00 00 	li      r0,0                                   
ffc04244:	4b ff ff 78 	b       ffc041bc <IMFS_mknod+0x54>             
  } else if ( S_ISREG( mode ) ) {                                     
    *type = IMFS_MEMORY_FILE;                                         
ffc04248:	38 00 00 04 	li      r0,4                                   
ffc0424c:	4b ff ff 70 	b       ffc041bc <IMFS_mknod+0x54>             
    IMFS_jnode_t *parent = parentloc->node_access;                    
                                                                      
    IMFS_update_ctime( parent );                                      
    IMFS_update_mtime( parent );                                      
  } else {                                                            
    rv = -1;                                                          
ffc04250:	38 60 ff ff 	li      r3,-1                                  
ffc04254:	4b ff ff c8 	b       ffc0421c <IMFS_mknod+0xb4>             
                                                                      

ffc04258 <IMFS_mount>: #endif #include "imfs.h" int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04258:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0425c:	7c 08 02 a6 	mflr    r0                                     
ffc04260:	90 01 00 0c 	stw     r0,12(r1)                              
  int rv = 0;                                                         
  IMFS_jnode_t *node = mt_entry->mt_point_node->location.node_access; 
ffc04264:	81 23 00 20 	lwz     r9,32(r3)                              
ffc04268:	81 29 00 08 	lwz     r9,8(r9)                               
  return node->control->imfs_type;                                    
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
ffc0426c:	81 49 00 4c 	lwz     r10,76(r9)                             
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
ffc04270:	81 4a 00 00 	lwz     r10,0(r10)                             
ffc04274:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04278:	40 9e 00 3c 	bne-    cr7,ffc042b4 <IMFS_mount+0x5c>         
    if ( node->info.directory.mt_fs == NULL ) {                       
ffc0427c:	81 49 00 5c 	lwz     r10,92(r9)                             
ffc04280:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04284:	40 9e 00 1c 	bne-    cr7,ffc042a0 <IMFS_mount+0x48>         <== NEVER TAKEN
      node->info.directory.mt_fs = mt_entry;                          
ffc04288:	90 69 00 5c 	stw     r3,92(r9)                              
                                                                      
#include "imfs.h"                                                     
                                                                      
int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry )      
{                                                                     
  int rv = 0;                                                         
ffc0428c:	38 60 00 00 	li      r3,0                                   
    errno = ENOTDIR;                                                  
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04290:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04294:	38 21 00 08 	addi    r1,r1,8                                
ffc04298:	7c 08 03 a6 	mtlr    r0                                     
ffc0429c:	4e 80 00 20 	blr                                            
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
    if ( node->info.directory.mt_fs == NULL ) {                       
      node->info.directory.mt_fs = mt_entry;                          
    } else {                                                          
      errno = EBUSY;                                                  
ffc042a0:	48 00 dd d9 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc042a4:	39 20 00 10 	li      r9,16                                  <== NOT EXECUTED
ffc042a8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      rv = -1;                                                        
ffc042ac:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc042b0:	4b ff ff e0 	b       ffc04290 <IMFS_mount+0x38>             <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    errno = ENOTDIR;                                                  
ffc042b4:	48 00 dd c5 	bl      ffc12078 <__errno>                     
ffc042b8:	39 20 00 14 	li      r9,20                                  
ffc042bc:	91 23 00 00 	stw     r9,0(r3)                               
    rv = -1;                                                          
ffc042c0:	38 60 ff ff 	li      r3,-1                                  
ffc042c4:	4b ff ff cc 	b       ffc04290 <IMFS_mount+0x38>             
                                                                      

ffc0e724 <IMFS_node_remove_directory>: } static IMFS_jnode_t *IMFS_node_remove_directory( IMFS_jnode_t *node ) {
ffc0e724:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0e728:	7c 08 02 a6 	mflr    r0                                     
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0e72c:	39 43 00 54 	addi    r10,r3,84                              
ffc0e730:	90 01 00 0c 	stw     r0,12(r1)                              
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
ffc0e734:	81 23 00 50 	lwz     r9,80(r3)                              
ffc0e738:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0e73c:	40 9e 00 20 	bne-    cr7,ffc0e75c <IMFS_node_remove_directory+0x38>
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( IMFS_is_mount_point( node ) ) {                         
ffc0e740:	81 23 00 5c 	lwz     r9,92(r3)                              
ffc0e744:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e748:	40 9e 00 34 	bne-    cr7,ffc0e77c <IMFS_node_remove_directory+0x58><== NEVER TAKEN
    errno = EBUSY;                                                    
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e74c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0e750:	38 21 00 08 	addi    r1,r1,8                                
ffc0e754:	7c 08 03 a6 	mtlr    r0                                     
ffc0e758:	4e 80 00 20 	blr                                            
static IMFS_jnode_t *IMFS_node_remove_directory(                      
  IMFS_jnode_t *node                                                  
)                                                                     
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
ffc0e75c:	48 00 39 1d 	bl      ffc12078 <__errno>                     
    errno = EBUSY;                                                    
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e760:	80 01 00 0c 	lwz     r0,12(r1)                              
static IMFS_jnode_t *IMFS_node_remove_directory(                      
  IMFS_jnode_t *node                                                  
)                                                                     
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
ffc0e764:	39 20 00 5a 	li      r9,90                                  
    errno = EBUSY;                                                    
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e768:	7c 08 03 a6 	mtlr    r0                                     
static IMFS_jnode_t *IMFS_node_remove_directory(                      
  IMFS_jnode_t *node                                                  
)                                                                     
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
ffc0e76c:	91 23 00 00 	stw     r9,0(r3)                               
    node = NULL;                                                      
ffc0e770:	38 60 00 00 	li      r3,0                                   
    errno = EBUSY;                                                    
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e774:	38 21 00 08 	addi    r1,r1,8                                
ffc0e778:	4e 80 00 20 	blr                                            
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( IMFS_is_mount_point( node ) ) {                         
    errno = EBUSY;                                                    
ffc0e77c:	48 00 38 fd 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e780:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( IMFS_is_mount_point( node ) ) {                         
    errno = EBUSY;                                                    
ffc0e784:	39 20 00 10 	li      r9,16                                  <== NOT EXECUTED
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e788:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( IMFS_is_mount_point( node ) ) {                         
    errno = EBUSY;                                                    
ffc0e78c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc0e790:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
ffc0e794:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc0e798:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc042c8 <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;
ffc042c8:	81 43 00 08 	lwz     r10,8(r3)                              
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
ffc042cc:	81 2a 00 4c 	lwz     r9,76(r10)                             
ffc042d0:	81 29 00 00 	lwz     r9,0(r9)                               
  IMFS_jnode_types_t imfs_type = IMFS_type( node );                   
  rtems_filesystem_node_types_t type;                                 
                                                                      
  switch ( imfs_type ) {                                              
ffc042d4:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc042d8:	41 9e 00 18 	beq-    cr7,ffc042f0 <IMFS_node_type+0x28>     
ffc042dc:	2f 89 00 05 	cmpwi   cr7,r9,5                               
    case IMFS_HARD_LINK:                                              
      type = IMFS_type( node->info.hard_link.link_node );             
      break;                                                          
    case IMFS_LINEAR_FILE:                                            
      type = RTEMS_FILESYSTEM_MEMORY_FILE;                            
ffc042e0:	38 60 00 04 	li      r3,4                                   
{                                                                     
  const IMFS_jnode_t *node = loc->node_access;                        
  IMFS_jnode_types_t imfs_type = IMFS_type( node );                   
  rtems_filesystem_node_types_t type;                                 
                                                                      
  switch ( imfs_type ) {                                              
ffc042e4:	41 9e 00 1c 	beq-    cr7,ffc04300 <IMFS_node_type+0x38>     <== NEVER TAKEN
ffc042e8:	7d 23 4b 78 	mr      r3,r9                                  
      type = imfs_type;                                               
      break;                                                          
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc042ec:	4e 80 00 20 	blr                                            
ffc042f0:	81 2a 00 50 	lwz     r9,80(r10)                             
ffc042f4:	81 29 00 4c 	lwz     r9,76(r9)                              
ffc042f8:	80 69 00 00 	lwz     r3,0(r9)                               
  rtems_filesystem_node_types_t type;                                 
                                                                      
  switch ( imfs_type ) {                                              
    case IMFS_HARD_LINK:                                              
      type = IMFS_type( node->info.hard_link.link_node );             
      break;                                                          
ffc042fc:	4e 80 00 20 	blr                                            
ffc04300:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04304 <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++ )
ffc04304:	2c 05 00 00 	cmpwi   r5,0                                   
)                                                                     
{                                                                     
  IMFS_jnode_t      *node;                                            
  ssize_t            i;                                               
                                                                      
  node = loc->node_access;                                            
ffc04308:	81 03 00 08 	lwz     r8,8(r3)                               
                                                                      
  IMFS_assert( node->control->imfs_type == IMFS_SYM_LINK );           
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
ffc0430c:	41 82 00 4c 	beq-    ffc04358 <IMFS_readlink+0x54>          <== NEVER TAKEN
ffc04310:	81 28 00 50 	lwz     r9,80(r8)                              
ffc04314:	89 29 00 00 	lbz     r9,0(r9)                               
ffc04318:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0431c:	41 9e 00 3c 	beq-    cr7,ffc04358 <IMFS_readlink+0x54>      <== NEVER TAKEN
ffc04320:	39 40 00 00 	li      r10,0                                  
ffc04324:	7c a9 03 a6 	mtctr   r5                                     
ffc04328:	38 60 00 00 	li      r3,0                                   
ffc0432c:	48 00 00 14 	b       ffc04340 <IMFS_readlink+0x3c>          
ffc04330:	81 28 00 50 	lwz     r9,80(r8)                              
ffc04334:	7d 29 18 ae 	lbzx    r9,r9,r3                               
ffc04338:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0433c:	41 9e 00 18 	beq-    cr7,ffc04354 <IMFS_readlink+0x50>      
ffc04340:	38 63 00 01 	addi    r3,r3,1                                
    buf[i] = node->info.sym_link.name[i];                             
ffc04344:	7d 24 51 ae 	stbx    r9,r4,r10                              
                                                                      
  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++ )
ffc04348:	7c 6a 1b 78 	mr      r10,r3                                 
ffc0434c:	42 00 ff e4 	bdnz+   ffc04330 <IMFS_readlink+0x2c>          
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
ffc04350:	4e 80 00 20 	blr                                            
ffc04354:	4e 80 00 20 	blr                                            
                                                                      
  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++ )
ffc04358:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
ffc0435c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04360 <IMFS_rename>: const rtems_filesystem_location_info_t *oldloc, const rtems_filesystem_location_info_t *newparentloc, const char *name, size_t namelen ) {
ffc04360:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04364:	7c 08 02 a6 	mflr    r0                                     
ffc04368:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0436c:	93 e1 00 24 	stw     r31,36(r1)                             
  int rv = 0;                                                         
  IMFS_jnode_t *node = oldloc->node_access;                           
ffc04370:	83 e4 00 08 	lwz     r31,8(r4)                              
  const rtems_filesystem_location_info_t *oldloc,                     
  const rtems_filesystem_location_info_t *newparentloc,               
  const char *name,                                                   
  size_t namelen                                                      
)                                                                     
{                                                                     
ffc04374:	93 c1 00 20 	stw     r30,32(r1)                             
  /*                                                                  
   * FIXME: Due to insufficient checks we can create inaccessible nodes with
   * this operation.                                                  
   */                                                                 
                                                                      
  if ( node->Parent != NULL ) {                                       
ffc04378:	81 3f 00 08 	lwz     r9,8(r31)                              
  const rtems_filesystem_location_info_t *oldloc,                     
  const rtems_filesystem_location_info_t *newparentloc,               
  const char *name,                                                   
  size_t namelen                                                      
)                                                                     
{                                                                     
ffc0437c:	93 a1 00 1c 	stw     r29,28(r1)                             
  /*                                                                  
   * FIXME: Due to insufficient checks we can create inaccessible nodes with
   * this operation.                                                  
   */                                                                 
                                                                      
  if ( node->Parent != NULL ) {                                       
ffc04380:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  size_t namelen                                                      
)                                                                     
{                                                                     
  int rv = 0;                                                         
  IMFS_jnode_t *node = oldloc->node_access;                           
  IMFS_jnode_t *new_parent = newparentloc->node_access;               
ffc04384:	83 c5 00 08 	lwz     r30,8(r5)                              
  /*                                                                  
   * FIXME: Due to insufficient checks we can create inaccessible nodes with
   * this operation.                                                  
   */                                                                 
                                                                      
  if ( node->Parent != NULL ) {                                       
ffc04388:	41 9e 00 a0 	beq-    cr7,ffc04428 <IMFS_rename+0xc8>        <== NEVER TAKEN
    if ( namelen < IMFS_NAME_MAX ) {                                  
ffc0438c:	2b 87 00 1f 	cmplwi  cr7,r7,31                              
ffc04390:	7c fd 3b 78 	mr      r29,r7                                 
ffc04394:	41 9d 00 80 	bgt-    cr7,ffc04414 <IMFS_rename+0xb4>        <== NEVER TAKEN
      memcpy( node->name, name, namelen );                            
ffc04398:	7c c4 33 78 	mr      r4,r6                                  
ffc0439c:	7c e5 3b 78 	mr      r5,r7                                  
ffc043a0:	38 7f 00 0c 	addi    r3,r31,12                              
ffc043a4:	48 00 e9 d9 	bl      ffc12d7c <memcpy>                      
      node->name [namelen] = '\0';                                    
ffc043a8:	7f bf ea 14 	add     r29,r31,r29                            
ffc043ac:	39 20 00 00 	li      r9,0                                   
ffc043b0:	99 3d 00 0c 	stb     r9,12(r29)                             
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc043b4:	38 fe 00 54 	addi    r7,r30,84                              
                                                                      
      IMFS_remove_from_directory( node );                             
      IMFS_add_to_directory( new_parent, node );                      
      IMFS_update_ctime( node );                                      
ffc043b8:	38 61 00 08 	addi    r3,r1,8                                
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc043bc:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc043c0:	38 80 00 00 	li      r4,0                                   
  previous       = the_node->previous;                                
ffc043c4:	81 1f 00 04 	lwz     r8,4(r31)                              
  next->previous = previous;                                          
ffc043c8:	91 09 00 04 	stw     r8,4(r9)                               
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc043cc:	81 5e 00 58 	lwz     r10,88(r30)                            
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc043d0:	91 28 00 00 	stw     r9,0(r8)                               
static inline void IMFS_add_to_directory(                             
  IMFS_jnode_t *dir,                                                  
  IMFS_jnode_t *node                                                  
)                                                                     
{                                                                     
  node->Parent = dir;                                                 
ffc043d4:	93 df 00 08 	stw     r30,8(r31)                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc043d8:	90 ff 00 00 	stw     r7,0(r31)                              
  tail->previous = the_node;                                          
ffc043dc:	93 fe 00 58 	stw     r31,88(r30)                            
  old_last->next = the_node;                                          
ffc043e0:	93 ea 00 00 	stw     r31,0(r10)                             
  the_node->previous = old_last;                                      
ffc043e4:	91 5f 00 04 	stw     r10,4(r31)                             
ffc043e8:	48 00 08 6d 	bl      ffc04c54 <gettimeofday>                
ffc043ec:	81 21 00 08 	lwz     r9,8(r1)                               
  const rtems_filesystem_location_info_t *newparentloc,               
  const char *name,                                                   
  size_t namelen                                                      
)                                                                     
{                                                                     
  int rv = 0;                                                         
ffc043f0:	38 60 00 00 	li      r3,0                                   
      memcpy( node->name, name, namelen );                            
      node->name [namelen] = '\0';                                    
                                                                      
      IMFS_remove_from_directory( node );                             
      IMFS_add_to_directory( new_parent, node );                      
      IMFS_update_ctime( node );                                      
ffc043f4:	91 3f 00 48 	stw     r9,72(r31)                             
    errno = EINVAL;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc043f8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc043fc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc04400:	7c 08 03 a6 	mtlr    r0                                     
ffc04404:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04408:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0440c:	38 21 00 28 	addi    r1,r1,40                               
ffc04410:	4e 80 00 20 	blr                                            
                                                                      
      IMFS_remove_from_directory( node );                             
      IMFS_add_to_directory( new_parent, node );                      
      IMFS_update_ctime( node );                                      
    } else {                                                          
      errno = ENAMETOOLONG;                                           
ffc04414:	48 00 dc 65 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc04418:	39 20 00 5b 	li      r9,91                                  <== NOT EXECUTED
ffc0441c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      rv = -1;                                                        
ffc04420:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04424:	4b ff ff d4 	b       ffc043f8 <IMFS_rename+0x98>            <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc04428:	48 00 dc 51 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc0442c:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc04430:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc04434:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04438:	4b ff ff c0 	b       ffc043f8 <IMFS_rename+0x98>            <== NOT EXECUTED
                                                                      

ffc04574 <IMFS_unmount>: #endif #include "imfs.h" int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc04574:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04578:	7c 08 02 a6 	mflr    r0                                     
ffc0457c:	90 01 00 0c 	stw     r0,12(r1)                              
  int rv = 0;                                                         
  IMFS_jnode_t *node = mt_entry->mt_point_node->location.node_access; 
ffc04580:	81 23 00 20 	lwz     r9,32(r3)                              
ffc04584:	81 29 00 08 	lwz     r9,8(r9)                               
  return node->control->imfs_type;                                    
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
ffc04588:	81 49 00 4c 	lwz     r10,76(r9)                             
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
ffc0458c:	81 4a 00 00 	lwz     r10,0(r10)                             
ffc04590:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04594:	40 9e 00 3c 	bne-    cr7,ffc045d0 <IMFS_unmount+0x5c>       <== NEVER TAKEN
    if ( node->info.directory.mt_fs == mt_entry ) {                   
ffc04598:	81 09 00 5c 	lwz     r8,92(r9)                              
ffc0459c:	7f 88 18 00 	cmpw    cr7,r8,r3                              
ffc045a0:	40 9e 00 1c 	bne-    cr7,ffc045bc <IMFS_unmount+0x48>       <== NEVER TAKEN
      node->info.directory.mt_fs = NULL;                              
ffc045a4:	91 49 00 5c 	stw     r10,92(r9)                             
                                                                      
#include "imfs.h"                                                     
                                                                      
int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry )    
{                                                                     
  int rv = 0;                                                         
ffc045a8:	38 60 00 00 	li      r3,0                                   
    errno = ENOTDIR;                                                  
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc045ac:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc045b0:	38 21 00 08 	addi    r1,r1,8                                
ffc045b4:	7c 08 03 a6 	mtlr    r0                                     
ffc045b8:	4e 80 00 20 	blr                                            
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
    if ( node->info.directory.mt_fs == mt_entry ) {                   
      node->info.directory.mt_fs = NULL;                              
    } else {                                                          
      errno = EINVAL;                                                 
ffc045bc:	48 00 da bd 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc045c0:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc045c4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      rv = -1;                                                        
ffc045c8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc045cc:	4b ff ff e0 	b       ffc045ac <IMFS_unmount+0x38>           <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    errno = ENOTDIR;                                                  
ffc045d0:	48 00 da a9 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc045d4:	39 20 00 14 	li      r9,20                                  <== NOT EXECUTED
ffc045d8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc045dc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc045e0:	4b ff ff cc 	b       ffc045ac <IMFS_unmount+0x38>           <== NOT EXECUTED
                                                                      

ffc04e84 <RTEMS_Malloc_Initialize>: Heap_Initialization_or_extend_handler extend ) { Heap_Control *heap = RTEMS_Malloc_Heap; if ( !rtems_configuration_get_unified_work_area() ) {
ffc04e84:	3d 20 ff c2 	lis     r9,-62                                 
void RTEMS_Malloc_Initialize(                                         
  const Heap_Area *areas,                                             
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc04e88:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04e8c:	7c 08 02 a6 	mflr    r0                                     
  Heap_Control *heap = RTEMS_Malloc_Heap;                             
ffc04e90:	3d 40 00 00 	lis     r10,0                                  
                                                                      
  if ( !rtems_configuration_get_unified_work_area() ) {               
ffc04e94:	89 29 d5 69 	lbz     r9,-10903(r9)                          
void RTEMS_Malloc_Initialize(                                         
  const Heap_Area *areas,                                             
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc04e98:	93 81 00 18 	stw     r28,24(r1)                             
  Heap_Control *heap = RTEMS_Malloc_Heap;                             
                                                                      
  if ( !rtems_configuration_get_unified_work_area() ) {               
ffc04e9c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
void RTEMS_Malloc_Initialize(                                         
  const Heap_Area *areas,                                             
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc04ea0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04ea4:	93 21 00 0c 	stw     r25,12(r1)                             
ffc04ea8:	93 41 00 10 	stw     r26,16(r1)                             
ffc04eac:	93 61 00 14 	stw     r27,20(r1)                             
ffc04eb0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc04eb4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc04eb8:	93 e1 00 24 	stw     r31,36(r1)                             
  Heap_Control *heap = RTEMS_Malloc_Heap;                             
ffc04ebc:	83 8a 27 50 	lwz     r28,10064(r10)                         
                                                                      
  if ( !rtems_configuration_get_unified_work_area() ) {               
ffc04ec0:	40 9e 00 64 	bne-    cr7,ffc04f24 <RTEMS_Malloc_Initialize+0xa0>
    Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
    uintptr_t page_size = CPU_HEAP_ALIGNMENT;                         
    size_t i;                                                         
                                                                      
    for (i = 0; i < area_count; ++i) {                                
ffc04ec4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc04ec8:	7c 9b 23 78 	mr      r27,r4                                 
ffc04ecc:	41 9e 00 b8 	beq-    cr7,ffc04f84 <RTEMS_Malloc_Initialize+0x100>
ffc04ed0:	3f 20 ff c1 	lis     r25,-63                                
ffc04ed4:	3b 39 b0 08 	addi    r25,r25,-20472                         
ffc04ed8:	7c ba 2b 78 	mr      r26,r5                                 
ffc04edc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04ee0:	3b c0 00 00 	li      r30,0                                  
ffc04ee4:	7f 3d cb 78 	mr      r29,r25                                
      const Heap_Area *area = &areas [i];                             
      uintptr_t space_available = (*init_or_extend)(                  
ffc04ee8:	7f 83 e3 78 	mr      r3,r28                                 
ffc04eec:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc04ef0:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc04ef4:	38 c0 00 08 	li      r6,8                                   
ffc04ef8:	7f a9 03 a6 	mtctr   r29                                    
ffc04efc:	4e 80 04 21 	bctrl                                          
        area->begin,                                                  
        area->size,                                                   
        page_size                                                     
      );                                                              
                                                                      
      if ( space_available > 0 ) {                                    
ffc04f00:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04f04:	41 9e 00 08 	beq-    cr7,ffc04f0c <RTEMS_Malloc_Initialize+0x88><== NEVER TAKEN
        init_or_extend = extend;                                      
ffc04f08:	7f 5d d3 78 	mr      r29,r26                                
  if ( !rtems_configuration_get_unified_work_area() ) {               
    Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
    uintptr_t page_size = CPU_HEAP_ALIGNMENT;                         
    size_t i;                                                         
                                                                      
    for (i = 0; i < area_count; ++i) {                                
ffc04f0c:	3b de 00 01 	addi    r30,r30,1                              
ffc04f10:	7f 9e d8 00 	cmpw    cr7,r30,r27                            
ffc04f14:	3b ff 00 08 	addi    r31,r31,8                              
ffc04f18:	40 9e ff d0 	bne+    cr7,ffc04ee8 <RTEMS_Malloc_Initialize+0x64><== NEVER TAKEN
      if ( space_available > 0 ) {                                    
        init_or_extend = extend;                                      
      }                                                               
    }                                                                 
                                                                      
    if ( init_or_extend == _Heap_Initialize ) {                       
ffc04f1c:	7f 9d c8 00 	cmpw    cr7,r29,r25                            
ffc04f20:	41 9e 00 64 	beq-    cr7,ffc04f84 <RTEMS_Malloc_Initialize+0x100><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
ffc04f24:	3d 20 00 00 	lis     r9,0                                   
ffc04f28:	81 29 27 c4 	lwz     r9,10180(r9)                           
ffc04f2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f30:	41 9e 00 10 	beq-    cr7,ffc04f40 <RTEMS_Malloc_Initialize+0xbc>
    (*rtems_malloc_statistics_helpers->initialize)();                 
ffc04f34:	81 29 00 00 	lwz     r9,0(r9)                               
ffc04f38:	7d 29 03 a6 	mtctr   r9                                     
ffc04f3c:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size( heap ) );        
ffc04f40:	3f e0 00 00 	lis     r31,0                                  
ffc04f44:	7f 83 e3 78 	mr      r3,r28                                 
ffc04f48:	83 df 2b 28 	lwz     r30,11048(r31)                         
ffc04f4c:	48 00 6e 25 	bl      ffc0bd70 <_Protected_heap_Get_size>    
}                                                                     
ffc04f50:	80 01 00 2c 	lwz     r0,44(r1)                              
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
    (*rtems_malloc_statistics_helpers->initialize)();                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size( heap ) );        
ffc04f54:	7c 63 f2 14 	add     r3,r3,r30                              
}                                                                     
ffc04f58:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc04f5c:	7c 08 03 a6 	mtlr    r0                                     
ffc04f60:	83 41 00 10 	lwz     r26,16(r1)                             
ffc04f64:	83 61 00 14 	lwz     r27,20(r1)                             
ffc04f68:	83 81 00 18 	lwz     r28,24(r1)                             
ffc04f6c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc04f70:	83 c1 00 20 	lwz     r30,32(r1)                             
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
    (*rtems_malloc_statistics_helpers->initialize)();                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size( heap ) );        
ffc04f74:	90 7f 2b 28 	stw     r3,11048(r31)                          
}                                                                     
ffc04f78:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc04f7c:	38 21 00 28 	addi    r1,r1,40                               
ffc04f80:	4e 80 00 20 	blr                                            
        init_or_extend = extend;                                      
      }                                                               
    }                                                                 
                                                                      
    if ( init_or_extend == _Heap_Initialize ) {                       
      _Internal_error_Occurred(                                       
ffc04f84:	38 60 00 00 	li      r3,0                                   
ffc04f88:	38 80 00 01 	li      r4,1                                   
ffc04f8c:	38 a0 00 17 	li      r5,23                                  
ffc04f90:	48 00 63 89 	bl      ffc0b318 <_Internal_error_Occurred>    
                                                                      

ffc29818 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; static void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
ffc29818:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc2981c:	7c 08 02 a6 	mflr    r0                                     
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc29820:	39 43 00 c0 	addi    r10,r3,192                             
static rtems_printk_plugin_t   print_handler;                         
                                                                      
static void Stack_check_Dump_threads_usage(                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc29824:	90 01 00 44 	stw     r0,68(r1)                              
{                                                                     
  uintptr_t clsz = PPC_DEFAULT_CACHE_LINE_SIZE;                       
  uintptr_t mask = clsz - 1;                                          
  uintptr_t addr = (uintptr_t) context;                               
                                                                      
  return (ppc_context *) ((addr & ~mask) + clsz);                     
ffc29828:	55 4a 00 34 	rlwinm  r10,r10,0,0,26                         
ffc2982c:	93 81 00 30 	stw     r28,48(r1)                             
      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);                        
ffc29830:	83 83 00 b0 	lwz     r28,176(r3)                            
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc29834:	81 03 00 b4 	lwz     r8,180(r3)                             
  size = Stack_check_usable_stack_size(stack);                        
ffc29838:	3b 9c ff 80 	addi    r28,r28,-128                           
static rtems_printk_plugin_t   print_handler;                         
                                                                      
static void Stack_check_Dump_threads_usage(                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc2983c:	93 41 00 28 	stw     r26,40(r1)                             
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
ffc29840:	39 28 01 00 	addi    r9,r8,256                              
    for (ebase = base + length; base < ebase; base++)                 
ffc29844:	57 86 00 3a 	rlwinm  r6,r28,0,0,29                          
static rtems_printk_plugin_t   print_handler;                         
                                                                      
static void Stack_check_Dump_threads_usage(                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc29848:	93 e1 00 3c 	stw     r31,60(r1)                             
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc2984c:	7c c9 32 14 	add     r6,r9,r6                               
ffc29850:	7f 89 30 40 	cmplw   cr7,r9,r6                              
static rtems_printk_plugin_t   print_handler;                         
                                                                      
static void Stack_check_Dump_threads_usage(                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc29854:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc29858:	7c 7f 1b 78 	mr      r31,r3                                 
ffc2985c:	93 01 00 20 	stw     r24,32(r1)                             
ffc29860:	93 21 00 24 	stw     r25,36(r1)                             
ffc29864:	93 61 00 2c 	stw     r27,44(r1)                             
ffc29868:	93 a1 00 34 	stw     r29,52(r1)                             
ffc2986c:	93 c1 00 38 	stw     r30,56(r1)                             
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
ffc29870:	83 4a 00 20 	lwz     r26,32(r10)                            
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc29874:	40 9c 00 30 	bge-    cr7,ffc298a4 <Stack_check_Dump_threads_usage+0x8c><== NEVER TAKEN
      if (*base != U32_PATTERN)                                       
ffc29878:	80 a8 01 00 	lwz     r5,256(r8)                             
ffc2987c:	6c aa 5a 5a 	xoris   r10,r5,23130                           
ffc29880:	2f 8a a5 a5 	cmpwi   cr7,r10,-23131                         
ffc29884:	41 9e 00 14 	beq-    cr7,ffc29898 <Stack_check_Dump_threads_usage+0x80><== ALWAYS TAKEN
ffc29888:	48 00 00 f8 	b       ffc29980 <Stack_check_Dump_threads_usage+0x168><== NOT EXECUTED
ffc2988c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc29890:	7f 8a 28 00 	cmpw    cr7,r10,r5                             
ffc29894:	40 9e 00 ec 	bne-    cr7,ffc29980 <Stack_check_Dump_threads_usage+0x168>
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
ffc29898:	39 29 00 04 	addi    r9,r9,4                                
ffc2989c:	7f 86 48 40 	cmplw   cr7,r6,r9                              
ffc298a0:	41 9d ff ec 	bgt+    cr7,ffc2988c <Stack_check_Dump_threads_usage+0x74><== ALWAYS TAKEN
  high_water_mark = Stack_check_find_high_water_mark(low, size);      
                                                                      
  if ( high_water_mark )                                              
    used = Stack_check_Calculate_used( low, size, high_water_mark );  
  else                                                                
    used = 0;                                                         
ffc298a4:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
ffc298a8:	3f a0 00 00 	lis     r29,0                                  
ffc298ac:	83 7f 00 08 	lwz     r27,8(r31)                             
ffc298b0:	3b dd 5c b0 	addi    r30,r29,23728                          
ffc298b4:	83 3d 5c b0 	lwz     r25,23728(r29)                         
ffc298b8:	83 1e 00 04 	lwz     r24,4(r30)                             
ffc298bc:	38 80 00 05 	li      r4,5                                   
ffc298c0:	38 a1 00 08 	addi    r5,r1,8                                
ffc298c4:	7f 63 db 78 	mr      r3,r27                                 
ffc298c8:	4b fe 8b 39 	bl      ffc12400 <rtems_object_get_name>       
ffc298cc:	3c 80 ff c6 	lis     r4,-58                                 
ffc298d0:	7c 66 1b 78 	mr      r6,r3                                  
ffc298d4:	7f 29 03 a6 	mtctr   r25                                    
ffc298d8:	38 84 5e a0 	addi    r4,r4,24224                            
ffc298dc:	7f 65 db 78 	mr      r5,r27                                 
ffc298e0:	7f 03 c3 78 	mr      r3,r24                                 
ffc298e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc298e8:	4e 80 04 21 	bctrl                                          
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc298ec:	80 df 00 b0 	lwz     r6,176(r31)                            
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc298f0:	81 5d 5c b0 	lwz     r10,23728(r29)                         
ffc298f4:	3c 80 ff c6 	lis     r4,-58                                 
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
ffc298f8:	80 bf 00 b4 	lwz     r5,180(r31)                            
ffc298fc:	38 c6 ff ff 	addi    r6,r6,-1                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
ffc29900:	7d 49 03 a6 	mtctr   r10                                    
ffc29904:	80 7e 00 04 	lwz     r3,4(r30)                              
ffc29908:	38 84 5e b0 	addi    r4,r4,24240                            
ffc2990c:	7c c5 32 14 	add     r6,r5,r6                               
ffc29910:	7f 47 d3 78 	mr      r7,r26                                 
ffc29914:	7f 88 e3 78 	mr      r8,r28                                 
ffc29918:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2991c:	4e 80 04 21 	bctrl                                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc29920:	81 5e 00 08 	lwz     r10,8(r30)                             
    (*print_handler)( print_context, "Unavailable\n" );               
ffc29924:	81 3d 5c b0 	lwz     r9,23728(r29)                          
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc29928:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    (*print_handler)( print_context, "Unavailable\n" );               
ffc2992c:	80 7e 00 04 	lwz     r3,4(r30)                              
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
ffc29930:	41 9e 00 60 	beq-    cr7,ffc29990 <Stack_check_Dump_threads_usage+0x178><== NEVER TAKEN
    (*print_handler)( print_context, "Unavailable\n" );               
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
ffc29934:	3c 80 ff c6 	lis     r4,-58                                 
ffc29938:	7d 29 03 a6 	mtctr   r9                                     
ffc2993c:	7e e5 bb 78 	mr      r5,r23                                 
ffc29940:	38 84 5e e0 	addi    r4,r4,24288                            
ffc29944:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29948:	4e 80 04 21 	bctrl                                          
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc2994c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc29950:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc29954:	7c 08 03 a6 	mtlr    r0                                     
ffc29958:	83 01 00 20 	lwz     r24,32(r1)                             
ffc2995c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc29960:	83 41 00 28 	lwz     r26,40(r1)                             
ffc29964:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc29968:	83 81 00 30 	lwz     r28,48(r1)                             
ffc2996c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc29970:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc29974:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc29978:	38 21 00 40 	addi    r1,r1,64                               
ffc2997c:	4e 80 00 20 	blr                                            
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
ffc29980:	3a e8 00 80 	addi    r23,r8,128                             
  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 );  
ffc29984:	7e f7 e2 14 	add     r23,r23,r28                            
ffc29988:	7e e9 b8 50 	subf    r23,r9,r23                             
ffc2998c:	4b ff ff 1c 	b       ffc298a8 <Stack_check_Dump_threads_usage+0x90>
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
    (*print_handler)( print_context, "Unavailable\n" );               
ffc29990:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc29994:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc29998:	38 84 5e d0 	addi    r4,r4,24272                            <== NOT EXECUTED
ffc2999c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc299a0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
  }                                                                   
                                                                      
                                                                      
}                                                                     
ffc299a4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc299a8:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc299ac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc299b0:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc299b4:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc299b8:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc299bc:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc299c0:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc299c4:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc299c8:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc299cc:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc299d0:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc299d4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc29aa0 <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) {
ffc29aa0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc29aa4:	7c 08 02 a6 	mflr    r0                                     
ffc29aa8:	93 e1 00 34 	stw     r31,52(r1)                             
ffc29aac:	7c 7f 1b 78 	mr      r31,r3                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc29ab0:	3c 60 ff c6 	lis     r3,-58                                 
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc29ab4:	90 01 00 3c 	stw     r0,60(r1)                              
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc29ab8:	38 63 5e e8 	addi    r3,r3,24296                            
  Thread_Control *running,                                            
  bool pattern_ok                                                     
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;                                 
                                                                      
void Stack_check_report_blown_task(Thread_Control *running, bool pattern_ok)
{                                                                     
ffc29abc:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc29ac0:	93 c1 00 30 	stw     r30,48(r1)                             
ffc29ac4:	7c 9e 23 78 	mr      r30,r4                                 
  Stack_Control *stack = &running->Start.Initial_stack;               
  void          *pattern_area = Stack_check_Get_pattern(stack);       
ffc29ac8:	83 bf 00 b4 	lwz     r29,180(r31)                           
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
ffc29acc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29ad0:	4b fd bb 75 	bl      ffc05644 <printk>                      
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
ffc29ad4:	3c 60 ff c6 	lis     r3,-58                                 
ffc29ad8:	38 63 5e f8 	addi    r3,r3,24312                            
ffc29adc:	7f e4 fb 78 	mr      r4,r31                                 
ffc29ae0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29ae4:	4b fd bb 61 	bl      ffc05644 <printk>                      
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
ffc29ae8:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc29aec:	3c 60 ff c6 	lis     r3,-58                                 
ffc29af0:	38 63 5f 14 	addi    r3,r3,24340                            
ffc29af4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29af8:	4b fd bb 4d 	bl      ffc05644 <printk>                      
  printk(                                                             
ffc29afc:	80 9f 00 0c 	lwz     r4,12(r31)                             
ffc29b00:	3c 60 ff c6 	lis     r3,-58                                 
ffc29b04:	38 63 5f 28 	addi    r3,r3,24360                            
ffc29b08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29b0c:	4b fd bb 39 	bl      ffc05644 <printk>                      
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
ffc29b10:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc29b14:	38 a1 00 08 	addi    r5,r1,8                                
ffc29b18:	38 80 00 20 	li      r4,32                                  
ffc29b1c:	4b fe 88 e5 	bl      ffc12400 <rtems_object_get_name>       
ffc29b20:	7c 64 1b 78 	mr      r4,r3                                  
ffc29b24:	3c 60 ff c6 	lis     r3,-58                                 
ffc29b28:	38 63 5f 3c 	addi    r3,r3,24380                            
ffc29b2c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29b30:	4b fd bb 15 	bl      ffc05644 <printk>                      
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
ffc29b34:	80 bf 00 b4 	lwz     r5,180(r31)                            
ffc29b38:	80 9f 00 b0 	lwz     r4,176(r31)                            
  );                                                                  
  printk(                                                             
    "task name string: %s\n",                                         
    rtems_object_get_name(running->Object.id, sizeof(name), name)     
  );                                                                  
  printk(                                                             
ffc29b3c:	3c 60 ff c6 	lis     r3,-58                                 
ffc29b40:	38 63 5f 54 	addi    r3,r3,24404                            
ffc29b44:	7c c5 22 14 	add     r6,r5,r4                               
ffc29b48:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29b4c:	4b fd ba f9 	bl      ffc05644 <printk>                      
    "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) {                                                  
ffc29b50:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc29b54:	41 9e 00 10 	beq-    cr7,ffc29b64 <Stack_check_report_blown_task+0xc4><== ALWAYS TAKEN
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal(                                                        
ffc29b58:	80 9f 00 0c 	lwz     r4,12(r31)                             
ffc29b5c:	38 60 00 09 	li      r3,9                                   
ffc29b60:	4b fe 00 dd 	bl      ffc09c3c <rtems_fatal>                 
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
ffc29b64:	3c 60 ff c6 	lis     r3,-58                                 
ffc29b68:	38 63 5f 84 	addi    r3,r3,24452                            
ffc29b6c:	38 80 00 80 	li      r4,128                                 
ffc29b70:	38 bd 00 08 	addi    r5,r29,8                               
ffc29b74:	38 dd 00 88 	addi    r6,r29,136                             
ffc29b78:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29b7c:	4b fd ba c9 	bl      ffc05644 <printk>                      
ffc29b80:	4b ff ff d8 	b       ffc29b58 <Stack_check_report_blown_task+0xb8>
                                                                      

ffc11694 <TOD_MICROSECONDS_TO_TICKS>: /** * We should ensure the ticks not be truncated by integer division. We * need to have it be greater than or equal to the requested time. It * should not be shorter. */ microseconds_per_tick = rtems_configuration_get_microseconds_per_tick();
ffc11694:	3d 20 ff c3 	lis     r9,-61                                 
ffc11698:	81 49 81 f4 	lwz     r10,-32268(r9)                         
  ticks                 = microseconds / microseconds_per_tick;       
ffc1169c:	7d 23 53 96 	divwu   r9,r3,r10                              
  if ( (microseconds % microseconds_per_tick) != 0 )                  
ffc116a0:	7d 49 51 d6 	mullw   r10,r9,r10                             
ffc116a4:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc116a8:	41 9e 00 08 	beq-    cr7,ffc116b0 <TOD_MICROSECONDS_TO_TICKS+0x1c><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc116ac:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc116b0:	7d 23 4b 78 	mr      r3,r9                                  
ffc116b4:	4e 80 00 20 	blr                                            
                                                                      

ffc0b750 <TOD_MILLISECONDS_TO_TICKS>: /** * We should ensure the ticks not be truncated by integer division. We * need to have it be greater than or equal to the requested time. It * should not be shorter. */ milliseconds_per_tick = rtems_configuration_get_milliseconds_per_tick();
ffc0b750:	3d 20 ff c2 	lis     r9,-62                                 
ffc0b754:	81 29 e9 e4 	lwz     r9,-5660(r9)                           
ffc0b758:	3d 40 10 62 	lis     r10,4194                               
ffc0b75c:	61 4a 4d d3 	ori     r10,r10,19923                          
ffc0b760:	7d 49 50 16 	mulhwu  r10,r9,r10                             
ffc0b764:	55 4a d1 be 	rlwinm  r10,r10,26,6,31                        
  ticks                 = milliseconds / milliseconds_per_tick;       
ffc0b768:	7d 23 53 96 	divwu   r9,r3,r10                              
  if ( (milliseconds % milliseconds_per_tick) != 0 )                  
ffc0b76c:	7d 49 51 d6 	mullw   r10,r9,r10                             
ffc0b770:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc0b774:	41 9e 00 08 	beq-    cr7,ffc0b77c <TOD_MILLISECONDS_TO_TICKS+0x2c><== ALWAYS TAKEN
    ticks += 1;                                                       
ffc0b778:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
                                                                      
  return ticks;                                                       
}                                                                     
ffc0b77c:	7d 23 4b 78 	mr      r3,r9                                  
ffc0b780:	4e 80 00 20 	blr                                            
                                                                      

ffc0a604 <_API_extensions_Run_postdriver>: } } #endif void _API_extensions_Run_postdriver( void ) {
ffc0a604:	94 21 ff f0 	stwu    r1,-16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0a608:	3d 20 00 00 	lis     r9,0                                   
ffc0a60c:	7c 08 02 a6 	mflr    r0                                     
ffc0a610:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0a614:	3b c9 2d b4 	addi    r30,r9,11700                           
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc0a618:	3b de 00 04 	addi    r30,r30,4                              
    }                                                                 
  }                                                                   
#endif                                                                
                                                                      
void _API_extensions_Run_postdriver( void )                           
{                                                                     
ffc0a61c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0a620:	83 e9 2d b4 	lwz     r31,11700(r9)                          
ffc0a624:	90 01 00 14 	stw     r0,20(r1)                              
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc0a628:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0a62c:	41 9e 00 1c 	beq-    cr7,ffc0a648 <_API_extensions_Run_postdriver+0x44><== NEVER TAKEN
     *  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)();                            
ffc0a630:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc0a634:	7d 29 03 a6 	mtctr   r9                                     
ffc0a638:	4e 80 04 21 	bctrl                                          
  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 ) {                                 
ffc0a63c:	83 ff 00 00 	lwz     r31,0(r31)                             
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
ffc0a640:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0a644:	40 9e ff ec 	bne+    cr7,ffc0a630 <_API_extensions_Run_postdriver+0x2c><== NEVER TAKEN
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
  }                                                                   
}                                                                     
ffc0a648:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a64c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a650:	7c 08 03 a6 	mtlr    r0                                     
ffc0a654:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a658:	38 21 00 10 	addi    r1,r1,16                               
ffc0a65c:	4e 80 00 20 	blr                                            
                                                                      

ffc14ecc <_CORE_message_queue_Initialize>: /* * Check if allocated_message_size is aligned to uintptr-size boundary. * If not, it will increase allocated_message_size to multiplicity of pointer * size. */ if (allocated_message_size & (sizeof(uintptr_t) - 1)) {
ffc14ecc:	70 c9 00 03 	andi.   r9,r6,3                                
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
ffc14ed0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc14ed4:	7c 08 02 a6 	mflr    r0                                     
  size_t message_buffering_required = 0;                              
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
  the_message_queue->number_of_pending_messages = 0;                  
ffc14ed8:	39 20 00 00 	li      r9,0                                   
  CORE_message_queue_Control    *the_message_queue,                   
  CORE_message_queue_Attributes *the_message_queue_attributes,        
  uint32_t                       maximum_pending_messages,            
  size_t                         maximum_message_size                 
)                                                                     
{                                                                     
ffc14edc:	93 a1 00 14 	stw     r29,20(r1)                             
ffc14ee0:	7c 9d 23 78 	mr      r29,r4                                 
ffc14ee4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc14ee8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc14eec:	90 01 00 24 	stw     r0,36(r1)                              
ffc14ef0:	93 c1 00 18 	stw     r30,24(r1)                             
  size_t message_buffering_required = 0;                              
  size_t allocated_message_size;                                      
                                                                      
  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
ffc14ef4:	90 a3 00 44 	stw     r5,68(r3)                              
  the_message_queue->number_of_pending_messages = 0;                  
ffc14ef8:	91 23 00 48 	stw     r9,72(r3)                              
  the_message_queue->maximum_message_size       = maximum_message_size;
ffc14efc:	90 c3 00 4c 	stw     r6,76(r3)                              
  /*                                                                  
   * Check if allocated_message_size is aligned to uintptr-size boundary.
   * If not, it will increase allocated_message_size to multiplicity of pointer
   * size.                                                            
   */                                                                 
  if (allocated_message_size & (sizeof(uintptr_t) - 1)) {             
ffc14f00:	41 82 00 34 	beq-    ffc14f34 <_CORE_message_queue_Initialize+0x68>
    allocated_message_size += sizeof(uintptr_t);                      
ffc14f04:	39 26 00 04 	addi    r9,r6,4                                
    allocated_message_size &= ~(sizeof(uintptr_t) - 1);               
ffc14f08:	55 29 00 3a 	rlwinm  r9,r9,0,0,29                           
                                                                      
  /*                                                                  
   * Check for an overflow. It can occur while increasing allocated_message_size
   * to multiplicity of uintptr_t above.                              
   */                                                                 
  if (allocated_message_size < maximum_message_size)                  
ffc14f0c:	7f 86 48 40 	cmplw   cr7,r6,r9                              
ffc14f10:	40 9d 00 28 	ble-    cr7,ffc14f38 <_CORE_message_queue_Initialize+0x6c>
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc14f14:	80 01 00 24 	lwz     r0,36(r1)                              
  /*                                                                  
   * Check for an overflow. It can occur while increasing allocated_message_size
   * to multiplicity of uintptr_t above.                              
   */                                                                 
  if (allocated_message_size < maximum_message_size)                  
    return false;                                                     
ffc14f18:	38 60 00 00 	li      r3,0                                   
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc14f1c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc14f20:	7c 08 03 a6 	mtlr    r0                                     
ffc14f24:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc14f28:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc14f2c:	38 21 00 20 	addi    r1,r1,32                               
ffc14f30:	4e 80 00 20 	blr                                            
  /*                                                                  
   * Check if allocated_message_size is aligned to uintptr-size boundary.
   * If not, it will increase allocated_message_size to multiplicity of pointer
   * size.                                                            
   */                                                                 
  if (allocated_message_size & (sizeof(uintptr_t) - 1)) {             
ffc14f34:	7c c9 33 78 	mr      r9,r6                                  
                                                                      
  /*                                                                  
   *  Calculate how much total memory is required for message buffering and
   *  check for overflow on the multiplication.                       
   */                                                                 
  if ( !size_t_mult32_with_overflow(                                  
ffc14f38:	3b c9 00 10 	addi    r30,r9,16                              
  size_t  a,                                                          
  size_t  b,                                                          
  size_t *c                                                           
)                                                                     
{                                                                     
  long long x = (long long)a*b;                                       
ffc14f3c:	7d 45 f0 16 	mulhwu  r10,r5,r30                             
ffc14f40:	7d 65 f1 d6 	mullw   r11,r5,r30                             
                                                                      
  if ( x > SIZE_MAX )                                                 
ffc14f44:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc14f48:	41 bd ff cc 	bgt-    cr7,ffc14f14 <_CORE_message_queue_Initialize+0x48>
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
     _Workspace_Allocate( message_buffering_required );               
ffc14f4c:	7d 63 5b 78 	mr      r3,r11                                 
ffc14f50:	90 a1 00 08 	stw     r5,8(r1)                               
ffc14f54:	48 00 3a 11 	bl      ffc18964 <_Workspace_Allocate>         
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc14f58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    return false;                                                     
                                                                      
  /*                                                                  
   *  Attempt to allocate the message memory                          
   */                                                                 
  the_message_queue->message_buffers = (CORE_message_queue_Buffer *)  
ffc14f5c:	90 7f 00 5c 	stw     r3,92(r31)                             
     _Workspace_Allocate( message_buffering_required );               
ffc14f60:	7c 64 1b 78 	mr      r4,r3                                  
                                                                      
  if (the_message_queue->message_buffers == 0)                        
ffc14f64:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc14f68:	41 be ff ac 	beq-    cr7,ffc14f14 <_CORE_message_queue_Initialize+0x48><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the pool of inactive messages, pending messages,     
   *  and set of waiting threads.                                     
   */                                                                 
  _Chain_Initialize (                                                 
ffc14f6c:	38 7f 00 60 	addi    r3,r31,96                              
ffc14f70:	7f c6 f3 78 	mr      r6,r30                                 
ffc14f74:	4b ff ff 05 	bl      ffc14e78 <_Chain_Initialize>           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _CORE_message_queue_Is_priority(            
  CORE_message_queue_Attributes *the_attribute                        
)                                                                     
{                                                                     
  return                                                              
ffc14f78:	80 9d 00 00 	lwz     r4,0(r29)                              
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 );                        
ffc14f7c:	39 5f 00 54 	addi    r10,r31,84                             
ffc14f80:	39 3f 00 50 	addi    r9,r31,80                              
                                                                      
  head->next = tail;                                                  
ffc14f84:	91 5f 00 50 	stw     r10,80(r31)                            
    allocated_message_size + sizeof( CORE_message_queue_Buffer_control )
  );                                                                  
                                                                      
  _Chain_Initialize_empty( &the_message_queue->Pending_messages );    
                                                                      
  _Thread_queue_Initialize(                                           
ffc14f88:	68 84 00 01 	xori    r4,r4,1                                
  head->previous = NULL;                                              
ffc14f8c:	39 40 00 00 	li      r10,0                                  
  tail->previous = head;                                              
ffc14f90:	91 3f 00 58 	stw     r9,88(r31)                             
ffc14f94:	7c 84 00 34 	cntlzw  r4,r4                                  
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc14f98:	91 5f 00 54 	stw     r10,84(r31)                            
ffc14f9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc14fa0:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
ffc14fa4:	38 a0 00 80 	li      r5,128                                 
ffc14fa8:	38 c0 00 06 	li      r6,6                                   
ffc14fac:	48 00 2e 91 	bl      ffc17e3c <_Thread_queue_Initialize>    
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
}                                                                     
ffc14fb0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc14fb4:	83 a1 00 14 	lwz     r29,20(r1)                             
       THREAD_QUEUE_DISCIPLINE_PRIORITY : THREAD_QUEUE_DISCIPLINE_FIFO,
    STATES_WAITING_FOR_MESSAGE,                                       
    CORE_MESSAGE_QUEUE_STATUS_TIMEOUT                                 
  );                                                                  
                                                                      
  return true;                                                        
ffc14fb8:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc14fbc:	7c 08 03 a6 	mtlr    r0                                     
ffc14fc0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc14fc4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc14fc8:	38 21 00 20 	addi    r1,r1,32                               
ffc14fcc:	4e 80 00 20 	blr                                            
                                                                      

ffc0a9ec <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
ffc0a9ec:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0a9f0:	7c 08 02 a6 	mflr    r0                                     
ffc0a9f4:	93 e1 00 24 	stw     r31,36(r1)                             
   * 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 )                      
ffc0a9f8:	3f e0 00 00 	lis     r31,0                                  
ffc0a9fc:	81 3f 28 24 	lwz     r9,10276(r31)                          
ffc0aa00:	93 61 00 14 	stw     r27,20(r1)                             
ffc0aa04:	7c db 33 78 	mr      r27,r6                                 
ffc0aa08:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0aa0c:	93 81 00 18 	stw     r28,24(r1)                             
ffc0aa10:	7c 9c 23 78 	mr      r28,r4                                 
ffc0aa14:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0aa18:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0aa1c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0aa20:	7c be 2b 78 	mr      r30,r5                                 
ffc0aa24:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0aa28:	90 e1 00 08 	stw     r7,8(r1)                               
ffc0aa2c:	41 9e 00 88 	beq-    cr7,ffc0aab4 <_CORE_mutex_Seize+0xc8>  
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0aa30:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0aa34:	41 9e 00 d4 	beq-    cr7,ffc0ab08 <_CORE_mutex_Seize+0x11c> 
ffc0aa38:	3d 20 00 00 	lis     r9,0                                   
ffc0aa3c:	81 29 28 4c 	lwz     r9,10316(r9)                           
ffc0aa40:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc0aa44:	41 9d 00 d8 	bgt-    cr7,ffc0ab1c <_CORE_mutex_Seize+0x130> 
ffc0aa48:	38 81 00 08 	addi    r4,r1,8                                
ffc0aa4c:	48 00 52 29 	bl      ffc0fc74 <_CORE_mutex_Seize_interrupt_trylock>
ffc0aa50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0aa54:	41 9e 00 3c 	beq-    cr7,ffc0aa90 <_CORE_mutex_Seize+0xa4>  <== ALWAYS TAKEN
ffc0aa58:	3d 20 00 00 	lis     r9,0                                   
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc0aa5c:	81 5f 28 24 	lwz     r10,10276(r31)                         
ffc0aa60:	81 29 2e 10 	lwz     r9,11792(r9)                           
                                                                      
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;
ffc0aa64:	39 00 00 01 	li      r8,1                                   
ffc0aa68:	91 1d 00 30 	stw     r8,48(r29)                             
                                                                      
    ++level;                                                          
ffc0aa6c:	39 4a 00 01 	addi    r10,r10,1                              
ffc0aa70:	93 a9 00 44 	stw     r29,68(r9)                             
ffc0aa74:	93 89 00 20 	stw     r28,32(r9)                             
    _Thread_Dispatch_disable_level = level;                           
ffc0aa78:	91 5f 28 24 	stw     r10,10276(r31)                         
ffc0aa7c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0aa80:	7d 20 01 24 	mtmsr   r9                                     
ffc0aa84:	7f a3 eb 78 	mr      r3,r29                                 
ffc0aa88:	7f 64 db 78 	mr      r4,r27                                 
ffc0aa8c:	4b ff fe 81 	bl      ffc0a90c <_CORE_mutex_Seize_interrupt_blocking>
}                                                                     
ffc0aa90:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0aa94:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0aa98:	7c 08 03 a6 	mtlr    r0                                     
ffc0aa9c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0aaa0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0aaa4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0aaa8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0aaac:	38 21 00 28 	addi    r1,r1,40                               
ffc0aab0:	4e 80 00 20 	blr                                            
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0aab4:	38 81 00 08 	addi    r4,r1,8                                
ffc0aab8:	48 00 51 bd 	bl      ffc0fc74 <_CORE_mutex_Seize_interrupt_trylock>
ffc0aabc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0aac0:	41 be ff d0 	beq-    cr7,ffc0aa90 <_CORE_mutex_Seize+0xa4>  
ffc0aac4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0aac8:	40 be ff 90 	bne-    cr7,ffc0aa58 <_CORE_mutex_Seize+0x6c>  
ffc0aacc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0aad0:	7d 20 01 24 	mtmsr   r9                                     
}                                                                     
ffc0aad4:	80 01 00 2c 	lwz     r0,44(r1)                              
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0aad8:	3d 20 00 00 	lis     r9,0                                   
ffc0aadc:	81 29 2e 10 	lwz     r9,11792(r9)                           
ffc0aae0:	39 40 00 01 	li      r10,1                                  
}                                                                     
ffc0aae4:	7c 08 03 a6 	mtlr    r0                                     
ffc0aae8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0aaec:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0aaf0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0aaf4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0aaf8:	83 e1 00 24 	lwz     r31,36(r1)                             
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0aafc:	91 49 00 34 	stw     r10,52(r9)                             
}                                                                     
ffc0ab00:	38 21 00 28 	addi    r1,r1,40                               
ffc0ab04:	4e 80 00 20 	blr                                            
  bool                 _wait,                                         
  Watchdog_Interval    _timeout,                                      
  ISR_Level            _level                                         
)                                                                     
{                                                                     
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
ffc0ab08:	38 81 00 08 	addi    r4,r1,8                                
ffc0ab0c:	48 00 51 69 	bl      ffc0fc74 <_CORE_mutex_Seize_interrupt_trylock>
ffc0ab10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ab14:	40 9e ff b8 	bne+    cr7,ffc0aacc <_CORE_mutex_Seize+0xe0>  <== NEVER TAKEN
ffc0ab18:	4b ff ff 78 	b       ffc0aa90 <_CORE_mutex_Seize+0xa4>      
ffc0ab1c:	38 60 00 00 	li      r3,0                                   
ffc0ab20:	38 80 00 00 	li      r4,0                                   
ffc0ab24:	38 a0 00 12 	li      r5,18                                  
ffc0ab28:	48 00 07 f1 	bl      ffc0b318 <_Internal_error_Occurred>    
                                                                      

ffc0acbc <_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 ) {
ffc0acbc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0acc0:	7c 08 02 a6 	mflr    r0                                     
ffc0acc4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0acc8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0accc:	90 01 00 14 	stw     r0,20(r1)                              
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
ffc0acd0:	48 00 21 65 	bl      ffc0ce34 <_Thread_queue_Dequeue>       
ffc0acd4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0acd8:	41 9e 00 1c 	beq-    cr7,ffc0acf4 <_CORE_semaphore_Surrender+0x38>
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0acdc:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0ace0:	38 60 00 00 	li      r3,0                                   
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0ace4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ace8:	7c 08 03 a6 	mtlr    r0                                     
ffc0acec:	38 21 00 10 	addi    r1,r1,16                               
ffc0acf0:	4e 80 00 20 	blr                                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0acf4:	7d 00 00 a6 	mfmsr   r8                                     
ffc0acf8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0acfc:	7d 09 48 78 	andc    r9,r8,r9                               
ffc0ad00:	7d 20 01 24 	mtmsr   r9                                     
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc0ad04:	81 3f 00 48 	lwz     r9,72(r31)                             
        the_semaphore->count += 1;                                    
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
ffc0ad08:	38 60 00 04 	li      r3,4                                   
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
ffc0ad0c:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc0ad10:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0ad14:	40 9c 00 10 	bge-    cr7,ffc0ad24 <_CORE_semaphore_Surrender+0x68><== NEVER TAKEN
        the_semaphore->count += 1;                                    
ffc0ad18:	39 29 00 01 	addi    r9,r9,1                                
ffc0ad1c:	91 3f 00 48 	stw     r9,72(r31)                             
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
ffc0ad20:	38 60 00 00 	li      r3,0                                   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ad24:	7d 00 01 24 	mtmsr   r8                                     
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc0ad28:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ad2c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ad30:	7c 08 03 a6 	mtlr    r0                                     
ffc0ad34:	38 21 00 10 	addi    r1,r1,16                               
ffc0ad38:	4e 80 00 20 	blr                                            
                                                                      

ffc0a7e4 <_Chain_Initialize>: Chain_Node *current = head; Chain_Node *next = starting_address; head->previous = NULL; while ( count-- ) {
ffc0a7e4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  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;                                              
ffc0a7e8:	39 20 00 00 	li      r9,0                                   
  size_t         node_size                                            
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
ffc0a7ec:	39 03 00 04 	addi    r8,r3,4                                
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
ffc0a7f0:	91 23 00 04 	stw     r9,4(r3)                               
                                                                      
  while ( count-- ) {                                                 
ffc0a7f4:	38 e5 ff ff 	addi    r7,r5,-1                               
ffc0a7f8:	41 9e 00 38 	beq-    cr7,ffc0a830 <_Chain_Initialize+0x4c>  <== NEVER TAKEN
ffc0a7fc:	7c a9 03 a6 	mtctr   r5                                     
ffc0a800:	7c 89 23 78 	mr      r9,r4                                  
ffc0a804:	7c 6a 1b 78 	mr      r10,r3                                 
    current->next  = next;                                            
ffc0a808:	91 2a 00 00 	stw     r9,0(r10)                              
    next->previous = current;                                         
ffc0a80c:	91 49 00 04 	stw     r10,4(r9)                              
ffc0a810:	7d 2a 4b 78 	mr      r10,r9                                 
    current        = next;                                            
    next           = (Chain_Node *)                                   
ffc0a814:	7d 29 32 14 	add     r9,r9,r6                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
ffc0a818:	42 00 ff f0 	bdnz+   ffc0a808 <_Chain_Initialize+0x24>      
#include <rtems/system.h>                                             
#include <rtems/score/address.h>                                      
#include <rtems/score/chain.h>                                        
#include <rtems/score/isr.h>                                          
                                                                      
void _Chain_Initialize(                                               
ffc0a81c:	7c c6 39 d6 	mullw   r6,r6,r7                               
ffc0a820:	7c c4 32 14 	add     r6,r4,r6                               
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
ffc0a824:	91 06 00 00 	stw     r8,0(r6)                               
  tail->previous = current;                                           
ffc0a828:	90 c3 00 08 	stw     r6,8(r3)                               
ffc0a82c:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
ffc0a830:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc0a834:	4b ff ff f0 	b       ffc0a824 <_Chain_Initialize+0x40>      <== NOT EXECUTED
                                                                      

ffc0952c <_Event_Surrender>: rtems_event_set event_in, Event_Control *event, Thread_blocking_operation_States *sync_state, States_Control wait_state ) {
ffc0952c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc09530:	7c 08 02 a6 	mflr    r0                                     
ffc09534:	90 01 00 14 	stw     r0,20(r1)                              
ffc09538:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0953c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_event_set pending_events;                                     
  rtems_event_set event_condition;                                    
  rtems_event_set seized_events;                                      
  rtems_option    option_set;                                         
                                                                      
  option_set = the_thread->Wait.option;                               
ffc09540:	81 63 00 30 	lwz     r11,48(r3)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09544:	7d 40 00 a6 	mfmsr   r10                                    
ffc09548:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0954c:	7d 49 48 78 	andc    r9,r10,r9                              
ffc09550:	7d 20 01 24 	mtmsr   r9                                     
RTEMS_INLINE_ROUTINE void _Event_sets_Post(                           
  rtems_event_set  the_new_events,                                    
  rtems_event_set *the_event_set                                      
)                                                                     
{                                                                     
  *the_event_set |= the_new_events;                                   
ffc09554:	81 25 00 00 	lwz     r9,0(r5)                               
ffc09558:	7c 84 4b 78 	or      r4,r4,r9                               
ffc0955c:	90 85 00 00 	stw     r4,0(r5)                               
                                                                      
  _ISR_Disable( level );                                              
  _Event_sets_Post( event_in, &event->pending_events );               
  pending_events  = event->pending_events;                            
  event_condition = the_thread->Wait.count;                           
ffc09560:	81 23 00 24 	lwz     r9,36(r3)                              
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
ffc09564:	7c 88 48 39 	and.    r8,r4,r9                               
ffc09568:	41 82 00 d4 	beq-    ffc0963c <_Event_Surrender+0x110>      
                                                                      
  /*                                                                  
   *  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() &&                                       
ffc0956c:	3c 60 00 00 	lis     r3,0                                   
ffc09570:	38 63 2e 00 	addi    r3,r3,11776                            
ffc09574:	80 03 00 08 	lwz     r0,8(r3)                               
ffc09578:	2f 80 00 00 	cmpwi   cr7,r0,0                               
ffc0957c:	41 9e 00 10 	beq-    cr7,ffc0958c <_Event_Surrender+0x60>   
ffc09580:	80 63 00 10 	lwz     r3,16(r3)                              
ffc09584:	7f 9f 18 00 	cmpw    cr7,r31,r3                             
ffc09588:	41 9e 00 74 	beq-    cr7,ffc095fc <_Event_Surrender+0xd0>   
RTEMS_INLINE_ROUTINE bool _States_Are_set (                           
  States_Control the_states,                                          
  States_Control mask                                                 
)                                                                     
{                                                                     
   return ( (the_states & mask) != STATES_READY);                     
ffc0958c:	80 df 00 10 	lwz     r6,16(r31)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Are_set( the_thread->current_state, wait_state ) ) {   
ffc09590:	7c e3 30 39 	and.    r3,r7,r6                               
ffc09594:	41 82 00 a8 	beq-    ffc0963c <_Event_Surrender+0x110>      
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
ffc09598:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc0959c:	41 9e 00 0c 	beq-    cr7,ffc095a8 <_Event_Surrender+0x7c>   
ffc095a0:	71 69 00 02 	andi.   r9,r11,2                               
ffc095a4:	41 82 00 98 	beq-    ffc0963c <_Event_Surrender+0x110>      <== NEVER TAKEN
      event->pending_events = _Event_sets_Clear(                      
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc095a8:	81 3f 00 28 	lwz     r9,40(r31)                             
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) );                            
ffc095ac:	7c 84 40 78 	andc    r4,r4,r8                               
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      event->pending_events = _Event_sets_Clear(                      
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
ffc095b0:	38 e0 00 00 	li      r7,0                                   
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Are_set( the_thread->current_state, wait_state ) ) {   
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
      event->pending_events = _Event_sets_Clear(                      
ffc095b4:	90 85 00 00 	stw     r4,0(r5)                               
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
ffc095b8:	90 ff 00 24 	stw     r7,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc095bc:	91 09 00 00 	stw     r8,0(r9)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc095c0:	7d 20 00 a6 	mfmsr   r9                                     
ffc095c4:	7d 40 01 24 	mtmsr   r10                                    
ffc095c8:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
ffc095cc:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc095d0:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc095d4:	41 9e 00 80 	beq-    cr7,ffc09654 <_Event_Surrender+0x128>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc095d8:	7d 40 01 24 	mtmsr   r10                                    
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc095dc:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc095e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc095e4:	3c 80 10 07 	lis     r4,4103                                
ffc095e8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc095ec:	7c 08 03 a6 	mtlr    r0                                     
ffc095f0:	60 84 ff f8 	ori     r4,r4,65528                            
ffc095f4:	38 21 00 10 	addi    r1,r1,16                               
ffc095f8:	48 00 2f 24 	b       ffc0c51c <_Thread_Clear_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 ) &&                          
       ((*sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||         
ffc095fc:	80 66 00 00 	lwz     r3,0(r6)                               
ffc09600:	38 63 ff ff 	addi    r3,r3,-1                               
  /*                                                                  
   *  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 ) &&                          
ffc09604:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc09608:	41 9d ff 84 	bgt+    cr7,ffc0958c <_Event_Surrender+0x60>   
       ((*sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||         
        (*sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
ffc0960c:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc09610:	41 9e 00 0c 	beq-    cr7,ffc0961c <_Event_Surrender+0xf0>   
ffc09614:	71 63 00 02 	andi.   r3,r11,2                               
ffc09618:	41 82 00 24 	beq-    ffc0963c <_Event_Surrender+0x110>      <== NEVER TAKEN
      event->pending_events = _Event_sets_Clear(                      
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc0961c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc09620:	7c 84 40 78 	andc    r4,r4,r8                               
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      event->pending_events = _Event_sets_Clear(                      
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
ffc09624:	38 e0 00 00 	li      r7,0                                   
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((*sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||         
        (*sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      event->pending_events = _Event_sets_Clear(                      
ffc09628:	90 85 00 00 	stw     r4,0(r5)                               
        pending_events,                                               
        seized_events                                                 
      );                                                              
      the_thread->Wait.count = 0;                                     
ffc0962c:	90 ff 00 24 	stw     r7,36(r31)                             
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
ffc09630:	91 09 00 00 	stw     r8,0(r9)                               
      *sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;              
ffc09634:	39 20 00 03 	li      r9,3                                   
ffc09638:	91 26 00 00 	stw     r9,0(r6)                               
ffc0963c:	7d 40 01 24 	mtmsr   r10                                    
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
}                                                                     
ffc09640:	80 01 00 14 	lwz     r0,20(r1)                              
ffc09644:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc09648:	7c 08 03 a6 	mtlr    r0                                     
ffc0964c:	38 21 00 10 	addi    r1,r1,16                               
ffc09650:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
ffc09654:	39 20 00 03 	li      r9,3                                   
ffc09658:	91 3f 00 50 	stw     r9,80(r31)                             
ffc0965c:	7d 40 01 24 	mtmsr   r10                                    
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
        (void) _Watchdog_Remove( &the_thread->Timer );                
ffc09660:	38 7f 00 48 	addi    r3,r31,72                              
ffc09664:	48 00 45 15 	bl      ffc0db78 <_Watchdog_Remove>            
ffc09668:	4b ff ff 74 	b       ffc095dc <_Event_Surrender+0xb0>       
                                                                      

ffc0966c <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *arg ) {
ffc0966c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09670:	7c 08 02 a6 	mflr    r0                                     
ffc09674:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc09678:	7c 9f 23 78 	mr      r31,r4                                 
  ISR_Level                         level;                            
  Thread_blocking_operation_States *sync_state;                       
                                                                      
  sync_state = arg;                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0967c:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Event_Timeout(                                                  
  Objects_Id  id,                                                     
  void       *arg                                                     
)                                                                     
{                                                                     
ffc09680:	90 01 00 24 	stw     r0,36(r1)                              
  ISR_Level                         level;                            
  Thread_blocking_operation_States *sync_state;                       
                                                                      
  sync_state = arg;                                                   
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc09684:	48 00 33 b5 	bl      ffc0ca38 <_Thread_Get>                 
  switch ( location ) {                                               
ffc09688:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0968c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09690:	40 9e 00 50 	bne-    cr7,ffc096e0 <_Event_Timeout+0x74>     <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc09694:	7d 40 00 a6 	mfmsr   r10                                    
ffc09698:	7d 10 42 a6 	mfsprg  r8,0                                   
ffc0969c:	7d 48 40 78 	andc    r8,r10,r8                              
ffc096a0:	7d 00 01 24 	mtmsr   r8                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc096a4:	3d 00 00 00 	lis     r8,0                                   
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc096a8:	81 08 2e 10 	lwz     r8,11792(r8)                           
            _ISR_Enable( level );                                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
ffc096ac:	91 23 00 24 	stw     r9,36(r3)                              
        if ( _Thread_Is_executing( the_thread ) ) {                   
ffc096b0:	7f 83 40 00 	cmpw    cr7,r3,r8                              
ffc096b4:	41 9e 00 40 	beq-    cr7,ffc096f4 <_Event_Timeout+0x88>     
          if ( *sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            *sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;          
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
ffc096b8:	39 20 00 06 	li      r9,6                                   
ffc096bc:	91 23 00 34 	stw     r9,52(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc096c0:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc096c4:	3c 80 10 07 	lis     r4,4103                                
ffc096c8:	60 84 ff f8 	ori     r4,r4,65528                            
ffc096cc:	48 00 2e 51 	bl      ffc0c51c <_Thread_Clear_state>         
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc096d0:	3d 20 00 00 	lis     r9,0                                   
ffc096d4:	81 49 28 24 	lwz     r10,10276(r9)                          
                                                                      
    --level;                                                          
ffc096d8:	39 4a ff ff 	addi    r10,r10,-1                             
    _Thread_Dispatch_disable_level = level;                           
ffc096dc:	91 49 28 24 	stw     r10,10276(r9)                          
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc096e0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc096e4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc096e8:	7c 08 03 a6 	mtlr    r0                                     
ffc096ec:	38 21 00 20 	addi    r1,r1,32                               
ffc096f0:	4e 80 00 20 	blr                                            
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( *sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
ffc096f4:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc096f8:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc096fc:	40 9e ff bc 	bne+    cr7,ffc096b8 <_Event_Timeout+0x4c>     
            *sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;          
ffc09700:	39 20 00 02 	li      r9,2                                   
ffc09704:	91 3f 00 00 	stw     r9,0(r31)                              
ffc09708:	4b ff ff b0 	b       ffc096b8 <_Event_Timeout+0x4c>         
                                                                      

ffc0fdb0 <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
ffc0fdb0:	7c 87 23 78 	mr      r7,r4                                  
ffc0fdb4:	7d 80 00 26 	mfcr    r12                                    
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
ffc0fdb8:	38 84 00 04 	addi    r4,r4,4                                
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc0fdbc:	94 21 ff e0 	stwu    r1,-32(r1)                             
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
ffc0fdc0:	7f 87 20 40 	cmplw   cr7,r7,r4                              
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc0fdc4:	7c 08 02 a6 	mflr    r0                                     
ffc0fdc8:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0fdcc:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0fdd0:	90 01 00 24 	stw     r0,36(r1)                              
ffc0fdd4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0fdd8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0fddc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0fde0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0fde4:	91 81 00 08 	stw     r12,8(r1)                              
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
    - HEAP_ALLOC_BONUS;                                               
  uintptr_t const page_size = heap->page_size;                        
ffc0fde8:	81 63 00 10 	lwz     r11,16(r3)                             
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
ffc0fdec:	41 9d 01 c8 	bgt-    cr7,ffc0ffb4 <_Heap_Allocate_aligned_with_boundary+0x204>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
ffc0fdf0:	2c 06 00 00 	cmpwi   r6,0                                   
ffc0fdf4:	40 82 01 a8 	bne-    ffc0ff9c <_Heap_Allocate_aligned_with_boundary+0x1ec>
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0fdf8:	81 3d 00 08 	lwz     r9,8(r29)                              
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc0fdfc:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0fe00:	41 9e 01 e4 	beq-    cr7,ffc0ffe4 <_Heap_Allocate_aligned_with_boundary+0x234>
       * 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 ) {                                       
ffc0fe04:	2c 85 00 00 	cmpwi   cr1,r5,0                               
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc0fe08:	3b c0 00 00 	li      r30,0                                  
  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    
ffc0fe0c:	3b 6b 00 07 	addi    r27,r11,7                              
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
ffc0fe10:	23 87 00 04 	subfic  r28,r7,4                               
ffc0fe14:	48 00 00 24 	b       ffc0fe38 <_Heap_Allocate_aligned_with_boundary+0x88>
       * 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 ) {                                       
ffc0fe18:	40 86 00 7c 	bne-    cr1,ffc0fe94 <_Heap_Allocate_aligned_with_boundary+0xe4>
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0fe1c:	3b e9 00 08 	addi    r31,r9,8                               
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc0fe20:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc0fe24:	3b de 00 01 	addi    r30,r30,1                              
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc0fe28:	40 9e 01 38 	bne-    cr7,ffc0ff60 <_Heap_Allocate_aligned_with_boundary+0x1b0>
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
ffc0fe2c:	81 29 00 08 	lwz     r9,8(r9)                               
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc0fe30:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0fe34:	41 9e 00 20 	beq-    cr7,ffc0fe54 <_Heap_Allocate_aligned_with_boundary+0xa4>
      /*                                                              
       * 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 ) {                
ffc0fe38:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0fe3c:	7f 84 50 40 	cmplw   cr7,r4,r10                             
ffc0fe40:	41 bc ff d8 	blt-    cr7,ffc0fe18 <_Heap_Allocate_aligned_with_boundary+0x68>
                                                                      
      if ( alloc_begin != 0 ) {                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
ffc0fe44:	81 29 00 08 	lwz     r9,8(r9)                               
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc0fe48:	3b de 00 01 	addi    r30,r30,1                              
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc0fe4c:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0fe50:	40 9e ff e8 	bne+    cr7,ffc0fe38 <_Heap_Allocate_aligned_with_boundary+0x88>
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc0fe54:	38 60 00 00 	li      r3,0                                   
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
ffc0fe58:	81 3d 00 44 	lwz     r9,68(r29)                             
ffc0fe5c:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc0fe60:	40 9c 00 08 	bge-    cr7,ffc0fe68 <_Heap_Allocate_aligned_with_boundary+0xb8>
    stats->max_search = search_count;                                 
ffc0fe64:	93 dd 00 44 	stw     r30,68(r29)                            
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc0fe68:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0fe6c:	81 81 00 08 	lwz     r12,8(r1)                              
ffc0fe70:	7c 08 03 a6 	mtlr    r0                                     
ffc0fe74:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0fe78:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0fe7c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0fe80:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0fe84:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0fe88:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0fe8c:	38 21 00 20 	addi    r1,r1,32                               
ffc0fe90:	4e 80 00 20 	blr                                            
    - 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;                
ffc0fe94:	55 4a 00 3c 	rlwinm  r10,r10,0,0,30                         
ffc0fe98:	80 1d 00 14 	lwz     r0,20(r29)                             
  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;               
ffc0fe9c:	7d 49 52 14 	add     r10,r9,r10                             
  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;                     
ffc0fea0:	7f fc 52 14 	add     r31,r28,r10                            
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0fea4:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc0fea8:	7f ff 29 d6 	mullw   r31,r31,r5                             
  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;                         
ffc0feac:	7d 00 d8 50 	subf    r8,r0,r27                              
  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    
ffc0feb0:	7d 48 52 14 	add     r10,r8,r10                             
  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 ) {                          
ffc0feb4:	7f 8a f8 40 	cmplw   cr7,r10,r31                            
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0feb8:	39 89 00 08 	addi    r12,r9,8                               
ffc0febc:	40 9c 00 0c 	bge-    cr7,ffc0fec8 <_Heap_Allocate_aligned_with_boundary+0x118>
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0fec0:	7d 4a 2b 96 	divwu   r10,r10,r5                             
ffc0fec4:	7f ea 29 d6 	mullw   r31,r10,r5                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
ffc0fec8:	41 82 00 60 	beq-    ffc0ff28 <_Heap_Allocate_aligned_with_boundary+0x178>
  /* 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;                               
ffc0fecc:	7d 1f 3a 14 	add     r8,r31,r7                              
ffc0fed0:	7d 48 33 96 	divwu   r10,r8,r6                              
ffc0fed4:	7d 4a 31 d6 	mullw   r10,r10,r6                             
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
ffc0fed8:	7c 6c 3a 14 	add     r3,r12,r7                              
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
ffc0fedc:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc0fee0:	40 9c 00 48 	bge-    cr7,ffc0ff28 <_Heap_Allocate_aligned_with_boundary+0x178>
ffc0fee4:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc0fee8:	40 9d 00 40 	ble-    cr7,ffc0ff28 <_Heap_Allocate_aligned_with_boundary+0x178>
      if ( boundary_line < boundary_floor ) {                         
ffc0feec:	7f 83 50 40 	cmplw   cr7,r3,r10                             
ffc0fef0:	40 bd 00 10 	ble+    cr7,ffc0ff00 <_Heap_Allocate_aligned_with_boundary+0x150>
ffc0fef4:	48 00 00 a0 	b       ffc0ff94 <_Heap_Allocate_aligned_with_boundary+0x1e4>
  /* 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 ) {
ffc0fef8:	40 91 00 30 	ble-    cr4,ffc0ff28 <_Heap_Allocate_aligned_with_boundary+0x178>
      if ( boundary_line < boundary_floor ) {                         
ffc0fefc:	41 99 00 98 	bgt-    cr6,ffc0ff94 <_Heap_Allocate_aligned_with_boundary+0x1e4><== NEVER TAKEN
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
ffc0ff00:	7f e7 50 50 	subf    r31,r7,r10                             
ffc0ff04:	7f ff 2b 96 	divwu   r31,r31,r5                             
ffc0ff08:	7f ff 29 d6 	mullw   r31,r31,r5                             
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
ffc0ff0c:	7d 1f 3a 14 	add     r8,r31,r7                              
ffc0ff10:	7d 48 33 96 	divwu   r10,r8,r6                              
ffc0ff14:	7d 4a 31 d6 	mullw   r10,r10,r6                             
  /* 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 ) {
ffc0ff18:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc0ff1c:	7e 08 50 40 	cmplw   cr4,r8,r10                             
      if ( boundary_line < boundary_floor ) {                         
ffc0ff20:	7f 03 50 40 	cmplw   cr6,r3,r10                             
  /* 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 ) {
ffc0ff24:	41 9c ff d4 	blt+    cr7,ffc0fef8 <_Heap_Allocate_aligned_with_boundary+0x148>
      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 ) {                           
ffc0ff28:	7f 8c f8 40 	cmplw   cr7,r12,r31                            
ffc0ff2c:	41 9d 00 68 	bgt-    cr7,ffc0ff94 <_Heap_Allocate_aligned_with_boundary+0x1e4>
ffc0ff30:	7d 5f 5b 96 	divwu   r10,r31,r11                            
ffc0ff34:	7d 4a 59 d6 	mullw   r10,r10,r11                            
ffc0ff38:	21 09 ff f8 	subfic  r8,r9,-8                               
    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;      
ffc0ff3c:	7d 48 52 14 	add     r10,r8,r10                             
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
ffc0ff40:	7f 80 50 40 	cmplw   cr7,r0,r10                             
ffc0ff44:	40 bd fe dc 	ble-    cr7,ffc0fe20 <_Heap_Allocate_aligned_with_boundary+0x70>
    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;                                                     
ffc0ff48:	31 4a ff ff 	addic   r10,r10,-1                             
ffc0ff4c:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc0ff50:	7f ff 50 38 	and     r31,r31,r10                            
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc0ff54:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
          );                                                          
        }                                                             
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
ffc0ff58:	3b de 00 01 	addi    r30,r30,1                              
                                                                      
      if ( alloc_begin != 0 ) {                                       
ffc0ff5c:	41 9e fe d0 	beq+    cr7,ffc0fe2c <_Heap_Allocate_aligned_with_boundary+0x7c>
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc0ff60:	81 5d 00 48 	lwz     r10,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc0ff64:	7f a3 eb 78 	mr      r3,r29                                 
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc0ff68:	81 1d 00 4c 	lwz     r8,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc0ff6c:	7d 24 4b 78 	mr      r4,r9                                  
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc0ff70:	39 4a 00 01 	addi    r10,r10,1                              
    stats->searches += search_count;                                  
ffc0ff74:	7d 08 f2 14 	add     r8,r8,r30                              
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
ffc0ff78:	91 5d 00 48 	stw     r10,72(r29)                            
    stats->searches += search_count;                                  
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc0ff7c:	7f e5 fb 78 	mr      r5,r31                                 
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
    stats->searches += search_count;                                  
ffc0ff80:	91 1d 00 4c 	stw     r8,76(r29)                             
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
ffc0ff84:	7c e6 3b 78 	mr      r6,r7                                  
ffc0ff88:	4b ff b2 25 	bl      ffc0b1ac <_Heap_Block_allocate>        
ffc0ff8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ff90:	4b ff fe c8 	b       ffc0fe58 <_Heap_Allocate_aligned_with_boundary+0xa8>
    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;                                                     
ffc0ff94:	3b e0 00 00 	li      r31,0                                  
ffc0ff98:	4b ff fe 88 	b       ffc0fe20 <_Heap_Allocate_aligned_with_boundary+0x70>
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
ffc0ff9c:	7f 87 30 40 	cmplw   cr7,r7,r6                              
ffc0ffa0:	41 9d 00 14 	bgt-    cr7,ffc0ffb4 <_Heap_Allocate_aligned_with_boundary+0x204>
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
ffc0ffa4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0ffa8:	40 be fe 50 	bne-    cr7,ffc0fdf8 <_Heap_Allocate_aligned_with_boundary+0x48>
      alignment = page_size;                                          
ffc0ffac:	7d 65 5b 78 	mr      r5,r11                                 
ffc0ffb0:	4b ff fe 48 	b       ffc0fdf8 <_Heap_Allocate_aligned_with_boundary+0x48>
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc0ffb4:	80 01 00 24 	lwz     r0,36(r1)                              
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
ffc0ffb8:	38 60 00 00 	li      r3,0                                   
  if ( stats->max_search < search_count ) {                           
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
ffc0ffbc:	81 81 00 08 	lwz     r12,8(r1)                              
ffc0ffc0:	7c 08 03 a6 	mtlr    r0                                     
ffc0ffc4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ffc8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ffcc:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0ffd0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ffd4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ffd8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ffdc:	38 21 00 20 	addi    r1,r1,32                               
ffc0ffe0:	4e 80 00 20 	blr                                            
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
ffc0ffe4:	3b c0 00 00 	li      r30,0                                  
ffc0ffe8:	4b ff fe 6c 	b       ffc0fe54 <_Heap_Allocate_aligned_with_boundary+0xa4>
                                                                      

ffc0fb44 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t unused __attribute__((unused)) ) {
ffc0fb44:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0fb48:	7d 80 00 26 	mfcr    r12                                    
ffc0fb4c:	7c 08 02 a6 	mflr    r0                                     
  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;                              
ffc0fb50:	39 20 00 00 	li      r9,0                                   
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t unused __attribute__((unused))                            
)                                                                     
{                                                                     
ffc0fb54:	93 a1 00 34 	stw     r29,52(r1)                             
  Heap_Block *extend_first_block = NULL;                              
  Heap_Block *extend_last_block = NULL;                               
  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;
ffc0fb58:	7f a4 2a 14 	add     r29,r4,r5                              
  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 ) {                        
ffc0fb5c:	7f 84 e8 40 	cmplw   cr7,r4,r29                             
  Heap_Control *heap,                                                 
  void *extend_area_begin_ptr,                                        
  uintptr_t extend_area_size,                                         
  uintptr_t unused __attribute__((unused))                            
)                                                                     
{                                                                     
ffc0fb60:	90 01 00 44 	stw     r0,68(r1)                              
ffc0fb64:	93 41 00 28 	stw     r26,40(r1)                             
ffc0fb68:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0fb6c:	93 81 00 30 	stw     r28,48(r1)                             
ffc0fb70:	93 c1 00 38 	stw     r30,56(r1)                             
ffc0fb74:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0fb78:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0fb7c:	7c 9f 23 78 	mr      r31,r4                                 
ffc0fb80:	93 01 00 20 	stw     r24,32(r1)                             
ffc0fb84:	93 21 00 24 	stw     r25,36(r1)                             
ffc0fb88:	91 81 00 1c 	stw     r12,28(r1)                             
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
ffc0fb8c:	83 63 00 20 	lwz     r27,32(r3)                             
  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;                              
ffc0fb90:	91 21 00 0c 	stw     r9,12(r1)                              
  Heap_Block *extend_last_block = NULL;                               
ffc0fb94:	91 21 00 08 	stw     r9,8(r1)                               
  uintptr_t const page_size = heap->page_size;                        
ffc0fb98:	83 83 00 10 	lwz     r28,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0fb9c:	80 c3 00 14 	lwz     r6,20(r3)                              
  uintptr_t const extend_area_begin = (uintptr_t) extend_area_begin_ptr;
  uintptr_t const extend_area_end = extend_area_begin + extend_area_size;
  uintptr_t const free_size = stats->free_size;                       
ffc0fba0:	83 43 00 30 	lwz     r26,48(r3)                             
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
ffc0fba4:	40 9d 00 40 	ble-    cr7,ffc0fbe4 <_Heap_Extend+0xa0>       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fba8:	80 01 00 44 	lwz     r0,68(r1)                              
  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 0;                                                         
ffc0fbac:	38 60 00 00 	li      r3,0                                   
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fbb0:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc0fbb4:	7c 08 03 a6 	mtlr    r0                                     
ffc0fbb8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0fbbc:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0fbc0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0fbc4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0fbc8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0fbcc:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0fbd0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0fbd4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0fbd8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0fbdc:	38 21 00 40 	addi    r1,r1,64                               
ffc0fbe0:	4e 80 00 20 	blr                                            
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return 0;                                                         
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
ffc0fbe4:	7c 83 23 78 	mr      r3,r4                                  
ffc0fbe8:	38 e1 00 0c 	addi    r7,r1,12                               
ffc0fbec:	7c a4 2b 78 	mr      r4,r5                                  
ffc0fbf0:	39 01 00 08 	addi    r8,r1,8                                
ffc0fbf4:	7f 85 e3 78 	mr      r5,r28                                 
ffc0fbf8:	4b ff af dd 	bl      ffc0abd4 <_Heap_Get_first_and_last_block>
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
ffc0fbfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fc00:	41 be ff a8 	beq-    cr7,ffc0fba8 <_Heap_Extend+0x64>       
ffc0fc04:	7f 69 db 78 	mr      r9,r27                                 
ffc0fc08:	3b 00 00 00 	li      r24,0                                  
ffc0fc0c:	38 a0 00 00 	li      r5,0                                   
ffc0fc10:	3b 20 00 00 	li      r25,0                                  
ffc0fc14:	38 c0 00 00 	li      r6,0                                   
ffc0fc18:	48 00 00 38 	b       ffc0fc50 <_Heap_Extend+0x10c>          
      return 0;                                                       
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
ffc0fc1c:	7f 9d 50 40 	cmplw   cr7,r29,r10                            
ffc0fc20:	40 9c 00 08 	bge-    cr7,ffc0fc28 <_Heap_Extend+0xe4>       
ffc0fc24:	7d 25 4b 78 	mr      r5,r9                                  
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
ffc0fc28:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0fc2c:	41 9e 00 64 	beq-    cr7,ffc0fc90 <_Heap_Extend+0x14c>      
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
ffc0fc30:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc0fc34:	40 9d 00 08 	ble-    cr7,ffc0fc3c <_Heap_Extend+0xf8>       
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
ffc0fc38:	7d 18 43 78 	mr      r24,r8                                 
    - 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;                
ffc0fc3c:	81 28 00 04 	lwz     r9,4(r8)                               
ffc0fc40:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0fc44:	7d 29 42 14 	add     r9,r9,r8                               
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
ffc0fc48:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc0fc4c:	41 9e 00 60 	beq-    cr7,ffc0fcac <_Heap_Extend+0x168>      
    return 0;                                                         
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc0fc50:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc0fc54:	41 9e 01 a4 	beq-    cr7,ffc0fdf8 <_Heap_Extend+0x2b4>      
ffc0fc58:	7d 27 4b 78 	mr      r7,r9                                  
    uintptr_t const sub_area_end = start_block->prev_size;            
ffc0fc5c:	81 49 00 00 	lwz     r10,0(r9)                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0fc60:	7d 0a e3 96 	divwu   r8,r10,r28                             
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
ffc0fc64:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc0fc68:	7d 08 e1 d6 	mullw   r8,r8,r28                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc0fc6c:	39 08 ff f8 	addi    r8,r8,-8                               
ffc0fc70:	40 9c 00 0c 	bge-    cr7,ffc0fc7c <_Heap_Extend+0x138>      
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
ffc0fc74:	7f 87 e8 40 	cmplw   cr7,r7,r29                             
ffc0fc78:	41 bc ff 30 	blt-    cr7,ffc0fba8 <_Heap_Extend+0x64>       
    ) {                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0fc7c:	7f 87 e8 00 	cmpw    cr7,r7,r29                             
ffc0fc80:	40 9e ff 9c 	bne+    cr7,ffc0fc1c <_Heap_Extend+0xd8>       
      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 ) {                        
ffc0fc84:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
ffc0fc88:	7d 26 4b 78 	mr      r6,r9                                  
      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 ) {                        
ffc0fc8c:	40 9e ff a4 	bne+    cr7,ffc0fc30 <_Heap_Extend+0xec>       <== ALWAYS TAKEN
      start_block->prev_size = extend_area_end;                       
ffc0fc90:	93 a9 00 00 	stw     r29,0(r9)                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_of_alloc_area(           
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
ffc0fc94:	7d 19 43 78 	mr      r25,r8                                 
    - 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;                
ffc0fc98:	81 28 00 04 	lwz     r9,4(r8)                               
ffc0fc9c:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0fca0:	7d 29 42 14 	add     r9,r9,r8                               
    } 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 );                             
ffc0fca4:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc0fca8:	40 9e ff a8 	bne+    cr7,ffc0fc50 <_Heap_Extend+0x10c>      <== NEVER TAKEN
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
ffc0fcac:	81 3e 00 18 	lwz     r9,24(r30)                             
ffc0fcb0:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc0fcb4:	41 9c 01 4c 	blt-    cr7,ffc0fe00 <_Heap_Extend+0x2bc>      
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
ffc0fcb8:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc0fcbc:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc0fcc0:	40 9d 00 08 	ble-    cr7,ffc0fcc8 <_Heap_Extend+0x184>      
    heap->area_end = extend_area_end;                                 
ffc0fcc4:	93 be 00 1c 	stw     r29,28(r30)                            
                                                                      
  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 ) {
ffc0fcc8:	81 1e 00 20 	lwz     r8,32(r30)                             
  } 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;   
ffc0fccc:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0fcd0:	81 41 00 08 	lwz     r10,8(r1)                              
                                                                      
  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 ) {
ffc0fcd4:	7f 88 48 40 	cmplw   cr7,r8,r9                              
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc0fcd8:	93 a9 00 00 	stw     r29,0(r9)                              
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc0fcdc:	7d 09 50 50 	subf    r8,r9,r10                              
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
ffc0fce0:	61 07 00 01 	ori     r7,r8,1                                
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
ffc0fce4:	91 0a 00 00 	stw     r8,0(r10)                              
                                                                      
  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 =                                 
ffc0fce8:	90 e9 00 04 	stw     r7,4(r9)                               
    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;             
  extend_last_block->size_and_flag = 0;                               
ffc0fcec:	38 e0 00 00 	li      r7,0                                   
ffc0fcf0:	90 ea 00 04 	stw     r7,4(r10)                              
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc0fcf4:	40 9d 01 40 	ble-    cr7,ffc0fe34 <_Heap_Extend+0x2f0>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
ffc0fcf8:	91 3e 00 20 	stw     r9,32(r30)                             
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
ffc0fcfc:	2e 06 00 00 	cmpwi   cr4,r6,0                               
ffc0fd00:	41 92 01 48 	beq-    cr4,ffc0fe48 <_Heap_Extend+0x304>      
  Heap_Control *heap,                                                 
  uintptr_t extend_area_begin,                                        
  Heap_Block *first_block                                             
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc0fd04:	81 3e 00 10 	lwz     r9,16(r30)                             
  uintptr_t const new_first_block_alloc_begin =                       
    _Heap_Align_up( extend_area_begin + HEAP_BLOCK_HEADER_SIZE, page_size );
ffc0fd08:	3b ff 00 08 	addi    r31,r31,8                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
ffc0fd0c:	7d 5f 4b 96 	divwu   r10,r31,r9                             
ffc0fd10:	7d 4a 49 d6 	mullw   r10,r10,r9                             
                                                                      
  if ( remainder != 0 ) {                                             
ffc0fd14:	7d 0a f8 51 	subf.   r8,r10,r31                             
ffc0fd18:	41 82 00 0c 	beq-    ffc0fd24 <_Heap_Extend+0x1e0>          <== NEVER TAKEN
    return value - remainder + alignment;                             
ffc0fd1c:	7f ff 4a 14 	add     r31,r31,r9                             
ffc0fd20:	7f e8 f8 50 	subf    r31,r8,r31                             
  uintptr_t const new_first_block_begin =                             
ffc0fd24:	38 9f ff f8 	addi    r4,r31,-8                              
  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;                
ffc0fd28:	81 26 00 00 	lwz     r9,0(r6)                               
  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 =                              
ffc0fd2c:	7c c4 30 50 	subf    r6,r4,r6                               
    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;
ffc0fd30:	60 c6 00 01 	ori     r6,r6,1                                
  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;                
ffc0fd34:	91 3f ff f8 	stw     r9,-8(r31)                             
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0fd38:	7f c3 f3 78 	mr      r3,r30                                 
  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;                
  new_first_block->size_and_flag = new_first_block_size | HEAP_PREV_BLOCK_USED;
ffc0fd3c:	90 c4 00 04 	stw     r6,4(r4)                               
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
ffc0fd40:	4b ff fd 95 	bl      ffc0fad4 <_Heap_Free_block>            
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
ffc0fd44:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0fd48:	41 9e 01 18 	beq-    cr7,ffc0fe60 <_Heap_Extend+0x31c>      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0fd4c:	81 5e 00 10 	lwz     r10,16(r30)                            
)                                                                     
{                                                                     
  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(             
    extend_area_end - last_block_begin - HEAP_BLOCK_HEADER_SIZE,      
ffc0fd50:	39 3d ff f8 	addi    r9,r29,-8                              
  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(             
ffc0fd54:	7d 39 48 50 	subf    r9,r25,r9                              
  );                                                                  
  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)                 
ffc0fd58:	81 19 00 04 	lwz     r8,4(r25)                              
ffc0fd5c:	7d 29 53 96 	divwu   r9,r9,r10                              
ffc0fd60:	7d 29 51 d6 	mullw   r9,r9,r10                              
      | HEAP_PREV_BLOCK_USED;                                         
                                                                      
  _Heap_Block_set_size( last_block, last_block_new_size );            
                                                                      
  _Heap_Free_block( heap, last_block );                               
ffc0fd64:	7f c3 f3 78 	mr      r3,r30                                 
  );                                                                  
  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)                 
ffc0fd68:	7d 09 40 50 	subf    r8,r9,r8                               
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0fd6c:	7d 49 ca 14 	add     r10,r9,r25                             
    (last_block->size_and_flag - last_block_new_size)                 
      | HEAP_PREV_BLOCK_USED;                                         
ffc0fd70:	61 08 00 01 	ori     r8,r8,1                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
ffc0fd74:	91 0a 00 04 	stw     r8,4(r10)                              
    (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 );                               
ffc0fd78:	7f 24 cb 78 	mr      r4,r25                                 
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;       
ffc0fd7c:	81 59 00 04 	lwz     r10,4(r25)                             
ffc0fd80:	55 4a 07 fe 	clrlwi  r10,r10,31                             
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0fd84:	7d 29 53 78 	or      r9,r9,r10                              
ffc0fd88:	91 39 00 04 	stw     r9,4(r25)                              
ffc0fd8c:	4b ff fd 49 	bl      ffc0fad4 <_Heap_Free_block>            
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fd90:	81 3e 00 24 	lwz     r9,36(r30)                             
 * 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(                                               
ffc0fd94:	81 1e 00 20 	lwz     r8,32(r30)                             
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;       
ffc0fd98:	81 49 00 04 	lwz     r10,4(r9)                              
 * 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(                                               
ffc0fd9c:	7d 09 40 50 	subf    r8,r9,r8                               
ffc0fda0:	80 01 00 44 	lwz     r0,68(r1)                              
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;       
ffc0fda4:	55 4a 07 fe 	clrlwi  r10,r10,31                             
ffc0fda8:	81 81 00 1c 	lwz     r12,28(r1)                             
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0fdac:	7d 4a 43 78 	or      r10,r10,r8                             
ffc0fdb0:	7c 08 03 a6 	mtlr    r0                                     
ffc0fdb4:	91 49 00 04 	stw     r10,4(r9)                              
ffc0fdb8:	7d 80 81 20 	mtcrf   8,r12                                  
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc0fdbc:	80 7e 00 30 	lwz     r3,48(r30)                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0fdc0:	81 3e 00 2c 	lwz     r9,44(r30)                             
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
ffc0fdc4:	7c 7a 18 50 	subf    r3,r26,r3                              
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fdc8:	83 01 00 20 	lwz     r24,32(r1)                             
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0fdcc:	7d 29 1a 14 	add     r9,r9,r3                               
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fdd0:	83 21 00 24 	lwz     r25,36(r1)                             
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
ffc0fdd4:	91 3e 00 2c 	stw     r9,44(r30)                             
                                                                      
  return extended_size;                                               
}                                                                     
ffc0fdd8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0fddc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0fde0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0fde4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0fde8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0fdec:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0fdf0:	38 21 00 40 	addi    r1,r1,64                               
ffc0fdf4:	4e 80 00 20 	blr                                            
    return 0;                                                         
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
ffc0fdf8:	80 fe 00 18 	lwz     r7,24(r30)                             
ffc0fdfc:	4b ff fe 60 	b       ffc0fc5c <_Heap_Extend+0x118>          
                                                                      
  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 ) {
ffc0fe00:	81 1e 00 20 	lwz     r8,32(r30)                             
  } 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;   
ffc0fe04:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0fe08:	81 41 00 08 	lwz     r10,8(r1)                              
                                                                      
  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 ) {
ffc0fe0c:	7f 88 48 40 	cmplw   cr7,r8,r9                              
                                                                      
    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;                             
ffc0fe10:	93 fe 00 18 	stw     r31,24(r30)                            
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
ffc0fe14:	7d 09 50 50 	subf    r8,r9,r10                              
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
ffc0fe18:	61 07 00 01 	ori     r7,r8,1                                
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
ffc0fe1c:	93 a9 00 00 	stw     r29,0(r9)                              
  extend_first_block->size_and_flag =                                 
ffc0fe20:	90 e9 00 04 	stw     r7,4(r9)                               
    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;             
  extend_last_block->size_and_flag = 0;                               
ffc0fe24:	38 e0 00 00 	li      r7,0                                   
  extend_first_block->prev_size = extend_area_end;                    
  extend_first_block->size_and_flag =                                 
    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;             
ffc0fe28:	91 0a 00 00 	stw     r8,0(r10)                              
  extend_last_block->size_and_flag = 0;                               
ffc0fe2c:	90 ea 00 04 	stw     r7,4(r10)                              
  _Heap_Protection_block_initialize( heap, extend_last_block );       
                                                                      
  if ( (uintptr_t) extend_first_block < (uintptr_t) heap->first_block ) {
ffc0fe30:	41 bd fe c8 	bgt-    cr7,ffc0fcf8 <_Heap_Extend+0x1b4>      <== ALWAYS TAKEN
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
ffc0fe34:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc0fe38:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0fe3c:	40 bc fe c0 	bge-    cr7,ffc0fcfc <_Heap_Extend+0x1b8>      
    heap->last_block = extend_last_block;                             
ffc0fe40:	91 5e 00 24 	stw     r10,36(r30)                            
ffc0fe44:	4b ff fe b8 	b       ffc0fcfc <_Heap_Extend+0x1b8>          
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
    _Heap_Merge_below( heap, extend_area_begin, merge_below_block );  
  } else if ( link_below_block != NULL ) {                            
ffc0fe48:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0fe4c:	41 be fe f8 	beq-    cr7,ffc0fd44 <_Heap_Extend+0x200>      
{                                                                     
  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;           
ffc0fe50:	7c aa 28 50 	subf    r5,r10,r5                              
ffc0fe54:	60 a5 00 01 	ori     r5,r5,1                                
)                                                                     
{                                                                     
  uintptr_t const last_block_begin = (uintptr_t) last_block;          
  uintptr_t const link_begin = (uintptr_t) link;                      
                                                                      
  last_block->size_and_flag =                                         
ffc0fe58:	90 aa 00 04 	stw     r5,4(r10)                              
ffc0fe5c:	4b ff fe e8 	b       ffc0fd44 <_Heap_Extend+0x200>          
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
ffc0fe60:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc0fe64:	41 9e 00 2c 	beq-    cr7,ffc0fe90 <_Heap_Extend+0x34c>      
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;       
ffc0fe68:	81 38 00 04 	lwz     r9,4(r24)                              
ffc0fe6c:	55 2a 07 fe 	clrlwi  r10,r9,31                              
)                                                                     
{                                                                     
  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 );       
ffc0fe70:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc0fe74:	7d 38 48 50 	subf    r9,r24,r9                              
                                                                      
  block->size_and_flag = size | flag;                                 
ffc0fe78:	7d 4a 4b 78 	or      r10,r10,r9                             
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
    _Heap_Link_above(                                                 
ffc0fe7c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0fe80:	91 58 00 04 	stw     r10,4(r24)                             
  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 );       
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
ffc0fe84:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0fe88:	61 4a 00 01 	ori     r10,r10,1                              
ffc0fe8c:	91 49 00 04 	stw     r10,4(r9)                              
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
ffc0fe90:	40 92 ff 00 	bne+    cr4,ffc0fd90 <_Heap_Extend+0x24c>      
    _Heap_Free_block( heap, extend_first_block );                     
ffc0fe94:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc0fe98:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fe9c:	4b ff fc 39 	bl      ffc0fad4 <_Heap_Free_block>            
ffc0fea0:	4b ff fe f0 	b       ffc0fd90 <_Heap_Extend+0x24c>          
                                                                      

ffc0ffec <_Heap_Free>: /* * 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 ) {
ffc0ffec:	2c 04 00 00 	cmpwi   r4,0                                   
    return do_free;                                                   
  }                                                                   
#endif                                                                
                                                                      
bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr )          
{                                                                     
ffc0fff0:	7c 69 1b 78 	mr      r9,r3                                  
  /*                                                                  
   * 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 ) {                                    
ffc0fff4:	41 82 00 dc 	beq-    ffc100d0 <_Heap_Free+0xe4>             
ffc0fff8:	81 03 00 10 	lwz     r8,16(r3)                              
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           
ffc0fffc:	80 e3 00 20 	lwz     r7,32(r3)                              
                                                                      
  alloc_begin = (uintptr_t) alloc_begin_ptr;                          
  block = _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );  
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
ffc10000:	38 60 00 00 	li      r3,0                                   
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc10004:	7d 44 43 96 	divwu   r10,r4,r8                              
ffc10008:	7d 4a 41 d6 	mullw   r10,r10,r8                             
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc1000c:	39 4a ff f8 	addi    r10,r10,-8                             
  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;             
ffc10010:	7f 8a 38 40 	cmplw   cr7,r10,r7                             
ffc10014:	4d 9c 00 20 	bltlr   cr7                                    
ffc10018:	80 c9 00 24 	lwz     r6,36(r9)                              
ffc1001c:	7f 8a 30 40 	cmplw   cr7,r10,r6                             
ffc10020:	40 9d 00 08 	ble-    cr7,ffc10028 <_Heap_Free+0x3c>         <== ALWAYS TAKEN
ffc10024:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10028:	81 6a 00 04 	lwz     r11,4(r10)                             
    - 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;                
ffc1002c:	55 65 00 3c 	rlwinm  r5,r11,0,0,30                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc10030:	7d 05 52 14 	add     r8,r5,r10                              
  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;             
ffc10034:	7f 87 40 40 	cmplw   cr7,r7,r8                              
ffc10038:	41 9d 00 94 	bgt-    cr7,ffc100cc <_Heap_Free+0xe0>         <== NEVER TAKEN
ffc1003c:	7f 86 40 40 	cmplw   cr7,r6,r8                              
ffc10040:	41 9c 00 88 	blt-    cr7,ffc100c8 <_Heap_Free+0xdc>         <== NEVER TAKEN
ffc10044:	80 88 00 04 	lwz     r4,4(r8)                               
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
ffc10048:	70 80 00 01 	andi.   r0,r4,1                                
ffc1004c:	41 82 00 8c 	beq-    ffc100d8 <_Heap_Free+0xec>             
    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 ));
ffc10050:	7f 86 40 00 	cmpw    cr7,r6,r8                              
    - 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;                
ffc10054:	54 84 00 3c 	rlwinm  r4,r4,0,0,30                           
ffc10058:	41 9e 00 84 	beq-    cr7,ffc100dc <_Heap_Free+0xf0>         
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc1005c:	7c 68 22 14 	add     r3,r8,r4                               
  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;                 
ffc10060:	80 63 00 04 	lwz     r3,4(r3)                               
    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 ));
ffc10064:	70 60 00 01 	andi.   r0,r3,1                                
ffc10068:	40 82 00 74 	bne-    ffc100dc <_Heap_Free+0xf0>             
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
ffc1006c:	71 60 00 01 	andi.   r0,r11,1                               
ffc10070:	41 82 01 50 	beq-    ffc101c0 <_Heap_Free+0x1d4>            
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10074:	80 e8 00 08 	lwz     r7,8(r8)                               
      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;              
ffc10078:	7c 84 2a 14 	add     r4,r4,r5                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc1007c:	81 08 00 0c 	lwz     r8,12(r8)                              
      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;               
ffc10080:	60 86 00 01 	ori     r6,r4,1                                
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
ffc10084:	90 ea 00 08 	stw     r7,8(r10)                              
  new_block->prev = prev;                                             
ffc10088:	91 0a 00 0c 	stw     r8,12(r10)                             
                                                                      
  next->prev = new_block;                                             
  prev->next = new_block;                                             
ffc1008c:	91 48 00 08 	stw     r10,8(r8)                              
  Heap_Block *prev = old_block->prev;                                 
                                                                      
  new_block->next = next;                                             
  new_block->prev = prev;                                             
                                                                      
  next->prev = new_block;                                             
ffc10090:	91 47 00 0c 	stw     r10,12(r7)                             
ffc10094:	90 ca 00 04 	stw     r6,4(r10)                              
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
ffc10098:	7c 84 51 2e 	stwx    r4,r4,r10                              
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc1009c:	81 09 00 40 	lwz     r8,64(r9)                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
ffc100a0:	38 60 00 01 	li      r3,1                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc100a4:	81 49 00 50 	lwz     r10,80(r9)                             
  stats->free_size += block_size;                                     
ffc100a8:	80 e9 00 30 	lwz     r7,48(r9)                              
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc100ac:	39 08 ff ff 	addi    r8,r8,-1                               
  ++stats->frees;                                                     
ffc100b0:	39 4a 00 01 	addi    r10,r10,1                              
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
ffc100b4:	91 09 00 40 	stw     r8,64(r9)                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
ffc100b8:	7c a7 2a 14 	add     r5,r7,r5                               
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
ffc100bc:	91 49 00 50 	stw     r10,80(r9)                             
  stats->free_size += block_size;                                     
ffc100c0:	90 a9 00 30 	stw     r5,48(r9)                              
                                                                      
  return( true );                                                     
ffc100c4:	4e 80 00 20 	blr                                            
ffc100c8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc100cc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   * If NULL return true so a free on NULL is considered a valid release. This
   * is a special case that could be handled by the in heap check how-ever that
   * would result in false being returned which is wrong.             
   */                                                                 
  if ( alloc_begin_ptr == NULL ) {                                    
    return true;                                                      
ffc100d0:	38 60 00 01 	li      r3,1                                   
ffc100d4:	4e 80 00 20 	blr                                            
ffc100d8:	4e 80 00 20 	blr                                            
                                                                      
  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 ) ) {                               
ffc100dc:	71 63 00 01 	andi.   r3,r11,1                               
ffc100e0:	40 82 00 28 	bne-    ffc10108 <_Heap_Free+0x11c>            
  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                       
ffc100e4:	39 80 00 00 	li      r12,0                                  
    && !_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;                     
ffc100e8:	80 0a 00 00 	lwz     r0,0(r10)                              
                                                                      
  alloc_begin = (uintptr_t) alloc_begin_ptr;                          
  block = _Heap_Block_of_alloc_area( alloc_begin, heap->page_size );  
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
ffc100ec:	38 60 00 00 	li      r3,0                                   
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc100f0:	7d 60 50 50 	subf    r11,r0,r10                             
  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;             
ffc100f4:	7f 87 58 40 	cmplw   cr7,r7,r11                             
ffc100f8:	4d 9d 00 20 	bgtlr   cr7                                    
ffc100fc:	7f 86 58 40 	cmplw   cr7,r6,r11                             
ffc10100:	40 9c 00 54 	bge-    cr7,ffc10154 <_Heap_Free+0x168>        <== ALWAYS TAKEN
ffc10104:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    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;                                             
ffc10108:	80 e9 00 38 	lwz     r7,56(r9)                              
    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;         
ffc1010c:	60 a4 00 01 	ori     r4,r5,1                                
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc10110:	80 c9 00 3c 	lwz     r6,60(r9)                              
    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;                                             
ffc10114:	38 e7 00 01 	addi    r7,r7,1                                
    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;         
ffc10118:	90 8a 00 04 	stw     r4,4(r10)                              
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc1011c:	7f 87 30 40 	cmplw   cr7,r7,r6                              
  } 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;               
ffc10120:	80 88 00 04 	lwz     r4,4(r8)                               
RTEMS_INLINE_ROUTINE void _Heap_Free_list_insert_after(               
  Heap_Block *block_before,                                           
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
ffc10124:	80 c9 00 08 	lwz     r6,8(r9)                               
ffc10128:	54 84 00 3c 	rlwinm  r4,r4,0,0,30                           
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
ffc1012c:	91 2a 00 0c 	stw     r9,12(r10)                             
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
ffc10130:	90 ca 00 08 	stw     r6,8(r10)                              
ffc10134:	90 88 00 04 	stw     r4,4(r8)                               
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
ffc10138:	91 46 00 0c 	stw     r10,12(r6)                             
    next_block->prev_size = block_size;                               
ffc1013c:	7c a5 51 2e 	stwx    r5,r5,r10                              
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
ffc10140:	91 49 00 08 	stw     r10,8(r9)                              
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
ffc10144:	90 e9 00 38 	stw     r7,56(r9)                              
    if ( stats->max_free_blocks < stats->free_blocks ) {              
ffc10148:	40 bd ff 54 	ble-    cr7,ffc1009c <_Heap_Free+0xb0>         
      stats->max_free_blocks = stats->free_blocks;                    
ffc1014c:	90 e9 00 3c 	stw     r7,60(r9)                              
ffc10150:	4b ff ff 4c 	b       ffc1009c <_Heap_Free+0xb0>             
  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;                 
ffc10154:	80 eb 00 04 	lwz     r7,4(r11)                              
      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) ) {                        
ffc10158:	70 e6 00 01 	andi.   r6,r7,1                                
ffc1015c:	41 82 00 60 	beq-    ffc101bc <_Heap_Free+0x1d0>            <== NEVER TAKEN
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
ffc10160:	2f 8c 00 00 	cmpwi   cr7,r12,0                              
ffc10164:	41 9e 00 38 	beq-    cr7,ffc1019c <_Heap_Free+0x1b0>        
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
ffc10168:	80 c9 00 38 	lwz     r6,56(r9)                              
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc1016c:	7c 05 02 14 	add     r0,r5,r0                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10170:	80 e8 00 08 	lwz     r7,8(r8)                               
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
ffc10174:	7c 80 22 14 	add     r4,r0,r4                               
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
                                                                      
  return( true );                                                     
}                                                                     
ffc10178:	81 48 00 0c 	lwz     r10,12(r8)                             
    }                                                                 
                                                                      
    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;                                        
ffc1017c:	38 c6 ff ff 	addi    r6,r6,-1                               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc10180:	60 88 00 01 	ori     r8,r4,1                                
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
  Heap_Block *prev = block->prev;                                     
                                                                      
  prev->next = next;                                                  
ffc10184:	90 ea 00 08 	stw     r7,8(r10)                              
  next->prev = prev;                                                  
ffc10188:	91 47 00 0c 	stw     r10,12(r7)                             
    }                                                                 
                                                                      
    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;                                        
ffc1018c:	90 c9 00 38 	stw     r6,56(r9)                              
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc10190:	91 0b 00 04 	stw     r8,4(r11)                              
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
ffc10194:	7c 84 59 2e 	stwx    r4,r4,r11                              
ffc10198:	4b ff ff 04 	b       ffc1009c <_Heap_Free+0xb0>             
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
ffc1019c:	7c 05 02 14 	add     r0,r5,r0                               
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
ffc101a0:	60 07 00 01 	ori     r7,r0,1                                
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
ffc101a4:	7c 05 51 2e 	stwx    r0,r5,r10                              
      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;        
ffc101a8:	90 eb 00 04 	stw     r7,4(r11)                              
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
ffc101ac:	80 e8 00 04 	lwz     r7,4(r8)                               
ffc101b0:	54 e7 00 3c 	rlwinm  r7,r7,0,0,30                           
ffc101b4:	90 e8 00 04 	stw     r7,4(r8)                               
ffc101b8:	4b ff fe e4 	b       ffc1009c <_Heap_Free+0xb0>             
ffc101bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  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                       
ffc101c0:	39 80 00 01 	li      r12,1                                  
ffc101c4:	4b ff ff 24 	b       ffc100e8 <_Heap_Free+0xfc>             
                                                                      

ffc15408 <_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;
ffc15408:	81 23 00 08 	lwz     r9,8(r3)                               
)                                                                     
{                                                                     
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
ffc1540c:	39 40 00 00 	li      r10,0                                  
ffc15410:	91 44 00 00 	stw     r10,0(r4)                              
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
ffc15414:	38 e0 00 01 	li      r7,1                                   
ffc15418:	7f 83 48 00 	cmpw    cr7,r3,r9                              
{                                                                     
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
ffc1541c:	91 44 00 04 	stw     r10,4(r4)                              
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
ffc15420:	38 c0 00 00 	li      r6,0                                   
ffc15424:	39 00 00 00 	li      r8,0                                   
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
ffc15428:	91 44 00 08 	stw     r10,8(r4)                              
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
ffc1542c:	40 be 00 10 	bne+    cr7,ffc1543c <_Heap_Get_free_information+0x34><== ALWAYS TAKEN
ffc15430:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc15434:	80 c4 00 04 	lwz     r6,4(r4)                               
ffc15438:	7c a7 2b 78 	mr      r7,r5                                  
    - 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;                
ffc1543c:	81 49 00 04 	lwz     r10,4(r9)                              
ffc15440:	38 a7 00 01 	addi    r5,r7,1                                
ffc15444:	55 4a 00 3c 	rlwinm  r10,r10,0,0,30                         
    /* 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 )                                   
ffc15448:	7f 8a 30 40 	cmplw   cr7,r10,r6                             
                                                                      
    /* 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;                                          
ffc1544c:	7d 08 52 14 	add     r8,r8,r10                              
    if ( info->largest < the_size )                                   
ffc15450:	40 9d 00 08 	ble-    cr7,ffc15458 <_Heap_Get_free_information+0x50>
        info->largest = the_size;                                     
ffc15454:	91 44 00 04 	stw     r10,4(r4)                              
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
ffc15458:	81 29 00 08 	lwz     r9,8(r9)                               
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
ffc1545c:	7f 83 48 00 	cmpw    cr7,r3,r9                              
ffc15460:	40 9e ff d4 	bne+    cr7,ffc15434 <_Heap_Get_free_information+0x2c>
ffc15464:	90 e4 00 00 	stw     r7,0(r4)                               
ffc15468:	91 04 00 08 	stw     r8,8(r4)                               
ffc1546c:	4e 80 00 20 	blr                                            
                                                                      

ffc0d3f0 <_Heap_Greedy_allocate>: Heap_Block *_Heap_Greedy_allocate( Heap_Control *heap, const uintptr_t *block_sizes, size_t block_count ) {
ffc0d3f0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0d3f4:	7c 08 02 a6 	mflr    r0                                     
ffc0d3f8:	93 61 00 0c 	stw     r27,12(r1)                             
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d3fc:	7c bb 2b 79 	mr.     r27,r5                                 
Heap_Block *_Heap_Greedy_allocate(                                    
  Heap_Control *heap,                                                 
  const uintptr_t *block_sizes,                                       
  size_t block_count                                                  
)                                                                     
{                                                                     
ffc0d400:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0d404:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0d408:	90 01 00 24 	stw     r0,36(r1)                              
ffc0d40c:	93 81 00 10 	stw     r28,16(r1)                             
ffc0d410:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0d414:	93 e1 00 1c 	stw     r31,28(r1)                             
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d418:	41 82 00 e0 	beq-    ffc0d4f8 <_Heap_Greedy_allocate+0x108> 
  #include "config.h"                                                 
#endif                                                                
                                                                      
#include <rtems/score/heap.h>                                         
                                                                      
Heap_Block *_Heap_Greedy_allocate(                                    
ffc0d41c:	3b 84 ff fc 	addi    r28,r4,-4                              
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d420:	3b e0 00 00 	li      r31,0                                  
  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;                                
ffc0d424:	3b a0 00 00 	li      r29,0                                  
 * @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 );    
ffc0d428:	84 9c 00 04 	lwzu    r4,4(r28)                              
ffc0d42c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d430:	38 a0 00 00 	li      r5,0                                   
ffc0d434:	38 c0 00 00 	li      r6,0                                   
ffc0d438:	48 00 85 b9 	bl      ffc159f0 <_Heap_Allocate_aligned_with_boundary>
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d43c:	3b ff 00 01 	addi    r31,r31,1                              
    void *next = _Heap_Allocate( heap, block_sizes [i] );             
                                                                      
    if ( next != NULL ) {                                             
ffc0d440:	2c 03 00 00 	cmpwi   r3,0                                   
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d444:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
    void *next = _Heap_Allocate( heap, block_sizes [i] );             
                                                                      
    if ( next != NULL ) {                                             
ffc0d448:	41 82 00 1c 	beq-    ffc0d464 <_Heap_Greedy_allocate+0x74>  <== NEVER TAKEN
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc0d44c:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0d450:	7c 63 4b 96 	divwu   r3,r3,r9                               
ffc0d454:	7d 23 49 d6 	mullw   r9,r3,r9                               
      Heap_Block *next_block = _Heap_Block_of_alloc_area(             
        (uintptr_t) next,                                             
        heap->page_size                                               
      );                                                              
                                                                      
      next_block->next = allocated_blocks;                            
ffc0d458:	93 a9 00 00 	stw     r29,0(r9)                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc0d45c:	39 29 ff f8 	addi    r9,r9,-8                               
ffc0d460:	7d 3d 4b 78 	mr      r29,r9                                 
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
ffc0d464:	40 9e ff c4 	bne+    cr7,ffc0d428 <_Heap_Greedy_allocate+0x38>
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0d468:	83 fe 00 08 	lwz     r31,8(r30)                             
      next_block->next = allocated_blocks;                            
      allocated_blocks = next_block;                                  
    }                                                                 
  }                                                                   
                                                                      
  while ( (current = _Heap_Free_list_first( heap )) != free_list_tail ) {
ffc0d46c:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
ffc0d470:	41 9e 00 90 	beq-    cr7,ffc0d500 <_Heap_Greedy_allocate+0x110><== NEVER TAKEN
ffc0d474:	3b 80 00 00 	li      r28,0                                  
ffc0d478:	48 00 00 08 	b       ffc0d480 <_Heap_Greedy_allocate+0x90>  
ffc0d47c:	7d 3f 4b 78 	mr      r31,r9                                 
    - 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;                
ffc0d480:	80 df 00 04 	lwz     r6,4(r31)                              
    _Heap_Block_allocate(                                             
ffc0d484:	7f e4 fb 78 	mr      r4,r31                                 
ffc0d488:	38 bf 00 08 	addi    r5,r31,8                               
ffc0d48c:	54 c6 00 3c 	rlwinm  r6,r6,0,0,30                           
ffc0d490:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d494:	38 c6 ff f8 	addi    r6,r6,-8                               
ffc0d498:	48 00 03 e5 	bl      ffc0d87c <_Heap_Block_allocate>        
      current,                                                        
      _Heap_Alloc_area_of_block( current ),                           
      _Heap_Block_size( current ) - HEAP_BLOCK_HEADER_SIZE            
    );                                                                
                                                                      
    current->next = blocks;                                           
ffc0d49c:	93 9f 00 08 	stw     r28,8(r31)                             
ffc0d4a0:	7f fc fb 78 	mr      r28,r31                                
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0d4a4:	81 3e 00 08 	lwz     r9,8(r30)                              
      next_block->next = allocated_blocks;                            
      allocated_blocks = next_block;                                  
    }                                                                 
  }                                                                   
                                                                      
  while ( (current = _Heap_Free_list_first( heap )) != free_list_tail ) {
ffc0d4a8:	7f 9e 48 00 	cmpw    cr7,r30,r9                             
ffc0d4ac:	40 9e ff d0 	bne+    cr7,ffc0d47c <_Heap_Greedy_allocate+0x8c>
                                                                      
    current->next = blocks;                                           
    blocks = current;                                                 
  }                                                                   
                                                                      
  while ( allocated_blocks != NULL ) {                                
ffc0d4b0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0d4b4:	41 9e 00 1c 	beq-    cr7,ffc0d4d0 <_Heap_Greedy_allocate+0xe0>
    current = allocated_blocks;                                       
    allocated_blocks = allocated_blocks->next;                        
ffc0d4b8:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d4bc:	87 a4 00 08 	lwzu    r29,8(r4)                              
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
ffc0d4c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d4c4:	48 00 87 69 	bl      ffc15c2c <_Heap_Free>                  
                                                                      
    current->next = blocks;                                           
    blocks = current;                                                 
  }                                                                   
                                                                      
  while ( allocated_blocks != NULL ) {                                
ffc0d4c8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0d4cc:	40 9e ff ec 	bne+    cr7,ffc0d4b8 <_Heap_Greedy_allocate+0xc8>
    allocated_blocks = allocated_blocks->next;                        
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
  }                                                                   
                                                                      
  return blocks;                                                      
}                                                                     
ffc0d4d0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d4d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d4d8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d4dc:	7c 08 03 a6 	mtlr    r0                                     
ffc0d4e0:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d4e4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d4e8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d4ec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d4f0:	38 21 00 20 	addi    r1,r1,32                               
ffc0d4f4:	4e 80 00 20 	blr                                            
  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;                                
ffc0d4f8:	3b a0 00 00 	li      r29,0                                  
ffc0d4fc:	4b ff ff 6c 	b       ffc0d468 <_Heap_Greedy_allocate+0x78>  
      next_block->next = allocated_blocks;                            
      allocated_blocks = next_block;                                  
    }                                                                 
  }                                                                   
                                                                      
  while ( (current = _Heap_Free_list_first( heap )) != free_list_tail ) {
ffc0d500:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc0d504:	4b ff ff c4 	b       ffc0d4c8 <_Heap_Greedy_allocate+0xd8>  <== NOT EXECUTED
                                                                      

ffc0d508 <_Heap_Greedy_free>: void _Heap_Greedy_free( Heap_Control *heap, Heap_Block *blocks ) { while ( blocks != NULL ) {
ffc0d508:	2c 04 00 00 	cmpwi   r4,0                                   
                                                                      
void _Heap_Greedy_free(                                               
  Heap_Control *heap,                                                 
  Heap_Block *blocks                                                  
)                                                                     
{                                                                     
ffc0d50c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0d510:	7c 08 02 a6 	mflr    r0                                     
ffc0d514:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0d518:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0d51c:	90 01 00 14 	stw     r0,20(r1)                              
ffc0d520:	93 e1 00 0c 	stw     r31,12(r1)                             
  while ( blocks != NULL ) {                                          
ffc0d524:	41 82 00 1c 	beq-    ffc0d540 <_Heap_Greedy_free+0x38>      <== NEVER TAKEN
    Heap_Block *current = blocks;                                     
                                                                      
    blocks = blocks->next;                                            
ffc0d528:	87 e4 00 08 	lwzu    r31,8(r4)                              
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
ffc0d52c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d530:	48 00 86 fd 	bl      ffc15c2c <_Heap_Free>                  
void _Heap_Greedy_free(                                               
  Heap_Control *heap,                                                 
  Heap_Block *blocks                                                  
)                                                                     
{                                                                     
  while ( blocks != NULL ) {                                          
ffc0d534:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0d538:	7f e4 fb 78 	mr      r4,r31                                 
ffc0d53c:	40 9e ff ec 	bne+    cr7,ffc0d528 <_Heap_Greedy_free+0x20>  
    Heap_Block *current = blocks;                                     
                                                                      
    blocks = blocks->next;                                            
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
  }                                                                   
}                                                                     
ffc0d540:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0d544:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0d548:	7c 08 03 a6 	mtlr    r0                                     
ffc0d54c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0d550:	38 21 00 10 	addi    r1,r1,16                               
ffc0d554:	4e 80 00 20 	blr                                            
                                                                      

ffc154dc <_Heap_Iterate>: void _Heap_Iterate( Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg ) {
ffc154dc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc154e0:	7c 08 02 a6 	mflr    r0                                     
ffc154e4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc154e8:	93 c1 00 10 	stw     r30,16(r1)                             
  Heap_Block *current = heap->first_block;                            
ffc154ec:	81 23 00 20 	lwz     r9,32(r3)                              
  Heap_Block *end = heap->last_block;                                 
ffc154f0:	83 c3 00 24 	lwz     r30,36(r3)                             
void _Heap_Iterate(                                                   
  Heap_Control *heap,                                                 
  Heap_Block_visitor visitor,                                         
  void *visitor_arg                                                   
)                                                                     
{                                                                     
ffc154f4:	93 81 00 08 	stw     r28,8(r1)                              
ffc154f8:	7c 9c 23 78 	mr      r28,r4                                 
  Heap_Block *current = heap->first_block;                            
  Heap_Block *end = heap->last_block;                                 
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
ffc154fc:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
void _Heap_Iterate(                                                   
  Heap_Control *heap,                                                 
  Heap_Block_visitor visitor,                                         
  void *visitor_arg                                                   
)                                                                     
{                                                                     
ffc15500:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc15504:	7c bd 2b 78 	mr      r29,r5                                 
ffc15508:	93 e1 00 14 	stw     r31,20(r1)                             
  Heap_Block *current = heap->first_block;                            
  Heap_Block *end = heap->last_block;                                 
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
ffc1550c:	40 be 00 0c 	bne+    cr7,ffc15518 <_Heap_Iterate+0x3c>      <== ALWAYS TAKEN
ffc15510:	48 00 00 3c 	b       ffc1554c <_Heap_Iterate+0x70>          <== NOT EXECUTED
ffc15514:	41 9a 00 38 	beq-    cr6,ffc1554c <_Heap_Iterate+0x70>      
ffc15518:	81 49 00 04 	lwz     r10,4(r9)                              
    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 );            
ffc1551c:	7d 23 4b 78 	mr      r3,r9                                  
ffc15520:	7f a6 eb 78 	mr      r6,r29                                 
ffc15524:	7f 89 03 a6 	mtctr   r28                                    
ffc15528:	55 44 00 3c 	rlwinm  r4,r10,0,0,30                          
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc1552c:	7f e9 22 14 	add     r31,r9,r4                              
  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;                 
ffc15530:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc15534:	54 a5 07 fe 	clrlwi  r5,r5,31                               
ffc15538:	4e 80 04 21 	bctrl                                          
ffc1553c:	7f e9 fb 78 	mr      r9,r31                                 
{                                                                     
  Heap_Block *current = heap->first_block;                            
  Heap_Block *end = heap->last_block;                                 
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
ffc15540:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15544:	7f 1e f8 00 	cmpw    cr6,r30,r31                            
ffc15548:	41 9e ff cc 	beq+    cr7,ffc15514 <_Heap_Iterate+0x38>      <== ALWAYS TAKEN
                                                                      
    stop = (*visitor)( current, size, used, visitor_arg );            
                                                                      
    current = next;                                                   
  }                                                                   
}                                                                     
ffc1554c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc15550:	83 81 00 08 	lwz     r28,8(r1)                              
ffc15554:	7c 08 03 a6 	mtlr    r0                                     
ffc15558:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1555c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc15560:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc15564:	38 21 00 18 	addi    r1,r1,24                               
ffc15568:	4e 80 00 20 	blr                                            
                                                                      

ffc1d2a4 <_Heap_Size_of_alloc_area>: RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down( uintptr_t value, uintptr_t alignment ) { return value - (value % alignment);
ffc1d2a4:	81 23 00 10 	lwz     r9,16(r3)                              
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           
ffc1d2a8:	81 43 00 20 	lwz     r10,32(r3)                             
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
ffc1d2ac:	7d 04 4b 96 	divwu   r8,r4,r9                               
ffc1d2b0:	7d 28 49 d6 	mullw   r9,r8,r9                               
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
ffc1d2b4:	39 29 ff f8 	addi    r9,r9,-8                               
  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;             
ffc1d2b8:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc1d2bc:	41 9c 00 50 	blt-    cr7,ffc1d30c <_Heap_Size_of_alloc_area+0x68>
ffc1d2c0:	81 03 00 24 	lwz     r8,36(r3)                              
ffc1d2c4:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc1d2c8:	41 9d 00 44 	bgt-    cr7,ffc1d30c <_Heap_Size_of_alloc_area+0x68>
    - 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;                
ffc1d2cc:	80 e9 00 04 	lwz     r7,4(r9)                               
ffc1d2d0:	54 e7 00 3c 	rlwinm  r7,r7,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc1d2d4:	7d 27 4a 14 	add     r9,r7,r9                               
  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;             
ffc1d2d8:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc1d2dc:	41 9d 00 30 	bgt-    cr7,ffc1d30c <_Heap_Size_of_alloc_area+0x68><== NEVER TAKEN
ffc1d2e0:	7f 88 48 40 	cmplw   cr7,r8,r9                              
ffc1d2e4:	41 9c 00 28 	blt-    cr7,ffc1d30c <_Heap_Size_of_alloc_area+0x68><== NEVER TAKEN
  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;                 
ffc1d2e8:	81 49 00 04 	lwz     r10,4(r9)                              
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
ffc1d2ec:	38 60 00 00 	li      r3,0                                   
  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 )                            
ffc1d2f0:	71 48 00 01 	andi.   r8,r10,1                               
ffc1d2f4:	41 82 00 20 	beq-    ffc1d314 <_Heap_Size_of_alloc_area+0x70><== NEVER TAKEN
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
ffc1d2f8:	20 84 00 04 	subfic  r4,r4,4                                
ffc1d2fc:	7d 24 4a 14 	add     r9,r4,r9                               
ffc1d300:	91 25 00 00 	stw     r9,0(r5)                               
                                                                      
  return true;                                                        
ffc1d304:	38 60 00 01 	li      r3,1                                   
ffc1d308:	4e 80 00 20 	blr                                            
  Heap_Block *block = _Heap_Block_of_alloc_area( alloc_begin, page_size );
  Heap_Block *next_block = NULL;                                      
  uintptr_t block_size = 0;                                           
                                                                      
  if ( !_Heap_Is_block_in_heap( heap, block ) ) {                     
    return false;                                                     
ffc1d30c:	38 60 00 00 	li      r3,0                                   
ffc1d310:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
}                                                                     
ffc1d314:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0b91c <_Heap_Walk>: 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;
ffc0b91c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
bool _Heap_Walk(                                                      
  Heap_Control *heap,                                                 
  int source,                                                         
  bool dump                                                           
)                                                                     
{                                                                     
ffc0b920:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc0b924:	7c 08 02 a6 	mflr    r0                                     
ffc0b928:	91 c1 00 18 	stw     r14,24(r1)                             
ffc0b92c:	90 01 00 64 	stw     r0,100(r1)                             
ffc0b930:	92 e1 00 3c 	stw     r23,60(r1)                             
ffc0b934:	93 01 00 40 	stw     r24,64(r1)                             
ffc0b938:	7c 98 23 78 	mr      r24,r4                                 
ffc0b93c:	93 41 00 48 	stw     r26,72(r1)                             
ffc0b940:	93 61 00 4c 	stw     r27,76(r1)                             
ffc0b944:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc0b948:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0b94c:	91 e1 00 1c 	stw     r15,28(r1)                             
ffc0b950:	92 01 00 20 	stw     r16,32(r1)                             
ffc0b954:	92 21 00 24 	stw     r17,36(r1)                             
ffc0b958:	92 41 00 28 	stw     r18,40(r1)                             
ffc0b95c:	92 61 00 2c 	stw     r19,44(r1)                             
ffc0b960:	92 81 00 30 	stw     r20,48(r1)                             
ffc0b964:	92 a1 00 34 	stw     r21,52(r1)                             
ffc0b968:	92 c1 00 38 	stw     r22,56(r1)                             
ffc0b96c:	93 21 00 44 	stw     r25,68(r1)                             
ffc0b970:	93 81 00 50 	stw     r28,80(r1)                             
ffc0b974:	93 a1 00 54 	stw     r29,84(r1)                             
ffc0b978:	93 c1 00 58 	stw     r30,88(r1)                             
  uintptr_t const page_size = heap->page_size;                        
ffc0b97c:	83 63 00 10 	lwz     r27,16(r3)                             
  uintptr_t const min_block_size = heap->min_block_size;              
ffc0b980:	81 c3 00 14 	lwz     r14,20(r3)                             
  Heap_Block *const first_block = heap->first_block;                  
ffc0b984:	83 43 00 20 	lwz     r26,32(r3)                             
  Heap_Block *const last_block = heap->last_block;                    
ffc0b988:	82 e3 00 24 	lwz     r23,36(r3)                             
  Heap_Block *block = first_block;                                    
  Heap_Walk_printer printer = dump ?                                  
    _Heap_Walk_print : _Heap_Walk_print_nothing;                      
ffc0b98c:	41 9e 00 78 	beq-    cr7,ffc0ba04 <_Heap_Walk+0xe8>         
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc0b990:	3d 20 00 00 	lis     r9,0                                   
ffc0b994:	81 29 28 08 	lwz     r9,10248(r9)                           
  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;                      
ffc0b998:	3f 20 ff c1 	lis     r25,-63                                
ffc0b99c:	3b 39 b8 1c 	addi    r25,r25,-18404                         
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc0b9a0:	2f 89 00 03 	cmpwi   cr7,r9,3                               
    return true;                                                      
ffc0b9a4:	38 60 00 01 	li      r3,1                                   
  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() ) ) {                
ffc0b9a8:	41 9e 00 78 	beq-    cr7,ffc0ba20 <_Heap_Walk+0x104>        <== ALWAYS TAKEN
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0b9ac:	80 01 00 64 	lwz     r0,100(r1)                             
ffc0b9b0:	81 c1 00 18 	lwz     r14,24(r1)                             
ffc0b9b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0b9b8:	81 e1 00 1c 	lwz     r15,28(r1)                             
ffc0b9bc:	82 01 00 20 	lwz     r16,32(r1)                             
ffc0b9c0:	82 21 00 24 	lwz     r17,36(r1)                             
ffc0b9c4:	82 41 00 28 	lwz     r18,40(r1)                             
ffc0b9c8:	82 61 00 2c 	lwz     r19,44(r1)                             
ffc0b9cc:	82 81 00 30 	lwz     r20,48(r1)                             
ffc0b9d0:	82 a1 00 34 	lwz     r21,52(r1)                             
ffc0b9d4:	82 c1 00 38 	lwz     r22,56(r1)                             
ffc0b9d8:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc0b9dc:	83 01 00 40 	lwz     r24,64(r1)                             
ffc0b9e0:	83 21 00 44 	lwz     r25,68(r1)                             
ffc0b9e4:	83 41 00 48 	lwz     r26,72(r1)                             
ffc0b9e8:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc0b9ec:	83 81 00 50 	lwz     r28,80(r1)                             
ffc0b9f0:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc0b9f4:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc0b9f8:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc0b9fc:	38 21 00 60 	addi    r1,r1,96                               
ffc0ba00:	4e 80 00 20 	blr                                            
  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() ) ) {                
ffc0ba04:	3d 20 00 00 	lis     r9,0                                   
ffc0ba08:	81 29 28 08 	lwz     r9,10248(r9)                           
  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;                      
ffc0ba0c:	3f 20 ff c1 	lis     r25,-63                                
ffc0ba10:	3b 39 b8 18 	addi    r25,r25,-18408                         
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
ffc0ba14:	2f 89 00 03 	cmpwi   cr7,r9,3                               
    return true;                                                      
ffc0ba18:	38 60 00 01 	li      r3,1                                   
  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() ) ) {                
ffc0ba1c:	40 9e ff 90 	bne+    cr7,ffc0b9ac <_Heap_Walk+0x90>         
  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)(                                                         
ffc0ba20:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc0ba24:	3c a0 ff c2 	lis     r5,-62                                 
ffc0ba28:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc0ba2c:	7f 03 c3 78 	mr      r3,r24                                 
ffc0ba30:	81 1f 00 18 	lwz     r8,24(r31)                             
ffc0ba34:	38 80 00 00 	li      r4,0                                   
ffc0ba38:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0ba3c:	38 a5 98 ac 	addi    r5,r5,-26452                           
ffc0ba40:	90 e1 00 0c 	stw     r7,12(r1)                              
ffc0ba44:	7f 66 db 78 	mr      r6,r27                                 
ffc0ba48:	7d c7 73 78 	mr      r7,r14                                 
ffc0ba4c:	7f 29 03 a6 	mtctr   r25                                    
ffc0ba50:	91 41 00 10 	stw     r10,16(r1)                             
ffc0ba54:	7f 4a d3 78 	mr      r10,r26                                
ffc0ba58:	92 e1 00 08 	stw     r23,8(r1)                              
ffc0ba5c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0ba60:	4e 80 04 21 	bctrl                                          
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
ffc0ba64:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0ba68:	41 9e 00 a4 	beq-    cr7,ffc0bb0c <_Heap_Walk+0x1f0>        
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
ffc0ba6c:	73 67 00 07 	andi.   r7,r27,7                               
ffc0ba70:	40 82 00 c0 	bne-    ffc0bb30 <_Heap_Walk+0x214>            
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0ba74:	7d 2e db 96 	divwu   r9,r14,r27                             
ffc0ba78:	7d 29 d9 d6 	mullw   r9,r9,r27                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
ffc0ba7c:	7f 8e 48 00 	cmpw    cr7,r14,r9                             
ffc0ba80:	40 9e 00 d8 	bne-    cr7,ffc0bb58 <_Heap_Walk+0x23c>        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0ba84:	39 3a 00 08 	addi    r9,r26,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0ba88:	7d 49 db 96 	divwu   r10,r9,r27                             
ffc0ba8c:	7d 4a d9 d6 	mullw   r10,r10,r27                            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc0ba90:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0ba94:	40 9e 00 ec 	bne-    cr7,ffc0bb80 <_Heap_Walk+0x264>        
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0ba98:	83 9a 00 04 	lwz     r28,4(r26)                             
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
ffc0ba9c:	73 90 00 01 	andi.   r16,r28,1                              
ffc0baa0:	41 82 01 08 	beq-    ffc0bba8 <_Heap_Walk+0x28c>            
    - 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;                
ffc0baa4:	81 37 00 04 	lwz     r9,4(r23)                              
ffc0baa8:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0baac:	7d 37 4a 14 	add     r9,r23,r9                              
  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;                 
ffc0bab0:	81 49 00 04 	lwz     r10,4(r9)                              
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
ffc0bab4:	71 47 00 01 	andi.   r7,r10,1                               
ffc0bab8:	41 82 00 30 	beq-    ffc0bae8 <_Heap_Walk+0x1cc>            
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
ffc0babc:	7f 9a 48 00 	cmpw    cr7,r26,r9                             
ffc0bac0:	41 9e 01 0c 	beq-    cr7,ffc0bbcc <_Heap_Walk+0x2b0>        
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
ffc0bac4:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bac8:	7f 29 03 a6 	mtctr   r25                                    
ffc0bacc:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bad0:	38 80 00 01 	li      r4,1                                   
ffc0bad4:	38 a5 9a 14 	addi    r5,r5,-26092                           
ffc0bad8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0badc:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bae0:	38 60 00 00 	li      r3,0                                   
ffc0bae4:	4b ff fe c8 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
ffc0bae8:	3c a0 ff c2 	lis     r5,-62                                 
ffc0baec:	7f 29 03 a6 	mtctr   r25                                    
ffc0baf0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0baf4:	38 80 00 01 	li      r4,1                                   
ffc0baf8:	38 a5 99 fc 	addi    r5,r5,-26116                           
ffc0bafc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bb00:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bb04:	38 60 00 00 	li      r3,0                                   
ffc0bb08:	4b ff fe a4 	b       ffc0b9ac <_Heap_Walk+0x90>             
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
ffc0bb0c:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bb10:	7f 29 03 a6 	mtctr   r25                                    
ffc0bb14:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bb18:	38 80 00 01 	li      r4,1                                   
ffc0bb1c:	38 a5 99 40 	addi    r5,r5,-26304                           
ffc0bb20:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bb24:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bb28:	38 60 00 00 	li      r3,0                                   
ffc0bb2c:	4b ff fe 80 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
ffc0bb30:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bb34:	7f 29 03 a6 	mtctr   r25                                    
ffc0bb38:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bb3c:	38 80 00 01 	li      r4,1                                   
ffc0bb40:	38 a5 99 54 	addi    r5,r5,-26284                           
ffc0bb44:	7f 66 db 78 	mr      r6,r27                                 
ffc0bb48:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bb4c:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bb50:	38 60 00 00 	li      r3,0                                   
ffc0bb54:	4b ff fe 58 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
ffc0bb58:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bb5c:	7f 29 03 a6 	mtctr   r25                                    
ffc0bb60:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bb64:	38 80 00 01 	li      r4,1                                   
ffc0bb68:	38 a5 99 74 	addi    r5,r5,-26252                           
ffc0bb6c:	7d c6 73 78 	mr      r6,r14                                 
ffc0bb70:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bb74:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bb78:	38 60 00 00 	li      r3,0                                   
ffc0bb7c:	4b ff fe 30 	b       ffc0b9ac <_Heap_Walk+0x90>             
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
ffc0bb80:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bb84:	7f 29 03 a6 	mtctr   r25                                    
ffc0bb88:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bb8c:	38 80 00 01 	li      r4,1                                   
ffc0bb90:	38 a5 99 98 	addi    r5,r5,-26216                           
ffc0bb94:	7f 46 d3 78 	mr      r6,r26                                 
ffc0bb98:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bb9c:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bba0:	38 60 00 00 	li      r3,0                                   
ffc0bba4:	4b ff fe 08 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
ffc0bba8:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bbac:	7f 29 03 a6 	mtctr   r25                                    
ffc0bbb0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bbb4:	38 80 00 01 	li      r4,1                                   
ffc0bbb8:	38 a5 99 cc 	addi    r5,r5,-26164                           
ffc0bbbc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bbc0:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bbc4:	38 60 00 00 	li      r3,0                                   
ffc0bbc8:	4b ff fd e4 	b       ffc0b9ac <_Heap_Walk+0x90>             
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0bbcc:	80 df 00 08 	lwz     r6,8(r31)                              
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
ffc0bbd0:	80 9f 00 10 	lwz     r4,16(r31)                             
  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 ) {                            
ffc0bbd4:	7f 9f 30 00 	cmpw    cr7,r31,r6                             
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0bbd8:	81 3f 00 20 	lwz     r9,32(r31)                             
  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 ) {                            
ffc0bbdc:	41 9e 00 30 	beq-    cr7,ffc0bc0c <_Heap_Walk+0x2f0>        
  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;             
ffc0bbe0:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc0bbe4:	40 9d 03 14 	ble-    cr7,ffc0bef8 <_Heap_Walk+0x5dc>        <== ALWAYS TAKEN
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
ffc0bbe8:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bbec:	7f 29 03 a6 	mtctr   r25                                    
ffc0bbf0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bbf4:	38 80 00 01 	li      r4,1                                   
ffc0bbf8:	38 a5 9a 44 	addi    r5,r5,-26044                           
ffc0bbfc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bc00:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bc04:	38 60 00 00 	li      r3,0                                   
ffc0bc08:	4b ff fd a4 	b       ffc0b9ac <_Heap_Walk+0x90>             
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0bc0c:	3e 80 ff c2 	lis     r20,-62                                
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc0bc10:	3e a0 ff c2 	lis     r21,-62                                
  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)(                                                         
ffc0bc14:	3e 60 ff c2 	lis     r19,-62                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0bc18:	7f 5d d3 78 	mr      r29,r26                                
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0bc1c:	3a 94 9c 60 	addi    r20,r20,-25504                         
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
ffc0bc20:	3a b5 9c 48 	addi    r21,r21,-25528                         
  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)(                                                         
ffc0bc24:	3a 73 9b a4 	addi    r19,r19,-25692                         
ffc0bc28:	3e 20 ff c2 	lis     r17,-62                                
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0bc2c:	3e c0 ff c2 	lis     r22,-62                                
ffc0bc30:	3d e0 ff c2 	lis     r15,-62                                
  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)(                                                         
ffc0bc34:	3e 40 ff c2 	lis     r18,-62                                
    - 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;                
ffc0bc38:	57 9c 00 3c 	rlwinm  r28,r28,0,0,30                         
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
ffc0bc3c:	7f dc ea 14 	add     r30,r28,r29                            
  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;             
ffc0bc40:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc0bc44:	40 9d 00 30 	ble-    cr7,ffc0bc74 <_Heap_Walk+0x358>        <== ALWAYS TAKEN
    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)(                                                     
ffc0bc48:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bc4c:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bc50:	38 80 00 01 	li      r4,1                                   
ffc0bc54:	38 a5 9a e4 	addi    r5,r5,-25884                           
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
      (*printer)(                                                     
ffc0bc58:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bc5c:	7f 29 03 a6 	mtctr   r25                                    
ffc0bc60:	7f c7 f3 78 	mr      r7,r30                                 
ffc0bc64:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bc68:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bc6c:	38 60 00 00 	li      r3,0                                   
ffc0bc70:	4b ff fd 3c 	b       ffc0b9ac <_Heap_Walk+0x90>             
ffc0bc74:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc0bc78:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc0bc7c:	41 bc ff cc 	blt-    cr7,ffc0bc48 <_Heap_Walk+0x32c>        
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0bc80:	7d 5c db 96 	divwu   r10,r28,r27                            
ffc0bc84:	7d 4a d9 d6 	mullw   r10,r10,r27                            
    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;               
ffc0bc88:	7f a9 ba 78 	xor     r9,r29,r23                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc0bc8c:	7f 9c 50 00 	cmpw    cr7,r28,r10                            
    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;               
ffc0bc90:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc0bc94:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0bc98:	69 29 00 01 	xori    r9,r9,1                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
ffc0bc9c:	41 9e 00 5c 	beq-    cr7,ffc0bcf8 <_Heap_Walk+0x3dc>        
ffc0bca0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bca4:	40 9e 02 28 	bne-    cr7,ffc0becc <_Heap_Walk+0x5b0>        
  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;                 
ffc0bca8:	81 3e 00 04 	lwz     r9,4(r30)                              
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
ffc0bcac:	71 27 00 01 	andi.   r7,r9,1                                
ffc0bcb0:	41 82 00 d4 	beq-    ffc0bd84 <_Heap_Walk+0x468>            
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
ffc0bcb4:	2f 90 00 00 	cmpwi   cr7,r16,0                              
ffc0bcb8:	41 9e 00 a4 	beq-    cr7,ffc0bd5c <_Heap_Walk+0x440>        
      (*printer)(                                                     
ffc0bcbc:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bcc0:	7f 29 03 a6 	mtctr   r25                                    
ffc0bcc4:	38 80 00 00 	li      r4,0                                   
ffc0bcc8:	7e a5 ab 78 	mr      r5,r21                                 
ffc0bccc:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bcd0:	7f 87 e3 78 	mr      r7,r28                                 
ffc0bcd4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bcd8:	4e 80 04 21 	bctrl                                          
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
ffc0bcdc:	7f 9a f0 00 	cmpw    cr7,r26,r30                            
ffc0bce0:	41 9e 01 68 	beq-    cr7,ffc0be48 <_Heap_Walk+0x52c>        
ffc0bce4:	83 9e 00 04 	lwz     r28,4(r30)                             
ffc0bce8:	7f dd f3 78 	mr      r29,r30                                
ffc0bcec:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0bcf0:	57 90 07 fe 	clrlwi  r16,r28,31                             
ffc0bcf4:	4b ff ff 44 	b       ffc0bc38 <_Heap_Walk+0x31c>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
ffc0bcf8:	7f 8e e0 40 	cmplw   cr7,r14,r28                            
ffc0bcfc:	40 9d 00 3c 	ble-    cr7,ffc0bd38 <_Heap_Walk+0x41c>        
ffc0bd00:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bd04:	41 9e ff a4 	beq+    cr7,ffc0bca8 <_Heap_Walk+0x38c>        <== NEVER TAKEN
      (*printer)(                                                     
ffc0bd08:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bd0c:	7f 29 03 a6 	mtctr   r25                                    
ffc0bd10:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bd14:	38 80 00 01 	li      r4,1                                   
ffc0bd18:	38 a5 9b 44 	addi    r5,r5,-25788                           
ffc0bd1c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bd20:	7f 87 e3 78 	mr      r7,r28                                 
ffc0bd24:	7d c8 73 78 	mr      r8,r14                                 
ffc0bd28:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bd2c:	4e 80 04 21 	bctrl                                          
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
ffc0bd30:	38 60 00 00 	li      r3,0                                   
ffc0bd34:	4b ff fc 78 	b       ffc0b9ac <_Heap_Walk+0x90>             
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
ffc0bd38:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
ffc0bd3c:	41 bc ff 6c 	blt-    cr7,ffc0bca8 <_Heap_Walk+0x38c>        
ffc0bd40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bd44:	41 9e ff 64 	beq+    cr7,ffc0bca8 <_Heap_Walk+0x38c>        
      (*printer)(                                                     
ffc0bd48:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bd4c:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bd50:	38 80 00 01 	li      r4,1                                   
ffc0bd54:	38 a5 9b 70 	addi    r5,r5,-25744                           
ffc0bd58:	4b ff ff 00 	b       ffc0bc58 <_Heap_Walk+0x33c>            
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
ffc0bd5c:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bd60:	81 1d 00 00 	lwz     r8,0(r29)                              
ffc0bd64:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bd68:	7f 29 03 a6 	mtctr   r25                                    
ffc0bd6c:	38 80 00 00 	li      r4,0                                   
ffc0bd70:	7e 85 a3 78 	mr      r5,r20                                 
ffc0bd74:	7f 87 e3 78 	mr      r7,r28                                 
ffc0bd78:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bd7c:	4e 80 04 21 	bctrl                                          
ffc0bd80:	4b ff ff 5c 	b       ffc0bcdc <_Heap_Walk+0x3c0>            
    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 ?                                 
ffc0bd84:	81 1d 00 0c 	lwz     r8,12(r29)                             
  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)(                                                         
ffc0bd88:	81 3f 00 08 	lwz     r9,8(r31)                              
  return _Heap_Free_list_head(heap)->next;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_last( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_tail(heap)->prev;                            
ffc0bd8c:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc0bd90:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc0bd94:	41 9e 00 f4 	beq-    cr7,ffc0be88 <_Heap_Walk+0x56c>        
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0bd98:	7f 9f 40 00 	cmpw    cr7,r31,r8                             
ffc0bd9c:	41 9e 00 fc 	beq-    cr7,ffc0be98 <_Heap_Walk+0x57c>        
ffc0bda0:	39 36 9c 14 	addi    r9,r22,-25580                          
    block->next,                                                      
    block->next == last_free_block ?                                  
ffc0bda4:	81 5d 00 08 	lwz     r10,8(r29)                             
  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)(                                                         
ffc0bda8:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc0bdac:	41 9e 00 d4 	beq-    cr7,ffc0be80 <_Heap_Walk+0x564>        
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0bdb0:	7f 9f 50 00 	cmpw    cr7,r31,r10                            
ffc0bdb4:	41 9e 00 dc 	beq-    cr7,ffc0be90 <_Heap_Walk+0x574>        
ffc0bdb8:	38 f6 9c 14 	addi    r7,r22,-25580                          
  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)(                                                         
ffc0bdbc:	90 e1 00 08 	stw     r7,8(r1)                               
ffc0bdc0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bdc4:	38 80 00 00 	li      r4,0                                   
ffc0bdc8:	7f 29 03 a6 	mtctr   r25                                    
ffc0bdcc:	7e 65 9b 78 	mr      r5,r19                                 
ffc0bdd0:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bdd4:	7f 87 e3 78 	mr      r7,r28                                 
ffc0bdd8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bddc:	4e 80 04 21 	bctrl                                          
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
ffc0bde0:	81 1e 00 00 	lwz     r8,0(r30)                              
ffc0bde4:	7f 9c 40 00 	cmpw    cr7,r28,r8                             
ffc0bde8:	40 9e 00 68 	bne-    cr7,ffc0be50 <_Heap_Walk+0x534>        
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
ffc0bdec:	2f 90 00 00 	cmpwi   cr7,r16,0                              
ffc0bdf0:	41 9e 00 b4 	beq-    cr7,ffc0bea4 <_Heap_Walk+0x588>        
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
ffc0bdf4:	81 3f 00 08 	lwz     r9,8(r31)                              
)                                                                     
{                                                                     
  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 ) {                            
ffc0bdf8:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0bdfc:	41 9e 00 24 	beq-    cr7,ffc0be20 <_Heap_Walk+0x504>        <== NEVER TAKEN
    if ( free_block == block ) {                                      
ffc0be00:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0be04:	40 be 00 0c 	bne+    cr7,ffc0be10 <_Heap_Walk+0x4f4>        
ffc0be08:	4b ff fe d4 	b       ffc0bcdc <_Heap_Walk+0x3c0>            
ffc0be0c:	41 ba fe d0 	beq-    cr6,ffc0bcdc <_Heap_Walk+0x3c0>        
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
ffc0be10:	81 29 00 08 	lwz     r9,8(r9)                               
)                                                                     
{                                                                     
  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 ) {                            
ffc0be14:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    if ( free_block == block ) {                                      
ffc0be18:	7f 1d 48 00 	cmpw    cr6,r29,r9                             
)                                                                     
{                                                                     
  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 ) {                            
ffc0be1c:	40 9e ff f0 	bne+    cr7,ffc0be0c <_Heap_Walk+0x4f0>        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
ffc0be20:	3c a0 ff c2 	lis     r5,-62                                 
ffc0be24:	7f 29 03 a6 	mtctr   r25                                    
ffc0be28:	7f 03 c3 78 	mr      r3,r24                                 
ffc0be2c:	38 80 00 01 	li      r4,1                                   
ffc0be30:	38 a5 9c 88 	addi    r5,r5,-25464                           
ffc0be34:	7f a6 eb 78 	mr      r6,r29                                 
ffc0be38:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0be3c:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0be40:	38 60 00 00 	li      r3,0                                   
ffc0be44:	4b ff fb 68 	b       ffc0b9ac <_Heap_Walk+0x90>             
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
ffc0be48:	38 60 00 01 	li      r3,1                                   
ffc0be4c:	4b ff fb 60 	b       ffc0b9ac <_Heap_Walk+0x90>             
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
ffc0be50:	3c a0 ff c2 	lis     r5,-62                                 
ffc0be54:	7f 29 03 a6 	mtctr   r25                                    
ffc0be58:	7f 03 c3 78 	mr      r3,r24                                 
ffc0be5c:	38 80 00 01 	li      r4,1                                   
ffc0be60:	38 a5 9b dc 	addi    r5,r5,-25636                           
ffc0be64:	7f a6 eb 78 	mr      r6,r29                                 
ffc0be68:	7f 87 e3 78 	mr      r7,r28                                 
ffc0be6c:	7f c9 f3 78 	mr      r9,r30                                 
ffc0be70:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0be74:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0be78:	38 60 00 00 	li      r3,0                                   
ffc0be7c:	4b ff fb 30 	b       ffc0b9ac <_Heap_Walk+0x90>             
  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)(                                                         
ffc0be80:	38 f1 98 90 	addi    r7,r17,-26480                          
ffc0be84:	4b ff ff 38 	b       ffc0bdbc <_Heap_Walk+0x4a0>            
ffc0be88:	39 32 98 74 	addi    r9,r18,-26508                          
ffc0be8c:	4b ff ff 18 	b       ffc0bda4 <_Heap_Walk+0x488>            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
ffc0be90:	38 ef 98 a0 	addi    r7,r15,-26464                          
ffc0be94:	4b ff ff 28 	b       ffc0bdbc <_Heap_Walk+0x4a0>            
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
ffc0be98:	3d 40 ff c2 	lis     r10,-62                                
ffc0be9c:	39 2a 98 84 	addi    r9,r10,-26492                          
ffc0bea0:	4b ff ff 04 	b       ffc0bda4 <_Heap_Walk+0x488>            
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
ffc0bea4:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bea8:	7f 29 03 a6 	mtctr   r25                                    
ffc0beac:	7f 03 c3 78 	mr      r3,r24                                 
ffc0beb0:	38 80 00 01 	li      r4,1                                   
ffc0beb4:	38 a5 9c 18 	addi    r5,r5,-25576                           
ffc0beb8:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bebc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bec0:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bec4:	38 60 00 00 	li      r3,0                                   
ffc0bec8:	4b ff fa e4 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
ffc0becc:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bed0:	7f 29 03 a6 	mtctr   r25                                    
ffc0bed4:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bed8:	38 80 00 01 	li      r4,1                                   
ffc0bedc:	38 a5 9b 14 	addi    r5,r5,-25836                           
ffc0bee0:	7f a6 eb 78 	mr      r6,r29                                 
ffc0bee4:	7f 87 e3 78 	mr      r7,r28                                 
ffc0bee8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0beec:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bef0:	38 60 00 00 	li      r3,0                                   
ffc0bef4:	4b ff fa b8 	b       ffc0b9ac <_Heap_Walk+0x90>             
  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;             
ffc0bef8:	80 bf 00 24 	lwz     r5,36(r31)                             
ffc0befc:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc0bf00:	41 bc fc e8 	blt-    cr7,ffc0bbe8 <_Heap_Walk+0x2cc>        <== NEVER TAKEN
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0bf04:	39 46 00 08 	addi    r10,r6,8                               
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0bf08:	7d 0a 23 96 	divwu   r8,r10,r4                              
ffc0bf0c:	7d 08 21 d6 	mullw   r8,r8,r4                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0bf10:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc0bf14:	40 9e 00 cc 	bne-    cr7,ffc0bfe0 <_Heap_Walk+0x6c4>        <== NEVER TAKEN
    - 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;                
ffc0bf18:	81 46 00 04 	lwz     r10,4(r6)                              
ffc0bf1c:	55 4a 00 3c 	rlwinm  r10,r10,0,0,30                         
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0bf20:	7d 46 52 14 	add     r10,r6,r10                             
  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;                 
ffc0bf24:	81 4a 00 04 	lwz     r10,4(r10)                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0bf28:	71 47 00 01 	andi.   r7,r10,1                               
ffc0bf2c:	40 82 00 90 	bne-    ffc0bfbc <_Heap_Walk+0x6a0>            <== NEVER TAKEN
ffc0bf30:	7f e8 fb 78 	mr      r8,r31                                 
ffc0bf34:	7c c3 33 78 	mr      r3,r6                                  
ffc0bf38:	48 00 00 54 	b       ffc0bf8c <_Heap_Walk+0x670>            
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    prev_block = free_block;                                          
    free_block = free_block->next;                                    
ffc0bf3c:	80 c6 00 08 	lwz     r6,8(r6)                               
  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 ) {                            
ffc0bf40:	7f 9f 30 00 	cmpw    cr7,r31,r6                             
  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;             
ffc0bf44:	7f 06 48 40 	cmplw   cr6,r6,r9                              
ffc0bf48:	7c 86 28 40 	cmplw   cr1,r6,r5                              
ffc0bf4c:	41 be fc c0 	beq-    cr7,ffc0bc0c <_Heap_Walk+0x2f0>        
ffc0bf50:	41 b8 fc 98 	blt-    cr6,ffc0bbe8 <_Heap_Walk+0x2cc>        
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Alloc_area_of_block(             
  const Heap_Block *block                                             
)                                                                     
{                                                                     
  return (uintptr_t) block + HEAP_BLOCK_HEADER_SIZE;                  
ffc0bf54:	39 46 00 08 	addi    r10,r6,8                               
  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;             
ffc0bf58:	41 a5 fc 90 	bgt-    cr1,ffc0bbe8 <_Heap_Walk+0x2cc>        <== NEVER TAKEN
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
ffc0bf5c:	7c ea 23 96 	divwu   r7,r10,r4                              
ffc0bf60:	7c e7 21 d6 	mullw   r7,r7,r4                               
ffc0bf64:	7c 68 1b 78 	mr      r8,r3                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0bf68:	7f 8a 38 00 	cmpw    cr7,r10,r7                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0bf6c:	7c c3 33 78 	mr      r3,r6                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
ffc0bf70:	40 9e 00 70 	bne-    cr7,ffc0bfe0 <_Heap_Walk+0x6c4>        
    - 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;                
ffc0bf74:	81 46 00 04 	lwz     r10,4(r6)                              
ffc0bf78:	55 4a 00 3c 	rlwinm  r10,r10,0,0,30                         
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
}                                                                     
ffc0bf7c:	7d 46 52 14 	add     r10,r6,r10                             
  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;                 
ffc0bf80:	81 4a 00 04 	lwz     r10,4(r10)                             
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
ffc0bf84:	71 47 00 01 	andi.   r7,r10,1                               
ffc0bf88:	40 82 00 34 	bne-    ffc0bfbc <_Heap_Walk+0x6a0>            
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
ffc0bf8c:	80 e6 00 0c 	lwz     r7,12(r6)                              
ffc0bf90:	7f 87 40 00 	cmpw    cr7,r7,r8                              
ffc0bf94:	41 9e ff a8 	beq+    cr7,ffc0bf3c <_Heap_Walk+0x620>        
      (*printer)(                                                     
ffc0bf98:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bf9c:	7f 29 03 a6 	mtctr   r25                                    
ffc0bfa0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bfa4:	38 80 00 01 	li      r4,1                                   
ffc0bfa8:	38 a5 9a b0 	addi    r5,r5,-25936                           
ffc0bfac:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bfb0:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bfb4:	38 60 00 00 	li      r3,0                                   
ffc0bfb8:	4b ff f9 f4 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
ffc0bfbc:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bfc0:	7f 29 03 a6 	mtctr   r25                                    
ffc0bfc4:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bfc8:	38 80 00 01 	li      r4,1                                   
ffc0bfcc:	38 a5 9a 94 	addi    r5,r5,-25964                           
ffc0bfd0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bfd4:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bfd8:	38 60 00 00 	li      r3,0                                   
ffc0bfdc:	4b ff f9 d0 	b       ffc0b9ac <_Heap_Walk+0x90>             
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
ffc0bfe0:	3c a0 ff c2 	lis     r5,-62                                 
ffc0bfe4:	7f 29 03 a6 	mtctr   r25                                    
ffc0bfe8:	7f 03 c3 78 	mr      r3,r24                                 
ffc0bfec:	38 80 00 01 	li      r4,1                                   
ffc0bff0:	38 a5 9a 64 	addi    r5,r5,-26012                           
ffc0bff4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0bff8:	4e 80 04 21 	bctrl                                          
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
ffc0bffc:	38 60 00 00 	li      r3,0                                   
ffc0c000:	4b ff f9 ac 	b       ffc0b9ac <_Heap_Walk+0x90>             
                                                                      

ffc0b81c <_Heap_Walk_print>: /* Do nothing */ } static void _Heap_Walk_print( int source, bool error, const char *fmt, ... ) {
ffc0b81c:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0b820:	7c 08 02 a6 	mflr    r0                                     
ffc0b824:	7c 6b 1b 78 	mr      r11,r3                                 
ffc0b828:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0b82c:	93 e1 00 74 	stw     r31,116(r1)                            
ffc0b830:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0b834:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0b838:	91 01 00 24 	stw     r8,36(r1)                              
ffc0b83c:	91 21 00 28 	stw     r9,40(r1)                              
ffc0b840:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0b844:	40 86 00 24 	bne-    cr1,ffc0b868 <_Heap_Walk_print+0x4c>   <== ALWAYS TAKEN
ffc0b848:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc0b84c:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0b850:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0b854:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc0b858:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc0b85c:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0b860:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0b864:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc0b868:	2f 84 00 00 	cmpwi   cr7,r4,0                               
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
ffc0b86c:	7c bf 2b 78 	mr      r31,r5                                 
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
ffc0b870:	40 9e 00 58 	bne-    cr7,ffc0b8c8 <_Heap_Walk_print+0xac>   
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
ffc0b874:	3c 60 ff c2 	lis     r3,-62                                 
ffc0b878:	7d 64 5b 78 	mr      r4,r11                                 
ffc0b87c:	38 63 98 68 	addi    r3,r3,-26520                           
ffc0b880:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b884:	4b ff a5 ed 	bl      ffc05e70 <printk>                      
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b888:	39 20 00 03 	li      r9,3                                   
ffc0b88c:	99 21 00 08 	stb     r9,8(r1)                               
ffc0b890:	39 20 00 00 	li      r9,0                                   
  vprintk( fmt, ap );                                                 
ffc0b894:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b898:	99 21 00 09 	stb     r9,9(r1)                               
ffc0b89c:	39 21 00 80 	addi    r9,r1,128                              
  vprintk( fmt, ap );                                                 
ffc0b8a0:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b8a4:	91 21 00 0c 	stw     r9,12(r1)                              
ffc0b8a8:	39 21 00 10 	addi    r9,r1,16                               
ffc0b8ac:	91 21 00 10 	stw     r9,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc0b8b0:	4b ff d6 e9 	bl      ffc08f98 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc0b8b4:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0b8b8:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0b8bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0b8c0:	38 21 00 78 	addi    r1,r1,120                              
ffc0b8c4:	4e 80 00 20 	blr                                            
static void _Heap_Walk_print( int source, bool error, const char *fmt, ... )
{                                                                     
  va_list ap;                                                         
                                                                      
  if ( error ) {                                                      
    printk( "FAIL[%d]: ", source );                                   
ffc0b8c8:	3c 60 ff c2 	lis     r3,-62                                 
ffc0b8cc:	7d 64 5b 78 	mr      r4,r11                                 
ffc0b8d0:	38 63 98 5c 	addi    r3,r3,-26532                           
ffc0b8d4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0b8d8:	4b ff a5 99 	bl      ffc05e70 <printk>                      
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b8dc:	39 20 00 03 	li      r9,3                                   
ffc0b8e0:	99 21 00 08 	stb     r9,8(r1)                               
ffc0b8e4:	39 20 00 00 	li      r9,0                                   
  vprintk( fmt, ap );                                                 
ffc0b8e8:	7f e3 fb 78 	mr      r3,r31                                 
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b8ec:	99 21 00 09 	stb     r9,9(r1)                               
ffc0b8f0:	39 21 00 80 	addi    r9,r1,128                              
  vprintk( fmt, ap );                                                 
ffc0b8f4:	38 81 00 08 	addi    r4,r1,8                                
    printk( "FAIL[%d]: ", source );                                   
  } else {                                                            
    printk( "PASS[%d]: ", source );                                   
  }                                                                   
                                                                      
  va_start( ap, fmt );                                                
ffc0b8f8:	91 21 00 0c 	stw     r9,12(r1)                              
ffc0b8fc:	39 21 00 10 	addi    r9,r1,16                               
ffc0b900:	91 21 00 10 	stw     r9,16(r1)                              
  vprintk( fmt, ap );                                                 
ffc0b904:	4b ff d6 95 	bl      ffc08f98 <vprintk>                     
  va_end( ap );                                                       
}                                                                     
ffc0b908:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0b90c:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0b910:	7c 08 03 a6 	mtlr    r0                                     
ffc0b914:	38 21 00 78 	addi    r1,r1,120                              
ffc0b918:	4e 80 00 20 	blr                                            
                                                                      

ffc0a4c8 <_IO_Initialize_all_drivers>: void _IO_Initialize_all_drivers( void ) {
ffc0a4c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0a4cc:	7c 08 02 a6 	mflr    r0                                     
ffc0a4d0:	93 c1 00 08 	stw     r30,8(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc0a4d4:	3f c0 00 00 	lis     r30,0                                  
ffc0a4d8:	81 3e 28 5c 	lwz     r9,10332(r30)                          
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc0a4dc:	90 01 00 14 	stw     r0,20(r1)                              
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc0a4e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
ffc0a4e4:	93 e1 00 0c 	stw     r31,12(r1)                             
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc0a4e8:	41 9e 00 2c 	beq-    cr7,ffc0a514 <_IO_Initialize_all_drivers+0x4c><== NEVER TAKEN
ffc0a4ec:	3b e0 00 00 	li      r31,0                                  
ffc0a4f0:	3b de 28 5c 	addi    r30,r30,10332                          
     (void) rtems_io_initialize( major, 0, NULL );                    
ffc0a4f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0a4f8:	38 80 00 00 	li      r4,0                                   
ffc0a4fc:	38 a0 00 00 	li      r5,0                                   
ffc0a500:	48 00 57 0d 	bl      ffc0fc0c <rtems_io_initialize>         
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
ffc0a504:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0a508:	3b ff 00 01 	addi    r31,r31,1                              
ffc0a50c:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc0a510:	41 9d ff e4 	bgt+    cr7,ffc0a4f4 <_IO_Initialize_all_drivers+0x2c>
     (void) rtems_io_initialize( major, 0, NULL );                    
}                                                                     
ffc0a514:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0a518:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0a51c:	7c 08 03 a6 	mtlr    r0                                     
ffc0a520:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0a524:	38 21 00 10 	addi    r1,r1,16                               
ffc0a528:	4e 80 00 20 	blr                                            
                                                                      

ffc0a3b4 <_IO_Manager_initialization>: #include <rtems/score/wkspace.h> #include <string.h> void _IO_Manager_initialization(void) {
ffc0a3b4:	94 21 ff e0 	stwu    r1,-32(r1)                             
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = rtems_configuration_get_device_driver_table();  
ffc0a3b8:	3d 20 ff c2 	lis     r9,-62                                 
ffc0a3bc:	39 29 d5 38 	addi    r9,r9,-10952                           
#include <rtems/score/wkspace.h>                                      
                                                                      
#include <string.h>                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0a3c0:	7c 08 02 a6 	mflr    r0                                     
ffc0a3c4:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0a3c8:	93 c1 00 18 	stw     r30,24(r1)                             
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = rtems_configuration_get_device_driver_table();  
  drivers_in_table  = rtems_configuration_get_number_of_device_drivers();
  number_of_drivers = rtems_configuration_get_maximum_drivers();      
ffc0a3cc:	83 a9 00 34 	lwz     r29,52(r9)                             
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = rtems_configuration_get_device_driver_table();  
  drivers_in_table  = rtems_configuration_get_number_of_device_drivers();
ffc0a3d0:	83 c9 00 38 	lwz     r30,56(r9)                             
#include <rtems/score/wkspace.h>                                      
                                                                      
#include <string.h>                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0a3d4:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
  /*                                                                  
   *  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 )                        
ffc0a3d8:	7f 9e e8 40 	cmplw   cr7,r30,r29                            
#include <rtems/score/wkspace.h>                                      
                                                                      
#include <string.h>                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
{                                                                     
ffc0a3dc:	90 01 00 24 	stw     r0,36(r1)                              
ffc0a3e0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0a3e4:	93 81 00 10 	stw     r28,16(r1)                             
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = rtems_configuration_get_device_driver_table();  
ffc0a3e8:	83 e9 00 3c 	lwz     r31,60(r9)                             
                                                                      
  /*                                                                  
   *  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 )                        
ffc0a3ec:	40 9c 00 a8 	bge-    cr7,ffc0a494 <_IO_Manager_initialization+0xe0>
   *  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 )  
ffc0a3f0:	1f 7d 00 18 	mulli   r27,r29,24                             
   *  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(                             
ffc0a3f4:	7f 63 db 78 	mr      r3,r27                                 
ffc0a3f8:	48 00 3a e9 	bl      ffc0dee0 <_Workspace_Allocate_or_fatal_error>
  /*                                                                  
   *  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 *)           
ffc0a3fc:	3f 80 00 00 	lis     r28,0                                  
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc0a400:	3d 20 00 00 	lis     r9,0                                   
  /*                                                                  
   *  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 *)           
ffc0a404:	90 7c 28 60 	stw     r3,10336(r28)                          
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
ffc0a408:	38 80 00 00 	li      r4,0                                   
ffc0a40c:	7f 65 db 78 	mr      r5,r27                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
ffc0a410:	93 a9 28 5c 	stw     r29,10332(r9)                          
                                                                      
  memset(                                                             
ffc0a414:	48 00 8a 5d 	bl      ffc12e70 <memset>                      
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc0a418:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0a41c:	41 9e 00 54 	beq-    cr7,ffc0a470 <_IO_Manager_initialization+0xbc><== NEVER TAKEN
ffc0a420:	80 fc 28 60 	lwz     r7,10336(r28)                          
#include <rtems/score/thread.h>                                       
#include <rtems/score/wkspace.h>                                      
                                                                      
#include <string.h>                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
ffc0a424:	1d 7e 00 18 	mulli   r11,r30,24                             
ffc0a428:	39 00 00 00 	li      r8,0                                   
    _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];            
ffc0a42c:	7f e9 fb 78 	mr      r9,r31                                 
ffc0a430:	7c 69 40 6e 	lwzux   r3,r9,r8                               
ffc0a434:	7d 47 42 14 	add     r10,r7,r8                              
ffc0a438:	80 c9 00 0c 	lwz     r6,12(r9)                              
ffc0a43c:	80 89 00 04 	lwz     r4,4(r9)                               
ffc0a440:	80 a9 00 08 	lwz     r5,8(r9)                               
ffc0a444:	7c 67 41 2e 	stwx    r3,r7,r8                               
ffc0a448:	39 08 00 18 	addi    r8,r8,24                               
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc0a44c:	7f 88 58 00 	cmpw    cr7,r8,r11                             
    _IO_Driver_address_table[index] = driver_table[index];            
ffc0a450:	90 8a 00 04 	stw     r4,4(r10)                              
ffc0a454:	90 aa 00 08 	stw     r5,8(r10)                              
ffc0a458:	90 ca 00 0c 	stw     r6,12(r10)                             
ffc0a45c:	80 c9 00 10 	lwz     r6,16(r9)                              
ffc0a460:	81 29 00 14 	lwz     r9,20(r9)                              
ffc0a464:	90 ca 00 10 	stw     r6,16(r10)                             
ffc0a468:	91 2a 00 14 	stw     r9,20(r10)                             
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
ffc0a46c:	40 9e ff c0 	bne+    cr7,ffc0a42c <_IO_Manager_initialization+0x78>
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc0a470:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0a474:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0a478:	7c 08 03 a6 	mtlr    r0                                     
ffc0a47c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0a480:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0a484:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a488:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0a48c:	38 21 00 20 	addi    r1,r1,32                               
ffc0a490:	4e 80 00 20 	blr                                            
ffc0a494:	80 01 00 24 	lwz     r0,36(r1)                              
   *  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;                          
ffc0a498:	3d 20 00 00 	lis     r9,0                                   
ffc0a49c:	93 e9 28 60 	stw     r31,10336(r9)                          
    _IO_Number_of_drivers = number_of_drivers;                        
ffc0a4a0:	3d 20 00 00 	lis     r9,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];            
}                                                                     
ffc0a4a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0a4a8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0a4ac:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0a4b0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0a4b4:	83 e1 00 1c 	lwz     r31,28(r1)                             
   *  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;                          
    _IO_Number_of_drivers = number_of_drivers;                        
ffc0a4b8:	93 c9 28 5c 	stw     r30,10332(r9)                          
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
}                                                                     
ffc0a4bc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0a4c0:	38 21 00 20 	addi    r1,r1,32                               
ffc0a4c4:	4e 80 00 20 	blr                                            
                                                                      

ffc0b318 <_Internal_error_Occurred>: void _Internal_error_Occurred( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
ffc0b318:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0b31c:	7c 08 02 a6 	mflr    r0                                     
ffc0b320:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0b324:	7c 9f 23 78 	mr      r31,r4                                 
  Internal_errors_t      error                                        
)                                                                     
{                                                                     
  User_extensions_Fatal_context ctx = { source, is_internal, error }; 
                                                                      
  _User_extensions_Iterate( &ctx, _User_extensions_Fatal_visitor );   
ffc0b328:	3c 80 ff c1 	lis     r4,-63                                 
ffc0b32c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0b330:	38 84 d8 34 	addi    r4,r4,-10188                           
ffc0b334:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0b338:	38 61 00 08 	addi    r3,r1,8                                
ffc0b33c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0b340:	7c bd 2b 78 	mr      r29,r5                                 
ffc0b344:	90 01 00 2c 	stw     r0,44(r1)                              
  Internal_errors_Source source,                                      
  bool                   is_internal,                                 
  Internal_errors_t      error                                        
)                                                                     
{                                                                     
  User_extensions_Fatal_context ctx = { source, is_internal, error }; 
ffc0b348:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0b34c:	9b e1 00 0c 	stb     r31,12(r1)                             
ffc0b350:	90 a1 00 10 	stw     r5,16(r1)                              
                                                                      
  _User_extensions_Iterate( &ctx, _User_extensions_Fatal_visitor );   
ffc0b354:	48 00 25 05 	bl      ffc0d858 <_User_extensions_Iterate>    
  _User_extensions_Fatal( the_source, is_internal, the_error );       
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
ffc0b358:	3d 40 00 00 	lis     r10,0                                  
ffc0b35c:	39 2a 2d ec 	addi    r9,r10,11756                           
ffc0b360:	93 ca 2d ec 	stw     r30,11756(r10)                         
  _Internal_errors_What_happened.is_internal = is_internal;           
  _Internal_errors_What_happened.the_error   = the_error;             
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc0b364:	7f a3 eb 78 	mr      r3,r29                                 
)                                                                     
{                                                                     
  _User_extensions_Fatal( the_source, is_internal, the_error );       
                                                                      
  _Internal_errors_What_happened.the_source  = the_source;            
  _Internal_errors_What_happened.is_internal = is_internal;           
ffc0b368:	9b e9 00 04 	stb     r31,4(r9)                              
                                                                      
RTEMS_INLINE_ROUTINE void _System_state_Set (                         
  System_state_Codes state                                            
)                                                                     
{                                                                     
  _System_state_Current = state;                                      
ffc0b36c:	39 40 00 05 	li      r10,5                                  
  _Internal_errors_What_happened.the_error   = the_error;             
ffc0b370:	93 a9 00 08 	stw     r29,8(r9)                              
ffc0b374:	3d 20 00 00 	lis     r9,0                                   
ffc0b378:	91 49 28 4c 	stw     r10,10316(r9)                          
                                                                      
  _System_state_Set( SYSTEM_STATE_FAILED );                           
                                                                      
  _CPU_Fatal_halt( the_error );                                       
ffc0b37c:	4b ff 88 8d 	bl      ffc03c08 <_BSP_Fatal_error>            
ffc0b380:	48 00 00 00 	b       ffc0b380 <_Internal_error_Occurred+0x68><== NOT EXECUTED
                                                                      

ffc0b398 <_Objects_Allocate>: #endif Objects_Control *_Objects_Allocate( Objects_Information *information ) {
ffc0b398:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0b39c:	7c 08 02 a6 	mflr    r0                                     
ffc0b3a0:	90 01 00 14 	stw     r0,20(r1)                              
   *  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 )                                       
ffc0b3a4:	81 23 00 18 	lwz     r9,24(r3)                              
#endif                                                                
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b3a8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0b3ac:	7c 7f 1b 78 	mr      r31,r3                                 
   *  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 )                                       
ffc0b3b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
#endif                                                                
                                                                      
Objects_Control *_Objects_Allocate(                                   
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b3b4:	93 c1 00 08 	stw     r30,8(r1)                              
   *  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 )                                       
ffc0b3b8:	41 9e 00 88 	beq-    cr7,ffc0b440 <_Objects_Allocate+0xa8>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  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 );
ffc0b3bc:	3b c3 00 20 	addi    r30,r3,32                              
ffc0b3c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b3c4:	4b ff f3 e1 	bl      ffc0a7a4 <_Chain_Get>                  
                                                                      
  if ( information->auto_extend ) {                                   
ffc0b3c8:	89 3f 00 12 	lbz     r9,18(r31)                             
ffc0b3cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b3d0:	41 9e 00 40 	beq-    cr7,ffc0b410 <_Objects_Allocate+0x78>  
    /*                                                                
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
ffc0b3d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b3d8:	41 9e 00 50 	beq-    cr7,ffc0b428 <_Objects_Allocate+0x90>  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0b3dc:	a1 03 00 0a 	lhz     r8,10(r3)                              
ffc0b3e0:	a1 3f 00 0a 	lhz     r9,10(r31)                             
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0b3e4:	a1 5f 00 14 	lhz     r10,20(r31)                            
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
ffc0b3e8:	7d 29 40 50 	subf    r9,r9,r8                               
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
      information->inactive--;                                        
ffc0b3ec:	a0 ff 00 2c 	lhz     r7,44(r31)                             
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
ffc0b3f0:	7d 29 53 96 	divwu   r9,r9,r10                              
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0b3f4:	81 5f 00 30 	lwz     r10,48(r31)                            
ffc0b3f8:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0b3fc:	7d 0a 48 2e 	lwzx    r8,r10,r9                              
      information->inactive--;                                        
ffc0b400:	38 e7 ff ff 	addi    r7,r7,-1                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
ffc0b404:	39 08 ff ff 	addi    r8,r8,-1                               
ffc0b408:	7d 0a 49 2e 	stwx    r8,r10,r9                              
      information->inactive--;                                        
ffc0b40c:	b0 ff 00 2c 	sth     r7,44(r31)                             
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0b410:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0b414:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0b418:	7c 08 03 a6 	mtlr    r0                                     
ffc0b41c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b420:	38 21 00 10 	addi    r1,r1,16                               
ffc0b424:	4e 80 00 20 	blr                                            
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
ffc0b428:	7f e3 fb 78 	mr      r3,r31                                 
ffc0b42c:	48 00 00 49 	bl      ffc0b474 <_Objects_Extend_information> 
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
ffc0b430:	7f c3 f3 78 	mr      r3,r30                                 
ffc0b434:	4b ff f3 71 	bl      ffc0a7a4 <_Chain_Get>                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
ffc0b438:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0b43c:	40 a2 ff a0 	bne-    ffc0b3dc <_Objects_Allocate+0x44>      
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0b440:	80 01 00 14 	lwz     r0,20(r1)                              
   *  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;                                                      
ffc0b444:	38 60 00 00 	li      r3,0                                   
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
ffc0b448:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0b44c:	7c 08 03 a6 	mtlr    r0                                     
ffc0b450:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b454:	38 21 00 10 	addi    r1,r1,16                               
ffc0b458:	4e 80 00 20 	blr                                            
                                                                      

ffc0b474 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
ffc0b474:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0b478:	7c 08 02 a6 	mflr    r0                                     
ffc0b47c:	90 01 00 44 	stw     r0,68(r1)                              
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0b480:	81 23 00 34 	lwz     r9,52(r3)                              
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b484:	93 41 00 28 	stw     r26,40(r1)                             
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0b488:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0b48c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0b490:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0b494:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0b498:	92 c1 00 18 	stw     r22,24(r1)                             
ffc0b49c:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc0b4a0:	93 01 00 20 	stw     r24,32(r1)                             
ffc0b4a4:	93 21 00 24 	stw     r25,36(r1)                             
ffc0b4a8:	93 81 00 30 	stw     r28,48(r1)                             
ffc0b4ac:	93 a1 00 34 	stw     r29,52(r1)                             
ffc0b4b0:	93 c1 00 38 	stw     r30,56(r1)                             
  /*                                                                  
   *  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 );      
ffc0b4b4:	a3 63 00 0a 	lhz     r27,10(r3)                             
ffc0b4b8:	a3 43 00 10 	lhz     r26,16(r3)                             
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
ffc0b4bc:	41 9e 02 74 	beq-    cr7,ffc0b730 <_Objects_Extend_information+0x2bc>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
ffc0b4c0:	a1 03 00 14 	lhz     r8,20(r3)                              
ffc0b4c4:	7f 9a 43 96 	divwu   r28,r26,r8                             
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0b4c8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0b4cc:	41 9e 02 bc 	beq-    cr7,ffc0b788 <_Objects_Extend_information+0x314><== NEVER TAKEN
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0b4d0:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0b4d4:	7d 07 43 78 	mr      r7,r8                                  
  /*                                                                  
   *  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 );      
ffc0b4d8:	7f 7e db 78 	mr      r30,r27                                
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0b4dc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b4e0:	41 9e 02 bc 	beq-    cr7,ffc0b79c <_Objects_Extend_information+0x328><== NEVER TAKEN
   *  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;                                                  
ffc0b4e4:	3b a0 00 00 	li      r29,0                                  
ffc0b4e8:	7f 89 03 a6 	mtctr   r28                                    
ffc0b4ec:	48 00 00 10 	b       ffc0b4fc <_Objects_Extend_information+0x88>
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
ffc0b4f0:	85 49 00 04 	lwzu    r10,4(r9)                              
ffc0b4f4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b4f8:	41 9e 02 0c 	beq-    cr7,ffc0b704 <_Objects_Extend_information+0x290>
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
ffc0b4fc:	7f de 42 14 	add     r30,r30,r8                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
ffc0b500:	3b bd 00 01 	addi    r29,r29,1                              
ffc0b504:	42 00 ff ec 	bdnz+   ffc0b4f0 <_Objects_Extend_information+0x7c>
                                                                      
  /*                                                                  
   *  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;                                               
ffc0b508:	3b 20 00 01 	li      r25,1                                  
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
ffc0b50c:	7f 5a 3a 14 	add     r26,r26,r7                             
  /*                                                                  
   *  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 ) {                           
ffc0b510:	2b 9a ff ff 	cmplwi  cr7,r26,65535                          
ffc0b514:	41 9d 01 b8 	bgt-    cr7,ffc0b6cc <_Objects_Extend_information+0x258>
  /*                                                                  
   * 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;      
  if ( information->auto_extend ) {                                   
ffc0b518:	89 3f 00 12 	lbz     r9,18(r31)                             
                                                                      
  /*                                                                  
   * 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;      
ffc0b51c:	80 7f 00 18 	lwz     r3,24(r31)                             
  if ( information->auto_extend ) {                                   
ffc0b520:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
  /*                                                                  
   * 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;      
ffc0b524:	7c 67 19 d6 	mullw   r3,r7,r3                               
  if ( information->auto_extend ) {                                   
ffc0b528:	41 9e 01 e4 	beq-    cr7,ffc0b70c <_Objects_Extend_information+0x298>
    new_object_block = _Workspace_Allocate( block_size );             
ffc0b52c:	48 00 29 8d 	bl      ffc0deb8 <_Workspace_Allocate>         
    if ( !new_object_block )                                          
ffc0b530:	7c 77 1b 79 	mr.     r23,r3                                 
ffc0b534:	41 82 01 98 	beq-    ffc0b6cc <_Objects_Extend_information+0x258>
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
ffc0b538:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0b53c:	41 9e 01 0c 	beq-    cr7,ffc0b648 <_Objects_Extend_information+0x1d4>
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    if ( information->auto_extend ) {                                 
ffc0b540:	89 3f 00 12 	lbz     r9,18(r31)                             
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
ffc0b544:	3a dc 00 01 	addi    r22,r28,1                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0b548:	1c 76 00 03 	mulli   r3,r22,3                               
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    if ( information->auto_extend ) {                                 
ffc0b54c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
ffc0b550:	7c 7a 1a 14 	add     r3,r26,r3                              
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
ffc0b554:	7c 63 da 14 	add     r3,r3,r27                              
    block_count++;                                                    
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
ffc0b558:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    if ( information->auto_extend ) {                                 
ffc0b55c:	40 9e 01 bc 	bne-    cr7,ffc0b718 <_Objects_Extend_information+0x2a4>
      if ( !object_blocks ) {                                         
        _Workspace_Free( new_object_block );                          
        return;                                                       
      }                                                               
    } else {                                                          
      object_blocks = _Workspace_Allocate_or_fatal_error( block_size );
ffc0b560:	48 00 29 81 	bl      ffc0dee0 <_Workspace_Allocate_or_fatal_error>
ffc0b564:	7c 79 1b 78 	mr      r25,r3                                 
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0b568:	a1 3f 00 10 	lhz     r9,16(r31)                             
                                                                      
    /*                                                                
     *  Break the block into the various sections.                    
     */                                                               
    inactive_per_block = (uint32_t *) _Addresses_Add_offset(          
        object_blocks, block_count * sizeof(void*) );                 
ffc0b56c:	56 d6 10 3a 	rlwinm  r22,r22,2,0,29                         
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc0b570:	7f 19 b2 14 	add     r24,r25,r22                            
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
ffc0b574:	7f 9b 48 40 	cmplw   cr7,r27,r9                             
ffc0b578:	7e d8 b2 14 	add     r22,r24,r22                            
ffc0b57c:	41 9c 01 cc 	blt-    cr7,ffc0b748 <_Objects_Extend_information+0x2d4>
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0b580:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0b584:	41 9e 00 28 	beq-    cr7,ffc0b5ac <_Objects_Extend_information+0x138><== NEVER TAKEN
        local_table[ index ] = NULL;                                  
ffc0b588:	57 68 10 3a 	rlwinm  r8,r27,2,0,29                          
ffc0b58c:	39 08 ff fc 	addi    r8,r8,-4                               
ffc0b590:	55 08 f0 be 	rlwinm  r8,r8,30,2,31                          
ffc0b594:	39 08 00 01 	addi    r8,r8,1                                
ffc0b598:	7d 09 03 a6 	mtctr   r8                                     
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0b59c:	39 36 ff fc 	addi    r9,r22,-4                              
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
        local_table[ index ] = NULL;                                  
ffc0b5a0:	39 40 00 00 	li      r10,0                                  
ffc0b5a4:	95 49 00 04 	stwu    r10,4(r9)                              
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
ffc0b5a8:	42 00 ff fc 	bdnz+   ffc0b5a4 <_Objects_Extend_information+0x130>
ffc0b5ac:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0b5b0:	a1 5f 00 14 	lhz     r10,20(r31)                            
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
ffc0b5b4:	39 20 00 00 	li      r9,0                                   
ffc0b5b8:	7d 39 e1 2e 	stwx    r9,r25,r28                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
ffc0b5bc:	7d 1e 52 14 	add     r8,r30,r10                             
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0b5c0:	7f 9e 40 40 	cmplw   cr7,r30,r8                             
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
ffc0b5c4:	7d 38 e1 2e 	stwx    r9,r24,r28                             
                                                                      
    for ( index=index_base ;                                          
ffc0b5c8:	40 9c 00 34 	bge-    cr7,ffc0b5fc <_Objects_Extend_information+0x188><== NEVER TAKEN
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0b5cc:	55 47 10 3a 	rlwinm  r7,r10,2,0,29                          
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0b5d0:	38 e7 ff fc 	addi    r7,r7,-4                               
ffc0b5d4:	54 e7 f0 be 	rlwinm  r7,r7,30,2,31                          
ffc0b5d8:	38 e7 00 01 	addi    r7,r7,1                                
ffc0b5dc:	7c e9 03 a6 	mtctr   r7                                     
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
ffc0b5e0:	57 c8 10 3a 	rlwinm  r8,r30,2,0,29                          
ffc0b5e4:	7d 16 42 14 	add     r8,r22,r8                              
ffc0b5e8:	39 20 00 00 	li      r9,0                                   
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
ffc0b5ec:	39 40 00 00 	li      r10,0                                  
ffc0b5f0:	7d 48 49 2e 	stwx    r10,r8,r9                              
ffc0b5f4:	39 29 00 04 	addi    r9,r9,4                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
ffc0b5f8:	42 00 ff f8 	bdnz+   ffc0b5f0 <_Objects_Extend_information+0x17c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0b5fc:	7d 40 00 a6 	mfmsr   r10                                    
ffc0b600:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0b604:	7d 49 48 78 	andc    r9,r10,r9                              
ffc0b608:	7d 20 01 24 	mtmsr   r9                                     
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b60c:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
    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(                      
ffc0b610:	a1 1f 00 04 	lhz     r8,4(r31)                              
ffc0b614:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
ffc0b618:	80 7f 00 34 	lwz     r3,52(r31)                             
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0b61c:	55 08 d8 08 	rlwinm  r8,r8,27,0,4                           
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
ffc0b620:	93 1f 00 30 	stw     r24,48(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b624:	65 29 00 01 	oris    r9,r9,1                                
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0b628:	7d 29 43 78 	or      r9,r9,r8                               
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
ffc0b62c:	93 3f 00 34 	stw     r25,52(r31)                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b630:	7d 29 d3 78 	or      r9,r9,r26                              
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
ffc0b634:	92 df 00 1c 	stw     r22,28(r31)                            
    information->maximum = (Objects_Maximum) maximum;                 
ffc0b638:	b3 5f 00 10 	sth     r26,16(r31)                            
    information->maximum_id = _Objects_Build_id(                      
ffc0b63c:	91 3f 00 0c 	stw     r9,12(r31)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0b640:	7d 40 01 24 	mtmsr   r10                                    
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
                                                                      
    _Workspace_Free( old_tables );                                    
ffc0b644:	48 00 28 8d 	bl      ffc0ded0 <_Workspace_Free>             
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0b648:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0b64c:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0b650:	a0 bf 00 14 	lhz     r5,20(r31)                             
ffc0b654:	38 61 00 08 	addi    r3,r1,8                                
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
ffc0b658:	7e e9 e9 2e 	stwx    r23,r9,r29                             
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b65c:	3b 9f 00 20 	addi    r28,r31,32                             
  information->object_blocks[ block ] = new_object_block;             
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
ffc0b660:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0b664:	80 df 00 18 	lwz     r6,24(r31)                             
ffc0b668:	7c 89 e8 2e 	lwzx    r4,r9,r29                              
ffc0b66c:	4b ff f1 79 	bl      ffc0a7e4 <_Chain_Initialize>           
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0b670:	48 00 00 2c 	b       ffc0b69c <_Objects_Extend_information+0x228>
ffc0b674:	81 5f 00 00 	lwz     r10,0(r31)                             
                                                                      
    the_object->id = _Objects_Build_id(                               
ffc0b678:	a1 1f 00 04 	lhz     r8,4(r31)                              
ffc0b67c:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc0b680:	65 4a 00 01 	oris    r10,r10,1                              
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
ffc0b684:	55 08 d8 08 	rlwinm  r8,r8,27,0,4                           
ffc0b688:	7d 4a 43 78 	or      r10,r10,r8                             
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
ffc0b68c:	7d 4a f3 78 	or      r10,r10,r30                            
ffc0b690:	91 49 00 08 	stw     r10,8(r9)                              
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
ffc0b694:	3b de 00 01 	addi    r30,r30,1                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b698:	4b ff f0 dd 	bl      ffc0a774 <_Chain_Append>               
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0b69c:	38 61 00 08 	addi    r3,r1,8                                
ffc0b6a0:	4b ff f1 05 	bl      ffc0a7a4 <_Chain_Get>                  
ffc0b6a4:	7c 69 1b 79 	mr.     r9,r3                                  
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
ffc0b6a8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0b6ac:	7d 24 4b 78 	mr      r4,r9                                  
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
ffc0b6b0:	40 82 ff c4 	bne+    ffc0b674 <_Objects_Extend_information+0x200>
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0b6b4:	a1 1f 00 2c 	lhz     r8,44(r31)                             
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0b6b8:	a1 3f 00 14 	lhz     r9,20(r31)                             
ffc0b6bc:	81 5f 00 30 	lwz     r10,48(r31)                            
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
ffc0b6c0:	7d 09 42 14 	add     r8,r9,r8                               
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
ffc0b6c4:	7d 2a e9 2e 	stwx    r9,r10,r29                             
  information->inactive =                                             
ffc0b6c8:	b1 1f 00 2c 	sth     r8,44(r31)                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
}                                                                     
ffc0b6cc:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0b6d0:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc0b6d4:	7c 08 03 a6 	mtlr    r0                                     
ffc0b6d8:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0b6dc:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0b6e0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0b6e4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0b6e8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0b6ec:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0b6f0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0b6f4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0b6f8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0b6fc:	38 21 00 40 	addi    r1,r1,64                               
ffc0b700:	4e 80 00 20 	blr                                            
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc0b704:	3b 20 00 00 	li      r25,0                                  
ffc0b708:	4b ff fe 04 	b       ffc0b50c <_Objects_Extend_information+0x98>
  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 );
ffc0b70c:	48 00 27 d5 	bl      ffc0dee0 <_Workspace_Allocate_or_fatal_error>
ffc0b710:	7c 77 1b 78 	mr      r23,r3                                 
ffc0b714:	4b ff fe 24 	b       ffc0b538 <_Objects_Extend_information+0xc4>
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    if ( information->auto_extend ) {                                 
      object_blocks = _Workspace_Allocate( block_size );              
ffc0b718:	48 00 27 a1 	bl      ffc0deb8 <_Workspace_Allocate>         
      if ( !object_blocks ) {                                         
ffc0b71c:	7c 79 1b 79 	mr.     r25,r3                                 
ffc0b720:	40 82 fe 48 	bne+    ffc0b568 <_Objects_Extend_information+0xf4>
        _Workspace_Free( new_object_block );                          
ffc0b724:	7e e3 bb 78 	mr      r3,r23                                 
ffc0b728:	48 00 27 a9 	bl      ffc0ded0 <_Workspace_Free>             
ffc0b72c:	4b ff ff a0 	b       ffc0b6cc <_Objects_Extend_information+0x258>
ffc0b730:	a0 e3 00 14 	lhz     r7,20(r3)                              
  /*                                                                  
   *  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 );      
ffc0b734:	7f 7e db 78 	mr      r30,r27                                
                                                                      
  /*                                                                  
   *  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;                                               
ffc0b738:	3b 20 00 01 	li      r25,1                                  
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0b73c:	3b a0 00 00 	li      r29,0                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
ffc0b740:	3b 80 00 00 	li      r28,0                                  
ffc0b744:	4b ff fd c8 	b       ffc0b50c <_Objects_Extend_information+0x98>
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
ffc0b748:	57 9c 10 3a 	rlwinm  r28,r28,2,0,29                         
      /*                                                              
       *  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,                                          
ffc0b74c:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc0b750:	7f 85 e3 78 	mr      r5,r28                                 
ffc0b754:	7f 23 cb 78 	mr      r3,r25                                 
ffc0b758:	48 00 76 25 	bl      ffc12d7c <memcpy>                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
ffc0b75c:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc0b760:	7f 85 e3 78 	mr      r5,r28                                 
ffc0b764:	7f 03 c3 78 	mr      r3,r24                                 
ffc0b768:	48 00 76 15 	bl      ffc12d7c <memcpy>                      
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0b76c:	a0 bf 00 10 	lhz     r5,16(r31)                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0b770:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc0b774:	7e c3 b3 78 	mr      r3,r22                                 
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
ffc0b778:	7c a5 da 14 	add     r5,r5,r27                              
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
ffc0b77c:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0b780:	48 00 75 fd 	bl      ffc12d7c <memcpy>                      
ffc0b784:	4b ff fe 2c 	b       ffc0b5b0 <_Objects_Extend_information+0x13c>
ffc0b788:	7d 07 43 78 	mr      r7,r8                                  <== 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;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
ffc0b78c:	7f 7e db 78 	mr      r30,r27                                <== 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;                                               
ffc0b790:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
ffc0b794:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc0b798:	4b ff fd 74 	b       ffc0b50c <_Objects_Extend_information+0x98><== NOT EXECUTED
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
ffc0b79c:	3b 20 00 00 	li      r25,0                                  <== 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;                                                  
ffc0b7a0:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc0b7a4:	4b ff fd 68 	b       ffc0b50c <_Objects_Extend_information+0x98><== NOT EXECUTED
                                                                      

ffc0b874 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
ffc0b874:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0b878:	7c 08 02 a6 	mflr    r0                                     
ffc0b87c:	93 e1 00 0c 	stw     r31,12(r1)                             
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0b880:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
Objects_Information *_Objects_Get_information(                        
  Objects_APIs   the_api,                                             
  uint16_t       the_class                                            
)                                                                     
{                                                                     
ffc0b884:	90 01 00 14 	stw     r0,20(r1)                              
ffc0b888:	93 c1 00 08 	stw     r30,8(r1)                              
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
ffc0b88c:	41 82 00 68 	beq-    ffc0b8f4 <_Objects_Get_information+0x80>
ffc0b890:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   *  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 );      
ffc0b894:	48 00 49 35 	bl      ffc101c8 <_Objects_API_maximum_class>  
  if ( the_class_api_maximum == 0 )                                   
ffc0b898:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0b89c:	41 82 00 58 	beq-    ffc0b8f4 <_Objects_Get_information+0x80>
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
ffc0b8a0:	7f 83 f8 40 	cmplw   cr7,r3,r31                             
ffc0b8a4:	41 9c 00 50 	blt-    cr7,ffc0b8f4 <_Objects_Get_information+0x80>
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc0b8a8:	3d 20 00 00 	lis     r9,0                                   
ffc0b8ac:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
ffc0b8b0:	39 29 2b f8 	addi    r9,r9,11256                            
ffc0b8b4:	7d 29 f0 2e 	lwzx    r9,r9,r30                              
ffc0b8b8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b8bc:	41 9e 00 38 	beq-    cr7,ffc0b8f4 <_Objects_Get_information+0x80><== NEVER TAKEN
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
ffc0b8c0:	57 ff 10 3a 	rlwinm  r31,r31,2,0,29                         
ffc0b8c4:	7c 69 f8 2e 	lwzx    r3,r9,r31                              
  if ( !info )                                                        
ffc0b8c8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0b8cc:	41 9e 00 28 	beq-    cr7,ffc0b8f4 <_Objects_Get_information+0x80><== NEVER TAKEN
   *  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 )                                         
ffc0b8d0:	a1 23 00 10 	lhz     r9,16(r3)                              
ffc0b8d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0b8d8:	41 9e 00 1c 	beq-    cr7,ffc0b8f4 <_Objects_Get_information+0x80>
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc0b8dc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0b8e0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0b8e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0b8e8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b8ec:	38 21 00 10 	addi    r1,r1,16                               
ffc0b8f0:	4e 80 00 20 	blr                                            
ffc0b8f4:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
ffc0b8f8:	38 60 00 00 	li      r3,0                                   
    if ( info->maximum == 0 )                                         
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
ffc0b8fc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0b900:	7c 08 03 a6 	mtlr    r0                                     
ffc0b904:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b908:	38 21 00 10 	addi    r1,r1,16                               
ffc0b90c:	4e 80 00 20 	blr                                            
                                                                      

ffc1ad14 <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
ffc1ad14:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1ad18:	7c 08 02 a6 	mflr    r0                                     
ffc1ad1c:	93 a1 00 1c 	stw     r29,28(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc1ad20:	7c 9d 23 79 	mr.     r29,r4                                 
char *_Objects_Get_name_as_string(                                    
  Objects_Id        id,                                               
  size_t            length,                                           
  char             *name                                              
)                                                                     
{                                                                     
ffc1ad24:	90 01 00 2c 	stw     r0,44(r1)                              
ffc1ad28:	93 c1 00 20 	stw     r30,32(r1)                             
ffc1ad2c:	93 e1 00 24 	stw     r31,36(r1)                             
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
ffc1ad30:	41 82 01 04 	beq-    ffc1ae34 <_Objects_Get_name_as_string+0x120>
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
ffc1ad34:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1ad38:	7c bf 2b 78 	mr      r31,r5                                 
ffc1ad3c:	41 9e 00 f8 	beq-    cr7,ffc1ae34 <_Objects_Get_name_as_string+0x120>
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc1ad40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ad44:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1ad48:	41 9e 00 dc 	beq-    cr7,ffc1ae24 <_Objects_Get_name_as_string+0x110>
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
ffc1ad4c:	7f c3 f3 78 	mr      r3,r30                                 
ffc1ad50:	4b ff 78 c9 	bl      ffc12618 <_Objects_Get_information_id> 
  if ( !information )                                                 
ffc1ad54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ad58:	41 9e 00 dc 	beq-    cr7,ffc1ae34 <_Objects_Get_name_as_string+0x120>
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
ffc1ad5c:	7f c4 f3 78 	mr      r4,r30                                 
ffc1ad60:	38 a1 00 10 	addi    r5,r1,16                               
ffc1ad64:	4b ff 79 d1 	bl      ffc12734 <_Objects_Get>                
  switch ( location ) {                                               
ffc1ad68:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1ad6c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1ad70:	40 9e 00 c4 	bne-    cr7,ffc1ae34 <_Objects_Get_name_as_string+0x120>
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc1ad74:	2f 9d 00 01 	cmpwi   cr7,r29,1                              
        if ( information->is_string ) {                               
          s = the_object->name.name_p;                                
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
ffc1ad78:	81 43 00 0c 	lwz     r10,12(r3)                             
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
ffc1ad7c:	99 21 00 0c 	stb     r9,12(r1)                              
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc1ad80:	55 47 84 3e 	rlwinm  r7,r10,16,16,31                        
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc1ad84:	55 49 46 3e 	rlwinm  r9,r10,8,24,31                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
ffc1ad88:	98 e1 00 09 	stb     r7,9(r1)                               
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc1ad8c:	55 48 c2 3e 	rlwinm  r8,r10,24,8,31                         
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
ffc1ad90:	99 21 00 08 	stb     r9,8(r1)                               
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
ffc1ad94:	99 01 00 0a 	stb     r8,10(r1)                              
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
ffc1ad98:	99 41 00 0b 	stb     r10,11(r1)                             
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc1ad9c:	41 9e 00 bc 	beq-    cr7,ffc1ae58 <_Objects_Get_name_as_string+0x144><== NEVER TAKEN
ffc1ada0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1ada4:	41 9e 00 b4 	beq-    cr7,ffc1ae58 <_Objects_Get_name_as_string+0x144>
ffc1ada8:	3d 60 00 00 	lis     r11,0                                  
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc1adac:	3b bd ff ff 	addi    r29,r29,-1                             
 *  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(                                    
ffc1adb0:	38 e1 00 08 	addi    r7,r1,8                                
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc1adb4:	7f a9 03 a6 	mtctr   r29                                    
 *  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(                                    
ffc1adb8:	7f ea fb 78 	mr      r10,r31                                
ffc1adbc:	39 6b 29 64 	addi    r11,r11,10596                          
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc1adc0:	38 c0 ff 97 	li      r6,-105                                
ffc1adc4:	48 00 00 10 	b       ffc1add4 <_Objects_Get_name_as_string+0xc0>
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc1adc8:	8d 27 00 01 	lbzu    r9,1(r7)                               
ffc1adcc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1add0:	41 9e 00 28 	beq-    cr7,ffc1adf8 <_Objects_Get_name_as_string+0xe4>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
ffc1add4:	81 0b 00 00 	lwz     r8,0(r11)                              
ffc1add8:	7d 08 4a 14 	add     r8,r8,r9                               
ffc1addc:	89 08 00 01 	lbz     r8,1(r8)                               
ffc1ade0:	7d 05 30 39 	and.    r5,r8,r6                               
ffc1ade4:	40 82 00 08 	bne-    ffc1adec <_Objects_Get_name_as_string+0xd8>
ffc1ade8:	39 20 00 2a 	li      r9,42                                  
ffc1adec:	99 2a 00 00 	stb     r9,0(r10)                              
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc1adf0:	39 4a 00 01 	addi    r10,r10,1                              
ffc1adf4:	42 00 ff d4 	bdnz+   ffc1adc8 <_Objects_Get_name_as_string+0xb4>
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
ffc1adf8:	39 20 00 00 	li      r9,0                                   
ffc1adfc:	99 2a 00 00 	stb     r9,0(r10)                              
                                                                      
      _Thread_Enable_dispatch();                                      
ffc1ae00:	4b ff 8a 71 	bl      ffc13870 <_Thread_Enable_dispatch>     
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc1ae04:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1ae08:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ae0c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1ae10:	7c 08 03 a6 	mtlr    r0                                     
ffc1ae14:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1ae18:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1ae1c:	38 21 00 28 	addi    r1,r1,40                               
ffc1ae20:	4e 80 00 20 	blr                                            
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc1ae24:	3d 20 00 00 	lis     r9,0                                   
ffc1ae28:	81 29 37 30 	lwz     r9,14128(r9)                           
ffc1ae2c:	83 c9 00 08 	lwz     r30,8(r9)                              
ffc1ae30:	4b ff ff 1c 	b       ffc1ad4c <_Objects_Get_name_as_string+0x38>
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc1ae34:	80 01 00 2c 	lwz     r0,44(r1)                              
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
ffc1ae38:	3b e0 00 00 	li      r31,0                                  
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
ffc1ae3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ae40:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1ae44:	7c 08 03 a6 	mtlr    r0                                     
ffc1ae48:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1ae4c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1ae50:	38 21 00 28 	addi    r1,r1,40                               
ffc1ae54:	4e 80 00 20 	blr                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
ffc1ae58:	7f ea fb 78 	mr      r10,r31                                
ffc1ae5c:	4b ff ff 9c 	b       ffc1adf8 <_Objects_Get_name_as_string+0xe4>
                                                                      

ffc1dea8 <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
ffc1dea8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1deac:	7c 08 02 a6 	mflr    r0                                     
ffc1deb0:	93 a1 00 0c 	stw     r29,12(r1)                             
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
ffc1deb4:	7c 7d 1b 79 	mr.     r29,r3                                 
    Objects_Information *information,                                 
    Objects_Id           id,                                          
    Objects_Locations   *location_p,                                  
    Objects_Id          *next_id_p                                    
)                                                                     
{                                                                     
ffc1deb8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1debc:	93 81 00 08 	stw     r28,8(r1)                              
ffc1dec0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc1dec4:	93 e1 00 14 	stw     r31,20(r1)                             
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
ffc1dec8:	41 82 00 d8 	beq-    ffc1dfa0 <_Objects_Get_next+0xf8>      
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
ffc1decc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1ded0:	7c be 2b 78 	mr      r30,r5                                 
ffc1ded4:	41 9e 00 cc 	beq-    cr7,ffc1dfa0 <_Objects_Get_next+0xf8>  
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
ffc1ded8:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1dedc:	7c dc 33 78 	mr      r28,r6                                 
ffc1dee0:	41 9e 00 c0 	beq-    cr7,ffc1dfa0 <_Objects_Get_next+0xf8>  
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
ffc1dee4:	54 89 04 3e 	clrlwi  r9,r4,16                               
ffc1dee8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        next_id = information->minimum_id;                            
    else                                                              
        next_id = id;                                                 
ffc1deec:	7c 9f 23 78 	mr      r31,r4                                 
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
ffc1def0:	41 9e 00 58 	beq-    cr7,ffc1df48 <_Objects_Get_next+0xa0>  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1def4:	a1 5d 00 10 	lhz     r10,16(r29)                            
ffc1def8:	57 e9 04 3e 	clrlwi  r9,r31,16                              
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1defc:	7f e4 fb 78 	mr      r4,r31                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1df00:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1df04:	7f a3 eb 78 	mr      r3,r29                                 
ffc1df08:	7f c5 f3 78 	mr      r5,r30                                 
                                                                      
        next_id++;                                                    
ffc1df0c:	3b ff 00 01 	addi    r31,r31,1                              
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1df10:	41 9c 00 5c 	blt-    cr7,ffc1df6c <_Objects_Get_next+0xc4>  
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1df14:	4b ff 48 21 	bl      ffc12734 <_Objects_Get>                
                                                                      
        next_id++;                                                    
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
ffc1df18:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc1df1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1df20:	40 9e ff d4 	bne+    cr7,ffc1def4 <_Objects_Get_next+0x4c>  
                                                                      
    *next_id_p = next_id;                                             
ffc1df24:	93 fc 00 00 	stw     r31,0(r28)                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
ffc1df28:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1df2c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1df30:	7c 08 03 a6 	mtlr    r0                                     
ffc1df34:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1df38:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1df3c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1df40:	38 21 00 18 	addi    r1,r1,24                               
ffc1df44:	4e 80 00 20 	blr                                            
                                                                      
    if ( !next_id_p )                                                 
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
        next_id = information->minimum_id;                            
ffc1df48:	83 fd 00 08 	lwz     r31,8(r29)                             
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1df4c:	7f a3 eb 78 	mr      r3,r29                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1df50:	a1 5d 00 10 	lhz     r10,16(r29)                            
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1df54:	7f c5 f3 78 	mr      r5,r30                                 
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1df58:	57 e9 04 3e 	clrlwi  r9,r31,16                              
ffc1df5c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
ffc1df60:	7f e4 fb 78 	mr      r4,r31                                 
                                                                      
        next_id++;                                                    
ffc1df64:	3b ff 00 01 	addi    r31,r31,1                              
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
ffc1df68:	40 9c ff ac 	bge+    cr7,ffc1df14 <_Objects_Get_next+0x6c>  <== ALWAYS TAKEN
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
ffc1df6c:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
        {                                                             
            *location_p = OBJECTS_ERROR;                              
ffc1df70:	39 20 00 01 	li      r9,1                                   
ffc1df74:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
ffc1df78:	39 20 ff ff 	li      r9,-1                                  
    return 0;                                                         
}                                                                     
ffc1df7c:	7c 08 03 a6 	mtlr    r0                                     
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
ffc1df80:	38 60 00 00 	li      r3,0                                   
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
ffc1df84:	91 3c 00 00 	stw     r9,0(r28)                              
    return 0;                                                         
}                                                                     
ffc1df88:	83 81 00 08 	lwz     r28,8(r1)                              
ffc1df8c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1df90:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1df94:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1df98:	38 21 00 18 	addi    r1,r1,24                               
ffc1df9c:	4e 80 00 20 	blr                                            
{                                                                     
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
      return NULL;                                                    
ffc1dfa0:	38 60 00 00 	li      r3,0                                   
ffc1dfa4:	4b ff ff 84 	b       ffc1df28 <_Objects_Get_next+0x80>      
                                                                      

ffc207e8 <_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;
ffc207e8:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc207ec:	a1 43 00 10 	lhz     r10,16(r3)                             
                                                                      
  /*                                                                  
   * 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;                           
ffc207f0:	21 29 00 01 	subfic  r9,r9,1                                
ffc207f4:	7c 89 22 14 	add     r4,r9,r4                               
                                                                      
  if ( information->maximum >= index ) {                              
ffc207f8:	7f 84 50 40 	cmplw   cr7,r4,r10                             
ffc207fc:	41 9d 00 24 	bgt-    cr7,ffc20820 <_Objects_Get_no_protection+0x38>
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
ffc20800:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc20804:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc20808:	7c 69 20 2e 	lwzx    r3,r9,r4                               
ffc2080c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20810:	41 9e 00 10 	beq-    cr7,ffc20820 <_Objects_Get_no_protection+0x38><== NEVER TAKEN
      *location = OBJECTS_LOCAL;                                      
ffc20814:	39 20 00 00 	li      r9,0                                   
ffc20818:	91 25 00 00 	stw     r9,0(r5)                               
      return the_object;                                              
ffc2081c:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
ffc20820:	39 20 00 01 	li      r9,1                                   
ffc20824:	91 25 00 00 	stw     r9,0(r5)                               
  return NULL;                                                        
ffc20828:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc2082c:	4e 80 00 20 	blr                                            
                                                                      

ffc127c4 <_Objects_Id_to_name>: /* * Caller is trusted for name != NULL. */ tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc127c4:	7c 69 1b 79 	mr.     r9,r3                                  
                                                                      
Objects_Name_or_id_lookup_errors _Objects_Id_to_name (                
  Objects_Id      id,                                                 
  Objects_Name   *name                                                
)                                                                     
{                                                                     
ffc127c8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc127cc:	7c 08 02 a6 	mflr    r0                                     
ffc127d0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc127d4:	7c 9f 23 78 	mr      r31,r4                                 
ffc127d8:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   *  Caller is trusted for name != NULL.                             
   */                                                                 
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
ffc127dc:	40 82 00 10 	bne-    ffc127ec <_Objects_Id_to_name+0x28>    
ffc127e0:	3d 20 00 00 	lis     r9,0                                   
ffc127e4:	81 29 37 30 	lwz     r9,14128(r9)                           
ffc127e8:	81 29 00 08 	lwz     r9,8(r9)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Objects_APIs _Objects_Get_API(                   
  Objects_Id id                                                       
)                                                                     
{                                                                     
  return (Objects_APIs) ((id >> OBJECTS_API_START_BIT) & OBJECTS_API_VALID_BITS);
ffc127ec:	55 2a 47 7e 	rlwinm  r10,r9,8,29,31                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Objects_Is_api_valid(                      
  uint32_t   the_api                                                  
)                                                                     
{                                                                     
  if ( !the_api || the_api > OBJECTS_APIS_LAST )                      
ffc127f0:	39 0a ff ff 	addi    r8,r10,-1                              
ffc127f4:	2b 88 00 02 	cmplwi  cr7,r8,2                               
ffc127f8:	41 9d 00 54 	bgt-    cr7,ffc1284c <_Objects_Id_to_name+0x88>
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
ffc127fc:	3d 00 00 00 	lis     r8,0                                   
ffc12800:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc12804:	39 08 34 d8 	addi    r8,r8,13528                            
ffc12808:	7d 48 50 2e 	lwzx    r10,r8,r10                             
ffc1280c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc12810:	41 9e 00 3c 	beq-    cr7,ffc1284c <_Objects_Id_to_name+0x88>
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
ffc12814:	55 28 3e 7a 	rlwinm  r8,r9,7,25,29                          
ffc12818:	7c 6a 40 2e 	lwzx    r3,r10,r8                              
  if ( !information )                                                 
ffc1281c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12820:	41 9e 00 2c 	beq-    cr7,ffc1284c <_Objects_Id_to_name+0x88><== NEVER TAKEN
  #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 ); 
ffc12824:	7d 24 4b 78 	mr      r4,r9                                  
ffc12828:	38 a1 00 08 	addi    r5,r1,8                                
ffc1282c:	4b ff ff 09 	bl      ffc12734 <_Objects_Get>                
  if ( !the_object )                                                  
ffc12830:	2c 03 00 00 	cmpwi   r3,0                                   
ffc12834:	41 82 00 18 	beq-    ffc1284c <_Objects_Id_to_name+0x88>    
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
ffc12838:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc1283c:	91 3f 00 00 	stw     r9,0(r31)                              
  _Thread_Enable_dispatch();                                          
ffc12840:	48 00 10 31 	bl      ffc13870 <_Thread_Enable_dispatch>     
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
ffc12844:	38 60 00 00 	li      r3,0                                   
ffc12848:	48 00 00 08 	b       ffc12850 <_Objects_Id_to_name+0x8c>    
                                                                      
  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;                                        
ffc1284c:	38 60 00 03 	li      r3,3                                   
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
}                                                                     
ffc12850:	80 01 00 24 	lwz     r0,36(r1)                              
ffc12854:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc12858:	7c 08 03 a6 	mtlr    r0                                     
ffc1285c:	38 21 00 20 	addi    r1,r1,32                               
ffc12860:	4e 80 00 20 	blr                                            
                                                                      

ffc0bb80 <_Objects_Shrink_information>: #include <rtems/score/isr.h> void _Objects_Shrink_information( Objects_Information *information ) {
ffc0bb80:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0bb84:	7c 08 02 a6 	mflr    r0                                     
ffc0bb88:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0bb8c:	93 e1 00 14 	stw     r31,20(r1)                             
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
ffc0bb90:	a0 e3 00 10 	lhz     r7,16(r3)                              
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
ffc0bb94:	a3 e3 00 0a 	lhz     r31,10(r3)                             
  block_count = (information->maximum - index_base) /                 
ffc0bb98:	a1 43 00 14 	lhz     r10,20(r3)                             
ffc0bb9c:	7c ff 38 50 	subf    r7,r31,r7                              
#include <rtems/score/isr.h>                                          
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0bba0:	93 81 00 08 	stw     r28,8(r1)                              
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
ffc0bba4:	7c e7 53 96 	divwu   r7,r7,r10                              
#include <rtems/score/isr.h>                                          
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0bba8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0bbac:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0bbb0:	2f 87 00 00 	cmpwi   cr7,r7,0                               
#include <rtems/score/isr.h>                                          
                                                                      
void _Objects_Shrink_information(                                     
  Objects_Information *information                                    
)                                                                     
{                                                                     
ffc0bbb4:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0bbb8:	41 9e 00 3c 	beq-    cr7,ffc0bbf4 <_Objects_Shrink_information+0x74><== NEVER TAKEN
    if ( information->inactive_per_block[ block ] ==                  
ffc0bbbc:	81 03 00 30 	lwz     r8,48(r3)                              
ffc0bbc0:	81 28 00 00 	lwz     r9,0(r8)                               
ffc0bbc4:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc0bbc8:	41 9e 00 4c 	beq-    cr7,ffc0bc14 <_Objects_Shrink_information+0x94><== NEVER TAKEN
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0bbcc:	39 20 00 00 	li      r9,0                                   
ffc0bbd0:	7c e9 03 a6 	mtctr   r7                                     
ffc0bbd4:	48 00 00 14 	b       ffc0bbe8 <_Objects_Shrink_information+0x68>
    if ( information->inactive_per_block[ block ] ==                  
ffc0bbd8:	84 e8 00 04 	lwzu    r7,4(r8)                               
#include <rtems/score/thread.h>                                       
#include <rtems/score/wkspace.h>                                      
#include <rtems/score/sysstate.h>                                     
#include <rtems/score/isr.h>                                          
                                                                      
void _Objects_Shrink_information(                                     
ffc0bbdc:	55 3d 10 3a 	rlwinm  r29,r9,2,0,29                          
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
ffc0bbe0:	7f 8a 38 00 	cmpw    cr7,r10,r7                             
ffc0bbe4:	41 9e 00 34 	beq-    cr7,ffc0bc18 <_Objects_Shrink_information+0x98>
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0bbe8:	39 29 00 01 	addi    r9,r9,1                                
      information->inactive -= information->allocation_size;          
                                                                      
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
ffc0bbec:	7f ff 52 14 	add     r31,r31,r10                            
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
ffc0bbf0:	42 00 ff e8 	bdnz+   ffc0bbd8 <_Objects_Shrink_information+0x58>
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0bbf4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0bbf8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0bbfc:	7c 08 03 a6 	mtlr    r0                                     
ffc0bc00:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0bc04:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0bc08:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0bc0c:	38 21 00 18 	addi    r1,r1,24                               
ffc0bc10:	4e 80 00 20 	blr                                            
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
    if ( information->inactive_per_block[ block ] ==                  
ffc0bc14:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0bc18:	80 7c 00 20 	lwz     r3,32(r28)                             
ffc0bc1c:	48 00 00 10 	b       ffc0bc2c <_Objects_Shrink_information+0xac>
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0bc20:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0bc24:	7f c3 f3 78 	mr      r3,r30                                 
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0bc28:	41 9e 00 34 	beq-    cr7,ffc0bc5c <_Objects_Shrink_information+0xdc>
       *  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 );                
ffc0bc2c:	a1 43 00 0a 	lhz     r10,10(r3)                             
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0bc30:	83 c3 00 00 	lwz     r30,0(r3)                              
         if ((index >= index_base) &&                                 
ffc0bc34:	7f 8a f8 40 	cmplw   cr7,r10,r31                            
ffc0bc38:	41 bc ff e8 	blt-    cr7,ffc0bc20 <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
ffc0bc3c:	a1 1c 00 14 	lhz     r8,20(r28)                             
ffc0bc40:	7d 1f 42 14 	add     r8,r31,r8                              
         /*                                                           
          *  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) &&                                 
ffc0bc44:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc0bc48:	40 9c ff d8 	bge+    cr7,ffc0bc20 <_Objects_Shrink_information+0xa0>
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
ffc0bc4c:	48 00 40 01 	bl      ffc0fc4c <_Chain_Extract>              
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0bc50:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
         index = _Objects_Get_index( the_object->id );                
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
ffc0bc54:	7f c3 f3 78 	mr      r3,r30                                 
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
ffc0bc58:	40 9e ff d4 	bne+    cr7,ffc0bc2c <_Objects_Shrink_information+0xac><== ALWAYS TAKEN
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
ffc0bc5c:	81 3c 00 34 	lwz     r9,52(r28)                             
ffc0bc60:	7c 69 e8 2e 	lwzx    r3,r9,r29                              
ffc0bc64:	48 00 22 6d 	bl      ffc0ded0 <_Workspace_Free>             
      information->object_blocks[ block ] = NULL;                     
ffc0bc68:	81 3c 00 34 	lwz     r9,52(r28)                             
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0bc6c:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0bc70:	a1 1c 00 2c 	lhz     r8,44(r28)                             
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0bc74:	7c 08 03 a6 	mtlr    r0                                     
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
ffc0bc78:	7f c9 e9 2e 	stwx    r30,r9,r29                             
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
ffc0bc7c:	a1 5c 00 14 	lhz     r10,20(r28)                            
       *  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;                   
ffc0bc80:	81 3c 00 30 	lwz     r9,48(r28)                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0bc84:	7d 4a 40 50 	subf    r10,r10,r8                             
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0bc88:	83 e1 00 14 	lwz     r31,20(r1)                             
       *  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;                   
ffc0bc8c:	7f c9 e9 2e 	stwx    r30,r9,r29                             
                                                                      
      information->inactive -= information->allocation_size;          
ffc0bc90:	b1 5c 00 2c 	sth     r10,44(r28)                            
      return;                                                         
    }                                                                 
                                                                      
    index_base += information->allocation_size;                       
  }                                                                   
}                                                                     
ffc0bc94:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0bc98:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0bc9c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0bca0:	38 21 00 18 	addi    r1,r1,24                               
ffc0bca4:	4e 80 00 20 	blr                                            
                                                                      

ffc0c8c0 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
ffc0c8c0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c8c4:	7c 08 02 a6 	mflr    r0                                     
ffc0c8c8:	93 c1 00 10 	stw     r30,16(r1)                             
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc0c8cc:	7c 9e 23 79 	mr.     r30,r4                                 
 */                                                                   
void _RBTree_Extract_unprotected(                                     
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
ffc0c8d0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0c8d4:	93 81 00 08 	stw     r28,8(r1)                              
ffc0c8d8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0c8dc:	93 e1 00 14 	stw     r31,20(r1)                             
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
ffc0c8e0:	41 82 01 14 	beq-    ffc0c9f4 <_RBTree_Extract_unprotected+0x134>
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
ffc0c8e4:	81 23 00 08 	lwz     r9,8(r3)                               
ffc0c8e8:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0c8ec:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0c8f0:	41 9e 01 6c 	beq-    cr7,ffc0ca5c <_RBTree_Extract_unprotected+0x19c>
    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]) {                     
ffc0c8f4:	81 3c 00 0c 	lwz     r9,12(r28)                             
ffc0c8f8:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0c8fc:	41 9e 01 74 	beq-    cr7,ffc0ca70 <_RBTree_Extract_unprotected+0x1b0>
   * 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]) {      
ffc0c900:	83 fe 00 04 	lwz     r31,4(r30)                             
ffc0c904:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0c908:	41 9e 01 88 	beq-    cr7,ffc0ca90 <_RBTree_Extract_unprotected+0x1d0>
ffc0c90c:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0c910:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c914:	40 be 00 0c 	bne+    cr7,ffc0c920 <_RBTree_Extract_unprotected+0x60>
ffc0c918:	48 00 01 0c 	b       ffc0ca24 <_RBTree_Extract_unprotected+0x164>
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
ffc0c91c:	7d 3f 4b 78 	mr      r31,r9                                 
ffc0c920:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc0c924:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c928:	40 9e ff f4 	bne+    cr7,ffc0c91c <_RBTree_Extract_unprotected+0x5c>
     * 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];                                   
ffc0c92c:	83 bf 00 04 	lwz     r29,4(r31)                             
    if(leaf) {                                                        
ffc0c930:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0c934:	41 9e 01 50 	beq-    cr7,ffc0ca84 <_RBTree_Extract_unprotected+0x1c4>
      leaf->parent = target->parent;                                  
ffc0c938:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc0c93c:	91 3d 00 00 	stw     r9,0(r29)                              
    } 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];                         
ffc0c940:	80 ff 00 00 	lwz     r7,0(r31)                              
    target->parent->child[dir] = leaf;                                
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
ffc0c944:	81 1e 00 00 	lwz     r8,0(r30)                              
    } 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];                         
ffc0c948:	81 27 00 04 	lwz     r9,4(r7)                               
      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;                                     
ffc0c94c:	81 5f 00 0c 	lwz     r10,12(r31)                            
    dir = target != target->parent->child[0];                         
ffc0c950:	7f e9 4a 78 	xor     r9,r31,r9                              
ffc0c954:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc0c958:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0c95c:	69 29 00 01 	xori    r9,r9,1                                
    target->parent->child[dir] = leaf;                                
ffc0c960:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0c964:	7c e7 4a 14 	add     r7,r7,r9                               
ffc0c968:	93 a7 00 04 	stw     r29,4(r7)                              
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
ffc0c96c:	81 28 00 04 	lwz     r9,4(r8)                               
ffc0c970:	7f c9 4a 78 	xor     r9,r30,r9                              
ffc0c974:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc0c978:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0c97c:	69 29 00 01 	xori    r9,r9,1                                
    the_node->parent->child[dir] = target;                            
ffc0c980:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0c984:	7d 08 4a 14 	add     r8,r8,r9                               
ffc0c988:	93 e8 00 04 	stw     r31,4(r8)                              
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
ffc0c98c:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0c990:	91 3f 00 08 	stw     r9,8(r31)                              
    if (the_node->child[RBT_RIGHT])                                   
ffc0c994:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0c998:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c99c:	41 9e 00 08 	beq-    cr7,ffc0c9a4 <_RBTree_Extract_unprotected+0xe4><== NEVER TAKEN
      the_node->child[RBT_RIGHT]->parent = target;                    
ffc0c9a0:	93 e9 00 00 	stw     r31,0(r9)                              
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
ffc0c9a4:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0c9a8:	91 3f 00 04 	stw     r9,4(r31)                              
    if (the_node->child[RBT_LEFT])                                    
ffc0c9ac:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0c9b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c9b4:	41 9e 00 08 	beq-    cr7,ffc0c9bc <_RBTree_Extract_unprotected+0xfc>
      the_node->child[RBT_LEFT]->parent = target;                     
ffc0c9b8:	93 e9 00 00 	stw     r31,0(r9)                              
    /* 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;                                
ffc0c9bc:	81 1e 00 00 	lwz     r8,0(r30)                              
    target->color = the_node->color;                                  
ffc0c9c0:	81 3e 00 0c 	lwz     r9,12(r30)                             
    /* 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;                                
ffc0c9c4:	91 1f 00 00 	stw     r8,0(r31)                              
    target->color = the_node->color;                                  
ffc0c9c8:	91 3f 00 0c 	stw     r9,12(r31)                             
  /* 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 */             
ffc0c9cc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c9d0:	41 9e 00 44 	beq-    cr7,ffc0ca14 <_RBTree_Extract_unprotected+0x154>
                                                                      
  /* 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;          
ffc0c9d4:	81 5c 00 04 	lwz     r10,4(r28)                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _RBTree_Set_off_rbtree(                     
    RBTree_Node *node                                                 
    )                                                                 
{                                                                     
  node->parent = node->child[RBT_LEFT] = node->child[RBT_RIGHT] = NULL;
ffc0c9d8:	39 20 00 00 	li      r9,0                                   
ffc0c9dc:	91 3e 00 08 	stw     r9,8(r30)                              
ffc0c9e0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c9e4:	91 3e 00 04 	stw     r9,4(r30)                              
ffc0c9e8:	91 3e 00 00 	stw     r9,0(r30)                              
ffc0c9ec:	41 9e 00 08 	beq-    cr7,ffc0c9f4 <_RBTree_Extract_unprotected+0x134>
ffc0c9f0:	91 2a 00 0c 	stw     r9,12(r10)                             
}                                                                     
ffc0c9f4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c9f8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0c9fc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ca00:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ca04:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ca08:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ca0c:	38 21 00 18 	addi    r1,r1,24                               
ffc0ca10:	4e 80 00 20 	blr                                            
   * 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 */             
    if (leaf) {                                                       
ffc0ca14:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ca18:	41 be ff bc 	beq-    cr7,ffc0c9d4 <_RBTree_Extract_unprotected+0x114>
      leaf->color = RBT_BLACK; /* case 2 */                           
ffc0ca1c:	91 5d 00 0c 	stw     r10,12(r29)                            
ffc0ca20:	4b ff ff b4 	b       ffc0c9d4 <_RBTree_Extract_unprotected+0x114>
   * 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]) {      
ffc0ca24:	7f fd fb 78 	mr      r29,r31                                
     * 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;                                
ffc0ca28:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0ca2c:	91 3d 00 00 	stw     r9,0(r29)                              
      _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];                     
ffc0ca30:	81 1e 00 00 	lwz     r8,0(r30)                              
      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;                                   
ffc0ca34:	81 5e 00 0c 	lwz     r10,12(r30)                            
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
ffc0ca38:	81 28 00 04 	lwz     r9,4(r8)                               
ffc0ca3c:	7f c9 4a 78 	xor     r9,r30,r9                              
ffc0ca40:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc0ca44:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0ca48:	69 29 00 01 	xori    r9,r9,1                                
    the_node->parent->child[dir] = leaf;                              
ffc0ca4c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0ca50:	7d 08 4a 14 	add     r8,r8,r9                               
ffc0ca54:	93 a8 00 04 	stw     r29,4(r8)                              
ffc0ca58:	4b ff ff 74 	b       ffc0c9cc <_RBTree_Extract_unprotected+0x10c>
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Successor_unprotected(      
  const RBTree_Node *node                                             
)                                                                     
{                                                                     
  return _RBTree_Next_unprotected( node, RBT_RIGHT );                 
ffc0ca5c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ca60:	38 80 00 01 	li      r4,1                                   
ffc0ca64:	48 00 04 99 	bl      ffc0cefc <_RBTree_Next_unprotected>    
                                                                      
  /* 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;                               
ffc0ca68:	90 7c 00 08 	stw     r3,8(r28)                              
ffc0ca6c:	4b ff fe 88 	b       ffc0c8f4 <_RBTree_Extract_unprotected+0x34>
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor_unprotected(    
  const RBTree_Node *node                                             
)                                                                     
{                                                                     
  return _RBTree_Next_unprotected( node, RBT_LEFT );                  
ffc0ca70:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ca74:	38 80 00 00 	li      r4,0                                   
ffc0ca78:	48 00 04 85 	bl      ffc0cefc <_RBTree_Next_unprotected>    
  /* 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;                          
ffc0ca7c:	90 7c 00 0c 	stw     r3,12(r28)                             
ffc0ca80:	4b ff fe 80 	b       ffc0c900 <_RBTree_Extract_unprotected+0x40>
    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);                   
ffc0ca84:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ca88:	4b ff fb 2d 	bl      ffc0c5b4 <_RBTree_Extract_validate_unprotected>
ffc0ca8c:	4b ff fe b4 	b       ffc0c940 <_RBTree_Extract_unprotected+0x80>
     * the_node's location in the tree. This may cause the coloring to be
     * 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]; 
ffc0ca90:	83 be 00 08 	lwz     r29,8(r30)                             
    if( leaf ) {                                                      
ffc0ca94:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0ca98:	40 9e ff 90 	bne+    cr7,ffc0ca28 <_RBTree_Extract_unprotected+0x168>
      leaf->parent = the_node->parent;                                
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
ffc0ca9c:	7f c3 f3 78 	mr      r3,r30                                 
ffc0caa0:	4b ff fb 15 	bl      ffc0c5b4 <_RBTree_Extract_validate_unprotected>
ffc0caa4:	4b ff ff 8c 	b       ffc0ca30 <_RBTree_Extract_unprotected+0x170>
                                                                      

ffc0c5b4 <_RBTree_Extract_validate_unprotected>: ) { RBTree_Node *parent, *sibling; RBTree_Direction dir; parent = the_node->parent;
ffc0c5b4:	81 23 00 00 	lwz     r9,0(r3)                               
  if(!parent->parent) return;                                         
ffc0c5b8:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0c5bc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c5c0:	4d 9e 00 20 	beqlr   cr7                                    
{                                                                     
  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])                   
ffc0c5c4:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0c5c8:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc0c5cc:	41 9e 02 d0 	beq-    cr7,ffc0c89c <_RBTree_Extract_validate_unprotected+0x2e8>
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
ffc0c5d0:	38 80 00 00 	li      r4,0                                   
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
        sibling->color = RBT_RED;                                     
ffc0c5d4:	38 c0 00 01 	li      r6,1                                   
ffc0c5d8:	48 00 00 90 	b       ffc0c668 <_RBTree_Extract_validate_unprotected+0xb4>
  if(!parent->parent) return;                                         
                                                                      
  sibling = _RBTree_Sibling(the_node);                                
                                                                      
  /* continue to correct tree as long as the_node is black and not the root */
  while (!_RBTree_Is_red(the_node) && parent->parent) {               
ffc0c5dc:	81 09 00 00 	lwz     r8,0(r9)                               
ffc0c5e0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0c5e4:	41 9e 00 90 	beq-    cr7,ffc0c674 <_RBTree_Extract_validate_unprotected+0xc0>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0c5e8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c5ec:	41 9e 00 10 	beq-    cr7,ffc0c5fc <_RBTree_Extract_validate_unprotected+0x48><== NEVER TAKEN
ffc0c5f0:	80 ea 00 0c 	lwz     r7,12(r10)                             
ffc0c5f4:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc0c5f8:	41 9e 01 68 	beq-    cr7,ffc0c760 <_RBTree_Extract_validate_unprotected+0x1ac>
      _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]) &&                 
ffc0c5fc:	81 0a 00 08 	lwz     r8,8(r10)                              
ffc0c600:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0c604:	41 9e 00 10 	beq-    cr7,ffc0c614 <_RBTree_Extract_validate_unprotected+0x60>
ffc0c608:	81 08 00 0c 	lwz     r8,12(r8)                              
ffc0c60c:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0c610:	41 9e 00 7c 	beq-    cr7,ffc0c68c <_RBTree_Extract_validate_unprotected+0xd8>
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
ffc0c614:	81 0a 00 04 	lwz     r8,4(r10)                              
ffc0c618:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0c61c:	41 9e 00 10 	beq-    cr7,ffc0c62c <_RBTree_Extract_validate_unprotected+0x78>
ffc0c620:	81 08 00 0c 	lwz     r8,12(r8)                              
ffc0c624:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0c628:	41 9e 00 64 	beq-    cr7,ffc0c68c <_RBTree_Extract_validate_unprotected+0xd8>
        sibling->color = RBT_RED;                                     
ffc0c62c:	90 ca 00 0c 	stw     r6,12(r10)                             
ffc0c630:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc0c634:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc0c638:	41 9e 02 6c 	beq-    cr7,ffc0c8a4 <_RBTree_Extract_validate_unprotected+0x2f0>
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
ffc0c63c:	81 09 00 00 	lwz     r8,0(r9)                               
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
ffc0c640:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0c644:	41 9e 01 b0 	beq-    cr7,ffc0c7f4 <_RBTree_Extract_validate_unprotected+0x240><== NEVER TAKEN
  if(!(the_node->parent->parent)) return NULL;                        
ffc0c648:	81 48 00 00 	lwz     r10,0(r8)                              
ffc0c64c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c650:	41 9e 01 a4 	beq-    cr7,ffc0c7f4 <_RBTree_Extract_validate_unprotected+0x240>
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
ffc0c654:	81 48 00 04 	lwz     r10,4(r8)                              
ffc0c658:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0c65c:	41 9e 01 a0 	beq-    cr7,ffc0c7fc <_RBTree_Extract_validate_unprotected+0x248>
ffc0c660:	7d 23 4b 78 	mr      r3,r9                                  
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
ffc0c664:	7d 09 43 78 	mr      r9,r8                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0c668:	81 03 00 0c 	lwz     r8,12(r3)                              
ffc0c66c:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0c670:	40 9e ff 6c 	bne+    cr7,ffc0c5dc <_RBTree_Extract_validate_unprotected+0x28>
      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;          
ffc0c674:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0c678:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0c67c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c680:	4c be 00 20 	bnelr+  cr7                                    
ffc0c684:	91 23 00 0c 	stw     r9,12(r3)                              
ffc0c688:	4e 80 00 20 	blr                                            
       * 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];                             
ffc0c68c:	81 09 00 04 	lwz     r8,4(r9)                               
ffc0c690:	7c 68 42 78 	xor     r8,r3,r8                               
ffc0c694:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc0c698:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc0c69c:	69 08 00 01 	xori    r8,r8,1                                
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
ffc0c6a0:	69 07 00 01 	xori    r7,r8,1                                
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
ffc0c6a4:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc0c6a8:	7c ca 3a 14 	add     r6,r10,r7                              
ffc0c6ac:	80 c6 00 04 	lwz     r6,4(r6)                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0c6b0:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0c6b4:	41 9e 00 10 	beq-    cr7,ffc0c6c4 <_RBTree_Extract_validate_unprotected+0x110>
ffc0c6b8:	80 a6 00 0c 	lwz     r5,12(r6)                              
ffc0c6bc:	2f 85 00 01 	cmpwi   cr7,r5,1                               
ffc0c6c0:	41 9e 01 4c 	beq-    cr7,ffc0c80c <_RBTree_Extract_validate_unprotected+0x258>
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
ffc0c6c4:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc0c6c8:	7c aa 42 14 	add     r5,r10,r8                              
ffc0c6cc:	80 c5 00 04 	lwz     r6,4(r5)                               
       * 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;                                     
ffc0c6d0:	38 80 00 01 	li      r4,1                                   
ffc0c6d4:	90 8a 00 0c 	stw     r4,12(r10)                             
        sibling->child[dir]->color = RBT_BLACK;                       
ffc0c6d8:	38 80 00 00 	li      r4,0                                   
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
ffc0c6dc:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0c6e0:	90 86 00 0c 	stw     r4,12(r6)                              
ffc0c6e4:	41 9e 00 54 	beq-    cr7,ffc0c738 <_RBTree_Extract_validate_unprotected+0x184><== NEVER TAKEN
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
ffc0c6e8:	7c 86 3a 14 	add     r4,r6,r7                               
ffc0c6ec:	81 64 00 04 	lwz     r11,4(r4)                              
ffc0c6f0:	91 65 00 04 	stw     r11,4(r5)                              
                                                                      
  if (c->child[dir])                                                  
ffc0c6f4:	80 a4 00 04 	lwz     r5,4(r4)                               
ffc0c6f8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0c6fc:	41 9e 00 08 	beq-    cr7,ffc0c704 <_RBTree_Extract_validate_unprotected+0x150>
    c->child[dir]->parent = the_node;                                 
ffc0c700:	91 45 00 00 	stw     r10,0(r5)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc0c704:	7c a6 3a 14 	add     r5,r6,r7                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0c708:	80 8a 00 00 	lwz     r4,0(r10)                              
  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;                                           
ffc0c70c:	91 45 00 04 	stw     r10,4(r5)                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0c710:	80 a4 00 04 	lwz     r5,4(r4)                               
                                                                      
  c->parent = the_node->parent;                                       
ffc0c714:	90 86 00 00 	stw     r4,0(r6)                               
  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;
ffc0c718:	7d 45 2a 78 	xor     r5,r10,r5                              
ffc0c71c:	7c a5 00 34 	cntlzw  r5,r5                                  
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc0c720:	90 ca 00 00 	stw     r6,0(r10)                              
  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;
ffc0c724:	54 a5 d9 7e 	rlwinm  r5,r5,27,5,31                          
ffc0c728:	68 a5 00 01 	xori    r5,r5,1                                
ffc0c72c:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0c730:	7c 84 2a 14 	add     r4,r4,r5                               
ffc0c734:	90 c4 00 04 	stw     r6,4(r4)                               
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
ffc0c738:	7d 49 3a 14 	add     r10,r9,r7                              
      }                                                               
      sibling->color = parent->color;                                 
ffc0c73c:	80 c9 00 0c 	lwz     r6,12(r9)                              
      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)];     
ffc0c740:	80 aa 00 04 	lwz     r5,4(r10)                              
ffc0c744:	7d 45 3a 14 	add     r10,r5,r7                              
      }                                                               
      sibling->color = parent->color;                                 
ffc0c748:	90 c5 00 0c 	stw     r6,12(r5)                              
ffc0c74c:	80 8a 00 04 	lwz     r4,4(r10)                              
      parent->color = RBT_BLACK;                                      
ffc0c750:	39 40 00 00 	li      r10,0                                  
ffc0c754:	91 49 00 0c 	stw     r10,12(r9)                             
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
ffc0c758:	91 44 00 0c 	stw     r10,12(r4)                             
ffc0c75c:	48 00 00 d8 	b       ffc0c834 <_RBTree_Extract_validate_unprotected+0x280>
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc0c760:	80 a9 00 04 	lwz     r5,4(r9)                               
     * 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;                                        
ffc0c764:	90 e9 00 0c 	stw     r7,12(r9)                              
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
ffc0c768:	7c 67 2a 78 	xor     r7,r3,r5                               
ffc0c76c:	7c e7 00 34 	cntlzw  r7,r7                                  
     * Now the_node has a black sibling and red parent. After rotation,
     * update sibling pointer.                                        
     */                                                               
    if (_RBTree_Is_red(sibling)) {                                    
      parent->color = RBT_RED;                                        
      sibling->color = RBT_BLACK;                                     
ffc0c770:	90 8a 00 0c 	stw     r4,12(r10)                             
      dir = the_node != parent->child[0];                             
ffc0c774:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc0c778:	68 e0 00 01 	xori    r0,r7,1                                
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
ffc0c77c:	68 0b 00 01 	xori    r11,r0,1                               
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
ffc0c780:	55 6b 10 3a 	rlwinm  r11,r11,2,0,29                         
ffc0c784:	7c a9 5a 14 	add     r5,r9,r11                              
ffc0c788:	80 e5 00 04 	lwz     r7,4(r5)                               
ffc0c78c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0c790:	41 9e 00 74 	beq-    cr7,ffc0c804 <_RBTree_Extract_validate_unprotected+0x250><== NEVER TAKEN
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
ffc0c794:	54 00 10 3a 	rlwinm  r0,r0,2,0,29                           
ffc0c798:	7d 47 02 14 	add     r10,r7,r0                              
ffc0c79c:	81 8a 00 04 	lwz     r12,4(r10)                             
ffc0c7a0:	91 85 00 04 	stw     r12,4(r5)                              
                                                                      
  if (c->child[dir])                                                  
ffc0c7a4:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc0c7a8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c7ac:	41 9e 00 0c 	beq-    cr7,ffc0c7b8 <_RBTree_Extract_validate_unprotected+0x204><== NEVER TAKEN
    c->child[dir]->parent = the_node;                                 
ffc0c7b0:	91 2a 00 00 	stw     r9,0(r10)                              
ffc0c7b4:	81 09 00 00 	lwz     r8,0(r9)                               
                                                                      
  c->child[dir] = the_node;                                           
ffc0c7b8:	7d 47 02 14 	add     r10,r7,r0                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
ffc0c7bc:	91 07 00 00 	stw     r8,0(r7)                               
ffc0c7c0:	7d 69 5a 14 	add     r11,r9,r11                             
  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;                                           
ffc0c7c4:	91 2a 00 04 	stw     r9,4(r10)                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0c7c8:	81 48 00 04 	lwz     r10,4(r8)                              
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc0c7cc:	90 e9 00 00 	stw     r7,0(r9)                               
  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;
ffc0c7d0:	7d 2a 52 78 	xor     r10,r9,r10                             
ffc0c7d4:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc0c7d8:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc0c7dc:	69 4a 00 01 	xori    r10,r10,1                              
ffc0c7e0:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc0c7e4:	7d 08 52 14 	add     r8,r8,r10                              
ffc0c7e8:	90 e8 00 04 	stw     r7,4(r8)                               
ffc0c7ec:	81 4b 00 04 	lwz     r10,4(r11)                             
ffc0c7f0:	4b ff fe 0c 	b       ffc0c5fc <_RBTree_Extract_validate_unprotected+0x48>
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
ffc0c7f4:	39 40 00 00 	li      r10,0                                  
ffc0c7f8:	4b ff fe 68 	b       ffc0c660 <_RBTree_Extract_validate_unprotected+0xac>
  if(!(the_node->parent->parent)) return NULL;                        
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
    return the_node->parent->child[RBT_RIGHT];                        
ffc0c7fc:	81 48 00 08 	lwz     r10,8(r8)                              
ffc0c800:	4b ff fe 60 	b       ffc0c660 <_RBTree_Extract_validate_unprotected+0xac>
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
ffc0c804:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc0c808:	4b ff fd f4 	b       ffc0c5fc <_RBTree_Extract_validate_unprotected+0x48><== NOT EXECUTED
ffc0c80c:	7c a9 3a 14 	add     r5,r9,r7                               
        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;                                 
ffc0c810:	81 69 00 0c 	lwz     r11,12(r9)                             
ffc0c814:	80 a5 00 04 	lwz     r5,4(r5)                               
      parent->color = RBT_BLACK;                                      
ffc0c818:	38 80 00 00 	li      r4,0                                   
        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;                                 
ffc0c81c:	91 6a 00 0c 	stw     r11,12(r10)                            
ffc0c820:	2f 85 00 00 	cmpwi   cr7,r5,0                               
      parent->color = RBT_BLACK;                                      
ffc0c824:	90 89 00 0c 	stw     r4,12(r9)                              
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
ffc0c828:	90 86 00 0c 	stw     r4,12(r6)                              
ffc0c82c:	41 be fe 48 	beq-    cr7,ffc0c674 <_RBTree_Extract_validate_unprotected+0xc0><== NEVER TAKEN
ffc0c830:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
ffc0c834:	7d 45 42 14 	add     r10,r5,r8                              
ffc0c838:	80 ca 00 04 	lwz     r6,4(r10)                              
ffc0c83c:	7c e9 3a 14 	add     r7,r9,r7                               
ffc0c840:	90 c7 00 04 	stw     r6,4(r7)                               
                                                                      
  if (c->child[dir])                                                  
ffc0c844:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc0c848:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c84c:	41 9e 00 08 	beq-    cr7,ffc0c854 <_RBTree_Extract_validate_unprotected+0x2a0>
    c->child[dir]->parent = the_node;                                 
ffc0c850:	91 2a 00 00 	stw     r9,0(r10)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc0c854:	7d 05 42 14 	add     r8,r5,r8                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0c858:	80 e9 00 00 	lwz     r7,0(r9)                               
  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;                                           
ffc0c85c:	91 28 00 04 	stw     r9,4(r8)                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
ffc0c860:	90 e5 00 00 	stw     r7,0(r5)                               
  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;
ffc0c864:	81 47 00 04 	lwz     r10,4(r7)                              
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc0c868:	90 a9 00 00 	stw     r5,0(r9)                               
  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;
ffc0c86c:	7d 2a 52 78 	xor     r10,r9,r10                             
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
ffc0c870:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0c874:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc0c878:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
ffc0c87c:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0c880:	69 4a 00 01 	xori    r10,r10,1                              
ffc0c884:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc0c888:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c88c:	7c e7 52 14 	add     r7,r7,r10                              
ffc0c890:	90 a7 00 04 	stw     r5,4(r7)                               
ffc0c894:	4c be 00 20 	bnelr+  cr7                                    
ffc0c898:	4b ff fd ec 	b       ffc0c684 <_RBTree_Extract_validate_unprotected+0xd0><== NOT EXECUTED
  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];                        
ffc0c89c:	81 49 00 08 	lwz     r10,8(r9)                              
ffc0c8a0:	4b ff fd 30 	b       ffc0c5d0 <_RBTree_Extract_validate_unprotected+0x1c>
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
        sibling->color = RBT_RED;                                     
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
ffc0c8a4:	39 40 00 00 	li      r10,0                                  
ffc0c8a8:	91 49 00 0c 	stw     r10,12(r9)                             
      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;          
ffc0c8ac:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0c8b0:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0c8b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c8b8:	4c be 00 20 	bnelr+  cr7                                    
ffc0c8bc:	4b ff fd c8 	b       ffc0c684 <_RBTree_Extract_validate_unprotected+0xd0><== NOT EXECUTED
                                                                      

ffc0cc64 <_RBTree_Find>: RBTree_Node *_RBTree_Find( RBTree_Control *the_rbtree, RBTree_Node *search_node ) {
ffc0cc64:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0cc68:	7c 08 02 a6 	mflr    r0                                     
ffc0cc6c:	90 01 00 24 	stw     r0,36(r1)                              
ffc0cc70:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0cc74:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0cc78:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0cc7c:	93 81 00 10 	stw     r28,16(r1)                             
ffc0cc80:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0cc84:	93 e1 00 1c 	stw     r31,28(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0cc88:	7f 60 00 a6 	mfmsr   r27                                    
ffc0cc8c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0cc90:	7f 69 48 78 	andc    r9,r27,r9                              
ffc0cc94:	7d 20 01 24 	mtmsr   r9                                     
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
ffc0cc98:	83 e3 00 04 	lwz     r31,4(r3)                              
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0cc9c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0cca0:	41 9e 00 b0 	beq-    cr7,ffc0cd50 <_RBTree_Find+0xec>       <== NEVER TAKEN
ffc0cca4:	7c 9d 23 78 	mr      r29,r4                                 
ffc0cca8:	3b 80 00 00 	li      r28,0                                  
    compare_result = the_rbtree->compare_function(the_node, iter_node);
ffc0ccac:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0ccb0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0ccb4:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ccb8:	7d 29 03 a6 	mtctr   r9                                     
ffc0ccbc:	4e 80 04 21 	bctrl                                          
    if ( _RBTree_Is_equal( compare_result ) ) {                       
ffc0ccc0:	2c 03 00 00 	cmpwi   r3,0                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
ffc0ccc4:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc0ccc8:	7d 23 50 50 	subf    r9,r3,r10                              
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
ffc0cccc:	55 29 1f 7a 	rlwinm  r9,r9,3,29,29                          
ffc0ccd0:	7d 3f 4a 14 	add     r9,r31,r9                              
  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 ) ) {                       
ffc0ccd4:	40 82 00 14 	bne-    ffc0cce8 <_RBTree_Find+0x84>           
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0ccd8:	89 5e 00 14 	lbz     r10,20(r30)                            
ffc0ccdc:	7f fc fb 78 	mr      r28,r31                                
ffc0cce0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cce4:	40 9e 00 3c 	bne-    cr7,ffc0cd20 <_RBTree_Find+0xbc>       
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
ffc0cce8:	83 e9 00 04 	lwz     r31,4(r9)                              
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0ccec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ccf0:	40 9e ff bc 	bne+    cr7,ffc0ccac <_RBTree_Find+0x48>       
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ccf4:	7f 60 01 24 	mtmsr   r27                                    
  return_node = NULL;                                                 
  _ISR_Disable( level );                                              
      return_node = _RBTree_Find_unprotected( the_rbtree, search_node );
  _ISR_Enable( level );                                               
  return return_node;                                                 
}                                                                     
ffc0ccf8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ccfc:	7f 83 e3 78 	mr      r3,r28                                 
ffc0cd00:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cd04:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd08:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cd0c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cd10:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cd14:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cd18:	38 21 00 20 	addi    r1,r1,32                               
ffc0cd1c:	4e 80 00 20 	blr                                            
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0cd20:	7f fc fb 78 	mr      r28,r31                                
ffc0cd24:	7f 60 01 24 	mtmsr   r27                                    
ffc0cd28:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cd2c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0cd30:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cd34:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd38:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cd3c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cd40:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cd44:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cd48:	38 21 00 20 	addi    r1,r1,32                               
ffc0cd4c:	4e 80 00 20 	blr                                            
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
ffc0cd50:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc0cd54:	4b ff ff a0 	b       ffc0ccf4 <_RBTree_Find+0x90>           <== NOT EXECUTED
                                                                      

ffc0d200 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
ffc0d200:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d204:	7c 08 02 a6 	mflr    r0                                     
ffc0d208:	93 a1 00 0c 	stw     r29,12(r1)                             
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0d20c:	7c 7d 1b 79 	mr.     r29,r3                                 
  void                    *starting_address,                          
  size_t                   number_nodes,                              
  size_t                   node_size,                                 
  bool                     is_unique                                  
)                                                                     
{                                                                     
ffc0d210:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0d214:	93 81 00 08 	stw     r28,8(r1)                              
ffc0d218:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d21c:	93 e1 00 14 	stw     r31,20(r1)                             
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
ffc0d220:	41 82 00 4c 	beq-    ffc0d26c <_RBTree_Initialize+0x6c>     <== NEVER TAKEN
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0d224:	2f 86 00 00 	cmpwi   cr7,r6,0                               
{                                                                     
  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;                    
ffc0d228:	90 9d 00 10 	stw     r4,16(r29)                             
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
ffc0d22c:	39 20 00 00 	li      r9,0                                   
ffc0d230:	7c df 33 78 	mr      r31,r6                                 
ffc0d234:	91 3d 00 00 	stw     r9,0(r29)                              
  the_rbtree->root             = NULL;                                
ffc0d238:	91 3d 00 04 	stw     r9,4(r29)                              
  the_rbtree->first[0]         = NULL;                                
ffc0d23c:	91 3d 00 08 	stw     r9,8(r29)                              
  the_rbtree->first[1]         = NULL;                                
ffc0d240:	91 3d 00 0c 	stw     r9,12(r29)                             
  the_rbtree->compare_function = compare_function;                    
  the_rbtree->is_unique        = is_unique;                           
ffc0d244:	99 1d 00 14 	stb     r8,20(r29)                             
ffc0d248:	41 9e 00 24 	beq-    cr7,ffc0d26c <_RBTree_Initialize+0x6c> <== NEVER TAKEN
ffc0d24c:	7c fc 3b 78 	mr      r28,r7                                 
ffc0d250:	7c be 2b 78 	mr      r30,r5                                 
    _RBTree_Insert_unprotected(the_rbtree, next);                     
ffc0d254:	7f c4 f3 78 	mr      r4,r30                                 
ffc0d258:	7f a3 eb 78 	mr      r3,r29                                 
ffc0d25c:	4b ff fb 55 	bl      ffc0cdb0 <_RBTree_Insert_unprotected>  
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0d260:	37 ff ff ff 	addic.  r31,r31,-1                             
#include <rtems/system.h>                                             
#include <rtems/score/address.h>                                      
#include <rtems/score/rbtree.h>                                       
#include <rtems/score/isr.h>                                          
                                                                      
void _RBTree_Initialize(                                              
ffc0d264:	7f de e2 14 	add     r30,r30,r28                            
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
ffc0d268:	40 82 ff ec 	bne+    ffc0d254 <_RBTree_Initialize+0x54>     
    _RBTree_Insert_unprotected(the_rbtree, next);                     
    next           = (RBTree_Node *)                                  
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
}                                                                     
ffc0d26c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d270:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0d274:	7c 08 03 a6 	mtlr    r0                                     
ffc0d278:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d27c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d280:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d284:	38 21 00 18 	addi    r1,r1,24                               
ffc0d288:	4e 80 00 20 	blr                                            
                                                                      

ffc0cae4 <_RBTree_Insert_unprotected>: */ RBTree_Node *_RBTree_Insert_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
ffc0cae4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0cae8:	7c 08 02 a6 	mflr    r0                                     
ffc0caec:	93 e1 00 1c 	stw     r31,28(r1)                             
  if(!the_node) return (RBTree_Node*)-1;                              
ffc0caf0:	7c 9f 23 79 	mr.     r31,r4                                 
 */                                                                   
RBTree_Node *_RBTree_Insert_unprotected(                              
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
ffc0caf4:	90 01 00 24 	stw     r0,36(r1)                              
ffc0caf8:	93 41 00 08 	stw     r26,8(r1)                              
ffc0cafc:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0cb00:	93 81 00 10 	stw     r28,16(r1)                             
ffc0cb04:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0cb08:	93 c1 00 18 	stw     r30,24(r1)                             
  if(!the_node) return (RBTree_Node*)-1;                              
ffc0cb0c:	41 82 02 b8 	beq-    ffc0cdc4 <_RBTree_Insert_unprotected+0x2e0>
                                                                      
  RBTree_Node *iter_node = the_rbtree->root;                          
ffc0cb10:	83 a3 00 04 	lwz     r29,4(r3)                              
ffc0cb14:	7c 7c 1b 78 	mr      r28,r3                                 
  int compare_result;                                                 
                                                                      
  if (!iter_node) { /* special case: first node inserted */           
ffc0cb18:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0cb1c:	40 be 00 0c 	bne+    cr7,ffc0cb28 <_RBTree_Insert_unprotected+0x44>
ffc0cb20:	48 00 02 dc 	b       ffc0cdfc <_RBTree_Insert_unprotected+0x318>
              (dir && _RBTree_Is_greater(compare_result)) ) {         
          the_rbtree->first[dir] = the_node;                          
        }                                                             
        break;                                                        
      } else {                                                        
        iter_node = iter_node->child[dir];                            
ffc0cb24:	7f dd f3 78 	mr      r29,r30                                
    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);
ffc0cb28:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc0cb2c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0cb30:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cb34:	7d 29 03 a6 	mtctr   r9                                     
ffc0cb38:	4e 80 04 21 	bctrl                                          
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
ffc0cb3c:	89 5c 00 14 	lbz     r10,20(r28)                            
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
ffc0cb40:	7c 7a 18 f8 	not     r26,r3                                 
    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 ) )
ffc0cb44:	2f 0a 00 00 	cmpwi   cr6,r10,0                              
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
ffc0cb48:	57 5a 0f fe 	rlwinm  r26,r26,1,31,31                        
      if (!iter_node->child[dir]) {                                   
ffc0cb4c:	57 5b 10 3a 	rlwinm  r27,r26,2,0,29                         
ffc0cb50:	7d 3d da 14 	add     r9,r29,r27                             
    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 ) )
ffc0cb54:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
ffc0cb58:	39 09 00 04 	addi    r8,r9,4                                
    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 ) )
ffc0cb5c:	41 9a 00 08 	beq-    cr6,ffc0cb64 <_RBTree_Insert_unprotected+0x80>
ffc0cb60:	41 9e 02 94 	beq-    cr7,ffc0cdf4 <_RBTree_Insert_unprotected+0x310>
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
ffc0cb64:	83 c9 00 04 	lwz     r30,4(r9)                              
ffc0cb68:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0cb6c:	40 9e ff b8 	bne+    cr7,ffc0cb24 <_RBTree_Insert_unprotected+0x40>
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
        the_node->color = RBT_RED;                                    
ffc0cb70:	39 20 00 01 	li      r9,1                                   
      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;
ffc0cb74:	93 df 00 08 	stw     r30,8(r31)                             
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
ffc0cb78:	7d 5c da 14 	add     r10,r28,r27                            
        the_node->color = RBT_RED;                                    
ffc0cb7c:	91 3f 00 0c 	stw     r9,12(r31)                             
        iter_node->child[dir] = the_node;                             
        the_node->parent = iter_node;                                 
        /* update min/max */                                          
        compare_result = the_rbtree->compare_function(                
ffc0cb80:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cb84:	81 3c 00 10 	lwz     r9,16(r28)                             
      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;
ffc0cb88:	93 df 00 04 	stw     r30,4(r31)                             
        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(                
ffc0cb8c:	7d 29 03 a6 	mtctr   r9                                     
        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;                                    
        iter_node->child[dir] = the_node;                             
ffc0cb90:	93 e8 00 00 	stw     r31,0(r8)                              
        the_node->parent = iter_node;                                 
ffc0cb94:	93 bf 00 00 	stw     r29,0(r31)                             
        /* update min/max */                                          
        compare_result = the_rbtree->compare_function(                
ffc0cb98:	80 8a 00 08 	lwz     r4,8(r10)                              
ffc0cb9c:	4e 80 04 21 	bctrl                                          
            the_node,                                                 
            _RBTree_First(the_rbtree, dir)                            
        );                                                            
        if ( (!dir && _RBTree_Is_lesser(compare_result)) ||           
ffc0cba0:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc0cba4:	40 9e 00 60 	bne-    cr7,ffc0cc04 <_RBTree_Insert_unprotected+0x120>
ffc0cba8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cbac:	41 9c 00 60 	blt-    cr7,ffc0cc0c <_RBTree_Insert_unprotected+0x128>
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
ffc0cbb0:	38 80 00 00 	li      r4,0                                   
      g->color = RBT_RED;                                             
ffc0cbb4:	38 60 00 01 	li      r3,1                                   
                                                                      
  _ISR_Disable( level );                                              
  return_node = _RBTree_Insert_unprotected( tree, node );             
  _ISR_Enable( level );                                               
  return return_node;                                                 
}                                                                     
ffc0cbb8:	81 3f 00 00 	lwz     r9,0(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
ffc0cbbc:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0cbc0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cbc4:	7d 46 53 78 	mr      r6,r10                                 
ffc0cbc8:	41 9e 01 b0 	beq-    cr7,ffc0cd78 <_RBTree_Insert_unprotected+0x294>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0cbcc:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc0cbd0:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0cbd4:	41 9e 00 44 	beq-    cr7,ffc0cc18 <_RBTree_Insert_unprotected+0x134>
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
ffc0cbd8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cbdc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cbe0:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0cbe4:	7c 08 03 a6 	mtlr    r0                                     
ffc0cbe8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cbec:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cbf0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cbf4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cbf8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cbfc:	38 21 00 20 	addi    r1,r1,32                               
ffc0cc00:	4e 80 00 20 	blr                                            
        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)) ) {         
ffc0cc04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cc08:	40 bd ff a8 	ble-    cr7,ffc0cbb0 <_RBTree_Insert_unprotected+0xcc>
          the_rbtree->first[dir] = the_node;                          
ffc0cc0c:	7f 9c da 14 	add     r28,r28,r27                            
ffc0cc10:	93 fc 00 08 	stw     r31,8(r28)                             
ffc0cc14:	4b ff ff 9c 	b       ffc0cbb0 <_RBTree_Insert_unprotected+0xcc>
)                                                                     
{                                                                     
  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;                
ffc0cc18:	81 0a 00 00 	lwz     r8,0(r10)                              
ffc0cc1c:	80 ea 00 04 	lwz     r7,4(r10)                              
ffc0cc20:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0cc24:	41 9e 00 24 	beq-    cr7,ffc0cc48 <_RBTree_Insert_unprotected+0x164><== NEVER TAKEN
{                                                                     
  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])                   
ffc0cc28:	7f 89 38 00 	cmpw    cr7,r9,r7                              
ffc0cc2c:	7c e8 3b 78 	mr      r8,r7                                  
ffc0cc30:	41 9e 01 8c 	beq-    cr7,ffc0cdbc <_RBTree_Insert_unprotected+0x2d8>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
ffc0cc34:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0cc38:	41 9e 00 10 	beq-    cr7,ffc0cc48 <_RBTree_Insert_unprotected+0x164>
ffc0cc3c:	80 a8 00 0c 	lwz     r5,12(r8)                              
ffc0cc40:	2f 85 00 01 	cmpwi   cr7,r5,1                               
ffc0cc44:	41 9e 01 64 	beq-    cr7,ffc0cda8 <_RBTree_Insert_unprotected+0x2c4>
      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];  
ffc0cc48:	81 09 00 04 	lwz     r8,4(r9)                               
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0cc4c:	7d 27 3a 78 	xor     r7,r9,r7                               
ffc0cc50:	7c e7 00 34 	cntlzw  r7,r7                                  
      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];  
ffc0cc54:	7f e8 42 78 	xor     r8,r31,r8                              
ffc0cc58:	7d 08 00 34 	cntlzw  r8,r8                                  
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0cc5c:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
      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];  
ffc0cc60:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
      RBTree_Direction pdir = the_node->parent != g->child[0];        
ffc0cc64:	68 e7 00 01 	xori    r7,r7,1                                
      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];  
ffc0cc68:	69 08 00 01 	xori    r8,r8,1                                
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
ffc0cc6c:	7f 88 38 00 	cmpw    cr7,r8,r7                              
ffc0cc70:	41 9e 00 7c 	beq-    cr7,ffc0ccec <_RBTree_Insert_unprotected+0x208>
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
ffc0cc74:	68 e5 00 01 	xori    r5,r7,1                                
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
ffc0cc78:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0cc7c:	7c a9 2a 14 	add     r5,r9,r5                               
ffc0cc80:	81 05 00 04 	lwz     r8,4(r5)                               
ffc0cc84:	54 eb 10 3a 	rlwinm  r11,r7,2,0,29                          
ffc0cc88:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0cc8c:	41 9e 00 54 	beq-    cr7,ffc0cce0 <_RBTree_Insert_unprotected+0x1fc><== NEVER TAKEN
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
ffc0cc90:	7f a8 5a 14 	add     r29,r8,r11                             
ffc0cc94:	80 1d 00 04 	lwz     r0,4(r29)                              
ffc0cc98:	90 05 00 04 	stw     r0,4(r5)                               
                                                                      
  if (c->child[dir])                                                  
ffc0cc9c:	80 bd 00 04 	lwz     r5,4(r29)                              
ffc0cca0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0cca4:	41 9e 00 0c 	beq-    cr7,ffc0ccb0 <_RBTree_Insert_unprotected+0x1cc>
    c->child[dir]->parent = the_node;                                 
ffc0cca8:	91 25 00 00 	stw     r9,0(r5)                               
ffc0ccac:	81 49 00 00 	lwz     r10,0(r9)                              
                                                                      
  c->child[dir] = the_node;                                           
ffc0ccb0:	7c a8 5a 14 	add     r5,r8,r11                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
ffc0ccb4:	91 48 00 00 	stw     r10,0(r8)                              
  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;                                           
ffc0ccb8:	91 25 00 04 	stw     r9,4(r5)                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0ccbc:	80 aa 00 04 	lwz     r5,4(r10)                              
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc0ccc0:	91 09 00 00 	stw     r8,0(r9)                               
  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;
ffc0ccc4:	7d 25 2a 78 	xor     r5,r9,r5                               
ffc0ccc8:	7c a5 00 34 	cntlzw  r5,r5                                  
ffc0cccc:	54 a5 d9 7e 	rlwinm  r5,r5,27,5,31                          
ffc0ccd0:	68 a5 00 01 	xori    r5,r5,1                                
ffc0ccd4:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc0ccd8:	7d 4a 2a 14 	add     r10,r10,r5                             
ffc0ccdc:	91 0a 00 04 	stw     r8,4(r10)                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
ffc0cce0:	7f ff 5a 14 	add     r31,r31,r11                            
ffc0cce4:	83 ff 00 04 	lwz     r31,4(r31)                             
ffc0cce8:	81 3f 00 00 	lwz     r9,0(r31)                              
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
      g->color = RBT_RED;                                             
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
ffc0ccec:	20 e7 00 01 	subfic  r7,r7,1                                
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
ffc0ccf0:	90 89 00 0c 	stw     r4,12(r9)                              
ffc0ccf4:	68 e8 00 01 	xori    r8,r7,1                                
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
ffc0ccf8:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
      g->color = RBT_RED;                                             
ffc0ccfc:	90 66 00 0c 	stw     r3,12(r6)                              
ffc0cd00:	7d 06 42 14 	add     r8,r6,r8                               
ffc0cd04:	81 48 00 04 	lwz     r10,4(r8)                              
ffc0cd08:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cd0c:	41 be fe ac 	beq-    cr7,ffc0cbb8 <_RBTree_Insert_unprotected+0xd4><== NEVER TAKEN
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
ffc0cd10:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc0cd14:	7d 2a 3a 14 	add     r9,r10,r7                              
ffc0cd18:	80 a9 00 04 	lwz     r5,4(r9)                               
ffc0cd1c:	90 a8 00 04 	stw     r5,4(r8)                               
                                                                      
  if (c->child[dir])                                                  
ffc0cd20:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0cd24:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0cd28:	41 9e 00 08 	beq-    cr7,ffc0cd30 <_RBTree_Insert_unprotected+0x24c>
    c->child[dir]->parent = the_node;                                 
ffc0cd2c:	90 c9 00 00 	stw     r6,0(r9)                               
                                                                      
  c->child[dir] = the_node;                                           
ffc0cd30:	7c ea 3a 14 	add     r7,r10,r7                              
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0cd34:	81 06 00 00 	lwz     r8,0(r6)                               
  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;                                           
ffc0cd38:	90 c7 00 04 	stw     r6,4(r7)                               
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
ffc0cd3c:	81 28 00 04 	lwz     r9,4(r8)                               
                                                                      
  c->parent = the_node->parent;                                       
ffc0cd40:	91 0a 00 00 	stw     r8,0(r10)                              
  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;
ffc0cd44:	7c c9 4a 78 	xor     r9,r6,r9                               
ffc0cd48:	7d 29 00 34 	cntlzw  r9,r9                                  
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
ffc0cd4c:	91 46 00 00 	stw     r10,0(r6)                              
  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;
ffc0cd50:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0cd54:	69 29 00 01 	xori    r9,r9,1                                
ffc0cd58:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0cd5c:	7d 08 4a 14 	add     r8,r8,r9                               
ffc0cd60:	91 48 00 04 	stw     r10,4(r8)                              
                                                                      
  _ISR_Disable( level );                                              
  return_node = _RBTree_Insert_unprotected( tree, node );             
  _ISR_Enable( level );                                               
  return return_node;                                                 
}                                                                     
ffc0cd64:	81 3f 00 00 	lwz     r9,0(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
ffc0cd68:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0cd6c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cd70:	7d 46 53 78 	mr      r6,r10                                 
ffc0cd74:	40 9e fe 58 	bne+    cr7,ffc0cbcc <_RBTree_Insert_unprotected+0xe8><== ALWAYS TAKEN
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
ffc0cd78:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cd7c:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
    }                                                                 
  }                                                                   
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
ffc0cd80:	91 5f 00 0c 	stw     r10,12(r31)                            
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
ffc0cd84:	7c 08 03 a6 	mtlr    r0                                     
ffc0cd88:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0cd8c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cd90:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cd94:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cd98:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cd9c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cda0:	38 21 00 20 	addi    r1,r1,32                               
ffc0cda4:	4e 80 00 20 	blr                                            
    u = _RBTree_Parent_sibling(the_node);                             
    g = the_node->parent->parent;                                     
                                                                      
    /* if uncle is red, repaint uncle/parent black and grandparent red */
    if(_RBTree_Is_red(u)) {                                           
      the_node->parent->color = RBT_BLACK;                            
ffc0cda8:	90 89 00 0c 	stw     r4,12(r9)                              
      u->color = RBT_BLACK;                                           
      g->color = RBT_RED;                                             
ffc0cdac:	7d 5f 53 78 	mr      r31,r10                                
    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;                                           
ffc0cdb0:	90 88 00 0c 	stw     r4,12(r8)                              
      g->color = RBT_RED;                                             
ffc0cdb4:	90 aa 00 0c 	stw     r5,12(r10)                             
ffc0cdb8:	4b ff fe 00 	b       ffc0cbb8 <_RBTree_Insert_unprotected+0xd4>
  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];                        
ffc0cdbc:	81 0a 00 08 	lwz     r8,8(r10)                              
ffc0cdc0:	4b ff fe 74 	b       ffc0cc34 <_RBTree_Insert_unprotected+0x150>
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
ffc0cdc4:	80 01 00 24 	lwz     r0,36(r1)                              
RBTree_Node *_RBTree_Insert_unprotected(                              
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if(!the_node) return (RBTree_Node*)-1;                              
ffc0cdc8:	3b c0 ff ff 	li      r30,-1                                 
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
ffc0cdcc:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cdd0:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0cdd4:	7c 08 03 a6 	mtlr    r0                                     
ffc0cdd8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cddc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cde0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0cde4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cde8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cdec:	38 21 00 20 	addi    r1,r1,32                               
ffc0cdf0:	4e 80 00 20 	blr                                            
    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 ) )
ffc0cdf4:	7f be eb 78 	mr      r30,r29                                
ffc0cdf8:	4b ff fd e0 	b       ffc0cbd8 <_RBTree_Insert_unprotected+0xf4>
                                                                      
  RBTree_Node *iter_node = the_rbtree->root;                          
  int compare_result;                                                 
                                                                      
  if (!iter_node) { /* special case: first node inserted */           
    the_node->color = RBT_BLACK;                                      
ffc0cdfc:	93 bf 00 0c 	stw     r29,12(r31)                            
    } /* while(iter_node) */                                          
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
ffc0ce00:	3b c0 00 00 	li      r30,0                                  
  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;                                      
ffc0ce04:	93 e3 00 04 	stw     r31,4(r3)                              
    the_rbtree->first[0] = the_rbtree->first[1] = the_node;           
ffc0ce08:	93 e3 00 0c 	stw     r31,12(r3)                             
ffc0ce0c:	93 e3 00 08 	stw     r31,8(r3)                              
    the_node->parent = (RBTree_Node *) the_rbtree;                    
ffc0ce10:	90 7f 00 00 	stw     r3,0(r31)                              
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
ffc0ce14:	93 bf 00 08 	stw     r29,8(r31)                             
ffc0ce18:	93 bf 00 04 	stw     r29,4(r31)                             
ffc0ce1c:	4b ff fd bc 	b       ffc0cbd8 <_RBTree_Insert_unprotected+0xf4>
                                                                      

ffc0ce5c <_RBTree_Iterate_unprotected>: const RBTree_Control *rbtree, RBTree_Direction dir, RBTree_Visitor visitor, void *visitor_arg ) {
ffc0ce5c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ce60:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
ffc0ce64:	7c 89 00 34 	cntlzw  r9,r4                                  
ffc0ce68:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
ffc0ce6c:	90 01 00 24 	stw     r0,36(r1)                              
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
ffc0ce70:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0ce74:	7c 63 4a 14 	add     r3,r3,r9                               
ffc0ce78:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0ce7c:	83 e3 00 08 	lwz     r31,8(r3)                              
ffc0ce80:	93 a1 00 14 	stw     r29,20(r1)                             
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
ffc0ce84:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  const RBTree_Control *rbtree,                                       
  RBTree_Direction dir,                                               
  RBTree_Visitor visitor,                                             
  void *visitor_arg                                                   
)                                                                     
{                                                                     
ffc0ce88:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ce8c:	7c bb 2b 78 	mr      r27,r5                                 
ffc0ce90:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ce94:	7c dc 33 78 	mr      r28,r6                                 
ffc0ce98:	93 c1 00 18 	stw     r30,24(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
ffc0ce9c:	7c 9e 23 78 	mr      r30,r4                                 
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
ffc0cea0:	41 9e 00 38 	beq-    cr7,ffc0ced8 <_RBTree_Iterate_unprotected+0x7c>
    stop = (*visitor)( current, dir, visitor_arg );                   
ffc0cea4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cea8:	7f 69 03 a6 	mtctr   r27                                    
ffc0ceac:	7f 85 e3 78 	mr      r5,r28                                 
ffc0ceb0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0ceb4:	4e 80 04 21 	bctrl                                          
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
ffc0ceb8:	7f c4 f3 78 	mr      r4,r30                                 
  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 );                   
ffc0cebc:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
ffc0cec0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cec4:	48 00 00 39 	bl      ffc0cefc <_RBTree_Next_unprotected>    
{                                                                     
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
ffc0cec8:	2f 1d 00 00 	cmpwi   cr6,r29,0                              
    stop = (*visitor)( current, dir, visitor_arg );                   
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
ffc0cecc:	7c 7f 1b 78 	mr      r31,r3                                 
{                                                                     
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
ffc0ced0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ced4:	41 9a ff cc 	beq+    cr6,ffc0cea0 <_RBTree_Iterate_unprotected+0x44><== ALWAYS TAKEN
    stop = (*visitor)( current, dir, visitor_arg );                   
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
  }                                                                   
}                                                                     
ffc0ced8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0cedc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0cee0:	7c 08 03 a6 	mtlr    r0                                     
ffc0cee4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0cee8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ceec:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0cef0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0cef4:	38 21 00 20 	addi    r1,r1,32                               
ffc0cef8:	4e 80 00 20 	blr                                            
                                                                      

ffc0ae30 <_RTEMS_signal_Post_switch_hook>: #include <rtems/score/thread.h> #include <rtems/score/apiext.h> #include <rtems/rtems/tasks.h> static void _RTEMS_signal_Post_switch_hook( Thread_Control *executing ) {
ffc0ae30:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ae34:	7c 08 02 a6 	mflr    r0                                     
ffc0ae38:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ae3c:	93 e1 00 1c 	stw     r31,28(r1)                             
  RTEMS_API_Control *api;                                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc0ae40:	83 e3 01 48 	lwz     r31,328(r3)                            
#include <rtems/score/thread.h>                                       
#include <rtems/score/apiext.h>                                       
#include <rtems/rtems/tasks.h>                                        
                                                                      
static void _RTEMS_signal_Post_switch_hook( Thread_Control *executing )
{                                                                     
ffc0ae44:	93 c1 00 18 	stw     r30,24(r1)                             
  ASR_Information   *asr;                                             
  rtems_signal_set   signal_set;                                      
  Modes_Control      prev_mode;                                       
                                                                      
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  if ( !api )                                                         
ffc0ae48:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ae4c:	41 9e 00 2c 	beq-    cr7,ffc0ae78 <_RTEMS_signal_Post_switch_hook+0x48><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0ae50:	7d 20 00 a6 	mfmsr   r9                                     
ffc0ae54:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0ae58:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc0ae5c:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
    asr->signals_posted = 0;                                          
ffc0ae60:	39 40 00 00 	li      r10,0                                  
   */                                                                 
                                                                      
  asr = &api->Signal;                                                 
                                                                      
  _ISR_Disable( level );                                              
    signal_set = asr->signals_posted;                                 
ffc0ae64:	83 df 00 14 	lwz     r30,20(r31)                            
    asr->signals_posted = 0;                                          
ffc0ae68:	91 5f 00 14 	stw     r10,20(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0ae6c:	7d 20 01 24 	mtmsr   r9                                     
  _ISR_Enable( level );                                               
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
ffc0ae70:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0ae74:	40 9e 00 1c 	bne-    cr7,ffc0ae90 <_RTEMS_signal_Post_switch_hook+0x60>
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
                                                                      
}                                                                     
ffc0ae78:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ae7c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ae80:	7c 08 03 a6 	mtlr    r0                                     
ffc0ae84:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ae88:	38 21 00 20 	addi    r1,r1,32                               
ffc0ae8c:	4e 80 00 20 	blr                                            
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0ae90:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0ae94:	38 80 00 00 	li      r4,0                                   
ffc0ae98:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0ae9c:	38 a1 00 08 	addi    r5,r1,8                                
                                                                      
                                                                      
  if ( !signal_set ) /* similar to _ASR_Are_signals_pending( asr ) */ 
    return;                                                           
                                                                      
  asr->nest_level += 1;                                               
ffc0aea0:	39 29 00 01 	addi    r9,r9,1                                
ffc0aea4:	91 3f 00 1c 	stw     r9,28(r31)                             
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
ffc0aea8:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0aeac:	48 00 05 69 	bl      ffc0b414 <rtems_task_mode>             
                                                                      
  (*asr->handler)( signal_set );                                      
ffc0aeb0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc0aeb4:	7f c3 f3 78 	mr      r3,r30                                 
ffc0aeb8:	7d 29 03 a6 	mtctr   r9                                     
ffc0aebc:	4e 80 04 21 	bctrl                                          
                                                                      
  asr->nest_level -= 1;                                               
ffc0aec0:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0aec4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0aec8:	38 80 00 00 	li      r4,0                                   
  asr->nest_level += 1;                                               
  rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode ); 
                                                                      
  (*asr->handler)( signal_set );                                      
                                                                      
  asr->nest_level -= 1;                                               
ffc0aecc:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0aed0:	91 3f 00 1c 	stw     r9,28(r31)                             
  rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );     
ffc0aed4:	38 a1 00 08 	addi    r5,r1,8                                
ffc0aed8:	60 84 ff ff 	ori     r4,r4,65535                            
ffc0aedc:	48 00 05 39 	bl      ffc0b414 <rtems_task_mode>             
                                                                      
}                                                                     
ffc0aee0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0aee4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0aee8:	7c 08 03 a6 	mtlr    r0                                     
ffc0aeec:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0aef0:	38 21 00 20 	addi    r1,r1,32                               
ffc0aef4:	4e 80 00 20 	blr                                            
                                                                      

ffc09fd8 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
ffc09fd8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc09fdc:	7c 08 02 a6 	mflr    r0                                     
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09fe0:	3d 20 00 00 	lis     r9,0                                   
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09fe4:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09fe8:	39 29 20 04 	addi    r9,r9,8196                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09fec:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
ffc09ff0:	83 e9 00 2c 	lwz     r31,44(r9)                             
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09ff4:	93 a1 00 1c 	stw     r29,28(r1)                             
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
ffc09ff8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _RTEMS_tasks_Initialize_user_tasks_body( void )                  
{                                                                     
ffc09ffc:	93 c1 00 20 	stw     r30,32(r1)                             
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
ffc0a000:	83 a9 00 28 	lwz     r29,40(r9)                             
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
ffc0a004:	41 9e 00 5c 	beq-    cr7,ffc0a060 <_RTEMS_tasks_Initialize_user_tasks_body+0x88>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc0a008:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc0a00c:	3b c0 00 00 	li      r30,0                                  
ffc0a010:	41 9e 00 50 	beq-    cr7,ffc0a060 <_RTEMS_tasks_Initialize_user_tasks_body+0x88><== NEVER TAKEN
    return_value = rtems_task_create(                                 
ffc0a014:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0a018:	39 01 00 08 	addi    r8,r1,8                                
ffc0a01c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0a020:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0a024:	80 df 00 14 	lwz     r6,20(r31)                             
ffc0a028:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc0a02c:	4b ff fc ed 	bl      ffc09d18 <rtems_task_create>           
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
ffc0a030:	7c 65 1b 79 	mr.     r5,r3                                  
ffc0a034:	40 82 00 48 	bne-    ffc0a07c <_RTEMS_tasks_Initialize_user_tasks_body+0xa4>
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
ffc0a038:	80 bf 00 18 	lwz     r5,24(r31)                             
ffc0a03c:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0a040:	80 9f 00 10 	lwz     r4,16(r31)                             
ffc0a044:	48 00 00 45 	bl      ffc0a088 <rtems_task_start>            
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
ffc0a048:	7c 65 1b 79 	mr.     r5,r3                                  
ffc0a04c:	40 82 00 30 	bne-    ffc0a07c <_RTEMS_tasks_Initialize_user_tasks_body+0xa4>
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
ffc0a050:	3b de 00 01 	addi    r30,r30,1                              
ffc0a054:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc0a058:	3b ff 00 1c 	addi    r31,r31,28                             
ffc0a05c:	40 9e ff b8 	bne+    cr7,ffc0a014 <_RTEMS_tasks_Initialize_user_tasks_body+0x3c><== NEVER TAKEN
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
  }                                                                   
}                                                                     
ffc0a060:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0a064:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0a068:	7c 08 03 a6 	mtlr    r0                                     
ffc0a06c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0a070:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0a074:	38 21 00 28 	addi    r1,r1,40                               
ffc0a078:	4e 80 00 20 	blr                                            
      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 );
ffc0a07c:	38 60 00 01 	li      r3,1                                   
ffc0a080:	38 80 00 01 	li      r4,1                                   
ffc0a084:	48 00 12 95 	bl      ffc0b318 <_Internal_error_Occurred>    
                                                                      

ffc0f948 <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
ffc0f948:	81 23 01 54 	lwz     r9,340(r3)                             
  while (tvp) {                                                       
ffc0f94c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f950:	41 9e 00 24 	beq-    cr7,ffc0f974 <_RTEMS_tasks_Switch_extension+0x2c>
    tvp->tval = *tvp->ptr;                                            
ffc0f954:	81 49 00 04 	lwz     r10,4(r9)                              
    *tvp->ptr = tvp->gval;                                            
ffc0f958:	81 09 00 08 	lwz     r8,8(r9)                               
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
ffc0f95c:	80 ea 00 00 	lwz     r7,0(r10)                              
ffc0f960:	90 e9 00 0c 	stw     r7,12(r9)                              
    *tvp->ptr = tvp->gval;                                            
ffc0f964:	91 0a 00 00 	stw     r8,0(r10)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc0f968:	81 29 00 00 	lwz     r9,0(r9)                               
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
ffc0f96c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f970:	40 9e ff e4 	bne+    cr7,ffc0f954 <_RTEMS_tasks_Switch_extension+0xc><== NEVER TAKEN
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
ffc0f974:	81 24 01 54 	lwz     r9,340(r4)                             
  while (tvp) {                                                       
ffc0f978:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f97c:	4d 9e 00 20 	beqlr   cr7                                    
    tvp->gval = *tvp->ptr;                                            
ffc0f980:	81 49 00 04 	lwz     r10,4(r9)                              
    *tvp->ptr = tvp->tval;                                            
ffc0f984:	81 09 00 0c 	lwz     r8,12(r9)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
ffc0f988:	80 ea 00 00 	lwz     r7,0(r10)                              
ffc0f98c:	90 e9 00 08 	stw     r7,8(r9)                               
    *tvp->ptr = tvp->tval;                                            
ffc0f990:	91 0a 00 00 	stw     r8,0(r10)                              
    tvp = (rtems_task_variable_t *)tvp->next;                         
ffc0f994:	81 29 00 00 	lwz     r9,0(r9)                               
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
ffc0f998:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f99c:	40 9e ff e4 	bne+    cr7,ffc0f980 <_RTEMS_tasks_Switch_extension+0x38><== NEVER TAKEN
ffc0f9a0:	4e 80 00 20 	blr                                            
                                                                      

ffc3e0e8 <_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 ) {
ffc3e0e8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc3e0ec:	7c 08 02 a6 	mflr    r0                                     
ffc3e0f0:	93 81 00 18 	stw     r28,24(r1)                             
ffc3e0f4:	7c 9c 23 78 	mr      r28,r4                                 
 */                                                                   
static inline void _TOD_Get_uptime(                                   
  Timestamp_Control *time                                             
)                                                                     
{                                                                     
  _TOD_Get_with_nanoseconds( time, &_TOD.uptime );                    
ffc3e0f8:	3c 80 00 00 	lis     r4,0                                   
ffc3e0fc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc3e100:	38 84 63 48 	addi    r4,r4,25416                            
ffc3e104:	93 c1 00 20 	stw     r30,32(r1)                             
ffc3e108:	7c 7e 1b 78 	mr      r30,r3                                 
ffc3e10c:	38 61 00 08 	addi    r3,r1,8                                
ffc3e110:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc3e114:	93 e1 00 24 	stw     r31,36(r1)                             
ffc3e118:	7c bf 2b 78 	mr      r31,r5                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    Timestamp_Control        uptime;                                  
  #endif                                                              
    Thread_Control          *owning_thread = the_period->owner;       
ffc3e11c:	83 be 00 40 	lwz     r29,64(r30)                            
ffc3e120:	4b fc c4 d9 	bl      ffc0a5f8 <_TOD_Get_with_nanoseconds>   
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
ffc3e124:	3c e0 00 00 	lis     r7,0                                   
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc3e128:	81 1e 00 50 	lwz     r8,80(r30)                             
ffc3e12c:	38 e7 65 60 	addi    r7,r7,25952                            
ffc3e130:	81 3e 00 54 	lwz     r9,84(r30)                             
ffc3e134:	81 47 00 10 	lwz     r10,16(r7)                             
  /*                                                                  
   *  Determine elapsed wall time since period initiated.             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
    _Timestamp_Subtract(                                              
ffc3e138:	81 61 00 0c 	lwz     r11,12(r1)                             
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
ffc3e13c:	7f 8a e8 00 	cmpw    cr7,r10,r29                            
  /*                                                                  
   *  Determine elapsed wall time since period initiated.             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
    _Timestamp_Subtract(                                              
ffc3e140:	81 41 00 08 	lwz     r10,8(r1)                              
ffc3e144:	7d 29 58 10 	subfc   r9,r9,r11                              
ffc3e148:	7d 08 51 10 	subfe   r8,r8,r10                              
ffc3e14c:	91 1c 00 00 	stw     r8,0(r28)                              
ffc3e150:	91 3c 00 04 	stw     r9,4(r28)                              
  #endif                                                              
                                                                      
  /*                                                                  
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
ffc3e154:	81 1d 00 80 	lwz     r8,128(r29)                            
ffc3e158:	81 3d 00 84 	lwz     r9,132(r29)                            
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
ffc3e15c:	41 9e 00 28 	beq-    cr7,ffc3e184 <_Rate_monotonic_Get_status+0x9c>
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
ffc3e160:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc3e164:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc3e168:	83 81 00 18 	lwz     r28,24(r1)                             
ffc3e16c:	7c 08 03 a6 	mtlr    r0                                     
ffc3e170:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc3e174:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc3e178:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc3e17c:	38 21 00 28 	addi    r1,r1,40                               
ffc3e180:	4e 80 00 20 	blr                                            
ffc3e184:	80 87 00 20 	lwz     r4,32(r7)                              
ffc3e188:	80 a7 00 24 	lwz     r5,36(r7)                              
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc3e18c:	80 de 00 48 	lwz     r6,72(r30)                             
ffc3e190:	7d 65 58 10 	subfc   r11,r5,r11                             
ffc3e194:	7d 44 51 10 	subfe   r10,r4,r10                             
ffc3e198:	80 fe 00 4c 	lwz     r7,76(r30)                             
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc3e19c:	7d 29 58 14 	addc    r9,r9,r11                              
ffc3e1a0:	7d 08 51 14 	adde    r8,r8,r10                              
                                                                      
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
ffc3e1a4:	7f 86 40 00 	cmpw    cr7,r6,r8                              
ffc3e1a8:	41 9d 00 44 	bgt-    cr7,ffc3e1ec <_Rate_monotonic_Get_status+0x104><== NEVER TAKEN
ffc3e1ac:	41 9e 00 38 	beq-    cr7,ffc3e1e4 <_Rate_monotonic_Get_status+0xfc>
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
}                                                                     
ffc3e1b0:	80 01 00 2c 	lwz     r0,44(r1)                              
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc3e1b4:	7d 27 48 10 	subfc   r9,r7,r9                               
ffc3e1b8:	7d 06 41 10 	subfe   r8,r6,r8                               
ffc3e1bc:	91 1f 00 00 	stw     r8,0(r31)                              
ffc3e1c0:	7c 08 03 a6 	mtlr    r0                                     
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
ffc3e1c4:	38 60 00 01 	li      r3,1                                   
ffc3e1c8:	91 3f 00 04 	stw     r9,4(r31)                              
}                                                                     
ffc3e1cc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc3e1d0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc3e1d4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc3e1d8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc3e1dc:	38 21 00 28 	addi    r1,r1,40                               
ffc3e1e0:	4e 80 00 20 	blr                                            
                                                                      
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
ffc3e1e4:	7f 87 48 40 	cmplw   cr7,r7,r9                              
ffc3e1e8:	40 9d ff c8 	ble+    cr7,ffc3e1b0 <_Rate_monotonic_Get_status+0xc8>
        return false;                                                 
ffc3e1ec:	38 60 00 00 	li      r3,0                                   
ffc3e1f0:	4b ff ff 74 	b       ffc3e164 <_Rate_monotonic_Get_status+0x7c>
                                                                      

ffc3e650 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
ffc3e650:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc3e654:	7c 08 02 a6 	mflr    r0                                     
ffc3e658:	7c 64 1b 78 	mr      r4,r3                                  
ffc3e65c:	3c 60 00 00 	lis     r3,0                                   
ffc3e660:	90 01 00 24 	stw     r0,36(r1)                              
ffc3e664:	38 63 67 e0 	addi    r3,r3,26592                            
ffc3e668:	38 a1 00 08 	addi    r5,r1,8                                
ffc3e66c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc3e670:	4b fc cb cd 	bl      ffc0b23c <_Objects_Get>                
  /*                                                                  
   *  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 ) {                                               
ffc3e674:	81 21 00 08 	lwz     r9,8(r1)                               
ffc3e678:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc3e67c:	40 9e 00 4c 	bne-    cr7,ffc3e6c8 <_Rate_monotonic_Timeout+0x78><== NEVER TAKEN
ffc3e680:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
ffc3e684:	80 63 00 40 	lwz     r3,64(r3)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_period (             
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_PERIOD);                   
ffc3e688:	81 23 00 10 	lwz     r9,16(r3)                              
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
ffc3e68c:	71 2a 40 00 	andi.   r10,r9,16384                           
ffc3e690:	41 82 00 14 	beq-    ffc3e6a4 <_Rate_monotonic_Timeout+0x54>
ffc3e694:	81 43 00 20 	lwz     r10,32(r3)                             
ffc3e698:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc3e69c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc3e6a0:	41 9e 00 68 	beq-    cr7,ffc3e708 <_Rate_monotonic_Timeout+0xb8>
        _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 ) {
ffc3e6a4:	81 3f 00 38 	lwz     r9,56(r31)                             
ffc3e6a8:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc3e6ac:	41 9e 00 30 	beq-    cr7,ffc3e6dc <_Rate_monotonic_Timeout+0x8c>
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
ffc3e6b0:	39 20 00 04 	li      r9,4                                   
ffc3e6b4:	91 3f 00 38 	stw     r9,56(r31)                             
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc3e6b8:	3d 20 00 00 	lis     r9,0                                   
ffc3e6bc:	81 49 34 80 	lwz     r10,13440(r9)                          
                                                                      
    --level;                                                          
ffc3e6c0:	39 4a ff ff 	addi    r10,r10,-1                             
    _Thread_Dispatch_disable_level = level;                           
ffc3e6c4:	91 49 34 80 	stw     r10,13440(r9)                          
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
}                                                                     
ffc3e6c8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc3e6cc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc3e6d0:	7c 08 03 a6 	mtlr    r0                                     
ffc3e6d4:	38 21 00 20 	addi    r1,r1,32                               
ffc3e6d8:	4e 80 00 20 	blr                                            
                                                                      
        _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;    
ffc3e6dc:	39 20 00 03 	li      r9,3                                   
ffc3e6e0:	91 3f 00 38 	stw     r9,56(r31)                             
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc3e6e4:	7f e3 fb 78 	mr      r3,r31                                 
ffc3e6e8:	4b ff fc 5d 	bl      ffc3e344 <_Rate_monotonic_Initiate_statistics>
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc3e6ec:	81 3f 00 3c 	lwz     r9,60(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e6f0:	3c 60 00 00 	lis     r3,0                                   
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc3e6f4:	91 3f 00 1c 	stw     r9,28(r31)                             
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e6f8:	38 63 64 88 	addi    r3,r3,25736                            
ffc3e6fc:	38 9f 00 10 	addi    r4,r31,16                              
ffc3e700:	4b fc ea d5 	bl      ffc0d1d4 <_Watchdog_Insert>            
ffc3e704:	4b ff ff b4 	b       ffc3e6b8 <_Rate_monotonic_Timeout+0x68>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
ffc3e708:	3c 80 10 07 	lis     r4,4103                                
ffc3e70c:	60 84 ff f8 	ori     r4,r4,65528                            
ffc3e710:	4b fc d6 31 	bl      ffc0bd40 <_Thread_Clear_state>         
ffc3e714:	4b ff ff d0 	b       ffc3e6e4 <_Rate_monotonic_Timeout+0x94>
                                                                      

ffc3e1f4 <_Rate_monotonic_Update_statistics>: } static void _Rate_monotonic_Update_statistics( Rate_monotonic_Control *the_period ) {
ffc3e1f4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc3e1f8:	7c 08 02 a6 	mflr    r0                                     
ffc3e1fc:	90 01 00 24 	stw     r0,36(r1)                              
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
ffc3e200:	81 43 00 38 	lwz     r10,56(r3)                             
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
ffc3e204:	81 23 00 58 	lwz     r9,88(r3)                              
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
ffc3e208:	2f 8a 00 04 	cmpwi   cr7,r10,4                              
}                                                                     
                                                                      
static void _Rate_monotonic_Update_statistics(                        
  Rate_monotonic_Control    *the_period                               
)                                                                     
{                                                                     
ffc3e20c:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
ffc3e210:	39 29 00 01 	addi    r9,r9,1                                
}                                                                     
                                                                      
static void _Rate_monotonic_Update_statistics(                        
  Rate_monotonic_Control    *the_period                               
)                                                                     
{                                                                     
ffc3e214:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
ffc3e218:	91 23 00 58 	stw     r9,88(r3)                              
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
ffc3e21c:	41 9e 00 cc 	beq-    cr7,ffc3e2e8 <_Rate_monotonic_Update_statistics+0xf4>
    stats->missed_count++;                                            
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
ffc3e220:	7f e3 fb 78 	mr      r3,r31                                 
ffc3e224:	38 81 00 08 	addi    r4,r1,8                                
ffc3e228:	38 a1 00 10 	addi    r5,r1,16                               
ffc3e22c:	4b ff fe bd 	bl      ffc3e0e8 <_Rate_monotonic_Get_status>  
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  if (!valid_status)                                                  
ffc3e230:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc3e234:	41 9e 00 8c 	beq-    cr7,ffc3e2c0 <_Rate_monotonic_Update_statistics+0xcc>
                                                                      
  /*                                                                  
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
ffc3e238:	81 41 00 10 	lwz     r10,16(r1)                             
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
ffc3e23c:	80 ff 00 60 	lwz     r7,96(r31)                             
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc3e240:	81 1f 00 70 	lwz     r8,112(r31)                            
ffc3e244:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc3e248:	81 3f 00 74 	lwz     r9,116(r31)                            
                                                                      
  /*                                                                  
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
ffc3e24c:	81 61 00 14 	lwz     r11,20(r1)                             
ffc3e250:	7d 29 58 14 	addc    r9,r9,r11                              
ffc3e254:	7d 08 51 14 	adde    r8,r8,r10                              
ffc3e258:	91 1f 00 70 	stw     r8,112(r31)                            
ffc3e25c:	91 3f 00 74 	stw     r9,116(r31)                            
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
ffc3e260:	40 9d 00 74 	ble-    cr7,ffc3e2d4 <_Rate_monotonic_Update_statistics+0xe0>
      stats->min_cpu_time = executed;                                 
ffc3e264:	91 5f 00 60 	stw     r10,96(r31)                            
ffc3e268:	91 7f 00 64 	stw     r11,100(r31)                           
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
ffc3e26c:	81 3f 00 68 	lwz     r9,104(r31)                            
ffc3e270:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc3e274:	41 9c 00 c4 	blt-    cr7,ffc3e338 <_Rate_monotonic_Update_statistics+0x144><== NEVER TAKEN
ffc3e278:	41 9e 00 b4 	beq-    cr7,ffc3e32c <_Rate_monotonic_Update_statistics+0x138><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
ffc3e27c:	81 41 00 08 	lwz     r10,8(r1)                              
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
ffc3e280:	80 ff 00 78 	lwz     r7,120(r31)                            
ffc3e284:	81 1f 00 88 	lwz     r8,136(r31)                            
ffc3e288:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc3e28c:	81 3f 00 8c 	lwz     r9,140(r31)                            
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
ffc3e290:	81 61 00 0c 	lwz     r11,12(r1)                             
ffc3e294:	7d 29 58 14 	addc    r9,r9,r11                              
ffc3e298:	7d 08 51 14 	adde    r8,r8,r10                              
ffc3e29c:	91 1f 00 88 	stw     r8,136(r31)                            
ffc3e2a0:	91 3f 00 8c 	stw     r9,140(r31)                            
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
ffc3e2a4:	41 9d 00 60 	bgt-    cr7,ffc3e304 <_Rate_monotonic_Update_statistics+0x110>
ffc3e2a8:	41 9e 00 50 	beq-    cr7,ffc3e2f8 <_Rate_monotonic_Update_statistics+0x104><== ALWAYS TAKEN
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
ffc3e2ac:	81 3f 00 80 	lwz     r9,128(r31)                            
ffc3e2b0:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc3e2b4:	40 9c 00 64 	bge-    cr7,ffc3e318 <_Rate_monotonic_Update_statistics+0x124><== ALWAYS TAKEN
      stats->max_wall_time = since_last_period;                       
ffc3e2b8:	91 5f 00 80 	stw     r10,128(r31)                           
ffc3e2bc:	91 7f 00 84 	stw     r11,132(r31)                           
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( since_last_period > stats->max_wall_time )                   
      stats->max_wall_time = since_last_period;                       
  #endif                                                              
}                                                                     
ffc3e2c0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc3e2c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc3e2c8:	7c 08 03 a6 	mtlr    r0                                     
ffc3e2cc:	38 21 00 20 	addi    r1,r1,32                               
ffc3e2d0:	4e 80 00 20 	blr                                            
   *  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 ) )    
ffc3e2d4:	40 be ff 98 	bne-    cr7,ffc3e26c <_Rate_monotonic_Update_statistics+0x78><== NEVER TAKEN
ffc3e2d8:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc3e2dc:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc3e2e0:	40 bd ff 8c 	ble-    cr7,ffc3e26c <_Rate_monotonic_Update_statistics+0x78>
ffc3e2e4:	4b ff ff 80 	b       ffc3e264 <_Rate_monotonic_Update_statistics+0x70>
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
    stats->missed_count++;                                            
ffc3e2e8:	81 23 00 5c 	lwz     r9,92(r3)                              
ffc3e2ec:	39 29 00 01 	addi    r9,r9,1                                
ffc3e2f0:	91 23 00 5c 	stw     r9,92(r3)                              
ffc3e2f4:	4b ff ff 2c 	b       ffc3e220 <_Rate_monotonic_Update_statistics+0x2c>
   *  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 ) )
ffc3e2f8:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc3e2fc:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc3e300:	40 bd ff ac 	ble-    cr7,ffc3e2ac <_Rate_monotonic_Update_statistics+0xb8>
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
ffc3e304:	81 3f 00 80 	lwz     r9,128(r31)                            
   */                                                                 
  #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 ) )
      stats->min_wall_time = since_last_period;                       
ffc3e308:	91 5f 00 78 	stw     r10,120(r31)                           
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
ffc3e30c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
   */                                                                 
  #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 ) )
      stats->min_wall_time = since_last_period;                       
ffc3e310:	91 7f 00 7c 	stw     r11,124(r31)                           
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
ffc3e314:	41 9c ff a4 	blt+    cr7,ffc3e2b8 <_Rate_monotonic_Update_statistics+0xc4><== NEVER TAKEN
ffc3e318:	40 be ff a8 	bne-    cr7,ffc3e2c0 <_Rate_monotonic_Update_statistics+0xcc>
ffc3e31c:	81 3f 00 84 	lwz     r9,132(r31)                            
ffc3e320:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc3e324:	41 9c ff 94 	blt+    cr7,ffc3e2b8 <_Rate_monotonic_Update_statistics+0xc4>
ffc3e328:	4b ff ff 98 	b       ffc3e2c0 <_Rate_monotonic_Update_statistics+0xcc>
    _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 ) ) 
ffc3e32c:	81 3f 00 6c 	lwz     r9,108(r31)                            
ffc3e330:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc3e334:	40 bc ff 48 	bge-    cr7,ffc3e27c <_Rate_monotonic_Update_statistics+0x88>
      stats->max_cpu_time = executed;                                 
ffc3e338:	91 5f 00 68 	stw     r10,104(r31)                           
ffc3e33c:	91 7f 00 6c 	stw     r11,108(r31)                           
ffc3e340:	4b ff ff 3c 	b       ffc3e27c <_Rate_monotonic_Update_statistics+0x88>
                                                                      

ffc0c8d8 <_Scheduler_CBS_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_CBS_Allocate( Thread_Control *the_thread ) {
ffc0c8d8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c8dc:	7c 08 02 a6 	mflr    r0                                     
ffc0c8e0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c8e4:	7c 7f 1b 78 	mr      r31,r3                                 
  void *sched;                                                        
  Scheduler_CBS_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread));      
ffc0c8e8:	38 60 00 1c 	li      r3,28                                  
#include <rtems/score/wkspace.h>                                      
                                                                      
void *_Scheduler_CBS_Allocate(                                        
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0c8ec:	90 01 00 14 	stw     r0,20(r1)                              
  void *sched;                                                        
  Scheduler_CBS_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread));      
ffc0c8f0:	48 00 22 3d 	bl      ffc0eb2c <_Workspace_Allocate>         
  if ( sched ) {                                                      
ffc0c8f4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0c8f8:	41 82 00 1c 	beq-    ffc0c914 <_Scheduler_CBS_Allocate+0x3c><== NEVER TAKEN
    the_thread->scheduler_info = sched;                               
    schinfo = (Scheduler_CBS_Per_thread *)(the_thread->scheduler_info);
    schinfo->edf_per_thread.thread = the_thread;                      
    schinfo->edf_per_thread.queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;
ffc0c8fc:	39 40 00 02 	li      r10,2                                  
  void *sched;                                                        
  Scheduler_CBS_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread));      
  if ( sched ) {                                                      
    the_thread->scheduler_info = sched;                               
ffc0c900:	90 7f 00 88 	stw     r3,136(r31)                            
    schinfo = (Scheduler_CBS_Per_thread *)(the_thread->scheduler_info);
    schinfo->edf_per_thread.thread = the_thread;                      
    schinfo->edf_per_thread.queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;
ffc0c904:	91 43 00 14 	stw     r10,20(r3)                             
    schinfo->cbs_server = NULL;                                       
ffc0c908:	39 40 00 00 	li      r10,0                                  
                                                                      
  sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread));      
  if ( sched ) {                                                      
    the_thread->scheduler_info = sched;                               
    schinfo = (Scheduler_CBS_Per_thread *)(the_thread->scheduler_info);
    schinfo->edf_per_thread.thread = the_thread;                      
ffc0c90c:	93 e3 00 00 	stw     r31,0(r3)                              
    schinfo->edf_per_thread.queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;
    schinfo->cbs_server = NULL;                                       
ffc0c910:	91 43 00 18 	stw     r10,24(r3)                             
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
ffc0c914:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c918:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c91c:	7c 08 03 a6 	mtlr    r0                                     
ffc0c920:	38 21 00 10 	addi    r1,r1,16                               
ffc0c924:	4e 80 00 20 	blr                                            
                                                                      

ffc0e340 <_Scheduler_CBS_Budget_callout>: Scheduler_CBS_Server **_Scheduler_CBS_Server_list; void _Scheduler_CBS_Budget_callout( Thread_Control *the_thread ) {
ffc0e340:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0e344:	7c 08 02 a6 	mflr    r0                                     
ffc0e348:	90 01 00 24 	stw     r0,36(r1)                              
  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;                  
ffc0e34c:	80 83 00 ac 	lwz     r4,172(r3)                             
  if ( the_thread->real_priority != new_priority )                    
ffc0e350:	81 23 00 18 	lwz     r9,24(r3)                              
Scheduler_CBS_Server **_Scheduler_CBS_Server_list;                    
                                                                      
void _Scheduler_CBS_Budget_callout(                                   
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc0e354:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0e358:	7c 7f 1b 78 	mr      r31,r3                                 
  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;                  
  if ( the_thread->real_priority != new_priority )                    
ffc0e35c:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc0e360:	41 9e 00 08 	beq-    cr7,ffc0e368 <_Scheduler_CBS_Budget_callout+0x28><== NEVER TAKEN
    the_thread->real_priority = new_priority;                         
ffc0e364:	90 83 00 18 	stw     r4,24(r3)                              
  if ( the_thread->current_priority != new_priority )                 
ffc0e368:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0e36c:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc0e370:	41 9e 00 10 	beq-    cr7,ffc0e380 <_Scheduler_CBS_Budget_callout+0x40><== NEVER TAKEN
    _Thread_Change_priority(the_thread, new_priority, true);          
ffc0e374:	7f e3 fb 78 	mr      r3,r31                                 
ffc0e378:	38 a0 00 01 	li      r5,1                                   
ffc0e37c:	48 00 06 fd 	bl      ffc0ea78 <_Thread_Change_priority>     
                                                                      
  /* Invoke callback function if any. */                              
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
ffc0e380:	83 ff 00 88 	lwz     r31,136(r31)                           
  if ( sched_info->cbs_server->cbs_budget_overrun ) {                 
ffc0e384:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc0e388:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc0e38c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0e390:	41 9e 00 24 	beq-    cr7,ffc0e3b4 <_Scheduler_CBS_Budget_callout+0x74><== NEVER TAKEN
    _Scheduler_CBS_Get_server_id(                                     
ffc0e394:	80 69 00 00 	lwz     r3,0(r9)                               
ffc0e398:	38 81 00 08 	addi    r4,r1,8                                
ffc0e39c:	4b ff ff 4d 	bl      ffc0e2e8 <_Scheduler_CBS_Get_server_id>
        sched_info->cbs_server->task_id,                              
        &server_id                                                    
    );                                                                
    sched_info->cbs_server->cbs_budget_overrun( server_id );          
ffc0e3a0:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc0e3a4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0e3a8:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc0e3ac:	7d 29 03 a6 	mtctr   r9                                     
ffc0e3b0:	4e 80 04 21 	bctrl                                          
  }                                                                   
}                                                                     
ffc0e3b4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0e3b8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0e3bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0e3c0:	38 21 00 20 	addi    r1,r1,32                               
ffc0e3c4:	4e 80 00 20 	blr                                            
                                                                      

ffc0dcfc <_Scheduler_CBS_Cleanup>: #include <rtems/config.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulercbs.h> int _Scheduler_CBS_Cleanup (void) {
ffc0dcfc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0dd00:	7c 08 02 a6 	mflr    r0                                     
ffc0dd04:	93 c1 00 10 	stw     r30,16(r1)                             
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0dd08:	3f c0 00 00 	lis     r30,0                                  
ffc0dd0c:	81 3e 27 94 	lwz     r9,10132(r30)                          
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Cleanup (void)                                     
{                                                                     
ffc0dd10:	90 01 00 1c 	stw     r0,28(r1)                              
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0dd14:	2f 89 00 00 	cmpwi   cr7,r9,0                               
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Cleanup (void)                                     
{                                                                     
ffc0dd18:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0dd1c:	93 e1 00 14 	stw     r31,20(r1)                             
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0dd20:	41 9e 00 68 	beq-    cr7,ffc0dd88 <_Scheduler_CBS_Cleanup+0x8c><== NEVER TAKEN
ffc0dd24:	3f a0 00 00 	lis     r29,0                                  
ffc0dd28:	81 5d 28 b0 	lwz     r10,10416(r29)                         
ffc0dd2c:	3b e0 00 00 	li      r31,0                                  
ffc0dd30:	3b de 27 94 	addi    r30,r30,10132                          
    if ( _Scheduler_CBS_Server_list[ i ] )                            
ffc0dd34:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          
ffc0dd38:	7d 2a 48 2e 	lwzx    r9,r10,r9                              
      _Scheduler_CBS_Destroy_server( i );                             
ffc0dd3c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
int _Scheduler_CBS_Cleanup (void)                                     
{                                                                     
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0dd40:	3b ff 00 01 	addi    r31,r31,1                              
    if ( _Scheduler_CBS_Server_list[ i ] )                            
ffc0dd44:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dd48:	41 9e 00 0c 	beq-    cr7,ffc0dd54 <_Scheduler_CBS_Cleanup+0x58>
      _Scheduler_CBS_Destroy_server( i );                             
ffc0dd4c:	48 00 01 95 	bl      ffc0dee0 <_Scheduler_CBS_Destroy_server>
ffc0dd50:	81 5d 28 b0 	lwz     r10,10416(r29)                         
                                                                      
int _Scheduler_CBS_Cleanup (void)                                     
{                                                                     
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0dd54:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0dd58:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc0dd5c:	41 9d ff d8 	bgt+    cr7,ffc0dd34 <_Scheduler_CBS_Cleanup+0x38>
    if ( _Scheduler_CBS_Server_list[ i ] )                            
      _Scheduler_CBS_Destroy_server( i );                             
  }                                                                   
  _Workspace_Free( _Scheduler_CBS_Server_list );                      
ffc0dd60:	7d 43 53 78 	mr      r3,r10                                 
ffc0dd64:	48 00 28 55 	bl      ffc105b8 <_Workspace_Free>             
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0dd68:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0dd6c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0dd70:	38 60 00 00 	li      r3,0                                   
ffc0dd74:	7c 08 03 a6 	mtlr    r0                                     
ffc0dd78:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0dd7c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0dd80:	38 21 00 18 	addi    r1,r1,24                               
ffc0dd84:	4e 80 00 20 	blr                                            
ffc0dd88:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc0dd8c:	81 49 28 b0 	lwz     r10,10416(r9)                          <== NOT EXECUTED
ffc0dd90:	4b ff ff d0 	b       ffc0dd60 <_Scheduler_CBS_Cleanup+0x64> <== NOT EXECUTED
                                                                      

ffc0dd94 <_Scheduler_CBS_Create_server>: int _Scheduler_CBS_Create_server ( Scheduler_CBS_Parameters *params, Scheduler_CBS_Budget_overrun budget_overrun_callback, rtems_id *server_id ) {
ffc0dd94:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0dd98:	7c 08 02 a6 	mflr    r0                                     
ffc0dd9c:	90 01 00 24 	stw     r0,36(r1)                              
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
ffc0dda0:	81 23 00 04 	lwz     r9,4(r3)                               
int _Scheduler_CBS_Create_server (                                    
  Scheduler_CBS_Parameters     *params,                               
  Scheduler_CBS_Budget_overrun  budget_overrun_callback,              
  rtems_id                     *server_id                             
)                                                                     
{                                                                     
ffc0dda4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0dda8:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
ffc0ddac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
int _Scheduler_CBS_Create_server (                                    
  Scheduler_CBS_Parameters     *params,                               
  Scheduler_CBS_Budget_overrun  budget_overrun_callback,              
  rtems_id                     *server_id                             
)                                                                     
{                                                                     
ffc0ddb0:	93 41 00 08 	stw     r26,8(r1)                              
ffc0ddb4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ddb8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ddbc:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ddc0:	93 c1 00 18 	stw     r30,24(r1)                             
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
ffc0ddc4:	40 9d 01 0c 	ble-    cr7,ffc0ded0 <_Scheduler_CBS_Create_server+0x13c>
ffc0ddc8:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0ddcc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ddd0:	40 9d 01 00 	ble-    cr7,ffc0ded0 <_Scheduler_CBS_Create_server+0x13c>
       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++ ) {              
ffc0ddd4:	3d 20 00 00 	lis     r9,0                                   
ffc0ddd8:	81 09 27 94 	lwz     r8,10132(r9)                           
ffc0dddc:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0dde0:	41 9e 00 44 	beq-    cr7,ffc0de24 <_Scheduler_CBS_Create_server+0x90><== NEVER TAKEN
    if ( !_Scheduler_CBS_Server_list[i] )                             
ffc0dde4:	3f 80 00 00 	lis     r28,0                                  
ffc0dde8:	83 dc 28 b0 	lwz     r30,10416(r28)                         
ffc0ddec:	7c 9b 23 78 	mr      r27,r4                                 
ffc0ddf0:	7c bd 2b 78 	mr      r29,r5                                 
ffc0ddf4:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc0ddf8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ddfc:	41 9e 00 c8 	beq-    cr7,ffc0dec4 <_Scheduler_CBS_Create_server+0x130>
ffc0de00:	7f ca f3 78 	mr      r10,r30                                
ffc0de04:	7d 09 03 a6 	mtctr   r8                                     
ffc0de08:	39 20 00 00 	li      r9,0                                   
ffc0de0c:	48 00 00 10 	b       ffc0de1c <_Scheduler_CBS_Create_server+0x88>
ffc0de10:	85 0a 00 04 	lwzu    r8,4(r10)                              
ffc0de14:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0de18:	41 9e 00 38 	beq-    cr7,ffc0de50 <_Scheduler_CBS_Create_server+0xbc>
       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++ ) {              
ffc0de1c:	39 29 00 01 	addi    r9,r9,1                                
ffc0de20:	42 00 ff f0 	bdnz+   ffc0de10 <_Scheduler_CBS_Create_server+0x7c>
    if ( !_Scheduler_CBS_Server_list[i] )                             
      break;                                                          
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
ffc0de24:	38 60 ff e6 	li      r3,-26                                 
                                                                      
  the_server->parameters = *params;                                   
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0de28:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0de2c:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0de30:	7c 08 03 a6 	mtlr    r0                                     
ffc0de34:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0de38:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0de3c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0de40:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0de44:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0de48:	38 21 00 20 	addi    r1,r1,32                               
ffc0de4c:	4e 80 00 20 	blr                                            
ffc0de50:	55 3a 10 3a 	rlwinm  r26,r9,2,0,29                          
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
ffc0de54:	91 3d 00 00 	stw     r9,0(r29)                              
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
ffc0de58:	38 60 00 10 	li      r3,16                                  
ffc0de5c:	48 00 27 45 	bl      ffc105a0 <_Workspace_Allocate>         
  the_server = _Scheduler_CBS_Server_list[*server_id];                
ffc0de60:	81 3d 00 00 	lwz     r9,0(r29)                              
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
                                                                      
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
ffc0de64:	7c 7e d1 2e 	stwx    r3,r30,r26                             
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
ffc0de68:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0de6c:	81 5c 28 b0 	lwz     r10,10416(r28)                         
ffc0de70:	7d 2a 48 2e 	lwzx    r9,r10,r9                              
  if ( !the_server )                                                  
ffc0de74:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0de78:	41 9e 00 60 	beq-    cr7,ffc0ded8 <_Scheduler_CBS_Create_server+0x144><== NEVER TAKEN
                                                                      
  the_server->parameters = *params;                                   
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0de7c:	80 01 00 24 	lwz     r0,36(r1)                              
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
ffc0de80:	38 60 00 00 	li      r3,0                                   
    _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;                                   
ffc0de84:	81 5f 00 00 	lwz     r10,0(r31)                             
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0de88:	7c 08 03 a6 	mtlr    r0                                     
    _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;                                   
ffc0de8c:	81 7f 00 04 	lwz     r11,4(r31)                             
ffc0de90:	91 49 00 04 	stw     r10,4(r9)                              
  the_server->task_id = -1;                                           
ffc0de94:	39 40 ff ff 	li      r10,-1                                 
  the_server->cbs_budget_overrun = budget_overrun_callback;           
ffc0de98:	93 69 00 0c 	stw     r27,12(r9)                             
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0de9c:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0dea0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0dea4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0dea8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0deac:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0deb0:	83 e1 00 1c 	lwz     r31,28(r1)                             
    _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;                                   
ffc0deb4:	91 69 00 08 	stw     r11,8(r9)                              
  the_server->task_id = -1;                                           
ffc0deb8:	91 49 00 00 	stw     r10,0(r9)                              
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0debc:	38 21 00 20 	addi    r1,r1,32                               
ffc0dec0:	4e 80 00 20 	blr                                            
       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] )                             
ffc0dec4:	3b 40 00 00 	li      r26,0                                  
ffc0dec8:	39 20 00 00 	li      r9,0                                   
ffc0decc:	4b ff ff 88 	b       ffc0de54 <_Scheduler_CBS_Create_server+0xc0>
                                                                      
  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;                     
ffc0ded0:	38 60 ff ee 	li      r3,-18                                 
ffc0ded4:	4b ff ff 54 	b       ffc0de28 <_Scheduler_CBS_Create_server+0x94>
  *server_id = i;                                                     
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
  if ( !the_server )                                                  
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
ffc0ded8:	38 60 ff ef 	li      r3,-17                                 <== NOT EXECUTED
ffc0dedc:	4b ff ff 4c 	b       ffc0de28 <_Scheduler_CBS_Create_server+0x94><== NOT EXECUTED
                                                                      

ffc0df84 <_Scheduler_CBS_Detach_thread>: int _Scheduler_CBS_Detach_thread ( Scheduler_CBS_Server_id server_id, rtems_id task_id ) {
ffc0df84:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0df88:	7c 08 02 a6 	mflr    r0                                     
ffc0df8c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0df90:	7c 9e 23 78 	mr      r30,r4                                 
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
  Scheduler_CBS_Per_thread *sched_info;                               
                                                                      
  the_thread = _Thread_Get(task_id, &location);                       
ffc0df94:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
int _Scheduler_CBS_Detach_thread (                                    
  Scheduler_CBS_Server_id server_id,                                  
  rtems_id                task_id                                     
)                                                                     
{                                                                     
ffc0df98:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0df9c:	7c 7d 1b 78 	mr      r29,r3                                 
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
  Scheduler_CBS_Per_thread *sched_info;                               
                                                                      
  the_thread = _Thread_Get(task_id, &location);                       
ffc0dfa0:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
int _Scheduler_CBS_Detach_thread (                                    
  Scheduler_CBS_Server_id server_id,                                  
  rtems_id                task_id                                     
)                                                                     
{                                                                     
ffc0dfa4:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0dfa8:	90 01 00 2c 	stw     r0,44(r1)                              
  Objects_Locations location;                                         
  Thread_Control *the_thread;                                         
  Scheduler_CBS_Per_thread *sched_info;                               
                                                                      
  the_thread = _Thread_Get(task_id, &location);                       
ffc0dfac:	48 00 11 75 	bl      ffc0f120 <_Thread_Get>                 
  /* The routine _Thread_Get may disable dispatch and not enable again. */
  if ( the_thread ) {                                                 
ffc0dfb0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0dfb4:	41 82 00 88 	beq-    ffc0e03c <_Scheduler_CBS_Detach_thread+0xb8>
    _Thread_Enable_dispatch();                                        
ffc0dfb8:	48 00 11 4d 	bl      ffc0f104 <_Thread_Enable_dispatch>     
  }                                                                   
                                                                      
  if ( server_id >= _Scheduler_CBS_Maximum_servers )                  
ffc0dfbc:	3d 20 00 00 	lis     r9,0                                   
ffc0dfc0:	81 29 27 94 	lwz     r9,10132(r9)                           
ffc0dfc4:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc0dfc8:	40 9c 00 74 	bge-    cr7,ffc0e03c <_Scheduler_CBS_Detach_thread+0xb8>
    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] )                       
ffc0dfcc:	3d 20 00 00 	lis     r9,0                                   
ffc0dfd0:	81 29 28 b0 	lwz     r9,10416(r9)                           
ffc0dfd4:	57 bd 10 3a 	rlwinm  r29,r29,2,0,29                         
ffc0dfd8:	7d 29 e8 2e 	lwzx    r9,r9,r29                              
ffc0dfdc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dfe0:	41 9e 00 7c 	beq-    cr7,ffc0e05c <_Scheduler_CBS_Detach_thread+0xd8>
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  /* Thread and server are not attached. */                           
  if ( _Scheduler_CBS_Server_list[server_id]->task_id != task_id )    
ffc0dfe4:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0dfe8:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc0dfec:	40 9e 00 50 	bne-    cr7,ffc0e03c <_Scheduler_CBS_Detach_thread+0xb8><== NEVER TAKEN
                                                                      
  _Scheduler_CBS_Server_list[server_id]->task_id = -1;                
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
ffc0dff0:	80 df 00 a0 	lwz     r6,160(r31)                            
    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;                
ffc0dff4:	38 a0 ff ff 	li      r5,-1                                  
  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;    
ffc0dff8:	80 ff 00 a4 	lwz     r7,164(r31)                            
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
                                                                      
  return SCHEDULER_CBS_OK;                                            
ffc0dffc:	38 60 00 00 	li      r3,0                                   
  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;    
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
ffc0e000:	89 1f 00 9c 	lbz     r8,156(r31)                            
  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;                                      
ffc0e004:	81 5f 00 88 	lwz     r10,136(r31)                           
    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;                
ffc0e008:	90 a9 00 00 	stw     r5,0(r9)                               
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
ffc0e00c:	39 20 00 00 	li      r9,0                                   
ffc0e010:	91 2a 00 18 	stw     r9,24(r10)                             
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
ffc0e014:	90 df 00 78 	stw     r6,120(r31)                            
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
ffc0e018:	90 ff 00 7c 	stw     r7,124(r31)                            
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
ffc0e01c:	99 1f 00 70 	stb     r8,112(r31)                            
                                                                      
  return SCHEDULER_CBS_OK;                                            
}                                                                     
ffc0e020:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0e024:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e028:	7c 08 03 a6 	mtlr    r0                                     
ffc0e02c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e030:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e034:	38 21 00 28 	addi    r1,r1,40                               
ffc0e038:	4e 80 00 20 	blr                                            
ffc0e03c:	80 01 00 2c 	lwz     r0,44(r1)                              
  if ( the_thread ) {                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
                                                                      
  if ( server_id >= _Scheduler_CBS_Maximum_servers )                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
ffc0e040:	38 60 ff ee 	li      r3,-18                                 
  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;                                            
}                                                                     
ffc0e044:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e048:	7c 08 03 a6 	mtlr    r0                                     
ffc0e04c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e050:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e054:	38 21 00 28 	addi    r1,r1,40                               
ffc0e058:	4e 80 00 20 	blr                                            
    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] )                       
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
ffc0e05c:	38 60 ff e7 	li      r3,-25                                 
ffc0e060:	4b ff ff c0 	b       ffc0e020 <_Scheduler_CBS_Detach_thread+0x9c>
                                                                      

ffc0e2e8 <_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++ ) {
ffc0e2e8:	3d 20 00 00 	lis     r9,0                                   
ffc0e2ec:	81 29 27 94 	lwz     r9,10132(r9)                           
ffc0e2f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e2f4:	41 9e 00 38 	beq-    cr7,ffc0e32c <_Scheduler_CBS_Get_server_id+0x44><== NEVER TAKEN
#include <rtems/system.h>                                             
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Get_server_id (                                    
ffc0e2f8:	3d 40 00 00 	lis     r10,0                                  
  rtems_id                 task_id,                                   
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0e2fc:	7d 29 03 a6 	mtctr   r9                                     
#include <rtems/system.h>                                             
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Get_server_id (                                    
ffc0e300:	81 4a 28 b0 	lwz     r10,10416(r10)                         
  rtems_id                 task_id,                                   
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0e304:	39 00 00 00 	li      r8,0                                   
#include <rtems/system.h>                                             
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Get_server_id (                                    
ffc0e308:	39 4a ff fc 	addi    r10,r10,-4                             
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
    if ( _Scheduler_CBS_Server_list[i] &&                             
ffc0e30c:	85 2a 00 04 	lwzu    r9,4(r10)                              
ffc0e310:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e314:	41 9e 00 10 	beq-    cr7,ffc0e324 <_Scheduler_CBS_Get_server_id+0x3c>
ffc0e318:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0e31c:	7f 89 18 00 	cmpw    cr7,r9,r3                              
ffc0e320:	41 9e 00 14 	beq-    cr7,ffc0e334 <_Scheduler_CBS_Get_server_id+0x4c>
  rtems_id                 task_id,                                   
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
ffc0e324:	39 08 00 01 	addi    r8,r8,1                                
ffc0e328:	42 00 ff e4 	bdnz+   ffc0e30c <_Scheduler_CBS_Get_server_id+0x24>
         _Scheduler_CBS_Server_list[i]->task_id == task_id ) {        
      *server_id = i;                                                 
      return SCHEDULER_CBS_OK;                                        
    }                                                                 
  }                                                                   
  return SCHEDULER_CBS_ERROR_NOSERVER;                                
ffc0e32c:	38 60 ff e7 	li      r3,-25                                 
}                                                                     
ffc0e330:	4e 80 00 20 	blr                                            
{                                                                     
  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;                                                 
ffc0e334:	91 04 00 00 	stw     r8,0(r4)                               
      return SCHEDULER_CBS_OK;                                        
ffc0e338:	38 60 00 00 	li      r3,0                                   
ffc0e33c:	4e 80 00 20 	blr                                            
                                                                      

ffc0e3c8 <_Scheduler_CBS_Initialize>: int _Scheduler_CBS_Initialize(void) {
ffc0e3c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0e3cc:	7c 08 02 a6 	mflr    r0                                     
ffc0e3d0:	93 e1 00 0c 	stw     r31,12(r1)                             
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
ffc0e3d4:	3f e0 00 00 	lis     r31,0                                  
ffc0e3d8:	80 7f 27 94 	lwz     r3,10132(r31)                          
    sched_info->cbs_server->cbs_budget_overrun( server_id );          
  }                                                                   
}                                                                     
                                                                      
int _Scheduler_CBS_Initialize(void)                                   
{                                                                     
ffc0e3dc:	90 01 00 14 	stw     r0,20(r1)                              
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
ffc0e3e0:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0e3e4:	48 00 21 bd 	bl      ffc105a0 <_Workspace_Allocate>         
ffc0e3e8:	3d 00 00 00 	lis     r8,0                                   
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
ffc0e3ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
}                                                                     
                                                                      
int _Scheduler_CBS_Initialize(void)                                   
{                                                                     
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
ffc0e3f0:	90 68 28 b0 	stw     r3,10416(r8)                           
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
ffc0e3f4:	41 9e 00 4c 	beq-    cr7,ffc0e440 <_Scheduler_CBS_Initialize+0x78><== NEVER TAKEN
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
ffc0e3f8:	81 5f 27 94 	lwz     r10,10132(r31)                         
ffc0e3fc:	39 20 00 00 	li      r9,0                                   
    _Scheduler_CBS_Server_list[i] = NULL;                             
ffc0e400:	38 e0 00 00 	li      r7,0                                   
  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++) {                
ffc0e404:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    _Scheduler_CBS_Server_list[i] = NULL;                             
ffc0e408:	7d 49 03 a6 	mtctr   r10                                    
  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++) {                
ffc0e40c:	40 be 00 0c 	bne+    cr7,ffc0e418 <_Scheduler_CBS_Initialize+0x50><== ALWAYS TAKEN
ffc0e410:	48 00 00 18 	b       ffc0e428 <_Scheduler_CBS_Initialize+0x60><== NOT EXECUTED
ffc0e414:	80 68 28 b0 	lwz     r3,10416(r8)                           
    _Scheduler_CBS_Server_list[i] = NULL;                             
ffc0e418:	55 2a 10 3a 	rlwinm  r10,r9,2,0,29                          
ffc0e41c:	7c e3 51 2e 	stwx    r7,r3,r10                              
  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++) {                
ffc0e420:	39 29 00 01 	addi    r9,r9,1                                
ffc0e424:	42 00 ff f0 	bdnz+   ffc0e414 <_Scheduler_CBS_Initialize+0x4c>
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
ffc0e428:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e42c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0e430:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0e434:	7c 08 03 a6 	mtlr    r0                                     
ffc0e438:	38 21 00 10 	addi    r1,r1,16                               
ffc0e43c:	4e 80 00 20 	blr                                            
{                                                                     
  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;                             
ffc0e440:	38 60 ff ef 	li      r3,-17                                 <== NOT EXECUTED
ffc0e444:	4b ff ff e8 	b       ffc0e42c <_Scheduler_CBS_Initialize+0x64><== NOT EXECUTED
                                                                      

ffc0c928 <_Scheduler_CBS_Release_job>: 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; if (deadline) {
ffc0c928:	2c 04 00 00 	cmpwi   r4,0                                   
{                                                                     
  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;                  
ffc0c92c:	81 23 00 88 	lwz     r9,136(r3)                             
)                                                                     
{                                                                     
  Priority_Control new_priority;                                      
  Scheduler_CBS_Per_thread *sched_info =                              
    (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;          
  Scheduler_CBS_Server *serv_info =                                   
ffc0c930:	81 29 00 18 	lwz     r9,24(r9)                              
    (Scheduler_CBS_Server *) sched_info->cbs_server;                  
                                                                      
  if (deadline) {                                                     
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
ffc0c934:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  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;                  
                                                                      
  if (deadline) {                                                     
ffc0c938:	41 82 00 30 	beq-    ffc0c968 <_Scheduler_CBS_Release_job+0x40>
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
ffc0c93c:	41 9e 00 38 	beq-    cr7,ffc0c974 <_Scheduler_CBS_Release_job+0x4c>
      new_priority = (_Watchdog_Ticks_since_boot + serv_info->parameters.deadline)
ffc0c940:	3d 40 00 00 	lis     r10,0                                  
ffc0c944:	80 8a 28 a4 	lwz     r4,10404(r10)                          
ffc0c948:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0c94c:	7c 84 52 14 	add     r4,r4,r10                              
ffc0c950:	54 84 00 7e 	clrlwi  r4,r4,1                                
    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;       
ffc0c954:	81 29 00 08 	lwz     r9,8(r9)                               
ffc0c958:	91 23 00 74 	stw     r9,116(r3)                             
                                                                      
  the_thread->real_priority = new_priority;                           
ffc0c95c:	90 83 00 18 	stw     r4,24(r3)                              
  _Thread_Change_priority(the_thread, new_priority, true);            
ffc0c960:	38 a0 00 01 	li      r5,1                                   
ffc0c964:	48 00 05 8c 	b       ffc0cef0 <_Thread_Change_priority>     
      new_priority = (_Watchdog_Ticks_since_boot + deadline)          
        & ~SCHEDULER_EDF_PRIO_MSB;                                    
  }                                                                   
  else {                                                              
    /* Switch back to background priority. */                         
    new_priority = the_thread->Start.initial_priority;                
ffc0c968:	80 83 00 ac 	lwz     r4,172(r3)                             
  }                                                                   
                                                                      
  /* Budget replenishment for the next job. */                        
  if (serv_info)                                                      
ffc0c96c:	40 9e ff e8 	bne+    cr7,ffc0c954 <_Scheduler_CBS_Release_job+0x2c><== ALWAYS TAKEN
ffc0c970:	4b ff ff ec 	b       ffc0c95c <_Scheduler_CBS_Release_job+0x34><== 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)          
ffc0c974:	3d 20 00 00 	lis     r9,0                                   
ffc0c978:	81 29 28 a4 	lwz     r9,10404(r9)                           
ffc0c97c:	7c 84 4a 14 	add     r4,r4,r9                               
ffc0c980:	54 84 00 7e 	clrlwi  r4,r4,1                                
ffc0c984:	4b ff ff d8 	b       ffc0c95c <_Scheduler_CBS_Release_job+0x34>
                                                                      

ffc0c988 <_Scheduler_CBS_Unblock>: #include <rtems/score/schedulercbs.h> void _Scheduler_CBS_Unblock( Thread_Control *the_thread ) {
ffc0c988:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c98c:	7c 08 02 a6 	mflr    r0                                     
ffc0c990:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c994:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c998:	90 01 00 14 	stw     r0,20(r1)                              
ffc0c99c:	93 c1 00 08 	stw     r30,8(r1)                              
  Scheduler_CBS_Per_thread *sched_info;                               
  Scheduler_CBS_Server *serv_info;                                    
  Priority_Control new_priority;                                      
                                                                      
  _Scheduler_EDF_Enqueue(the_thread);                                 
ffc0c9a0:	48 00 01 6d 	bl      ffc0cb0c <_Scheduler_EDF_Enqueue>      
  /* TODO: flash critical section? */                                 
                                                                      
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  serv_info = (Scheduler_CBS_Server *) sched_info->cbs_server;        
ffc0c9a4:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc0c9a8:	81 29 00 18 	lwz     r9,24(r9)                              
   * 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) {                                                    
ffc0c9ac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c9b0:	41 9e 00 58 	beq-    cr7,ffc0ca08 <_Scheduler_CBS_Unblock+0x80>
    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 -                  
ffc0c9b4:	3d 00 00 00 	lis     r8,0                                   
ffc0c9b8:	81 5f 00 18 	lwz     r10,24(r31)                            
ffc0c9bc:	81 08 28 a4 	lwz     r8,10404(r8)                           
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
ffc0c9c0:	80 c9 00 04 	lwz     r6,4(r9)                               
ffc0c9c4:	80 e9 00 08 	lwz     r7,8(r9)                               
   */                                                                 
  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 -                  
ffc0c9c8:	7d 08 50 50 	subf    r8,r8,r10                              
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
ffc0c9cc:	81 3f 00 74 	lwz     r9,116(r31)                            
ffc0c9d0:	7d 08 31 d6 	mullw   r8,r8,r6                               
ffc0c9d4:	7d 27 49 d6 	mullw   r9,r7,r9                               
ffc0c9d8:	7f 88 48 00 	cmpw    cr7,r8,r9                              
ffc0c9dc:	40 9d 00 2c 	ble-    cr7,ffc0ca08 <_Scheduler_CBS_Unblock+0x80>
      /* Put late unblocked task to background until the end of period. */
      new_priority = the_thread->Start.initial_priority;              
ffc0c9e0:	80 9f 00 ac 	lwz     r4,172(r31)                            
      if ( the_thread->real_priority != new_priority )                
ffc0c9e4:	7f 8a 20 00 	cmpw    cr7,r10,r4                             
ffc0c9e8:	41 9e 00 08 	beq-    cr7,ffc0c9f0 <_Scheduler_CBS_Unblock+0x68>
        the_thread->real_priority = new_priority;                     
ffc0c9ec:	90 9f 00 18 	stw     r4,24(r31)                             
      if ( the_thread->current_priority != new_priority )             
ffc0c9f0:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc0c9f4:	7f 83 20 00 	cmpw    cr7,r3,r4                              
ffc0c9f8:	41 9e 00 14 	beq-    cr7,ffc0ca0c <_Scheduler_CBS_Unblock+0x84>
        _Thread_Change_priority(the_thread, new_priority, true);      
ffc0c9fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ca00:	38 a0 00 01 	li      r5,1                                   
ffc0ca04:	48 00 04 ed 	bl      ffc0cef0 <_Thread_Change_priority>     
ffc0ca08:	80 7f 00 14 	lwz     r3,20(r31)                             
   *    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,
ffc0ca0c:	3f c0 00 00 	lis     r30,0                                  
ffc0ca10:	3b de 2e 80 	addi    r30,r30,11904                          
ffc0ca14:	3d 40 00 00 	lis     r10,0                                  
ffc0ca18:	81 3e 00 14 	lwz     r9,20(r30)                             
ffc0ca1c:	81 4a 20 b0 	lwz     r10,8368(r10)                          
ffc0ca20:	80 89 00 14 	lwz     r4,20(r9)                              
ffc0ca24:	7d 49 03 a6 	mtctr   r10                                    
ffc0ca28:	4e 80 04 21 	bctrl                                          
ffc0ca2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ca30:	40 9d 00 20 	ble-    cr7,ffc0ca50 <_Scheduler_CBS_Unblock+0xc8>
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
ffc0ca34:	81 3e 00 10 	lwz     r9,16(r30)                             
   *    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;                                        
ffc0ca38:	93 fe 00 14 	stw     r31,20(r30)                            
    if ( _Thread_Executing->is_preemptible ||                         
ffc0ca3c:	89 29 00 70 	lbz     r9,112(r9)                             
ffc0ca40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ca44:	41 9e 00 24 	beq-    cr7,ffc0ca68 <_Scheduler_CBS_Unblock+0xe0>
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0ca48:	39 20 00 01 	li      r9,1                                   
ffc0ca4c:	99 3e 00 0c 	stb     r9,12(r30)                             
  }                                                                   
}                                                                     
ffc0ca50:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ca54:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ca58:	7c 08 03 a6 	mtlr    r0                                     
ffc0ca5c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ca60:	38 21 00 10 	addi    r1,r1,16                               
ffc0ca64:	4e 80 00 20 	blr                                            
   *    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 ||                         
ffc0ca68:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0ca6c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ca70:	41 9e ff d8 	beq+    cr7,ffc0ca48 <_Scheduler_CBS_Unblock+0xc0><== NEVER TAKEN
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
  }                                                                   
}                                                                     
ffc0ca74:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ca78:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ca7c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ca80:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ca84:	38 21 00 10 	addi    r1,r1,16                               
ffc0ca88:	4e 80 00 20 	blr                                            
                                                                      

ffc0c8d8 <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
ffc0c8d8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0c8dc:	7c 08 02 a6 	mflr    r0                                     
ffc0c8e0:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0c8e4:	7c 7f 1b 78 	mr      r31,r3                                 
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0c8e8:	38 60 00 18 	li      r3,24                                  
#include <rtems/score/wkspace.h>                                      
                                                                      
void *_Scheduler_EDF_Allocate(                                        
  Thread_Control      *the_thread                                     
)                                                                     
{                                                                     
ffc0c8ec:	90 01 00 14 	stw     r0,20(r1)                              
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
ffc0c8f0:	48 00 21 b1 	bl      ffc0eaa0 <_Workspace_Allocate>         
                                                                      
  if ( sched ) {                                                      
ffc0c8f4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0c8f8:	41 82 00 14 	beq-    ffc0c90c <_Scheduler_EDF_Allocate+0x34><== NEVER TAKEN
    the_thread->scheduler_info = sched;                               
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
ffc0c8fc:	39 40 00 02 	li      r10,2                                  
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
                                                                      
  if ( sched ) {                                                      
    the_thread->scheduler_info = sched;                               
ffc0c900:	90 7f 00 88 	stw     r3,136(r31)                            
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
ffc0c904:	93 e3 00 00 	stw     r31,0(r3)                              
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
ffc0c908:	91 43 00 14 	stw     r10,20(r3)                             
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
ffc0c90c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0c910:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0c914:	7c 08 03 a6 	mtlr    r0                                     
ffc0c918:	38 21 00 10 	addi    r1,r1,16                               
ffc0c91c:	4e 80 00 20 	blr                                            
                                                                      

ffc0cb28 <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
ffc0cb28:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0cb2c:	7c 08 02 a6 	mflr    r0                                     
ffc0cb30:	93 e1 00 0c 	stw     r31,12(r1)                             
   *    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(                             
ffc0cb34:	3f e0 00 00 	lis     r31,0                                  
ffc0cb38:	3b ff 2e 80 	addi    r31,r31,11904                          
#include <rtems/score/scheduleredf.h>                                 
                                                                      
void _Scheduler_EDF_Unblock(                                          
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
ffc0cb3c:	90 01 00 14 	stw     r0,20(r1)                              
ffc0cb40:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0cb44:	7c 7e 1b 78 	mr      r30,r3                                 
  _Scheduler_EDF_Enqueue(the_thread);                                 
ffc0cb48:	4b ff fe 59 	bl      ffc0c9a0 <_Scheduler_EDF_Enqueue>      
ffc0cb4c:	3d 20 00 00 	lis     r9,0                                   
   *    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(                             
ffc0cb50:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc0cb54:	81 29 20 b0 	lwz     r9,8368(r9)                            
ffc0cb58:	80 6a 00 14 	lwz     r3,20(r10)                             
ffc0cb5c:	80 9e 00 14 	lwz     r4,20(r30)                             
ffc0cb60:	7d 29 03 a6 	mtctr   r9                                     
ffc0cb64:	4e 80 04 21 	bctrl                                          
ffc0cb68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0cb6c:	41 9c 00 1c 	blt-    cr7,ffc0cb88 <_Scheduler_EDF_Unblock+0x60>
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
  }                                                                   
}                                                                     
ffc0cb70:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cb74:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0cb78:	7c 08 03 a6 	mtlr    r0                                     
ffc0cb7c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0cb80:	38 21 00 10 	addi    r1,r1,16                               
ffc0cb84:	4e 80 00 20 	blr                                            
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
ffc0cb88:	81 3f 00 10 	lwz     r9,16(r31)                             
   *    a pseudo-ISR system task, we need to do a context switch.     
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
ffc0cb8c:	93 df 00 14 	stw     r30,20(r31)                            
    if ( _Thread_Executing->is_preemptible ||                         
ffc0cb90:	89 29 00 70 	lbz     r9,112(r9)                             
ffc0cb94:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0cb98:	41 9e 00 24 	beq-    cr7,ffc0cbbc <_Scheduler_EDF_Unblock+0x94>
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0cb9c:	39 20 00 01 	li      r9,1                                   
ffc0cba0:	99 3f 00 0c 	stb     r9,12(r31)                             
  }                                                                   
}                                                                     
ffc0cba4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0cba8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0cbac:	7c 08 03 a6 	mtlr    r0                                     
ffc0cbb0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0cbb4:	38 21 00 10 	addi    r1,r1,16                               
ffc0cbb8:	4e 80 00 20 	blr                                            
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
ffc0cbbc:	81 3e 00 14 	lwz     r9,20(r30)                             
ffc0cbc0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0cbc4:	40 be ff ac 	bne-    cr7,ffc0cb70 <_Scheduler_EDF_Unblock+0x48><== ALWAYS TAKEN
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
ffc0cbc8:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc0cbcc:	99 3f 00 0c 	stb     r9,12(r31)                             <== NOT EXECUTED
ffc0cbd0:	4b ff ff d4 	b       ffc0cba4 <_Scheduler_EDF_Unblock+0x7c> <== NOT EXECUTED
                                                                      

ffc0bdbc <_Scheduler_priority_Block>: ) { Scheduler_priority_Per_thread *sched_info; Chain_Control *ready; sched_info = (Scheduler_priority_Per_thread *) the_thread->scheduler_info;
ffc0bdbc:	81 43 00 88 	lwz     r10,136(r3)                            
  ready      = sched_info->ready_chain;                               
ffc0bdc0:	81 2a 00 00 	lwz     r9,0(r10)                              
                                                                      
  if ( _Chain_Has_only_one_node( ready ) ) {                          
ffc0bdc4:	80 e9 00 00 	lwz     r7,0(r9)                               
ffc0bdc8:	81 09 00 08 	lwz     r8,8(r9)                               
ffc0bdcc:	7f 87 40 00 	cmpw    cr7,r7,r8                              
ffc0bdd0:	41 9e 00 40 	beq-    cr7,ffc0be10 <_Scheduler_priority_Block+0x54>
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0bdd4:	81 23 00 00 	lwz     r9,0(r3)                               
  previous       = the_node->previous;                                
ffc0bdd8:	81 43 00 04 	lwz     r10,4(r3)                              
  next->previous = previous;                                          
ffc0bddc:	91 49 00 04 	stw     r10,4(r9)                              
  previous->next = next;                                              
ffc0bde0:	91 2a 00 00 	stw     r9,0(r10)                              
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_heir (                           
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Heir );                              
ffc0bde4:	3d 20 00 00 	lis     r9,0                                   
ffc0bde8:	39 29 2e 00 	addi    r9,r9,11776                            
{                                                                     
  _Scheduler_priority_Ready_queue_extract( the_thread );              
                                                                      
  /* TODO: flash critical section? */                                 
                                                                      
  if ( _Thread_Is_heir( the_thread ) )                                
ffc0bdec:	81 49 00 14 	lwz     r10,20(r9)                             
ffc0bdf0:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc0bdf4:	41 9e 00 64 	beq-    cr7,ffc0be58 <_Scheduler_priority_Block+0x9c>
     _Scheduler_priority_Schedule_body();                             
                                                                      
  if ( _Thread_Is_executing( the_thread ) )                           
ffc0bdf8:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0bdfc:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc0be00:	4c be 00 20 	bnelr+  cr7                                    
    _Thread_Dispatch_necessary = true;                                
ffc0be04:	39 40 00 01 	li      r10,1                                  
ffc0be08:	99 49 00 0c 	stb     r10,12(r9)                             
ffc0be0c:	4e 80 00 20 	blr                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc0be10:	81 0a 00 04 	lwz     r8,4(r10)                              
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 );                        
ffc0be14:	38 a9 00 04 	addi    r5,r9,4                                
ffc0be18:	80 ea 00 14 	lwz     r7,20(r10)                             
ffc0be1c:	80 c8 00 00 	lwz     r6,0(r8)                               
                                                                      
  head->next = tail;                                                  
ffc0be20:	90 a9 00 00 	stw     r5,0(r9)                               
ffc0be24:	7c c7 38 38 	and     r7,r6,r7                               
  if ( *the_priority_map->minor == 0 )                                
ffc0be28:	2f 87 00 00 	cmpwi   cr7,r7,0                               
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0be2c:	91 29 00 08 	stw     r9,8(r9)                               
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0be30:	38 c0 00 00 	li      r6,0                                   
ffc0be34:	90 c9 00 04 	stw     r6,4(r9)                               
                                                                      
RTEMS_INLINE_ROUTINE void _Priority_bit_map_Remove (                  
  Priority_bit_map_Information *the_priority_map                      
)                                                                     
{                                                                     
  *the_priority_map->minor &= the_priority_map->block_minor;          
ffc0be38:	90 e8 00 00 	stw     r7,0(r8)                               
  if ( *the_priority_map->minor == 0 )                                
ffc0be3c:	40 be ff a8 	bne-    cr7,ffc0bde4 <_Scheduler_priority_Block+0x28>
    _Priority_Major_bit_map &= the_priority_map->block_major;         
ffc0be40:	3d 20 00 00 	lis     r9,0                                   
ffc0be44:	81 4a 00 10 	lwz     r10,16(r10)                            
ffc0be48:	81 09 28 50 	lwz     r8,10320(r9)                           
ffc0be4c:	7d 0a 50 38 	and     r10,r8,r10                             
ffc0be50:	91 49 28 50 	stw     r10,10320(r9)                          
ffc0be54:	4b ff ff 90 	b       ffc0bde4 <_Scheduler_priority_Block+0x28>
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc0be58:	3d 60 00 00 	lis     r11,0                                  
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
    (Chain_Control *) _Scheduler.information                          
ffc0be5c:	3d 40 00 00 	lis     r10,0                                  
ffc0be60:	81 0b 28 50 	lwz     r8,10320(r11)                          
ffc0be64:	80 ea 20 80 	lwz     r7,8320(r10)                           
ffc0be68:	7d 04 00 34 	cntlzw  r4,r8                                  
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0be6c:	3c a0 00 00 	lis     r5,0                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc0be70:	91 0b 28 50 	stw     r8,10320(r11)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0be74:	38 a5 2e 40 	addi    r5,r5,11840                            
ffc0be78:	54 86 10 3a 	rlwinm  r6,r4,2,0,29                           
ffc0be7c:	7d 45 30 2e 	lwzx    r10,r5,r6                              
ffc0be80:	7d 48 00 34 	cntlzw  r8,r10                                 
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0be84:	54 84 20 36 	rlwinm  r4,r4,4,0,27                           
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0be88:	7d 45 31 2e 	stwx    r10,r5,r6                              
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0be8c:	7d 04 42 14 	add     r8,r4,r8                               
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0be90:	1d 08 00 0c 	mulli   r8,r8,12                               
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0be94:	7d 47 40 2e 	lwzx    r10,r7,r8                              
ffc0be98:	7c c7 42 14 	add     r6,r7,r8                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0be9c:	39 06 00 04 	addi    r8,r6,4                                
ffc0bea0:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc0bea4:	41 9e 00 0c 	beq-    cr7,ffc0beb0 <_Scheduler_priority_Block+0xf4><== NEVER TAKEN
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0bea8:	91 49 00 14 	stw     r10,20(r9)                             
ffc0beac:	4b ff ff 4c 	b       ffc0bdf8 <_Scheduler_priority_Block+0x3c>
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc0beb0:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0beb4:	91 49 00 14 	stw     r10,20(r9)                             <== NOT EXECUTED
ffc0beb8:	4b ff ff 40 	b       ffc0bdf8 <_Scheduler_priority_Block+0x3c><== NOT EXECUTED
                                                                      

ffc0c078 <_Scheduler_priority_Schedule>: RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void ) { Priority_bit_map_Control minor; Priority_bit_map_Control major; _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );
ffc0c078:	3c 80 00 00 	lis     r4,0                                   
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
    (Chain_Control *) _Scheduler.information                          
ffc0c07c:	3d 20 00 00 	lis     r9,0                                   
ffc0c080:	81 44 28 50 	lwz     r10,10320(r4)                          
ffc0c084:	81 09 20 80 	lwz     r8,8320(r9)                            
ffc0c088:	7d 45 00 34 	cntlzw  r5,r10                                 
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0c08c:	3c c0 00 00 	lis     r6,0                                   
RTEMS_INLINE_ROUTINE Priority_Control _Priority_bit_map_Get_highest( void )
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
ffc0c090:	91 44 28 50 	stw     r10,10320(r4)                          
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0c094:	38 c6 2e 40 	addi    r6,r6,11840                            
ffc0c098:	54 a7 10 3a 	rlwinm  r7,r5,2,0,29                           
ffc0c09c:	7d 26 38 2e 	lwzx    r9,r6,r7                               
ffc0c0a0:	7d 24 00 34 	cntlzw  r4,r9                                  
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0c0a4:	54 aa 20 36 	rlwinm  r10,r5,4,0,27                          
{                                                                     
  Priority_bit_map_Control minor;                                     
  Priority_bit_map_Control major;                                     
                                                                      
  _Bitfield_Find_first_bit( _Priority_Major_bit_map, major );         
  _Bitfield_Find_first_bit( _Priority_Bit_map[major], minor );        
ffc0c0a8:	7d 26 39 2e 	stwx    r9,r6,r7                               
                                                                      
  return (_Priority_Bits_index( major ) << 4) +                       
ffc0c0ac:	7d 4a 22 14 	add     r10,r10,r4                             
  Chain_Control       *the_ready_queue                                
)                                                                     
{                                                                     
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
ffc0c0b0:	1d 4a 00 0c 	mulli   r10,r10,12                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0c0b4:	7d 28 50 2e 	lwzx    r9,r8,r10                              
ffc0c0b8:	7c e8 52 14 	add     r7,r8,r10                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0c0bc:	39 47 00 04 	addi    r10,r7,4                               
ffc0c0c0:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0c0c4:	41 9e 00 10 	beq-    cr7,ffc0c0d4 <_Scheduler_priority_Schedule+0x5c><== NEVER TAKEN
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0c0c8:	3d 40 00 00 	lis     r10,0                                  
ffc0c0cc:	91 2a 2e 14 	stw     r9,11796(r10)                          
ffc0c0d0:	4e 80 00 20 	blr                                            
  Priority_Control index = _Priority_bit_map_Get_highest();           
                                                                      
  if ( !_Chain_Is_empty( &the_ready_queue[ index ] ) )                
    return (Thread_Control *) _Chain_First( &the_ready_queue[ index ] );
                                                                      
  return NULL;                                                        
ffc0c0d4:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
 *                                                                    
 *  @param[in] the_thread  - pointer to thread                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_priority_Schedule_body(void)     
{                                                                     
  _Thread_Heir = _Scheduler_priority_Ready_queue_first(               
ffc0c0d8:	3d 40 00 00 	lis     r10,0                                  <== NOT EXECUTED
ffc0c0dc:	91 2a 2e 14 	stw     r9,11796(r10)                          <== NOT EXECUTED
ffc0c0e0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0ca68 <_Scheduler_simple_Ready_queue_enqueue_first>: { Chain_Control *ready; Chain_Node *the_node; Thread_Control *current; ready = (Chain_Control *)_Scheduler.information;
ffc0ca68:	3d 20 00 00 	lis     r9,0                                   
   */                                                                 
  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 ) {
ffc0ca6c:	81 03 00 14 	lwz     r8,20(r3)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0ca70:	81 29 20 80 	lwz     r9,8320(r9)                            
ffc0ca74:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0ca78:	81 49 00 14 	lwz     r10,20(r9)                             
ffc0ca7c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc0ca80:	40 9c 00 14 	bge-    cr7,ffc0ca94 <_Scheduler_simple_Ready_queue_enqueue_first+0x2c>
   * 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 ) {
ffc0ca84:	81 29 00 00 	lwz     r9,0(r9)                               
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
ffc0ca88:	81 49 00 14 	lwz     r10,20(r9)                             
ffc0ca8c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc0ca90:	41 9c ff f4 	blt+    cr7,ffc0ca84 <_Scheduler_simple_Ready_queue_enqueue_first+0x1c><== NEVER TAKEN
      current = (Thread_Control *)current->Object.Node.previous;      
ffc0ca94:	81 29 00 04 	lwz     r9,4(r9)                               
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0ca98:	81 49 00 00 	lwz     r10,0(r9)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0ca9c:	91 23 00 04 	stw     r9,4(r3)                               
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0caa0:	90 69 00 00 	stw     r3,0(r9)                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0caa4:	90 6a 00 04 	stw     r3,4(r10)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0caa8:	91 43 00 00 	stw     r10,0(r3)                              
ffc0caac:	4e 80 00 20 	blr                                            
                                                                      

ffc0a960 <_TOD_Validate>: uint32_t days_in_month; uint32_t ticks_per_second; ticks_per_second = TOD_MICROSECONDS_PER_SECOND / rtems_configuration_get_microseconds_per_tick(); if ((!the_tod) ||
ffc0a960:	7c 69 1b 79 	mr.     r9,r3                                  
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
ffc0a964:	3d 40 ff c2 	lis     r10,-62                                
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
ffc0a968:	81 4a fd 64 	lwz     r10,-668(r10)                          
ffc0a96c:	3d 00 00 0f 	lis     r8,15                                  
ffc0a970:	61 08 42 40 	ori     r8,r8,16960                            
ffc0a974:	7c e8 53 96 	divwu   r7,r8,r10                              
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc0a978:	41 82 00 90 	beq-    ffc0aa08 <_TOD_Validate+0xa8>          <== NEVER TAKEN
ffc0a97c:	81 49 00 18 	lwz     r10,24(r9)                             
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
ffc0a980:	38 60 00 00 	li      r3,0                                   
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
ffc0a984:	7f 87 50 40 	cmplw   cr7,r7,r10                             
ffc0a988:	4c 9d 00 20 	blelr   cr7                                    
      (the_tod->ticks  >= ticks_per_second)       ||                  
ffc0a98c:	81 49 00 14 	lwz     r10,20(r9)                             
ffc0a990:	2b 8a 00 3b 	cmplwi  cr7,r10,59                             
ffc0a994:	4d 9d 00 20 	bgtlr   cr7                                    
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
ffc0a998:	81 49 00 10 	lwz     r10,16(r9)                             
ffc0a99c:	2b 8a 00 3b 	cmplwi  cr7,r10,59                             
ffc0a9a0:	4d 9d 00 20 	bgtlr   cr7                                    
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
ffc0a9a4:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc0a9a8:	2b 8a 00 17 	cmplwi  cr7,r10,23                             
ffc0a9ac:	4d 9d 00 20 	bgtlr   cr7                                    
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
ffc0a9b0:	81 49 00 04 	lwz     r10,4(r9)                              
	    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)      ||                  
ffc0a9b4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0a9b8:	4d 9e 00 20 	beqlr   cr7                                    
      (the_tod->month  == 0)                      ||                  
ffc0a9bc:	2b 8a 00 0c 	cmplwi  cr7,r10,12                             
ffc0a9c0:	4d 9d 00 20 	bgtlr   cr7                                    
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
ffc0a9c4:	81 09 00 00 	lwz     r8,0(r9)                               
      (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)    ||                  
ffc0a9c8:	2b 88 07 c3 	cmplwi  cr7,r8,1987                            
ffc0a9cc:	4c 9d 00 20 	blelr   cr7                                    
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
ffc0a9d0:	81 29 00 08 	lwz     r9,8(r9)                               
      (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)          ||                  
ffc0a9d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a9d8:	4d 9e 00 20 	beqlr   cr7                                    
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
ffc0a9dc:	71 07 00 03 	andi.   r7,r8,3                                
ffc0a9e0:	40 82 00 30 	bne-    ffc0aa10 <_TOD_Validate+0xb0>          
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
ffc0a9e4:	39 4a 00 0d 	addi    r10,r10,13                             
ffc0a9e8:	3d 00 ff c2 	lis     r8,-62                                 
ffc0a9ec:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc0a9f0:	39 08 15 b0 	addi    r8,r8,5552                             
ffc0a9f4:	7c 68 50 2e 	lwzx    r3,r8,r10                              
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
                                                                      
  if ( the_tod->day > days_in_month )                                 
ffc0a9f8:	7c 69 18 10 	subfc   r3,r9,r3                               
ffc0a9fc:	38 60 00 00 	li      r3,0                                   
ffc0aa00:	7c 63 19 14 	adde    r3,r3,r3                               
ffc0aa04:	4e 80 00 20 	blr                                            
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
     return false;                                                    
ffc0aa08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
  if ( the_tod->day > days_in_month )                                 
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
ffc0aa0c:	4e 80 00 20 	blr                                            <== 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 ];       
ffc0aa10:	3d 00 ff c2 	lis     r8,-62                                 
ffc0aa14:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc0aa18:	39 08 15 b0 	addi    r8,r8,5552                             
ffc0aa1c:	7c 68 50 2e 	lwzx    r3,r8,r10                              
ffc0aa20:	4b ff ff d8 	b       ffc0a9f8 <_TOD_Validate+0x98>          
                                                                      

ffc0c390 <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
ffc0c390:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c394:	7c 08 02 a6 	mflr    r0                                     
ffc0c398:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0c39c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0c3a0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0c3a4:	93 81 00 08 	stw     r28,8(r1)                              
ffc0c3a8:	7c bc 2b 78 	mr      r28,r5                                 
ffc0c3ac:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0c3b0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0c3b4:	7c 9e 23 78 	mr      r30,r4                                 
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
ffc0c3b8:	83 a3 00 10 	lwz     r29,16(r3)                             
  /*                                                                  
   * 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 );                                
ffc0c3bc:	48 00 11 bd 	bl      ffc0d578 <_Thread_Set_transient>       
                                                                      
  /*                                                                  
   *  Do not bother recomputing all the priority related information if
   *  we are not REALLY changing priority.                            
   */                                                                 
 if ( the_thread->current_priority != new_priority )                  
ffc0c3c0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc0c3c4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0c3c8:	41 9e 00 10 	beq-    cr7,ffc0c3d8 <_Thread_Change_priority+0x48>
    _Thread_Set_priority( the_thread, new_priority );                 
ffc0c3cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c3d0:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c3d4:	48 00 11 19 	bl      ffc0d4ec <_Thread_Set_priority>        
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c3d8:	7f c0 00 a6 	mfmsr   r30                                    
ffc0c3dc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0c3e0:	7f c9 48 78 	andc    r9,r30,r9                              
ffc0c3e4:	7d 20 01 24 	mtmsr   r9                                     
                                                                      
  /*                                                                  
   *  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;                                  
ffc0c3e8:	81 3f 00 10 	lwz     r9,16(r31)                             
  if ( state != STATES_TRANSIENT ) {                                  
ffc0c3ec:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc0c3f0:	41 9e 00 84 	beq-    cr7,ffc0c474 <_Thread_Change_priority+0xe4>
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
ffc0c3f4:	73 a8 00 04 	andi.   r8,r29,4                               
ffc0c3f8:	41 82 00 38 	beq-    ffc0c430 <_Thread_Change_priority+0xa0><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c3fc:	7f c0 01 24 	mtmsr   r30                                    <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
ffc0c400:	3d 40 00 03 	lis     r10,3                                  <== NOT EXECUTED
ffc0c404:	61 4a be e0 	ori     r10,r10,48864                          <== NOT EXECUTED
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0c408:	7d 28 50 39 	and.    r8,r9,r10                              <== NOT EXECUTED
ffc0c40c:	40 82 00 40 	bne-    ffc0c44c <_Thread_Change_priority+0xbc><== NOT EXECUTED
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0c410:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c414:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0c418:	7c 08 03 a6 	mtlr    r0                                     
ffc0c41c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0c420:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0c424:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0c428:	38 21 00 18 	addi    r1,r1,24                               
ffc0c42c:	4e 80 00 20 	blr                                            
RTEMS_INLINE_ROUTINE States_Control _States_Clear (                   
  States_Control states_to_clear,                                     
  States_Control current_state                                        
)                                                                     
{                                                                     
   return (current_state & ~states_to_clear);                         
ffc0c430:	55 2a 07 b8 	rlwinm  r10,r9,0,30,28                         
   */                                                                 
  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 );
ffc0c434:	91 5f 00 10 	stw     r10,16(r31)                            
ffc0c438:	7f c0 01 24 	mtmsr   r30                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
ffc0c43c:	3d 40 00 03 	lis     r10,3                                  
ffc0c440:	61 4a be e0 	ori     r10,r10,48864                          
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
ffc0c444:	7d 28 50 39 	and.    r8,r9,r10                              
ffc0c448:	41 82 ff c8 	beq+    ffc0c410 <_Thread_Change_priority+0x80>
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0c44c:	80 01 00 1c 	lwz     r0,28(r1)                              
    /* 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 );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0c450:	7f e4 fb 78 	mr      r4,r31                                 
ffc0c454:	80 7f 00 44 	lwz     r3,68(r31)                             
                                                                      
  if ( !_Thread_Is_executing_also_the_heir() &&                       
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
  _ISR_Enable( level );                                               
}                                                                     
ffc0c458:	7c 08 03 a6 	mtlr    r0                                     
ffc0c45c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0c460:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0c464:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0c468:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0c46c:	38 21 00 18 	addi    r1,r1,24                               
    /* 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 );
    _ISR_Enable( level );                                             
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
ffc0c470:	48 00 0f 84 	b       ffc0d3f4 <_Thread_queue_Requeue>       
    }                                                                 
    return;                                                           
  }                                                                   
                                                                      
  /* Only clear the transient state if it wasn't set already */       
  if ( ! _States_Is_transient( original_state ) ) {                   
ffc0c474:	73 a9 00 04 	andi.   r9,r29,4                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
ffc0c478:	3f a0 00 00 	lis     r29,0                                  
ffc0c47c:	3b bd 20 80 	addi    r29,r29,8320                           
ffc0c480:	40 82 00 20 	bne-    ffc0c4a0 <_Thread_Change_priority+0x110><== NEVER TAKEN
     *  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 )                                                 
ffc0c484:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
     *  Interrupts are STILL disabled.                                
     *  We now know the thread will be in the READY state when we remove
     *  the TRANSIENT state.  So we have to place it on the appropriate
     *  Ready Queue with interrupts off.                              
     */                                                               
    the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
ffc0c488:	91 3f 00 10 	stw     r9,16(r31)                             
                                                                      
    if ( prepend_it )                                                 
ffc0c48c:	41 9e 00 7c 	beq-    cr7,ffc0c508 <_Thread_Change_priority+0x178>
ffc0c490:	81 3d 00 28 	lwz     r9,40(r29)                             
ffc0c494:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c498:	7d 29 03 a6 	mtctr   r9                                     
ffc0c49c:	4e 80 04 21 	bctrl                                          
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0c4a0:	7d 20 00 a6 	mfmsr   r9                                     
ffc0c4a4:	7f c0 01 24 	mtmsr   r30                                    
ffc0c4a8:	7d 20 01 24 	mtmsr   r9                                     
 *  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();                                   
ffc0c4ac:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc0c4b0:	7d 29 03 a6 	mtctr   r9                                     
ffc0c4b4:	4e 80 04 21 	bctrl                                          
 *  is also the heir thread, and false otherwise.                     
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing_also_the_heir( void )  
{                                                                     
  return ( _Thread_Executing == _Thread_Heir );                       
ffc0c4b8:	3d 20 00 00 	lis     r9,0                                   
ffc0c4bc:	39 29 2e 00 	addi    r9,r9,11776                            
ffc0c4c0:	81 49 00 10 	lwz     r10,16(r9)                             
   *  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() &&                       
ffc0c4c4:	81 09 00 14 	lwz     r8,20(r9)                              
ffc0c4c8:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc0c4cc:	41 9e 00 18 	beq-    cr7,ffc0c4e4 <_Thread_Change_priority+0x154>
ffc0c4d0:	89 4a 00 70 	lbz     r10,112(r10)                           
ffc0c4d4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c4d8:	41 9e 00 0c 	beq-    cr7,ffc0c4e4 <_Thread_Change_priority+0x154>
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
ffc0c4dc:	39 40 00 01 	li      r10,1                                  
ffc0c4e0:	99 49 00 0c 	stb     r10,12(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c4e4:	7f c0 01 24 	mtmsr   r30                                    
  _ISR_Enable( level );                                               
}                                                                     
ffc0c4e8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c4ec:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0c4f0:	7c 08 03 a6 	mtlr    r0                                     
ffc0c4f4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0c4f8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0c4fc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0c500:	38 21 00 18 	addi    r1,r1,24                               
ffc0c504:	4e 80 00 20 	blr                                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
ffc0c508:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc0c50c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c510:	7d 29 03 a6 	mtctr   r9                                     
ffc0c514:	4e 80 04 21 	bctrl                                          
ffc0c518:	4b ff ff 88 	b       ffc0c4a0 <_Thread_Change_priority+0x110>
                                                                      

ffc0c788 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0c788:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0c78c:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c790:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_Delay_ended(                                             
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0c794:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0c798:	48 00 02 a1 	bl      ffc0ca38 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0c79c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0c7a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c7a4:	40 9e 00 20 	bne-    cr7,ffc0c7c4 <_Thread_Delay_ended+0x3c><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
ffc0c7a8:	3c 80 10 00 	lis     r4,4096                                
ffc0c7ac:	60 84 00 18 	ori     r4,r4,24                               
ffc0c7b0:	4b ff fd 6d 	bl      ffc0c51c <_Thread_Clear_state>         
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc0c7b4:	3d 20 00 00 	lis     r9,0                                   
ffc0c7b8:	81 49 28 24 	lwz     r10,10276(r9)                          
                                                                      
    --level;                                                          
ffc0c7bc:	39 4a ff ff 	addi    r10,r10,-1                             
    _Thread_Dispatch_disable_level = level;                           
ffc0c7c0:	91 49 28 24 	stw     r10,10276(r9)                          
          | STATES_INTERRUPTIBLE_BY_SIGNAL                            
      );                                                              
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0c7c4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0c7c8:	38 21 00 18 	addi    r1,r1,24                               
ffc0c7cc:	7c 08 03 a6 	mtlr    r0                                     
ffc0c7d0:	4e 80 00 20 	blr                                            
                                                                      

ffc0c7d4 <_Thread_Dispatch>: #if defined(RTEMS_SMP) #include <rtems/score/smp.h> #endif void _Thread_Dispatch( void ) {
ffc0c7d4:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0c7d8:	7c 08 02 a6 	mflr    r0                                     
ffc0c7dc:	93 81 00 38 	stw     r28,56(r1)                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
ffc0c7e0:	3f 80 00 00 	lis     r28,0                                  
ffc0c7e4:	3b 9c 2e 00 	addi    r28,r28,11776                          
#if defined(RTEMS_SMP)                                                
  #include <rtems/score/smp.h>                                        
#endif                                                                
                                                                      
void _Thread_Dispatch( void )                                         
{                                                                     
ffc0c7e8:	93 e1 00 44 	stw     r31,68(r1)                             
ffc0c7ec:	90 01 00 4c 	stw     r0,76(r1)                              
ffc0c7f0:	92 81 00 18 	stw     r20,24(r1)                             
ffc0c7f4:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc0c7f8:	92 c1 00 20 	stw     r22,32(r1)                             
ffc0c7fc:	92 e1 00 24 	stw     r23,36(r1)                             
ffc0c800:	93 01 00 28 	stw     r24,40(r1)                             
ffc0c804:	93 21 00 2c 	stw     r25,44(r1)                             
ffc0c808:	93 41 00 30 	stw     r26,48(r1)                             
ffc0c80c:	93 61 00 34 	stw     r27,52(r1)                             
ffc0c810:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc0c814:	93 c1 00 40 	stw     r30,64(r1)                             
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
ffc0c818:	83 fc 00 10 	lwz     r31,16(r28)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c81c:	7d 20 00 a6 	mfmsr   r9                                     
ffc0c820:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0c824:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc0c828:	7d 40 01 24 	mtmsr   r10                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0c82c:	89 5c 00 0c 	lbz     r10,12(r28)                            
ffc0c830:	3f 60 00 00 	lis     r27,0                                  
ffc0c834:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c838:	41 9e 01 58 	beq-    cr7,ffc0c990 <_Thread_Dispatch+0x1bc>  
    heir = _Thread_Heir;                                              
ffc0c83c:	83 dc 00 14 	lwz     r30,20(r28)                            
   * This routine sets thread dispatch level to the                   
   * value passed in.                                                 
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_set_disable_level(uint32_t value)
  {                                                                   
    _Thread_Dispatch_disable_level = value;                           
ffc0c840:	39 40 00 01 	li      r10,1                                  
ffc0c844:	3f 60 00 00 	lis     r27,0                                  
    /*                                                                
     *  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 )                                          
ffc0c848:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0c84c:	91 5b 28 24 	stw     r10,10276(r27)                         
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    #ifndef RTEMS_SMP                                                 
      _Thread_Dispatch_set_disable_level( 1 );                        
    #endif                                                            
    _Thread_Dispatch_necessary = false;                               
ffc0c850:	39 40 00 00 	li      r10,0                                  
    _Thread_Executing = heir;                                         
ffc0c854:	93 dc 00 10 	stw     r30,16(r28)                            
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    #ifndef RTEMS_SMP                                                 
      _Thread_Dispatch_set_disable_level( 1 );                        
    #endif                                                            
    _Thread_Dispatch_necessary = false;                               
ffc0c858:	99 5c 00 0c 	stb     r10,12(r28)                            
    /*                                                                
     *  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 )                                          
ffc0c85c:	41 9e 01 34 	beq-    cr7,ffc0c990 <_Thread_Dispatch+0x1bc>  
ffc0c860:	3f 40 00 00 	lis     r26,0                                  
ffc0c864:	3b 5a 22 08 	addi    r26,r26,8712                           
ffc0c868:	3f 00 00 00 	lis     r24,0                                  
ffc0c86c:	3f 20 00 00 	lis     r25,0                                  
ffc0c870:	3b 18 2b e8 	addi    r24,r24,11240                          
ffc0c874:	3b 39 28 2c 	addi    r25,r25,10284                          
ffc0c878:	3b ba 00 04 	addi    r29,r26,4                              
#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;            
ffc0c87c:	3e a0 00 00 	lis     r21,0                                  
ffc0c880:	3a c0 00 01 	li      r22,1                                  
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    #ifndef RTEMS_SMP                                                 
      _Thread_Dispatch_set_disable_level( 1 );                        
    #endif                                                            
    _Thread_Dispatch_necessary = false;                               
ffc0c884:	3a e0 00 00 	li      r23,0                                  
     */                                                               
#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 )
ffc0c888:	81 5e 00 78 	lwz     r10,120(r30)                           
ffc0c88c:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc0c890:	41 9e 01 80 	beq-    cr7,ffc0ca10 <_Thread_Dispatch+0x23c>  
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c894:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
static inline void _TOD_Get_uptime(                                   
  Timestamp_Control *time                                             
)                                                                     
{                                                                     
  _TOD_Get_with_nanoseconds( time, &_TOD.uptime );                    
ffc0c898:	38 61 00 08 	addi    r3,r1,8                                
ffc0c89c:	7f 04 c3 78 	mr      r4,r24                                 
ffc0c8a0:	4b ff e4 9d 	bl      ffc0ad3c <_TOD_Get_with_nanoseconds>   
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0c8a4:	80 b9 00 00 	lwz     r5,0(r25)                              
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc0c8a8:	80 dc 00 20 	lwz     r6,32(r28)                             
ffc0c8ac:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0c8b0:	80 fc 00 24 	lwz     r7,36(r28)                             
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
        _Timestamp_Subtract(                                          
ffc0c8b4:	81 41 00 08 	lwz     r10,8(r1)                              
ffc0c8b8:	81 61 00 0c 	lwz     r11,12(r1)                             
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc0c8bc:	81 1f 00 80 	lwz     r8,128(r31)                            
ffc0c8c0:	81 3f 00 84 	lwz     r9,132(r31)                            
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc0c8c4:	7c e7 58 10 	subfc   r7,r7,r11                              
ffc0c8c8:	7c c6 51 10 	subfe   r6,r6,r10                              
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc0c8cc:	7d 29 38 14 	addc    r9,r9,r7                               
ffc0c8d0:	7d 08 31 14 	adde    r8,r8,r6                               
ffc0c8d4:	91 1f 00 80 	stw     r8,128(r31)                            
ffc0c8d8:	91 3f 00 84 	stw     r9,132(r31)                            
          &_Thread_Time_of_last_context_switch,                       
          &uptime,                                                    
          &ran                                                        
        );                                                            
        _Timestamp_Add_to( &executing->cpu_time_used, &ran );         
        _Thread_Time_of_last_context_switch = uptime;                 
ffc0c8dc:	91 5c 00 20 	stw     r10,32(r28)                            
ffc0c8e0:	91 7c 00 24 	stw     r11,36(r28)                            
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
ffc0c8e4:	41 9e 00 14 	beq-    cr7,ffc0c8f8 <_Thread_Dispatch+0x124>  <== NEVER TAKEN
      executing->libc_reent = *_Thread_libc_reent;                    
ffc0c8e8:	81 25 00 00 	lwz     r9,0(r5)                               
ffc0c8ec:	91 3f 01 44 	stw     r9,324(r31)                            
      *_Thread_libc_reent = heir->libc_reent;                         
ffc0c8f0:	81 3e 01 44 	lwz     r9,324(r30)                            
ffc0c8f4:	91 25 00 00 	stw     r9,0(r5)                               
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0c8f8:	82 9a 00 00 	lwz     r20,0(r26)                             
{                                                                     
  const Chain_Control *chain = &_User_extensions_Switches_list;       
  const Chain_Node    *tail = _Chain_Immutable_tail( chain );         
  const Chain_Node    *node = _Chain_Immutable_first( chain );        
                                                                      
  while ( node != tail ) {                                            
ffc0c8fc:	7f 94 e8 00 	cmpw    cr7,r20,r29                            
ffc0c900:	41 9e 00 24 	beq-    cr7,ffc0c924 <_Thread_Dispatch+0x150>  <== NEVER TAKEN
    const User_extensions_Switch_control *extension =                 
      (const User_extensions_Switch_control *) node;                  
                                                                      
    (*extension->thread_switch)( executing, heir );                   
ffc0c904:	81 34 00 08 	lwz     r9,8(r20)                              
ffc0c908:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c90c:	7f c4 f3 78 	mr      r4,r30                                 
ffc0c910:	7d 29 03 a6 	mtctr   r9                                     
ffc0c914:	4e 80 04 21 	bctrl                                          
  #ifdef RTEMS_SMP                                                    
    _Thread_Unnest_dispatch();                                        
  #endif                                                              
                                                                      
  _API_extensions_Run_post_switch( executing );                       
}                                                                     
ffc0c918:	82 94 00 00 	lwz     r20,0(r20)                             
{                                                                     
  const Chain_Control *chain = &_User_extensions_Switches_list;       
  const Chain_Node    *tail = _Chain_Immutable_tail( chain );         
  const Chain_Node    *node = _Chain_Immutable_first( chain );        
                                                                      
  while ( node != tail ) {                                            
ffc0c91c:	7f 94 e8 00 	cmpw    cr7,r20,r29                            
ffc0c920:	40 9e ff e4 	bne+    cr7,ffc0c904 <_Thread_Dispatch+0x130>  
     *  operations.                                                   
     */                                                               
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH != TRUE )                            
    if ( executing->fp_context != NULL )                              
ffc0c924:	81 3f 01 40 	lwz     r9,320(r31)                            
ffc0c928:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c92c:	41 9e 00 0c 	beq-    cr7,ffc0c938 <_Thread_Dispatch+0x164>  
      _Context_Save_fp( &executing->fp_context );                     
ffc0c930:	38 7f 01 40 	addi    r3,r31,320                             
ffc0c934:	48 00 ff 6d 	bl      ffc1c8a0 <_CPU_Context_save_fp>        
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
ffc0c938:	38 7f 00 c0 	addi    r3,r31,192                             
ffc0c93c:	38 9e 00 c0 	addi    r4,r30,192                             
ffc0c940:	48 01 00 e1 	bl      ffc1ca20 <_CPU_Context_switch>         
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
      _Context_Restore_fp( &executing->fp_context );                  
      _Thread_Allocated_fp = executing;                               
    }                                                                 
#else                                                                 
    if ( executing->fp_context != NULL )                              
ffc0c944:	81 3f 01 40 	lwz     r9,320(r31)                            
ffc0c948:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0c94c:	41 9e 00 0c 	beq-    cr7,ffc0c958 <_Thread_Dispatch+0x184>  
      _Context_Restore_fp( &executing->fp_context );                  
ffc0c950:	38 7f 01 40 	addi    r3,r31,320                             
ffc0c954:	48 01 00 0d 	bl      ffc1c960 <_CPU_Context_restore_fp>     
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
ffc0c958:	83 fc 00 10 	lwz     r31,16(r28)                            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0c95c:	7d 20 00 a6 	mfmsr   r9                                     
ffc0c960:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0c964:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc0c968:	7d 40 01 24 	mtmsr   r10                                    
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
ffc0c96c:	89 5c 00 0c 	lbz     r10,12(r28)                            
ffc0c970:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0c974:	41 9e 00 1c 	beq-    cr7,ffc0c990 <_Thread_Dispatch+0x1bc>  
    heir = _Thread_Heir;                                              
ffc0c978:	83 dc 00 14 	lwz     r30,20(r28)                            
ffc0c97c:	92 db 28 24 	stw     r22,10276(r27)                         
    /*                                                                
     *  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 )                                          
ffc0c980:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
  while ( _Thread_Dispatch_necessary == true ) {                      
    heir = _Thread_Heir;                                              
    #ifndef RTEMS_SMP                                                 
      _Thread_Dispatch_set_disable_level( 1 );                        
    #endif                                                            
    _Thread_Dispatch_necessary = false;                               
ffc0c984:	9a fc 00 0c 	stb     r23,12(r28)                            
    _Thread_Executing = heir;                                         
ffc0c988:	93 dc 00 10 	stw     r30,16(r28)                            
    /*                                                                
     *  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 )                                          
ffc0c98c:	40 9e fe fc 	bne+    cr7,ffc0c888 <_Thread_Dispatch+0xb4>   <== ALWAYS TAKEN
ffc0c990:	39 40 00 00 	li      r10,0                                  
ffc0c994:	91 5b 28 24 	stw     r10,10276(r27)                         
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0c998:	7d 20 01 24 	mtmsr   r9                                     
ffc0c99c:	3d 20 00 00 	lis     r9,0                                   
ffc0c9a0:	3b a9 2d 10 	addi    r29,r9,11536                           
ffc0c9a4:	83 c9 2d 10 	lwz     r30,11536(r9)                          
{                                                                     
  const Chain_Control *chain = &_API_extensions_Post_switch_list;     
  const Chain_Node    *tail = _Chain_Immutable_tail( chain );         
  const Chain_Node    *node = _Chain_Immutable_first( chain );        
                                                                      
  while ( node != tail ) {                                            
ffc0c9a8:	3b bd 00 04 	addi    r29,r29,4                              
ffc0c9ac:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc0c9b0:	41 9e 00 20 	beq-    cr7,ffc0c9d0 <_Thread_Dispatch+0x1fc>  
    const API_extensions_Post_switch_control *post_switch =           
      (const API_extensions_Post_switch_control *) node;              
                                                                      
    (*post_switch->hook)( executing );                                
ffc0c9b4:	81 3e 00 08 	lwz     r9,8(r30)                              
ffc0c9b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0c9bc:	7d 29 03 a6 	mtctr   r9                                     
ffc0c9c0:	4e 80 04 21 	bctrl                                          
  #ifdef RTEMS_SMP                                                    
    _Thread_Unnest_dispatch();                                        
  #endif                                                              
                                                                      
  _API_extensions_Run_post_switch( executing );                       
}                                                                     
ffc0c9c4:	83 de 00 00 	lwz     r30,0(r30)                             
{                                                                     
  const Chain_Control *chain = &_API_extensions_Post_switch_list;     
  const Chain_Node    *tail = _Chain_Immutable_tail( chain );         
  const Chain_Node    *node = _Chain_Immutable_first( chain );        
                                                                      
  while ( node != tail ) {                                            
ffc0c9c8:	7f 9e e8 00 	cmpw    cr7,r30,r29                            
ffc0c9cc:	40 9e ff e8 	bne+    cr7,ffc0c9b4 <_Thread_Dispatch+0x1e0>  <== NEVER TAKEN
ffc0c9d0:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc0c9d4:	82 81 00 18 	lwz     r20,24(r1)                             
ffc0c9d8:	7c 08 03 a6 	mtlr    r0                                     
ffc0c9dc:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc0c9e0:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc0c9e4:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc0c9e8:	83 01 00 28 	lwz     r24,40(r1)                             
ffc0c9ec:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc0c9f0:	83 41 00 30 	lwz     r26,48(r1)                             
ffc0c9f4:	83 61 00 34 	lwz     r27,52(r1)                             
ffc0c9f8:	83 81 00 38 	lwz     r28,56(r1)                             
ffc0c9fc:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc0ca00:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc0ca04:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc0ca08:	38 21 00 48 	addi    r1,r1,72                               
ffc0ca0c:	4e 80 00 20 	blr                                            
#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;            
ffc0ca10:	81 55 28 20 	lwz     r10,10272(r21)                         
ffc0ca14:	91 5e 00 74 	stw     r10,116(r30)                           
ffc0ca18:	4b ff fe 7c 	b       ffc0c894 <_Thread_Dispatch+0xc0>       
                                                                      

ffc11e9c <_Thread_Handler>: #define INIT_NAME __main #define EXECUTE_GLOBAL_CONSTRUCTORS #endif void _Thread_Handler( void ) {
ffc11e9c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11ea0:	7c 08 02 a6 	mflr    r0                                     
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc11ea4:	3d 20 00 00 	lis     r9,0                                   
  #define INIT_NAME __main                                            
  #define EXECUTE_GLOBAL_CONSTRUCTORS                                 
#endif                                                                
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc11ea8:	90 01 00 14 	stw     r0,20(r1)                              
ffc11eac:	93 e1 00 0c 	stw     r31,12(r1)                             
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
ffc11eb0:	83 e9 2e 10 	lwz     r31,11792(r9)                          
  #define INIT_NAME __main                                            
  #define EXECUTE_GLOBAL_CONSTRUCTORS                                 
#endif                                                                
                                                                      
void _Thread_Handler( void )                                          
{                                                                     
ffc11eb4:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
  level = executing->Start.isr_level;                                 
ffc11eb8:	81 5f 00 a8 	lwz     r10,168(r31)                           
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc11ebc:	39 20 00 00 	li      r9,0                                   
ffc11ec0:	7d 20 00 a6 	mfmsr   r9                                     
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc11ec4:	71 48 00 01 	andi.   r8,r10,1                               
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc11ec8:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc11ecc:	40 82 00 64 	bne-    ffc11f30 <_Thread_Handler+0x94>        
    msr |= ppc_interrupt_get_disable_mask();                          
ffc11ed0:	7d 49 4b 78 	or      r9,r10,r9                              
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc11ed4:	7d 20 01 24 	mtmsr   r9                                     
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
ffc11ed8:	3d 20 00 00 	lis     r9,0                                   
ffc11edc:	8b c9 29 c8 	lbz     r30,10696(r9)                          
  );                                                                  
}                                                                     
                                                                      
static inline void _User_extensions_Thread_begin( Thread_Control *executing )
{                                                                     
  _User_extensions_Iterate(                                           
ffc11ee0:	3c 80 ff c1 	lis     r4,-63                                 
      doneConstructors = true;                                        
ffc11ee4:	39 40 00 01 	li      r10,1                                  
ffc11ee8:	7f e3 fb 78 	mr      r3,r31                                 
ffc11eec:	99 49 29 c8 	stb     r10,10696(r9)                          
ffc11ef0:	38 84 d8 0c 	addi    r4,r4,-10228                           
ffc11ef4:	4b ff b9 65 	bl      ffc0d858 <_User_extensions_Iterate>    
  _User_extensions_Thread_begin( executing );                         
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc11ef8:	4b ff ab 25 	bl      ffc0ca1c <_Thread_Enable_dispatch>     
    /*                                                                
     *  _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) */ {                    
ffc11efc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc11f00:	41 9e 00 38 	beq-    cr7,ffc11f38 <_Thread_Handler+0x9c>    
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
ffc11f04:	81 3f 00 90 	lwz     r9,144(r31)                            
ffc11f08:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11f0c:	41 9e 00 34 	beq-    cr7,ffc11f40 <_Thread_Handler+0xa4>    <== ALWAYS TAKEN
  }                                                                   
}                                                                     
                                                                      
static inline void _User_extensions_Thread_exitted( Thread_Control *executing )
{                                                                     
  _User_extensions_Iterate(                                           
ffc11f10:	3c 80 ff c1 	lis     r4,-63                                 
ffc11f14:	7f e3 fb 78 	mr      r3,r31                                 
ffc11f18:	38 84 d8 20 	addi    r4,r4,-10208                           
ffc11f1c:	4b ff b9 3d 	bl      ffc0d858 <_User_extensions_Iterate>    
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
                                                                      
  _Internal_error_Occurred(                                           
ffc11f20:	38 60 00 00 	li      r3,0                                   
ffc11f24:	38 80 00 01 	li      r4,1                                   
ffc11f28:	38 a0 00 05 	li      r5,5                                   
ffc11f2c:	4b ff 93 ed 	bl      ffc0b318 <_Internal_error_Occurred>    
  _CPU_MSR_GET(msr);                                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
    msr |= ppc_interrupt_get_disable_mask();                          
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc11f30:	7d 29 50 78 	andc    r9,r9,r10                              
ffc11f34:	4b ff ff a0 	b       ffc11ed4 <_Thread_Handler+0x38>        
     *  _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 ();                                                   
ffc11f38:	48 00 b5 a5 	bl      ffc1d4dc <_init>                       
ffc11f3c:	4b ff ff c8 	b       ffc11f04 <_Thread_Handler+0x68>        
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
ffc11f40:	81 3f 00 8c 	lwz     r9,140(r31)                            
ffc11f44:	80 7f 00 98 	lwz     r3,152(r31)                            
ffc11f48:	7d 29 03 a6 	mtctr   r9                                     
ffc11f4c:	4e 80 04 21 	bctrl                                          
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
ffc11f50:	90 7f 00 28 	stw     r3,40(r31)                             
ffc11f54:	4b ff ff bc 	b       ffc11f10 <_Thread_Handler+0x74>        
                                                                      

ffc0cd64 <_Thread_Handler_initialization>: #include <rtems/bspsmp.h> #endif void _Thread_Handler_initialization(void) { uint32_t ticks_per_timeslice =
ffc0cd64:	3d 20 ff c2 	lis     r9,-62                                 
#if defined(RTEMS_SMP)                                                
  #include <rtems/bspsmp.h>                                           
#endif                                                                
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
ffc0cd68:	94 21 ff f0 	stwu    r1,-16(r1)                             
  uint32_t ticks_per_timeslice =                                      
ffc0cd6c:	39 29 d5 38 	addi    r9,r9,-10952                           
#if defined(RTEMS_SMP)                                                
  #include <rtems/bspsmp.h>                                           
#endif                                                                
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
ffc0cd70:	7c 08 02 a6 	mflr    r0                                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
ffc0cd74:	81 49 00 28 	lwz     r10,40(r9)                             
#if defined(RTEMS_SMP)                                                
  #include <rtems/bspsmp.h>                                           
#endif                                                                
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
ffc0cd78:	93 c1 00 08 	stw     r30,8(r1)                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
ffc0cd7c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
#if defined(RTEMS_SMP)                                                
  #include <rtems/bspsmp.h>                                           
#endif                                                                
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
ffc0cd80:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0cd84:	90 01 00 14 	stw     r0,20(r1)                              
  uint32_t ticks_per_timeslice =                                      
ffc0cd88:	83 e9 00 14 	lwz     r31,20(r9)                             
    rtems_configuration_get_ticks_per_timeslice();                    
  uint32_t maximum_extensions =                                       
ffc0cd8c:	83 c9 00 08 	lwz     r30,8(r9)                              
    rtems_configuration_get_maximum_extensions();                     
  rtems_stack_allocate_init_hook stack_allocate_init_hook =           
ffc0cd90:	81 49 00 24 	lwz     r10,36(r9)                             
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
ffc0cd94:	41 9e 00 90 	beq-    cr7,ffc0ce24 <_Thread_Handler_initialization+0xc0><== NEVER TAKEN
ffc0cd98:	81 09 00 2c 	lwz     r8,44(r9)                              
ffc0cd9c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0cda0:	41 9e 00 84 	beq-    cr7,ffc0ce24 <_Thread_Handler_initialization+0xc0>
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  if ( stack_allocate_init_hook != NULL )                             
ffc0cda4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cda8:	41 9e 00 10 	beq-    cr7,ffc0cdb8 <_Thread_Handler_initialization+0x54>
    (*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
ffc0cdac:	80 69 00 04 	lwz     r3,4(r9)                               
ffc0cdb0:	7d 49 03 a6 	mtctr   r10                                    
ffc0cdb4:	4e 80 04 21 	bctrl                                          
                                                                      
  _Thread_Dispatch_necessary = false;                                 
ffc0cdb8:	3d 60 00 00 	lis     r11,0                                  
ffc0cdbc:	39 6b 2e 00 	addi    r11,r11,11776                          
ffc0cdc0:	38 00 00 00 	li      r0,0                                   
ffc0cdc4:	98 0b 00 0c 	stb     r0,12(r11)                             
  _Thread_Executing         = NULL;                                   
ffc0cdc8:	39 40 00 00 	li      r10,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cdcc:	3c 60 00 00 	lis     r3,0                                   
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
ffc0cdd0:	80 01 00 14 	lwz     r0,20(r1)                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cdd4:	38 63 2d 74 	addi    r3,r3,11636                            
                                                                      
  if ( stack_allocate_init_hook != NULL )                             
    (*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
                                                                      
  _Thread_Dispatch_necessary = false;                                 
  _Thread_Executing         = NULL;                                   
ffc0cdd8:	91 4b 00 10 	stw     r10,16(r11)                            
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cddc:	38 80 00 01 	li      r4,1                                   
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
ffc0cde0:	7c 08 03 a6 	mtlr    r0                                     
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cde4:	38 a0 00 01 	li      r5,1                                   
  if ( stack_allocate_init_hook != NULL )                             
    (*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
                                                                      
  _Thread_Dispatch_necessary = false;                                 
  _Thread_Executing         = NULL;                                   
  _Thread_Heir              = NULL;                                   
ffc0cde8:	91 4b 00 14 	stw     r10,20(r11)                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
ffc0cdec:	3d 60 00 00 	lis     r11,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cdf0:	38 c0 00 01 	li      r6,1                                   
                                                                      
  _Thread_Dispatch_necessary = false;                                 
  _Thread_Executing         = NULL;                                   
  _Thread_Heir              = NULL;                                   
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
ffc0cdf4:	91 4b 28 28 	stw     r10,10280(r11)                         
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
ffc0cdf8:	3d 40 00 00 	lis     r10,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0cdfc:	38 e0 01 58 	li      r7,344                                 
  _Thread_Heir              = NULL;                                   
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
ffc0ce00:	93 ca 28 30 	stw     r30,10288(r10)                         
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
ffc0ce04:	3d 40 00 00 	lis     r10,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0ce08:	39 00 00 00 	li      r8,0                                   
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
ffc0ce0c:	83 c1 00 08 	lwz     r30,8(r1)                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0ce10:	39 20 00 08 	li      r9,8                                   
  _Thread_Allocated_fp      = NULL;                                   
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
ffc0ce14:	93 ea 28 20 	stw     r31,10272(r10)                         
      false,                      /* true if this is a global object class */
      NULL                        /* Proxy extraction support callout */
    #endif                                                            
  );                                                                  
                                                                      
}                                                                     
ffc0ce18:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ce1c:	38 21 00 10 	addi    r1,r1,16                               
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
ffc0ce20:	4b ff eb f0 	b       ffc0ba10 <_Objects_Initialize_information>
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
       rtems_configuration_get_stack_free_hook() == NULL)             
    _Internal_error_Occurred(                                         
ffc0ce24:	38 60 00 00 	li      r3,0                                   
ffc0ce28:	38 80 00 01 	li      r4,1                                   
ffc0ce2c:	38 a0 00 0e 	li      r5,14                                  
ffc0ce30:	4b ff e4 e9 	bl      ffc0b318 <_Internal_error_Occurred>    
                                                                      

ffc0cad0 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
ffc0cad0:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0cad4:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0cad8:	38 a0 00 00 	li      r5,0                                   
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0cadc:	90 01 00 44 	stw     r0,68(r1)                              
ffc0cae0:	93 01 00 20 	stw     r24,32(r1)                             
ffc0cae4:	7c f8 3b 78 	mr      r24,r7                                 
ffc0cae8:	93 21 00 24 	stw     r25,36(r1)                             
ffc0caec:	7d 59 53 78 	mr      r25,r10                                
ffc0caf0:	93 41 00 28 	stw     r26,40(r1)                             
ffc0caf4:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0caf8:	7c 7b 1b 78 	mr      r27,r3                                 
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0cafc:	7c 83 23 78 	mr      r3,r4                                  
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0cb00:	93 81 00 30 	stw     r28,48(r1)                             
ffc0cb04:	7d 3c 4b 78 	mr      r28,r9                                 
ffc0cb08:	93 a1 00 34 	stw     r29,52(r1)                             
ffc0cb0c:	7d 1d 43 78 	mr      r29,r8                                 
ffc0cb10:	93 c1 00 38 	stw     r30,56(r1)                             
ffc0cb14:	7c de 33 78 	mr      r30,r6                                 
ffc0cb18:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc0cb1c:	7c 9f 23 78 	mr      r31,r4                                 
ffc0cb20:	80 c1 00 50 	lwz     r6,80(r1)                              
ffc0cb24:	92 e1 00 1c 	stw     r23,28(r1)                             
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
ffc0cb28:	90 a4 01 48 	stw     r5,328(r4)                             
ffc0cb2c:	90 a4 01 4c 	stw     r5,332(r4)                             
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
ffc0cb30:	90 a4 01 44 	stw     r5,324(r4)                             
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0cb34:	7f c4 f3 78 	mr      r4,r30                                 
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
ffc0cb38:	83 46 00 00 	lwz     r26,0(r6)                              
                                                                      
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
ffc0cb3c:	48 00 0a 99 	bl      ffc0d5d4 <_Thread_Stack_Allocate>      
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0cb40:	7c 66 1b 79 	mr.     r6,r3                                  
ffc0cb44:	41 82 01 74 	beq-    ffc0ccb8 <_Thread_Initialize+0x1e8>    
ffc0cb48:	7f 9e 30 40 	cmplw   cr7,r30,r6                             
      return false;                     /* stack allocation failed */ 
ffc0cb4c:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
ffc0cb50:	41 9d 01 34 	bgt-    cr7,ffc0cc84 <_Thread_Initialize+0x1b4><== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0cb54:	2f 98 00 00 	cmpwi   cr7,r24,0                              
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0cb58:	81 3f 00 bc 	lwz     r9,188(r31)                            
  the_stack->size = size;                                             
ffc0cb5c:	90 df 00 b0 	stw     r6,176(r31)                            
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    fp_area = NULL;                                                   
ffc0cb60:	3b c0 00 00 	li      r30,0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
ffc0cb64:	91 3f 00 b4 	stw     r9,180(r31)                            
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
ffc0cb68:	40 9e 01 88 	bne-    cr7,ffc0ccf0 <_Thread_Initialize+0x220>
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0cb6c:	3e e0 00 00 	lis     r23,0                                  
      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;                           
ffc0cb70:	93 df 01 40 	stw     r30,320(r31)                           
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc0cb74:	39 20 00 00 	li      r9,0                                   
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0cb78:	81 57 28 30 	lwz     r10,10288(r23)                         
      if ( !fp_area )                                                 
        goto failed;                                                  
      fp_area = _Context_Fp_start( fp_area, 0 );                      
    }                                                                 
    the_thread->fp_context       = fp_area;                           
    the_thread->Start.fp_context = fp_area;                           
ffc0cb7c:	93 df 00 b8 	stw     r30,184(r31)                           
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
ffc0cb80:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0cb84:	91 3f 00 50 	stw     r9,80(r31)                             
  the_watchdog->routine   = routine;                                  
ffc0cb88:	91 3f 00 64 	stw     r9,100(r31)                            
  the_watchdog->id        = id;                                       
ffc0cb8c:	91 3f 00 68 	stw     r9,104(r31)                            
  the_watchdog->user_data = user_data;                                
ffc0cb90:	91 3f 00 6c 	stw     r9,108(r31)                            
ffc0cb94:	40 9e 01 78 	bne-    cr7,ffc0cd0c <_Thread_Initialize+0x23c>
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0cb98:	91 5f 01 50 	stw     r10,336(r31)                           
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0cb9c:	3b 00 00 00 	li      r24,0                                  
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
ffc0cba0:	39 20 00 00 	li      r9,0                                   
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0cba4:	81 41 00 48 	lwz     r10,72(r1)                             
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
  the_thread->Wait.queue              = NULL;                         
ffc0cba8:	91 3f 00 44 	stw     r9,68(r31)                             
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0cbac:	3a e0 00 01 	li      r23,1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
ffc0cbb0:	7f e3 fb 78 	mr      r3,r31                                 
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
ffc0cbb4:	91 3f 00 1c 	stw     r9,28(r31)                             
ffc0cbb8:	3d 20 00 00 	lis     r9,0                                   
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
ffc0cbbc:	91 5f 00 a4 	stw     r10,164(r31)                           
ffc0cbc0:	81 29 20 98 	lwz     r9,8344(r9)                            
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0cbc4:	81 41 00 4c 	lwz     r10,76(r1)                             
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
ffc0cbc8:	9b 9f 00 9c 	stb     r28,156(r31)                           
ffc0cbcc:	7d 29 03 a6 	mtctr   r9                                     
  the_thread->Start.budget_algorithm = budget_algorithm;              
ffc0cbd0:	93 3f 00 a0 	stw     r25,160(r31)                           
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
ffc0cbd4:	91 5f 00 a8 	stw     r10,168(r31)                           
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
ffc0cbd8:	92 ff 00 10 	stw     r23,16(r31)                            
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
  the_thread->real_priority           = priority;                     
ffc0cbdc:	93 bf 00 18 	stw     r29,24(r31)                            
  the_thread->Start.initial_priority  = priority;                     
ffc0cbe0:	93 bf 00 ac 	stw     r29,172(r31)                           
ffc0cbe4:	4e 80 04 21 	bctrl                                          
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
ffc0cbe8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc0cbec:	41 82 00 5c 	beq-    ffc0cc48 <_Thread_Initialize+0x178>    
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
ffc0cbf0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cbf4:	7f a4 eb 78 	mr      r4,r29                                 
ffc0cbf8:	48 00 08 f5 	bl      ffc0d4ec <_Thread_Set_priority>        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
ffc0cbfc:	a1 3f 00 0a 	lhz     r9,10(r31)                             
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc0cc00:	81 1b 00 1c 	lwz     r8,28(r27)                             
                                                                      
static inline void _Timestamp64_implementation_Set_to_zero(           
  Timestamp64_Control *_time                                          
)                                                                     
{                                                                     
  *_time = 0;                                                         
ffc0cc04:	39 40 00 00 	li      r10,0                                  
ffc0cc08:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc0cc0c:	91 5f 00 80 	stw     r10,128(r31)                           
ffc0cc10:	39 60 00 00 	li      r11,0                                  
ffc0cc14:	91 7f 00 84 	stw     r11,132(r31)                           
                                                                      
static inline bool _User_extensions_Thread_create( Thread_Control *created )
{                                                                     
  User_extensions_Thread_create_context ctx = { created, true };      
                                                                      
  _User_extensions_Iterate( &ctx, _User_extensions_Thread_create_visitor );
ffc0cc18:	3c 80 ff c1 	lis     r4,-63                                 
ffc0cc1c:	38 61 00 08 	addi    r3,r1,8                                
ffc0cc20:	7f e8 49 2e 	stwx    r31,r8,r9                              
ffc0cc24:	38 84 d7 60 	addi    r4,r4,-10400                           
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc0cc28:	93 5f 00 0c 	stw     r26,12(r31)                            
 * @{                                                                 
 */                                                                   
                                                                      
static inline bool _User_extensions_Thread_create( Thread_Control *created )
{                                                                     
  User_extensions_Thread_create_context ctx = { created, true };      
ffc0cc2c:	93 e1 00 08 	stw     r31,8(r1)                              
ffc0cc30:	9a e1 00 0c 	stb     r23,12(r1)                             
                                                                      
  _User_extensions_Iterate( &ctx, _User_extensions_Thread_create_visitor );
ffc0cc34:	48 00 0c 25 	bl      ffc0d858 <_User_extensions_Iterate>    
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
  if ( extension_status )                                             
    return true;                                                      
ffc0cc38:	38 60 00 01 	li      r3,1                                   
                                                                      
  return ctx.ok;                                                      
ffc0cc3c:	89 21 00 0c 	lbz     r9,12(r1)                              
   *  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 );    
  if ( extension_status )                                             
ffc0cc40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0cc44:	40 9e 00 40 	bne-    cr7,ffc0cc84 <_Thread_Initialize+0x1b4>
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
ffc0cc48:	80 7f 01 44 	lwz     r3,324(r31)                            
ffc0cc4c:	48 00 12 85 	bl      ffc0ded0 <_Workspace_Free>             
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
ffc0cc50:	80 7f 01 48 	lwz     r3,328(r31)                            
ffc0cc54:	48 00 12 7d 	bl      ffc0ded0 <_Workspace_Free>             
ffc0cc58:	80 7f 01 4c 	lwz     r3,332(r31)                            
ffc0cc5c:	48 00 12 75 	bl      ffc0ded0 <_Workspace_Free>             
                                                                      
  _Workspace_Free( extensions_area );                                 
ffc0cc60:	7f 03 c3 78 	mr      r3,r24                                 
ffc0cc64:	48 00 12 6d 	bl      ffc0ded0 <_Workspace_Free>             
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
ffc0cc68:	7f c3 f3 78 	mr      r3,r30                                 
ffc0cc6c:	48 00 12 65 	bl      ffc0ded0 <_Workspace_Free>             
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
ffc0cc70:	7f 83 e3 78 	mr      r3,r28                                 
ffc0cc74:	48 00 12 5d 	bl      ffc0ded0 <_Workspace_Free>             
                                                                      
   _Thread_Stack_Free( the_thread );                                  
ffc0cc78:	7f e3 fb 78 	mr      r3,r31                                 
ffc0cc7c:	48 00 09 e9 	bl      ffc0d664 <_Thread_Stack_Free>          
  return false;                                                       
ffc0cc80:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0cc84:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0cc88:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0cc8c:	7c 08 03 a6 	mtlr    r0                                     
ffc0cc90:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0cc94:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0cc98:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0cc9c:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0cca0:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0cca4:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0cca8:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0ccac:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0ccb0:	38 21 00 40 	addi    r1,r1,64                               
ffc0ccb4:	4e 80 00 20 	blr                                            
ffc0ccb8:	80 01 00 44 	lwz     r0,68(r1)                              
   *  Allocate and Initialize the stack for this thread.              
   */                                                                 
  #if !defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API) 
    actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
ffc0ccbc:	38 60 00 00 	li      r3,0                                   
                                                                      
   _Workspace_Free( sched );                                          
                                                                      
   _Thread_Stack_Free( the_thread );                                  
  return false;                                                       
}                                                                     
ffc0ccc0:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc0ccc4:	7c 08 03 a6 	mtlr    r0                                     
ffc0ccc8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc0cccc:	83 21 00 24 	lwz     r25,36(r1)                             
ffc0ccd0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc0ccd4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0ccd8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0ccdc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0cce0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0cce4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0cce8:	38 21 00 40 	addi    r1,r1,64                               
ffc0ccec:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  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 );               
ffc0ccf0:	38 60 01 08 	li      r3,264                                 
ffc0ccf4:	48 00 11 c5 	bl      ffc0deb8 <_Workspace_Allocate>         
      if ( !fp_area )                                                 
ffc0ccf8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0ccfc:	40 82 fe 70 	bne+    ffc0cb6c <_Thread_Initialize+0x9c>     
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
ffc0cd00:	3b 00 00 00 	li      r24,0                                  
  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;                                  
ffc0cd04:	3b 80 00 00 	li      r28,0                                  
ffc0cd08:	4b ff ff 40 	b       ffc0cc48 <_Thread_Initialize+0x178>    
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
ffc0cd0c:	38 6a 00 01 	addi    r3,r10,1                               
ffc0cd10:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc0cd14:	48 00 11 a5 	bl      ffc0deb8 <_Workspace_Allocate>         
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
ffc0cd18:	7c 78 1b 79 	mr.     r24,r3                                 
ffc0cd1c:	41 82 00 40 	beq-    ffc0cd5c <_Thread_Initialize+0x28c>    
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0cd20:	93 1f 01 50 	stw     r24,336(r31)                           
ffc0cd24:	7f 05 c3 78 	mr      r5,r24                                 
   * 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++ )              
ffc0cd28:	38 c0 00 00 	li      r6,0                                   
ffc0cd2c:	80 17 28 30 	lwz     r0,10288(r23)                          
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
ffc0cd30:	38 e0 00 00 	li      r7,0                                   
   * 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;                               
ffc0cd34:	39 60 00 00 	li      r11,0                                  
ffc0cd38:	48 00 00 08 	b       ffc0cd40 <_Thread_Initialize+0x270>    
ffc0cd3c:	80 bf 01 50 	lwz     r5,336(r31)                            
   * 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++ )              
ffc0cd40:	38 e7 00 01 	addi    r7,r7,1                                
ffc0cd44:	7f 87 00 40 	cmplw   cr7,r7,r0                              
      the_thread->extensions[i] = NULL;                               
ffc0cd48:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
ffc0cd4c:	7d 65 31 2e 	stwx    r11,r5,r6                              
   * 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++ )              
ffc0cd50:	7c e6 3b 78 	mr      r6,r7                                  
ffc0cd54:	40 9d ff e8 	ble+    cr7,ffc0cd3c <_Thread_Initialize+0x26c>
ffc0cd58:	4b ff fe 48 	b       ffc0cba0 <_Thread_Initialize+0xd0>     
  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;                                  
ffc0cd5c:	3b 80 00 00 	li      r28,0                                  
ffc0cd60:	4b ff fe e8 	b       ffc0cc48 <_Thread_Initialize+0x178>    
                                                                      

ffc0deb0 <_Thread_Restart>: bool _Thread_Restart( Thread_Control *the_thread, void *pointer_argument, Thread_Entry_numeric_type numeric_argument ) {
ffc0deb0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0deb4:	7c 08 02 a6 	mflr    r0                                     
ffc0deb8:	90 01 00 1c 	stw     r0,28(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_dormant (                        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_DORMANT);                              
ffc0debc:	81 23 00 10 	lwz     r9,16(r3)                              
ffc0dec0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0dec4:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0dec8:	71 2a 00 01 	andi.   r10,r9,1                               
bool _Thread_Restart(                                                 
  Thread_Control            *the_thread,                              
  void                      *pointer_argument,                        
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
ffc0decc:	93 c1 00 10 	stw     r30,16(r1)                             
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
ffc0ded0:	41 82 00 20 	beq-    ffc0def0 <_Thread_Restart+0x40>        
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
  }                                                                   
                                                                      
  return false;                                                       
ffc0ded4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0ded8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0dedc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0dee0:	7c 08 03 a6 	mtlr    r0                                     
ffc0dee4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0dee8:	38 21 00 18 	addi    r1,r1,24                               
ffc0deec:	4e 80 00 20 	blr                                            
  Thread_Entry_numeric_type  numeric_argument                         
)                                                                     
{                                                                     
  if ( !_States_Is_dormant( the_thread->current_state ) ) {           
                                                                      
    _Thread_Set_transient( the_thread );                              
ffc0def0:	90 81 00 08 	stw     r4,8(r1)                               
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc0def4:	3f c0 00 00 	lis     r30,0                                  
ffc0def8:	3b de 2e 20 	addi    r30,r30,11808                          
ffc0defc:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc0df00:	48 00 00 f1 	bl      ffc0dff0 <_Thread_Set_transient>       
                                                                      
    _Thread_Reset( the_thread, pointer_argument, numeric_argument );  
ffc0df04:	7f e3 fb 78 	mr      r3,r31                                 
ffc0df08:	80 81 00 08 	lwz     r4,8(r1)                               
ffc0df0c:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc0df10:	48 00 30 9d 	bl      ffc10fac <_Thread_Reset>               
                                                                      
    _Thread_Load_environment( the_thread );                           
ffc0df14:	7f e3 fb 78 	mr      r3,r31                                 
ffc0df18:	48 00 2d 51 	bl      ffc10c68 <_Thread_Load_environment>    
                                                                      
    _Thread_Ready( the_thread );                                      
ffc0df1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0df20:	48 00 30 3d 	bl      ffc10f5c <_Thread_Ready>               
  );                                                                  
}                                                                     
                                                                      
static inline void _User_extensions_Thread_restart( Thread_Control *restarted )
{                                                                     
  _User_extensions_Iterate(                                           
ffc0df24:	3c 80 ff c1 	lis     r4,-63                                 
ffc0df28:	7f e3 fb 78 	mr      r3,r31                                 
ffc0df2c:	38 84 e2 70 	addi    r4,r4,-7568                            
ffc0df30:	48 00 03 a1 	bl      ffc0e2d0 <_User_extensions_Iterate>    
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0df34:	81 3e 00 10 	lwz     r9,16(r30)                             
      _Thread_Restart_self();                                         
                                                                      
    return true;                                                      
ffc0df38:	38 60 00 01 	li      r3,1                                   
                                                                      
    _Thread_Ready( the_thread );                                      
                                                                      
    _User_extensions_Thread_restart( the_thread );                    
                                                                      
    if ( _Thread_Is_executing ( the_thread ) )                        
ffc0df3c:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc0df40:	40 9e ff 98 	bne+    cr7,ffc0ded8 <_Thread_Restart+0x28>    
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Restart_self( void )                
{                                                                     
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  if ( _Thread_Executing->fp_context != NULL )                        
ffc0df44:	81 3f 01 40 	lwz     r9,320(r31)                            
ffc0df48:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0df4c:	41 9e 00 0c 	beq-    cr7,ffc0df58 <_Thread_Restart+0xa8>    <== NEVER TAKEN
    _Context_Restore_fp( &_Thread_Executing->fp_context );            
ffc0df50:	38 7f 01 40 	addi    r3,r31,320                             
ffc0df54:	48 00 f5 2d 	bl      ffc1d480 <_CPU_Context_restore_fp>     
#endif                                                                
                                                                      
  _CPU_Context_Restart_self( &_Thread_Executing->Registers );         
ffc0df58:	80 7e 00 10 	lwz     r3,16(r30)                             
ffc0df5c:	38 63 00 c0 	addi    r3,r3,192                              
ffc0df60:	48 00 f6 b5 	bl      ffc1d614 <_CPU_Context_restore>        
                                                                      

ffc0d3f4 <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
ffc0d3f4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0d3f8:	7c 08 02 a6 	mflr    r0                                     
ffc0d3fc:	93 e1 00 24 	stw     r31,36(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0d400:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void _Thread_queue_Requeue(                                           
  Thread_queue_Control *the_thread_queue,                             
  Thread_Control       *the_thread                                    
)                                                                     
{                                                                     
ffc0d404:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0d408:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0d40c:	93 c1 00 20 	stw     r30,32(r1)                             
  /*                                                                  
   * Just in case the thread really wasn't blocked on a thread queue  
   * when we get here.                                                
   */                                                                 
  if ( !the_thread_queue )                                            
ffc0d410:	41 82 00 10 	beq-    ffc0d420 <_Thread_queue_Requeue+0x2c>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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 ) {
ffc0d414:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc0d418:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0d41c:	41 9e 00 20 	beq-    cr7,ffc0d43c <_Thread_queue_Requeue+0x48><== ALWAYS TAKEN
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0d420:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc0d424:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc0d428:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0d42c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc0d430:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc0d434:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc0d438:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc0d43c:	7c 9e 23 78 	mr      r30,r4                                 
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d440:	7f a0 00 a6 	mfmsr   r29                                    
ffc0d444:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0d448:	7f aa 50 78 	andc    r10,r29,r10                            
ffc0d44c:	7d 40 01 24 	mtmsr   r10                                    
ffc0d450:	3d 00 00 03 	lis     r8,3                                   
ffc0d454:	81 44 00 10 	lwz     r10,16(r4)                             
ffc0d458:	61 08 be e0 	ori     r8,r8,48864                            
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
ffc0d45c:	7d 07 50 39 	and.    r7,r8,r10                              
ffc0d460:	40 82 00 24 	bne-    ffc0d484 <_Thread_queue_Requeue+0x90>  <== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0d464:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
  }                                                                   
}                                                                     
ffc0d468:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0d46c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0d470:	7c 08 03 a6 	mtlr    r0                                     
ffc0d474:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0d478:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0d47c:	38 21 00 28 	addi    r1,r1,40                               
ffc0d480:	4e 80 00 20 	blr                                            
                                                                      
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;
ffc0d484:	91 3f 00 30 	stw     r9,48(r31)                             
    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 );  
ffc0d488:	38 a0 00 01 	li      r5,1                                   
ffc0d48c:	48 00 2f 11 	bl      ffc1039c <_Thread_queue_Extract_priority_helper>
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
ffc0d490:	7f e3 fb 78 	mr      r3,r31                                 
ffc0d494:	7f c4 f3 78 	mr      r4,r30                                 
ffc0d498:	38 a1 00 08 	addi    r5,r1,8                                
ffc0d49c:	4b ff fc 69 	bl      ffc0d104 <_Thread_queue_Enqueue_priority>
ffc0d4a0:	7f a0 01 24 	mtmsr   r29                                    
ffc0d4a4:	4b ff ff c4 	b       ffc0d468 <_Thread_queue_Requeue+0x74>  
                                                                      

ffc0d4a8 <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
ffc0d4a8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d4ac:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0d4b0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
void _Thread_queue_Timeout(                                           
  Objects_Id  id,                                                     
  void       *ignored __attribute__((unused))                         
)                                                                     
{                                                                     
ffc0d4b4:	90 01 00 1c 	stw     r0,28(r1)                              
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0d4b8:	4b ff f5 81 	bl      ffc0ca38 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0d4bc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0d4c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d4c4:	40 9e 00 18 	bne-    cr7,ffc0d4dc <_Thread_queue_Timeout+0x34><== NEVER TAKEN
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
ffc0d4c8:	48 00 2f d1 	bl      ffc10498 <_Thread_queue_Process_timeout>
   *                                                                  
   * This routine decrements the thread dispatch level.               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_decrement_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc0d4cc:	3d 20 00 00 	lis     r9,0                                   
ffc0d4d0:	81 49 28 24 	lwz     r10,10276(r9)                          
                                                                      
    --level;                                                          
ffc0d4d4:	39 4a ff ff 	addi    r10,r10,-1                             
    _Thread_Dispatch_disable_level = level;                           
ffc0d4d8:	91 49 28 24 	stw     r10,10276(r9)                          
      _Thread_Unnest_dispatch();                                      
      break;                                                          
  }                                                                   
}                                                                     
ffc0d4dc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d4e0:	38 21 00 18 	addi    r1,r1,24                               
ffc0d4e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0d4e8:	4e 80 00 20 	blr                                            
                                                                      

ffc1d878 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
ffc1d878:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc1d87c:	7c 08 02 a6 	mflr    r0                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc1d880:	39 20 00 00 	li      r9,0                                   
ffc1d884:	92 c1 00 40 	stw     r22,64(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1d888:	3a c1 00 14 	addi    r22,r1,20                              
ffc1d88c:	93 01 00 48 	stw     r24,72(r1)                             
ffc1d890:	3b 01 00 0c 	addi    r24,r1,12                              
ffc1d894:	93 61 00 54 	stw     r27,84(r1)                             
ffc1d898:	3b 61 00 18 	addi    r27,r1,24                              
ffc1d89c:	93 a1 00 5c 	stw     r29,92(r1)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1d8a0:	3b a1 00 08 	addi    r29,r1,8                               
ffc1d8a4:	92 a1 00 3c 	stw     r21,60(r1)                             
ffc1d8a8:	3e a0 00 00 	lis     r21,0                                  
ffc1d8ac:	3a b5 28 f8 	addi    r21,r21,10488                          
ffc1d8b0:	93 21 00 4c 	stw     r25,76(r1)                             
ffc1d8b4:	3f 20 00 00 	lis     r25,0                                  
ffc1d8b8:	3b 39 29 18 	addi    r25,r25,10520                          
ffc1d8bc:	93 41 00 50 	stw     r26,80(r1)                             
ffc1d8c0:	3f 40 00 00 	lis     r26,0                                  
ffc1d8c4:	3b 5a 70 00 	addi    r26,r26,28672                          
ffc1d8c8:	90 01 00 6c 	stw     r0,108(r1)                             
ffc1d8cc:	92 01 00 28 	stw     r16,40(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1d8d0:	93 61 00 14 	stw     r27,20(r1)                             
  head->previous = NULL;                                              
ffc1d8d4:	91 21 00 18 	stw     r9,24(r1)                              
  tail->previous = head;                                              
ffc1d8d8:	92 c1 00 1c 	stw     r22,28(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1d8dc:	93 01 00 08 	stw     r24,8(r1)                              
  head->previous = NULL;                                              
ffc1d8e0:	91 21 00 0c 	stw     r9,12(r1)                              
  tail->previous = head;                                              
ffc1d8e4:	93 a1 00 10 	stw     r29,16(r1)                             
ffc1d8e8:	92 21 00 2c 	stw     r17,44(r1)                             
ffc1d8ec:	3a 23 00 08 	addi    r17,r3,8                               
ffc1d8f0:	92 41 00 30 	stw     r18,48(r1)                             
ffc1d8f4:	3a 43 00 40 	addi    r18,r3,64                              
ffc1d8f8:	92 61 00 34 	stw     r19,52(r1)                             
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc1d8fc:	3a 60 00 00 	li      r19,0                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1d900:	92 81 00 38 	stw     r20,56(r1)                             
        _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;                                              
ffc1d904:	3a 80 00 01 	li      r20,1                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1d908:	92 e1 00 44 	stw     r23,68(r1)                             
         *  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;                        
ffc1d90c:	3a e0 00 00 	li      r23,0                                  
 *  @a arg points to the corresponding timer server control block.    
 */                                                                   
static rtems_task _Timer_server_Body(                                 
  rtems_task_argument arg                                             
)                                                                     
{                                                                     
ffc1d910:	93 81 00 58 	stw     r28,88(r1)                             
ffc1d914:	3b 83 00 30 	addi    r28,r3,48                              
ffc1d918:	93 c1 00 60 	stw     r30,96(r1)                             
ffc1d91c:	3b c3 00 68 	addi    r30,r3,104                             
ffc1d920:	93 e1 00 64 	stw     r31,100(r1)                            
ffc1d924:	7c 7f 1b 78 	mr      r31,r3                                 
{                                                                     
  /*                                                                  
   *  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;                                    
ffc1d928:	92 df 00 78 	stw     r22,120(r31)                           
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
ffc1d92c:	81 39 00 00 	lwz     r9,0(r25)                              
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1d930:	7f 83 e3 78 	mr      r3,r28                                 
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
ffc1d934:	80 9f 00 3c 	lwz     r4,60(r31)                             
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1d938:	7f a5 eb 78 	mr      r5,r29                                 
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1d93c:	91 3f 00 3c 	stw     r9,60(r31)                             
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
ffc1d940:	7c 84 48 50 	subf    r4,r4,r9                               
ffc1d944:	48 00 50 e5 	bl      ffc22a28 <_Watchdog_Adjust_to_chain>   
ffc1d948:	80 7a 00 00 	lwz     r3,0(r26)                              
ffc1d94c:	80 9a 00 04 	lwz     r4,4(r26)                              
ffc1d950:	3c c0 3b 9a 	lis     r6,15258                               
ffc1d954:	38 a0 00 00 	li      r5,0                                   
ffc1d958:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc1d95c:	48 01 4e 69 	bl      ffc327c4 <__divdi3>                    
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
ffc1d960:	80 bf 00 74 	lwz     r5,116(r31)                            
ffc1d964:	7c 90 23 78 	mr      r16,r4                                 
  /*                                                                  
   *  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 ) {                                   
ffc1d968:	7f 84 28 40 	cmplw   cr7,r4,r5                              
ffc1d96c:	41 9d 00 94 	bgt-    cr7,ffc1da00 <_Timer_server_Body+0x188>
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
ffc1d970:	41 9c 00 6c 	blt-    cr7,ffc1d9dc <_Timer_server_Body+0x164>
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
ffc1d974:	92 1f 00 74 	stw     r16,116(r31)                           
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc1d978:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1d97c:	48 00 0a d9 	bl      ffc1e454 <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc1d980:	7c 64 1b 79 	mr.     r4,r3                                  
ffc1d984:	41 82 00 34 	beq-    ffc1d9b8 <_Timer_server_Body+0x140>    
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1d988:	81 24 00 38 	lwz     r9,56(r4)                              
ffc1d98c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1d990:	2f 09 00 03 	cmpwi   cr6,r9,3                               
static void _Timer_server_Insert_timer(                               
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1d994:	41 9e 00 5c 	beq-    cr7,ffc1d9f0 <_Timer_server_Body+0x178>
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
ffc1d998:	40 9a ff e0 	bne+    cr6,ffc1d978 <_Timer_server_Body+0x100><== NEVER TAKEN
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1d99c:	38 84 00 10 	addi    r4,r4,16                               
ffc1d9a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1d9a4:	48 00 51 29 	bl      ffc22acc <_Watchdog_Insert>            
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
ffc1d9a8:	80 7f 00 78 	lwz     r3,120(r31)                            
ffc1d9ac:	48 00 0a a9 	bl      ffc1e454 <_Chain_Get>                  
                                                                      
    if ( timer == NULL ) {                                            
ffc1d9b0:	7c 64 1b 79 	mr.     r4,r3                                  
ffc1d9b4:	40 82 ff d4 	bne+    ffc1d988 <_Timer_server_Body+0x110>    <== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1d9b8:	7d 40 00 a6 	mfmsr   r10                                    
ffc1d9bc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1d9c0:	7d 49 48 78 	andc    r9,r10,r9                              
ffc1d9c4:	7d 20 01 24 	mtmsr   r9                                     
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
ffc1d9c8:	81 21 00 14 	lwz     r9,20(r1)                              
ffc1d9cc:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc1d9d0:	41 9e 00 44 	beq-    cr7,ffc1da14 <_Timer_server_Body+0x19c><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1d9d4:	7d 40 01 24 	mtmsr   r10                                    <== NOT EXECUTED
ffc1d9d8:	4b ff ff 54 	b       ffc1d92c <_Timer_server_Body+0xb4>     <== 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 ); 
ffc1d9dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc1d9e0:	38 80 00 01 	li      r4,1                                   
ffc1d9e4:	7c b0 28 50 	subf    r5,r16,r5                              
ffc1d9e8:	48 00 4f 2d 	bl      ffc22914 <_Watchdog_Adjust>            
ffc1d9ec:	4b ff ff 88 	b       ffc1d974 <_Timer_server_Body+0xfc>     
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1d9f0:	7f 83 e3 78 	mr      r3,r28                                 
ffc1d9f4:	38 84 00 10 	addi    r4,r4,16                               
ffc1d9f8:	48 00 50 d5 	bl      ffc22acc <_Watchdog_Insert>            
ffc1d9fc:	4b ff ff 7c 	b       ffc1d978 <_Timer_server_Body+0x100>    
    /*                                                                
     *  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 );
ffc1da00:	7c 85 20 50 	subf    r4,r5,r4                               
ffc1da04:	7f c3 f3 78 	mr      r3,r30                                 
ffc1da08:	7f a5 eb 78 	mr      r5,r29                                 
ffc1da0c:	48 00 50 1d 	bl      ffc22a28 <_Watchdog_Adjust_to_chain>   
ffc1da10:	4b ff ff 64 	b       ffc1d974 <_Timer_server_Body+0xfc>     
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
ffc1da14:	90 9f 00 78 	stw     r4,120(r31)                            
ffc1da18:	7d 40 01 24 	mtmsr   r10                                    
  _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 ) ) {                          
ffc1da1c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1da20:	7f 89 c0 00 	cmpw    cr7,r9,r24                             
ffc1da24:	40 be 00 30 	bne+    cr7,ffc1da54 <_Timer_server_Body+0x1dc>
ffc1da28:	48 00 00 50 	b       ffc1da78 <_Timer_server_Body+0x200>    
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc1da2c:	81 49 00 00 	lwz     r10,0(r9)                              
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
ffc1da30:	93 aa 00 04 	stw     r29,4(r10)                             
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
ffc1da34:	91 41 00 08 	stw     r10,8(r1)                              
         *  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;                        
ffc1da38:	92 e9 00 08 	stw     r23,8(r9)                              
ffc1da3c:	7d 00 01 24 	mtmsr   r8                                     
        /*                                                            
         *  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 );    
ffc1da40:	81 49 00 1c 	lwz     r10,28(r9)                             
ffc1da44:	80 69 00 20 	lwz     r3,32(r9)                              
ffc1da48:	80 89 00 24 	lwz     r4,36(r9)                              
ffc1da4c:	7d 49 03 a6 	mtctr   r10                                    
ffc1da50:	4e 80 04 21 	bctrl                                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1da54:	7d 00 00 a6 	mfmsr   r8                                     
ffc1da58:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1da5c:	7d 09 48 78 	andc    r9,r8,r9                               
ffc1da60:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc1da64:	81 21 00 08 	lwz     r9,8(r1)                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc1da68:	7f 89 c0 00 	cmpw    cr7,r9,r24                             
ffc1da6c:	40 9e ff c0 	bne+    cr7,ffc1da2c <_Timer_server_Body+0x1b4>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1da70:	7d 00 01 24 	mtmsr   r8                                     
ffc1da74:	4b ff fe b4 	b       ffc1d928 <_Timer_server_Body+0xb0>     
      }                                                               
    } else {                                                          
      ts->active = false;                                             
ffc1da78:	9a 7f 00 7c 	stb     r19,124(r31)                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc1da7c:	81 35 00 00 	lwz     r9,0(r21)                              
                                                                      
    ++level;                                                          
ffc1da80:	39 29 00 01 	addi    r9,r9,1                                
    _Thread_Dispatch_disable_level = level;                           
ffc1da84:	91 35 00 00 	stw     r9,0(r21)                              
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
ffc1da88:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc1da8c:	38 80 00 08 	li      r4,8                                   
ffc1da90:	48 00 49 d5 	bl      ffc22464 <_Thread_Set_state>           
        _Timer_server_Reset_interval_system_watchdog( ts );           
ffc1da94:	7f e3 fb 78 	mr      r3,r31                                 
ffc1da98:	4b ff fb 21 	bl      ffc1d5b8 <_Timer_server_Reset_interval_system_watchdog>
        _Timer_server_Reset_tod_system_watchdog( ts );                
ffc1da9c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1daa0:	4b ff fb a9 	bl      ffc1d648 <_Timer_server_Reset_tod_system_watchdog>
      _Thread_Enable_dispatch();                                      
ffc1daa4:	48 00 3e 29 	bl      ffc218cc <_Thread_Enable_dispatch>     
                                                                      
      ts->active = true;                                              
ffc1daa8:	9a 9f 00 7c 	stb     r20,124(r31)                           
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
ffc1daac:	7e 23 8b 78 	mr      r3,r17                                 
ffc1dab0:	48 00 51 e5 	bl      ffc22c94 <_Watchdog_Remove>            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
ffc1dab4:	7e 43 93 78 	mr      r3,r18                                 
ffc1dab8:	48 00 51 dd 	bl      ffc22c94 <_Watchdog_Remove>            
ffc1dabc:	4b ff fe 6c 	b       ffc1d928 <_Timer_server_Body+0xb0>     
                                                                      

ffc1d6d8 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
ffc1d6d8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1d6dc:	7c 08 02 a6 	mflr    r0                                     
ffc1d6e0:	90 01 00 1c 	stw     r0,28(r1)                              
  if ( ts->insert_chain == NULL ) {                                   
ffc1d6e4:	81 23 00 78 	lwz     r9,120(r3)                             
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1d6e8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1d6ec:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( ts->insert_chain == NULL ) {                                   
ffc1d6f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
static void _Timer_server_Schedule_operation_method(                  
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
ffc1d6f4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc1d6f8:	93 c1 00 10 	stw     r30,16(r1)                             
  if ( ts->insert_chain == NULL ) {                                   
ffc1d6fc:	41 9e 00 24 	beq-    cr7,ffc1d720 <_Timer_server_Schedule_operation_method+0x48>
     *  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 );           
  }                                                                   
}                                                                     
ffc1d700:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1d704:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1d708:	7c 08 03 a6 	mtlr    r0                                     
ffc1d70c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1d710:	83 e1 00 14 	lwz     r31,20(r1)                             
     *  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 );           
ffc1d714:	80 63 00 78 	lwz     r3,120(r3)                             
  }                                                                   
}                                                                     
ffc1d718:	38 21 00 18 	addi    r1,r1,24                               
     *  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 );           
ffc1d71c:	48 00 0d 08 	b       ffc1e424 <_Chain_Append>               
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc1d720:	3d 20 00 00 	lis     r9,0                                   
ffc1d724:	81 49 28 f8 	lwz     r10,10488(r9)                          
ffc1d728:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
    ++level;                                                          
ffc1d72c:	39 4a 00 01 	addi    r10,r10,1                              
    _Thread_Dispatch_disable_level = level;                           
ffc1d730:	91 49 28 f8 	stw     r10,10488(r9)                          
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
ffc1d734:	81 24 00 38 	lwz     r9,56(r4)                              
ffc1d738:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1d73c:	41 9e 00 bc 	beq-    cr7,ffc1d7f8 <_Timer_server_Schedule_operation_method+0x120>
    _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 ) {       
ffc1d740:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc1d744:	41 9e 00 20 	beq-    cr7,ffc1d764 <_Timer_server_Schedule_operation_method+0x8c>
     *  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 );           
  }                                                                   
}                                                                     
ffc1d748:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1d74c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1d750:	7c 08 03 a6 	mtlr    r0                                     
ffc1d754:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1d758:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1d75c:	38 21 00 18 	addi    r1,r1,24                               
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
ffc1d760:	48 00 41 6c 	b       ffc218cc <_Thread_Enable_dispatch>     
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1d764:	7f a0 00 a6 	mfmsr   r29                                    
ffc1d768:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1d76c:	7f a9 48 78 	andc    r9,r29,r9                              
ffc1d770:	7d 20 01 24 	mtmsr   r9                                     
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
ffc1d774:	3d 20 00 00 	lis     r9,0                                   
ffc1d778:	39 29 70 00 	addi    r9,r9,28672                            
ffc1d77c:	80 69 00 00 	lwz     r3,0(r9)                               
ffc1d780:	3c c0 3b 9a 	lis     r6,15258                               
ffc1d784:	80 89 00 04 	lwz     r4,4(r9)                               
ffc1d788:	38 a0 00 00 	li      r5,0                                   
ffc1d78c:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc1d790:	48 01 50 35 	bl      ffc327c4 <__divdi3>                    
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc1d794:	81 3f 00 68 	lwz     r9,104(r31)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1d798:	39 5f 00 6c 	addi    r10,r31,108                            
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1d79c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
ffc1d7a0:	81 5f 00 74 	lwz     r10,116(r31)                           
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
ffc1d7a4:	41 9e 00 28 	beq-    cr7,ffc1d7cc <_Timer_server_Schedule_operation_method+0xf4>
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
ffc1d7a8:	7f 84 50 40 	cmplw   cr7,r4,r10                             
    _ISR_Disable( level );                                            
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
ffc1d7ac:	80 e9 00 10 	lwz     r7,16(r9)                              
      if ( snapshot > last_snapshot ) {                               
ffc1d7b0:	40 9d 00 bc 	ble-    cr7,ffc1d86c <_Timer_server_Schedule_operation_method+0x194>
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
ffc1d7b4:	7d 4a 20 50 	subf    r10,r10,r4                             
        if (delta_interval > delta) {                                 
ffc1d7b8:	7f 87 50 40 	cmplw   cr7,r7,r10                             
          delta_interval -= delta;                                    
        } else {                                                      
          delta_interval = 0;                                         
ffc1d7bc:	39 00 00 00 	li      r8,0                                   
      if ( snapshot > last_snapshot ) {                               
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
        if (delta_interval > delta) {                                 
ffc1d7c0:	40 9d 00 08 	ble-    cr7,ffc1d7c8 <_Timer_server_Schedule_operation_method+0xf0><== NEVER TAKEN
          delta_interval -= delta;                                    
ffc1d7c4:	7d 0a 38 50 	subf    r8,r10,r7                              
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc1d7c8:	91 09 00 10 	stw     r8,16(r9)                              
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
ffc1d7cc:	90 9f 00 74 	stw     r4,116(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1d7d0:	7f a0 01 24 	mtmsr   r29                                    
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
ffc1d7d4:	38 7f 00 68 	addi    r3,r31,104                             
ffc1d7d8:	38 9e 00 10 	addi    r4,r30,16                              
ffc1d7dc:	48 00 52 f1 	bl      ffc22acc <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1d7e0:	89 3f 00 7c 	lbz     r9,124(r31)                            
ffc1d7e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1d7e8:	40 9e ff 60 	bne+    cr7,ffc1d748 <_Timer_server_Schedule_operation_method+0x70>
      _Timer_server_Reset_tod_system_watchdog( ts );                  
ffc1d7ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d7f0:	4b ff fe 59 	bl      ffc1d648 <_Timer_server_Reset_tod_system_watchdog>
ffc1d7f4:	4b ff ff 54 	b       ffc1d748 <_Timer_server_Schedule_operation_method+0x70>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1d7f8:	7c a0 00 a6 	mfmsr   r5                                     
ffc1d7fc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc1d800:	7c a9 48 78 	andc    r9,r5,r9                               
ffc1d804:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc1d808:	81 23 00 30 	lwz     r9,48(r3)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc1d80c:	39 43 00 34 	addi    r10,r3,52                              
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1d810:	7f 89 50 00 	cmpw    cr7,r9,r10                             
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
ffc1d814:	3d 40 00 00 	lis     r10,0                                  
ffc1d818:	81 4a 29 18 	lwz     r10,10520(r10)                         
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
ffc1d81c:	80 e3 00 3c 	lwz     r7,60(r3)                              
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
ffc1d820:	41 9e 00 20 	beq-    cr7,ffc1d840 <_Timer_server_Schedule_operation_method+0x168>
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
ffc1d824:	80 c9 00 10 	lwz     r6,16(r9)                              
      first_watchdog = _Watchdog_First( &ts->Interval_watchdogs.Chain );
                                                                      
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
ffc1d828:	7c e7 50 50 	subf    r7,r7,r10                              
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
        delta_interval -= delta;                                      
      } else {                                                        
        delta_interval = 0;                                           
ffc1d82c:	39 00 00 00 	li      r8,0                                   
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
      if (delta_interval > delta) {                                   
ffc1d830:	7f 87 30 40 	cmplw   cr7,r7,r6                              
ffc1d834:	40 9c 00 08 	bge-    cr7,ffc1d83c <_Timer_server_Schedule_operation_method+0x164>
        delta_interval -= delta;                                      
ffc1d838:	7d 07 30 50 	subf    r8,r7,r6                               
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
ffc1d83c:	91 09 00 10 	stw     r8,16(r9)                              
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
ffc1d840:	91 5f 00 3c 	stw     r10,60(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1d844:	7c a0 01 24 	mtmsr   r5                                     
    _ISR_Enable( level );                                             
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
ffc1d848:	38 7f 00 30 	addi    r3,r31,48                              
ffc1d84c:	38 9e 00 10 	addi    r4,r30,16                              
ffc1d850:	48 00 52 7d 	bl      ffc22acc <_Watchdog_Insert>            
                                                                      
    if ( !ts->active ) {                                              
ffc1d854:	89 3f 00 7c 	lbz     r9,124(r31)                            
ffc1d858:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1d85c:	40 9e fe ec 	bne+    cr7,ffc1d748 <_Timer_server_Schedule_operation_method+0x70>
      _Timer_server_Reset_interval_system_watchdog( ts );             
ffc1d860:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d864:	4b ff fd 55 	bl      ffc1d5b8 <_Timer_server_Reset_interval_system_watchdog>
ffc1d868:	4b ff fe e0 	b       ffc1d748 <_Timer_server_Schedule_operation_method+0x70>
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
ffc1d86c:	7d 47 52 14 	add     r10,r7,r10                             
        delta_interval += delta;                                      
ffc1d870:	7d 04 50 50 	subf    r8,r4,r10                              
ffc1d874:	4b ff ff 54 	b       ffc1d7c8 <_Timer_server_Schedule_operation_method+0xf0>
                                                                      

ffc0da64 <_Timespec_Add_to>: { uint32_t seconds = add->tv_sec; /* Add the basics */ time->tv_sec += add->tv_sec; time->tv_nsec += add->tv_nsec;
ffc0da64:	81 24 00 04 	lwz     r9,4(r4)                               
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0da68:	3c e0 3b 9a 	lis     r7,15258                               
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0da6c:	81 03 00 04 	lwz     r8,4(r3)                               
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0da70:	60 e7 c9 ff 	ori     r7,r7,51711                            
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
ffc0da74:	81 44 00 00 	lwz     r10,0(r4)                              
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0da78:	7d 08 4a 14 	add     r8,r8,r9                               
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0da7c:	80 c3 00 00 	lwz     r6,0(r3)                               
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0da80:	7f 88 38 40 	cmplw   cr7,r8,r7                              
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
ffc0da84:	91 03 00 04 	stw     r8,4(r3)                               
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0da88:	7c c6 52 14 	add     r6,r6,r10                              
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0da8c:	7d 09 43 78 	mr      r9,r8                                  
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
ffc0da90:	90 c3 00 00 	stw     r6,0(r3)                               
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
ffc0da94:	40 9d 00 2c 	ble-    cr7,ffc0dac0 <_Timespec_Add_to+0x5c>   
ffc0da98:	38 c6 00 01 	addi    r6,r6,1                                
#include <sys/types.h>                                                
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
#include <rtems/score/watchdog.h>                                     
                                                                      
uint32_t _Timespec_Add_to(                                            
ffc0da9c:	7c ca 30 50 	subf    r6,r10,r6                              
  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;                      
ffc0daa0:	3d 29 c4 65 	addis   r9,r9,-15259                           
ffc0daa4:	39 29 36 00 	addi    r9,r9,13824                            
  /* 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 ) {             
ffc0daa8:	7f 89 38 40 	cmplw   cr7,r9,r7                              
#include <sys/types.h>                                                
#include <rtems/score/timespec.h>                                     
#include <rtems/score/tod.h>                                          
#include <rtems/score/watchdog.h>                                     
                                                                      
uint32_t _Timespec_Add_to(                                            
ffc0daac:	7d 06 52 14 	add     r8,r6,r10                              
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
    time->tv_sec++;                                                   
    seconds++;                                                        
ffc0dab0:	39 4a 00 01 	addi    r10,r10,1                              
  /* 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 ) {             
ffc0dab4:	41 9d ff ec 	bgt+    cr7,ffc0daa0 <_Timespec_Add_to+0x3c>   <== NEVER TAKEN
ffc0dab8:	91 23 00 04 	stw     r9,4(r3)                               
ffc0dabc:	91 03 00 00 	stw     r8,0(r3)                               
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
ffc0dac0:	7d 43 53 78 	mr      r3,r10                                 
ffc0dac4:	4e 80 00 20 	blr                                            
                                                                      

ffc0f504 <_Timestamp64_Divide>: const Timestamp64_Control *_lhs, const Timestamp64_Control *_rhs, uint32_t *_ival_percentage, uint32_t *_fval_percentage ) {
ffc0f504:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f508:	7c 08 02 a6 	mflr    r0                                     
ffc0f50c:	90 01 00 1c 	stw     r0,28(r1)                              
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
ffc0f510:	81 44 00 00 	lwz     r10,0(r4)                              
ffc0f514:	81 24 00 04 	lwz     r9,4(r4)                               
  const Timestamp64_Control *_lhs,                                    
  const Timestamp64_Control *_rhs,                                    
  uint32_t                  *_ival_percentage,                        
  uint32_t                  *_fval_percentage                         
)                                                                     
{                                                                     
ffc0f518:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f51c:	7c be 2b 78 	mr      r30,r5                                 
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
ffc0f520:	7d 48 4b 79 	or.     r8,r10,r9                              
  const Timestamp64_Control *_lhs,                                    
  const Timestamp64_Control *_rhs,                                    
  uint32_t                  *_ival_percentage,                        
  uint32_t                  *_fval_percentage                         
)                                                                     
{                                                                     
ffc0f524:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0f528:	7c df 33 78 	mr      r31,r6                                 
ffc0f52c:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f530:	93 a1 00 0c 	stw     r29,12(r1)                             
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
ffc0f534:	41 82 00 80 	beq-    ffc0f5b4 <_Timestamp64_Divide+0xb0>    <== NEVER TAKEN
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
ffc0f538:	80 c3 00 04 	lwz     r6,4(r3)                               
ffc0f53c:	3d 00 00 01 	lis     r8,1                                   
ffc0f540:	80 e3 00 00 	lwz     r7,0(r3)                               
ffc0f544:	61 08 86 a0 	ori     r8,r8,34464                            
ffc0f548:	7c 68 30 16 	mulhwu  r3,r8,r6                               
ffc0f54c:	7c e8 39 d6 	mullw   r7,r8,r7                               
ffc0f550:	7c 88 31 d6 	mullw   r4,r8,r6                               
ffc0f554:	7d 45 53 78 	mr      r5,r10                                 
ffc0f558:	7d 26 4b 78 	mr      r6,r9                                  
ffc0f55c:	7c 67 1a 14 	add     r3,r7,r3                               
ffc0f560:	48 00 eb 41 	bl      ffc1e0a0 <__divdi3>                    
                                                                      
  *_ival_percentage = answer / 1000;                                  
ffc0f564:	38 a0 00 00 	li      r5,0                                   
ffc0f568:	38 c0 03 e8 	li      r6,1000                                
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
ffc0f56c:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0f570:	7c 9d 23 78 	mr      r29,r4                                 
                                                                      
  *_ival_percentage = answer / 1000;                                  
ffc0f574:	48 00 eb 2d 	bl      ffc1e0a0 <__divdi3>                    
ffc0f578:	90 9e 00 00 	stw     r4,0(r30)                              
  *_fval_percentage = answer % 1000;                                  
ffc0f57c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f580:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f584:	38 a0 00 00 	li      r5,0                                   
ffc0f588:	38 c0 03 e8 	li      r6,1000                                
ffc0f58c:	48 00 ef 39 	bl      ffc1e4c4 <__moddi3>                    
}                                                                     
ffc0f590:	80 01 00 1c 	lwz     r0,28(r1)                              
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
  *_fval_percentage = answer % 1000;                                  
ffc0f594:	90 9f 00 00 	stw     r4,0(r31)                              
}                                                                     
ffc0f598:	7c 08 03 a6 	mtlr    r0                                     
ffc0f59c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f5a0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f5a4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f5a8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f5ac:	38 21 00 18 	addi    r1,r1,24                               
ffc0f5b0:	4e 80 00 20 	blr                                            
ffc0f5b4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
)                                                                     
{                                                                     
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
    *_ival_percentage = 0;                                            
ffc0f5b8:	91 05 00 00 	stw     r8,0(r5)                               <== NOT EXECUTED
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
  *_fval_percentage = answer % 1000;                                  
}                                                                     
ffc0f5bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0f5c0:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc0f5c4:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc0f5c8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0f5cc:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
{                                                                     
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
    *_ival_percentage = 0;                                            
    *_fval_percentage = 0;                                            
ffc0f5d0:	91 06 00 00 	stw     r8,0(r6)                               <== NOT EXECUTED
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
  *_fval_percentage = answer % 1000;                                  
}                                                                     
ffc0f5d4:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0f5d8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0d858 <_User_extensions_Iterate>: void _User_extensions_Iterate( void *arg, User_extensions_Visitor visitor ) {
ffc0d858:	94 21 ff e0 	stwu    r1,-32(r1)                             
  Thread_Control   *executing = _Thread_Executing;                    
  const User_extensions_Table *callouts_current =                     
ffc0d85c:	3d 20 ff c2 	lis     r9,-62                                 
ffc0d860:	39 29 d5 38 	addi    r9,r9,-10952                           
                                                                      
void _User_extensions_Iterate(                                        
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
ffc0d864:	7c 08 02 a6 	mflr    r0                                     
ffc0d868:	93 61 00 0c 	stw     r27,12(r1)                             
  Thread_Control   *executing = _Thread_Executing;                    
  const User_extensions_Table *callouts_current =                     
    rtems_configuration_get_user_extension_table();                   
  const User_extensions_Table *callouts_end =                         
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
ffc0d86c:	83 69 00 40 	lwz     r27,64(r9)                             
                                                                      
void _User_extensions_Iterate(                                        
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
ffc0d870:	93 e1 00 1c 	stw     r31,28(r1)                             
  Thread_Control   *executing = _Thread_Executing;                    
  const User_extensions_Table *callouts_current =                     
    rtems_configuration_get_user_extension_table();                   
  const User_extensions_Table *callouts_end =                         
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
ffc0d874:	57 7b 28 34 	rlwinm  r27,r27,5,0,26                         
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
  Thread_Control   *executing = _Thread_Executing;                    
  const User_extensions_Table *callouts_current =                     
ffc0d878:	83 e9 00 44 	lwz     r31,68(r9)                             
void _User_extensions_Iterate(                                        
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
  Thread_Control   *executing = _Thread_Executing;                    
ffc0d87c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void _User_extensions_Iterate(                                        
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
ffc0d880:	93 81 00 10 	stw     r28,16(r1)                             
ffc0d884:	7c 9c 23 78 	mr      r28,r4                                 
  Thread_Control   *executing = _Thread_Executing;                    
  const User_extensions_Table *callouts_current =                     
    rtems_configuration_get_user_extension_table();                   
  const User_extensions_Table *callouts_end =                         
ffc0d888:	7f 7f da 14 	add     r27,r31,r27                            
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
  const Chain_Node *node;                                             
  const Chain_Node *tail;                                             
                                                                      
  while ( callouts_current != callouts_end ) {                        
ffc0d88c:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
                                                                      
void _User_extensions_Iterate(                                        
  void                    *arg,                                       
  User_extensions_Visitor  visitor                                    
)                                                                     
{                                                                     
ffc0d890:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0d894:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0d898:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0d89c:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control   *executing = _Thread_Executing;                    
ffc0d8a0:	83 c9 2e 10 	lwz     r30,11792(r9)                          
  const User_extensions_Table *callouts_end =                         
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
  const Chain_Node *node;                                             
  const Chain_Node *tail;                                             
                                                                      
  while ( callouts_current != callouts_end ) {                        
ffc0d8a4:	41 9e 00 24 	beq-    cr7,ffc0d8c8 <_User_extensions_Iterate+0x70><== NEVER TAKEN
    (*visitor)( executing, arg, callouts_current );                   
ffc0d8a8:	7f e5 fb 78 	mr      r5,r31                                 
ffc0d8ac:	7f 89 03 a6 	mtctr   r28                                    
ffc0d8b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d8b4:	7f a4 eb 78 	mr      r4,r29                                 
                                                                      
    ++callouts_current;                                               
ffc0d8b8:	3b ff 00 20 	addi    r31,r31,32                             
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
  const Chain_Node *node;                                             
  const Chain_Node *tail;                                             
                                                                      
  while ( callouts_current != callouts_end ) {                        
    (*visitor)( executing, arg, callouts_current );                   
ffc0d8bc:	4e 80 04 21 	bctrl                                          
  const User_extensions_Table *callouts_end =                         
    callouts_current + rtems_configuration_get_number_of_initial_extensions();
  const Chain_Node *node;                                             
  const Chain_Node *tail;                                             
                                                                      
  while ( callouts_current != callouts_end ) {                        
ffc0d8c0:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
ffc0d8c4:	40 9e ff e4 	bne+    cr7,ffc0d8a8 <_User_extensions_Iterate+0x50>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0d8c8:	3d 20 00 00 	lis     r9,0                                   
ffc0d8cc:	3b 69 21 fc 	addi    r27,r9,8700                            
ffc0d8d0:	83 e9 21 fc 	lwz     r31,8700(r9)                           
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc0d8d4:	3b 7b 00 04 	addi    r27,r27,4                              
    ++callouts_current;                                               
  }                                                                   
                                                                      
  node = _Chain_Immutable_first( &_User_extensions_List );            
  tail = _Chain_Immutable_tail( &_User_extensions_List );             
  while ( node != tail ) {                                            
ffc0d8d8:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
ffc0d8dc:	41 9e 00 24 	beq-    cr7,ffc0d900 <_User_extensions_Iterate+0xa8>
    const User_extensions_Control *extension =                        
      (const User_extensions_Control *) node;                         
                                                                      
    (*visitor)( executing, arg, &extension->Callouts );               
ffc0d8e0:	38 bf 00 14 	addi    r5,r31,20                              
ffc0d8e4:	7f 89 03 a6 	mtctr   r28                                    
ffc0d8e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d8ec:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d8f0:	4e 80 04 21 	bctrl                                          
                                                                      
    node = _Chain_Immutable_next( node );                             
  }                                                                   
}                                                                     
ffc0d8f4:	83 ff 00 00 	lwz     r31,0(r31)                             
    ++callouts_current;                                               
  }                                                                   
                                                                      
  node = _Chain_Immutable_first( &_User_extensions_List );            
  tail = _Chain_Immutable_tail( &_User_extensions_List );             
  while ( node != tail ) {                                            
ffc0d8f8:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
ffc0d8fc:	40 9e ff e4 	bne+    cr7,ffc0d8e0 <_User_extensions_Iterate+0x88>
                                                                      
    (*visitor)( executing, arg, &extension->Callouts );               
                                                                      
    node = _Chain_Immutable_next( node );                             
  }                                                                   
}                                                                     
ffc0d900:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d904:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d908:	7c 08 03 a6 	mtlr    r0                                     
ffc0d90c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d910:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d914:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d918:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d91c:	38 21 00 20 	addi    r1,r1,32                               
ffc0d920:	4e 80 00 20 	blr                                            
                                                                      

ffc0f894 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
ffc0f894:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f898:	7c 08 02 a6 	mflr    r0                                     
ffc0f89c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f8a0:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f8a4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0f8a8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f8ac:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f8b0:	93 e1 00 14 	stw     r31,20(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f8b4:	7d 40 00 a6 	mfmsr   r10                                    
ffc0f8b8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f8bc:	7d 49 48 78 	andc    r9,r10,r9                              
ffc0f8c0:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0f8c4:	81 23 00 00 	lwz     r9,0(r3)                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0f8c8:	3b a3 00 04 	addi    r29,r3,4                               
   *       hence the compiler must not assume *header to remain       
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
ffc0f8cc:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc0f8d0:	41 9e 00 70 	beq-    cr7,ffc0f940 <_Watchdog_Adjust+0xac>   
    switch ( direction ) {                                            
ffc0f8d4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0f8d8:	7c bf 2b 78 	mr      r31,r5                                 
ffc0f8dc:	40 9e 00 88 	bne-    cr7,ffc0f964 <_Watchdog_Adjust+0xd0>   
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f8e0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0f8e4:	41 9e 00 5c 	beq-    cr7,ffc0f940 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f8e8:	81 09 00 10 	lwz     r8,16(r9)                              
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f8ec:	3b 80 00 01 	li      r28,1                                  
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f8f0:	7f 85 40 40 	cmplw   cr7,r5,r8                              
ffc0f8f4:	40 bc 00 18 	bge+    cr7,ffc0f90c <_Watchdog_Adjust+0x78>   <== ALWAYS TAKEN
ffc0f8f8:	48 00 00 a4 	b       ffc0f99c <_Watchdog_Adjust+0x108>      <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f8fc:	41 9a 00 44 	beq-    cr6,ffc0f940 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
          if ( units < _Watchdog_First( header )->delta_interval ) {  
ffc0f900:	81 09 00 10 	lwz     r8,16(r9)                              
ffc0f904:	7f 88 f8 40 	cmplw   cr7,r8,r31                             
ffc0f908:	41 9d 00 94 	bgt-    cr7,ffc0f99c <_Watchdog_Adjust+0x108>  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
ffc0f90c:	93 89 00 10 	stw     r28,16(r9)                             
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
ffc0f910:	7f e8 f8 50 	subf    r31,r8,r31                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f914:	7d 40 01 24 	mtmsr   r10                                    
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
                                                                      
            _Watchdog_Tickle( header );                               
ffc0f918:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f91c:	48 00 03 25 	bl      ffc0fc40 <_Watchdog_Tickle>            
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f920:	7d 40 00 a6 	mfmsr   r10                                    
ffc0f924:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f928:	7d 49 48 78 	andc    r9,r10,r9                              
ffc0f92c:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0f930:	81 3e 00 00 	lwz     r9,0(r30)                              
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
ffc0f934:	2f 1f 00 00 	cmpwi   cr6,r31,0                              
                                                                      
            _Watchdog_Tickle( header );                               
                                                                      
            _ISR_Disable( level );                                    
                                                                      
            if ( _Chain_Is_empty( header ) )                          
ffc0f938:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0f93c:	40 9e ff c0 	bne+    cr7,ffc0f8fc <_Watchdog_Adjust+0x68>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f940:	7d 40 01 24 	mtmsr   r10                                    
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f944:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f948:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f94c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f950:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f954:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f958:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f95c:	38 21 00 18 	addi    r1,r1,24                               
ffc0f960:	4e 80 00 20 	blr                                            
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
ffc0f964:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc0f968:	40 9e ff d8 	bne+    cr7,ffc0f940 <_Watchdog_Adjust+0xac>   <== NEVER TAKEN
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
ffc0f96c:	81 09 00 10 	lwz     r8,16(r9)                              
ffc0f970:	7f e8 2a 14 	add     r31,r8,r5                              
ffc0f974:	93 e9 00 10 	stw     r31,16(r9)                             
ffc0f978:	7d 40 01 24 	mtmsr   r10                                    
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
                                                                      
}                                                                     
ffc0f97c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f980:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f984:	7c 08 03 a6 	mtlr    r0                                     
ffc0f988:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f98c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f990:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f994:	38 21 00 18 	addi    r1,r1,24                               
ffc0f998:	4e 80 00 20 	blr                                            
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
ffc0f99c:	7d 1f 40 50 	subf    r8,r31,r8                              
ffc0f9a0:	91 09 00 10 	stw     r8,16(r9)                              
            break;                                                    
ffc0f9a4:	4b ff ff 9c 	b       ffc0f940 <_Watchdog_Adjust+0xac>       
                                                                      

ffc22a28 <_Watchdog_Adjust_to_chain>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; __asm__ volatile (
ffc22a28:	7d 60 00 a6 	mfmsr   r11                                    
ffc22a2c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc22a30:	7d 69 48 78 	andc    r9,r11,r9                              
ffc22a34:	7d 20 01 24 	mtmsr   r9                                     
{                                                                     
  Watchdog_Interval  units = units_arg;                               
  ISR_Level          level;                                           
  Watchdog_Control  *first;                                           
                                                                      
  _ISR_Disable( level );                                              
ffc22a38:	81 23 00 00 	lwz     r9,0(r3)                               
ffc22a3c:	38 c3 00 04 	addi    r6,r3,4                                
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
    first->delta_interval = 0;                                        
ffc22a40:	39 80 00 00 	li      r12,0                                  
ffc22a44:	38 05 00 04 	addi    r0,r5,4                                
  Watchdog_Control  *first;                                           
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( _Chain_Is_empty( header ) ) {                                
ffc22a48:	7f 86 48 00 	cmpw    cr7,r6,r9                              
ffc22a4c:	41 9e 00 68 	beq-    cr7,ffc22ab4 <_Watchdog_Adjust_to_chain+0x8c>
                                                                      
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
ffc22a50:	81 49 00 10 	lwz     r10,16(r9)                             
ffc22a54:	7f 84 50 40 	cmplw   cr7,r4,r10                             
ffc22a58:	41 9c 00 64 	blt-    cr7,ffc22abc <_Watchdog_Adjust_to_chain+0x94>
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
    first->delta_interval = 0;                                        
ffc22a5c:	91 89 00 10 	stw     r12,16(r9)                             
                                                                      
    /*                                                                
     *  The first set happens in less than units, so take all of them 
     *  off the chain and adjust units to reflect this.               
     */                                                               
    units -= first->delta_interval;                                   
ffc22a60:	7c 8a 20 50 	subf    r4,r10,r4                              
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc22a64:	81 49 00 00 	lwz     r10,0(r9)                              
  previous       = the_node->previous;                                
ffc22a68:	80 e9 00 04 	lwz     r7,4(r9)                               
  next->previous = previous;                                          
ffc22a6c:	90 ea 00 04 	stw     r7,4(r10)                              
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc22a70:	81 05 00 08 	lwz     r8,8(r5)                               
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc22a74:	91 47 00 00 	stw     r10,0(r7)                              
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc22a78:	90 09 00 00 	stw     r0,0(r9)                               
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc22a7c:	91 28 00 00 	stw     r9,0(r8)                               
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc22a80:	91 25 00 08 	stw     r9,8(r5)                               
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc22a84:	91 09 00 04 	stw     r8,4(r9)                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc22a88:	7d 20 00 a6 	mfmsr   r9                                     
ffc22a8c:	7d 60 01 24 	mtmsr   r11                                    
ffc22a90:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc22a94:	81 23 00 00 	lwz     r9,0(r3)                               
      _Chain_Extract_unprotected( &first->Node );                     
      _Chain_Append_unprotected( to_fire, &first->Node );             
                                                                      
      _ISR_Flash( level );                                            
                                                                      
      if ( _Chain_Is_empty( header ) )                                
ffc22a98:	7f 86 48 00 	cmpw    cr7,r6,r9                              
ffc22a9c:	41 be ff ac 	beq-    cr7,ffc22a48 <_Watchdog_Adjust_to_chain+0x20>
        break;                                                        
      first = _Watchdog_First( header );                              
      if ( first->delta_interval != 0 )                               
ffc22aa0:	81 49 00 10 	lwz     r10,16(r9)                             
ffc22aa4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc22aa8:	41 9e ff bc 	beq+    cr7,ffc22a64 <_Watchdog_Adjust_to_chain+0x3c>
  Watchdog_Control  *first;                                           
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  while ( 1 ) {                                                       
    if ( _Chain_Is_empty( header ) ) {                                
ffc22aac:	7f 86 48 00 	cmpw    cr7,r6,r9                              
ffc22ab0:	40 9e ff a0 	bne+    cr7,ffc22a50 <_Watchdog_Adjust_to_chain+0x28><== ALWAYS TAKEN
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc22ab4:	7d 60 01 24 	mtmsr   r11                                    
ffc22ab8:	4e 80 00 20 	blr                                            
    /*                                                                
     *  If it is longer than "units" until the first element on the chain
     *  fires, then bump it and quit.                                 
     */                                                               
    if ( units < first->delta_interval ) {                            
      first->delta_interval -= units;                                 
ffc22abc:	7d 44 50 50 	subf    r10,r4,r10                             
ffc22ac0:	91 49 00 10 	stw     r10,16(r9)                             
ffc22ac4:	7d 60 01 24 	mtmsr   r11                                    
ffc22ac8:	4e 80 00 20 	blr                                            
                                                                      

ffc0d9b0 <_Watchdog_Insert>: Watchdog_Control *after; uint32_t insert_isr_nest_level; Watchdog_Interval delta_interval; insert_isr_nest_level = _ISR_Nest_level;
ffc0d9b0:	3d 20 00 00 	lis     r9,0                                   
ffc0d9b4:	80 c9 2e 08 	lwz     r6,11784(r9)                           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0d9b8:	7c e0 00 a6 	mfmsr   r7                                     
ffc0d9bc:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0d9c0:	7c e9 48 78 	andc    r9,r7,r9                               
ffc0d9c4:	7d 20 01 24 	mtmsr   r9                                     
  /*                                                                  
   *  Check to see if the watchdog has just been inserted by a        
   *  higher priority interrupt.  If so, abandon this insert.         
   */                                                                 
                                                                      
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
ffc0d9c8:	81 24 00 08 	lwz     r9,8(r4)                               
ffc0d9cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d9d0:	40 9e 01 04 	bne-    cr7,ffc0dad4 <_Watchdog_Insert+0x124>  
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
  _Watchdog_Sync_count++;                                             
ffc0d9d4:	3d 60 00 00 	lis     r11,0                                  
ffc0d9d8:	81 2b 28 40 	lwz     r9,10304(r11)                          
  if ( the_watchdog->state != WATCHDOG_INACTIVE ) {                   
    _ISR_Enable( level );                                             
    return;                                                           
  }                                                                   
                                                                      
  the_watchdog->state = WATCHDOG_BEING_INSERTED;                      
ffc0d9dc:	39 40 00 01 	li      r10,1                                  
ffc0d9e0:	91 44 00 08 	stw     r10,8(r4)                              
ffc0d9e4:	3d 80 00 00 	lis     r12,0                                  
  _Watchdog_Sync_count++;                                             
ffc0d9e8:	39 29 00 01 	addi    r9,r9,1                                
ffc0d9ec:	91 2b 28 40 	stw     r9,10304(r11)                          
                                                                      
restart:                                                              
  delta_interval = the_watchdog->initial;                             
ffc0d9f0:	81 24 00 0c 	lwz     r9,12(r4)                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0d9f4:	81 43 00 00 	lwz     r10,0(r3)                              
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0d9f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d9fc:	41 9e 00 98 	beq-    cr7,ffc0da94 <_Watchdog_Insert+0xe4>   
ffc0da00:	81 0a 00 00 	lwz     r8,0(r10)                              
ffc0da04:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0da08:	41 9e 00 8c 	beq-    cr7,ffc0da94 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0da0c:	81 0a 00 10 	lwz     r8,16(r10)                             
ffc0da10:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc0da14:	41 9c 00 c8 	blt-    cr7,ffc0dadc <_Watchdog_Insert+0x12c>  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0da18:	7d 28 48 50 	subf    r9,r8,r9                               
                                                                      
static inline void ppc_interrupt_flash( uint32_t level )              
{                                                                     
  uint32_t current_level;                                             
                                                                      
  __asm__ volatile (                                                  
ffc0da1c:	7d 00 00 a6 	mfmsr   r8                                     
ffc0da20:	7c e0 01 24 	mtmsr   r7                                     
ffc0da24:	7d 00 01 24 	mtmsr   r8                                     
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0da28:	81 04 00 08 	lwz     r8,8(r4)                               
ffc0da2c:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0da30:	40 9e 00 94 	bne-    cr7,ffc0dac4 <_Watchdog_Insert+0x114>  
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0da34:	81 0c 28 38 	lwz     r8,10296(r12)                          
ffc0da38:	38 ac 28 38 	addi    r5,r12,10296                           
ffc0da3c:	7f 86 40 40 	cmplw   cr7,r6,r8                              
ffc0da40:	40 bc 00 48 	bge+    cr7,ffc0da88 <_Watchdog_Insert+0xd8>   
ffc0da44:	48 00 00 d4 	b       ffc0db18 <_Watchdog_Insert+0x168>      
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0da48:	81 0a 00 00 	lwz     r8,0(r10)                              
ffc0da4c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0da50:	41 9e 00 44 	beq-    cr7,ffc0da94 <_Watchdog_Insert+0xe4>   
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
ffc0da54:	81 0a 00 10 	lwz     r8,16(r10)                             
ffc0da58:	7f 88 48 40 	cmplw   cr7,r8,r9                              
ffc0da5c:	41 9d 00 80 	bgt-    cr7,ffc0dadc <_Watchdog_Insert+0x12c>  
       after->delta_interval -= delta_interval;                       
       break;                                                         
     }                                                                
                                                                      
     delta_interval -= after->delta_interval;                         
ffc0da60:	7d 28 48 50 	subf    r9,r8,r9                               
ffc0da64:	7d 00 00 a6 	mfmsr   r8                                     
ffc0da68:	7c e0 01 24 	mtmsr   r7                                     
ffc0da6c:	7d 00 01 24 	mtmsr   r8                                     
                                                                      
     _ISR_Flash( level );                                             
                                                                      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
ffc0da70:	81 04 00 08 	lwz     r8,8(r4)                               
ffc0da74:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc0da78:	40 9e 00 4c 	bne-    cr7,ffc0dac4 <_Watchdog_Insert+0x114>  <== NEVER TAKEN
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
ffc0da7c:	81 05 00 00 	lwz     r8,0(r5)                               
ffc0da80:	7f 86 40 40 	cmplw   cr7,r6,r8                              
ffc0da84:	41 9c 00 94 	blt-    cr7,ffc0db18 <_Watchdog_Insert+0x168>  <== NEVER TAKEN
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0da88:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
  _Watchdog_Sync_count--;                                             
  _ISR_Enable( level );                                               
}                                                                     
ffc0da8c:	81 4a 00 00 	lwz     r10,0(r10)                             
                                                                      
  for ( after = _Watchdog_First( header ) ;                           
        ;                                                             
        after = _Watchdog_Next( after ) ) {                           
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
ffc0da90:	40 9e ff b8 	bne+    cr7,ffc0da48 <_Watchdog_Insert+0x98>   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
ffc0da94:	81 4a 00 04 	lwz     r10,4(r10)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0da98:	3c a0 00 00 	lis     r5,0                                   
ffc0da9c:	80 a5 28 44 	lwz     r5,10308(r5)                           
RTEMS_INLINE_ROUTINE void _Watchdog_Activate(                         
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_ACTIVE;                              
ffc0daa0:	38 60 00 02 	li      r3,2                                   
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0daa4:	81 0a 00 00 	lwz     r8,0(r10)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0daa8:	91 44 00 04 	stw     r10,4(r4)                              
ffc0daac:	90 64 00 08 	stw     r3,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0dab0:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0dab4:	90 8a 00 00 	stw     r4,0(r10)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0dab8:	90 88 00 04 	stw     r4,4(r8)                               
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0dabc:	91 04 00 00 	stw     r8,0(r4)                               
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0dac0:	90 a4 00 14 	stw     r5,20(r4)                              
                                                                      
exit_insert:                                                          
  _Watchdog_Sync_level = insert_isr_nest_level;                       
ffc0dac4:	90 cc 28 38 	stw     r6,10296(r12)                          
  _Watchdog_Sync_count--;                                             
ffc0dac8:	81 2b 28 40 	lwz     r9,10304(r11)                          
ffc0dacc:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0dad0:	91 2b 28 40 	stw     r9,10304(r11)                          
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0dad4:	7c e0 01 24 	mtmsr   r7                                     
ffc0dad8:	4e 80 00 20 	blr                                            
                                                                      
     if ( delta_interval == 0 || !_Watchdog_Next( after ) )           
       break;                                                         
                                                                      
     if ( delta_interval < after->delta_interval ) {                  
       after->delta_interval -= delta_interval;                       
ffc0dadc:	7d 09 40 50 	subf    r8,r9,r8                               
ffc0dae0:	91 0a 00 10 	stw     r8,16(r10)                             
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0dae4:	3c a0 00 00 	lis     r5,0                                   
ffc0dae8:	38 60 00 02 	li      r3,2                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
ffc0daec:	81 4a 00 04 	lwz     r10,4(r10)                             
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0daf0:	80 a5 28 44 	lwz     r5,10308(r5)                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0daf4:	81 0a 00 00 	lwz     r8,0(r10)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0daf8:	91 44 00 04 	stw     r10,4(r4)                              
ffc0dafc:	90 64 00 08 	stw     r3,8(r4)                               
     }                                                                
  }                                                                   
                                                                      
  _Watchdog_Activate( the_watchdog );                                 
                                                                      
  the_watchdog->delta_interval = delta_interval;                      
ffc0db00:	91 24 00 10 	stw     r9,16(r4)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0db04:	90 8a 00 00 	stw     r4,0(r10)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0db08:	90 88 00 04 	stw     r4,4(r8)                               
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0db0c:	91 04 00 00 	stw     r8,0(r4)                               
                                                                      
  _Chain_Insert_unprotected( after->Node.previous, &the_watchdog->Node );
                                                                      
  the_watchdog->start_time = _Watchdog_Ticks_since_boot;              
ffc0db10:	90 a4 00 14 	stw     r5,20(r4)                              
ffc0db14:	4b ff ff b0 	b       ffc0dac4 <_Watchdog_Insert+0x114>      
     if ( the_watchdog->state != WATCHDOG_BEING_INSERTED ) {          
       goto exit_insert;                                              
     }                                                                
                                                                      
     if ( _Watchdog_Sync_level > insert_isr_nest_level ) {            
       _Watchdog_Sync_level = insert_isr_nest_level;                  
ffc0db18:	90 cc 28 38 	stw     r6,10296(r12)                          
       goto restart;                                                  
ffc0db1c:	4b ff fe d4 	b       ffc0d9f0 <_Watchdog_Insert+0x40>       
                                                                      

ffc0db78 <_Watchdog_Remove>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; __asm__ volatile (
ffc0db78:	7d 40 00 a6 	mfmsr   r10                                    
ffc0db7c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0db80:	7d 49 48 78 	andc    r9,r10,r9                              
ffc0db84:	7d 20 01 24 	mtmsr   r9                                     
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
ffc0db88:	81 23 00 08 	lwz     r9,8(r3)                               
  switch ( previous_state ) {                                         
ffc0db8c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0db90:	41 9e 00 98 	beq-    cr7,ffc0dc28 <_Watchdog_Remove+0xb0>   
ffc0db94:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc0db98:	40 9c 00 1c 	bge-    cr7,ffc0dbb4 <_Watchdog_Remove+0x3c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0db9c:	3d 00 00 00 	lis     r8,0                                   
ffc0dba0:	81 08 28 44 	lwz     r8,10308(r8)                           
ffc0dba4:	91 03 00 18 	stw     r8,24(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0dba8:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0dbac:	7d 23 4b 78 	mr      r3,r9                                  
ffc0dbb0:	4e 80 00 20 	blr                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
ffc0dbb4:	2b 89 00 03 	cmplwi  cr7,r9,3                               
ffc0dbb8:	41 bd ff e4 	bgt-    cr7,ffc0db9c <_Watchdog_Remove+0x24>   <== NEVER TAKEN
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
ffc0dbbc:	39 00 00 00 	li      r8,0                                   
ffc0dbc0:	91 03 00 08 	stw     r8,8(r3)                               
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0dbc4:	81 03 00 00 	lwz     r8,0(r3)                               
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
ffc0dbc8:	80 e8 00 00 	lwz     r7,0(r8)                               
ffc0dbcc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0dbd0:	41 9e 00 14 	beq-    cr7,ffc0dbe4 <_Watchdog_Remove+0x6c>   
        next_watchdog->delta_interval += the_watchdog->delta_interval;
ffc0dbd4:	80 c8 00 10 	lwz     r6,16(r8)                              
ffc0dbd8:	80 e3 00 10 	lwz     r7,16(r3)                              
ffc0dbdc:	7c e6 3a 14 	add     r7,r6,r7                               
ffc0dbe0:	90 e8 00 10 	stw     r7,16(r8)                              
                                                                      
      if ( _Watchdog_Sync_count )                                     
ffc0dbe4:	3c e0 00 00 	lis     r7,0                                   
ffc0dbe8:	80 e7 28 40 	lwz     r7,10304(r7)                           
ffc0dbec:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0dbf0:	41 9e 00 14 	beq-    cr7,ffc0dc04 <_Watchdog_Remove+0x8c>   
        _Watchdog_Sync_level = _ISR_Nest_level;                       
ffc0dbf4:	3c e0 00 00 	lis     r7,0                                   
ffc0dbf8:	80 c7 2e 08 	lwz     r6,11784(r7)                           
ffc0dbfc:	3c e0 00 00 	lis     r7,0                                   
ffc0dc00:	90 c7 28 38 	stw     r6,10296(r7)                           
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0dc04:	80 e3 00 04 	lwz     r7,4(r3)                               
  next->previous = previous;                                          
ffc0dc08:	90 e8 00 04 	stw     r7,4(r8)                               
  previous->next = next;                                              
ffc0dc0c:	91 07 00 00 	stw     r8,0(r7)                               
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0dc10:	3d 00 00 00 	lis     r8,0                                   
ffc0dc14:	81 08 28 44 	lwz     r8,10308(r8)                           
ffc0dc18:	91 03 00 18 	stw     r8,24(r3)                              
ffc0dc1c:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0dc20:	7d 23 4b 78 	mr      r3,r9                                  
ffc0dc24:	4e 80 00 20 	blr                                            
                                                                      
      /*                                                              
       *  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;                        
ffc0dc28:	39 00 00 00 	li      r8,0                                   
ffc0dc2c:	91 03 00 08 	stw     r8,8(r3)                               
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
ffc0dc30:	3d 00 00 00 	lis     r8,0                                   
ffc0dc34:	81 08 28 44 	lwz     r8,10308(r8)                           
ffc0dc38:	91 03 00 18 	stw     r8,24(r3)                              
ffc0dc3c:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
  _ISR_Enable( level );                                               
  return( previous_state );                                           
}                                                                     
ffc0dc40:	7d 23 4b 78 	mr      r3,r9                                  
ffc0dc44:	4e 80 00 20 	blr                                            
                                                                      

ffc0f0f0 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
ffc0f0f0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f0f4:	7c 08 02 a6 	mflr    r0                                     
ffc0f0f8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f0fc:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0f100:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f104:	7c 9e 23 78 	mr      r30,r4                                 
ffc0f108:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f10c:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f110:	93 e1 00 14 	stw     r31,20(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0f114:	7f 80 00 a6 	mfmsr   r28                                    
ffc0f118:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0f11c:	7f 89 48 78 	andc    r9,r28,r9                              
ffc0f120:	7d 20 01 24 	mtmsr   r9                                     
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
ffc0f124:	3c 60 ff c2 	lis     r3,-62                                 
ffc0f128:	7f c5 f3 78 	mr      r5,r30                                 
ffc0f12c:	38 63 0b 60 	addi    r3,r3,2912                             
ffc0f130:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f134:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0f138:	4b ff 76 6d 	bl      ffc067a4 <printk>                      
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0f13c:	83 fe 00 00 	lwz     r31,0(r30)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0f140:	3b de 00 04 	addi    r30,r30,4                              
    if ( !_Chain_Is_empty( header ) ) {                               
ffc0f144:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0f148:	41 9e 00 54 	beq-    cr7,ffc0f19c <_Watchdog_Report_chain+0xac>
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
ffc0f14c:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f150:	38 60 00 00 	li      r3,0                                   
ffc0f154:	48 00 00 5d 	bl      ffc0f1b0 <_Watchdog_Report>            
  _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 )                                       
ffc0f158:	83 ff 00 00 	lwz     r31,0(r31)                             
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
ffc0f15c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0f160:	40 9e ff ec 	bne+    cr7,ffc0f14c <_Watchdog_Report_chain+0x5c><== NEVER TAKEN
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
ffc0f164:	3c 60 ff c2 	lis     r3,-62                                 
ffc0f168:	38 63 0b 78 	addi    r3,r3,2936                             
ffc0f16c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f170:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0f174:	4b ff 76 31 	bl      ffc067a4 <printk>                      
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0f178:	7f 80 01 24 	mtmsr   r28                                    
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
}                                                                     
ffc0f17c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f180:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f184:	7c 08 03 a6 	mtlr    r0                                     
ffc0f188:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f18c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f190:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f194:	38 21 00 18 	addi    r1,r1,24                               
ffc0f198:	4e 80 00 20 	blr                                            
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
ffc0f19c:	3c 60 ff c2 	lis     r3,-62                                 
ffc0f1a0:	38 63 0b 88 	addi    r3,r3,2952                             
ffc0f1a4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0f1a8:	4b ff 75 fd 	bl      ffc067a4 <printk>                      
ffc0f1ac:	4b ff ff cc 	b       ffc0f178 <_Watchdog_Report_chain+0x88> 
                                                                      

ffc0dc48 <_Watchdog_Tickle>: #include <rtems/score/watchdog.h> void _Watchdog_Tickle( Chain_Control *header ) {
ffc0dc48:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0dc4c:	7c 08 02 a6 	mflr    r0                                     
ffc0dc50:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0dc54:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0dc58:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0dc5c:	93 81 00 08 	stw     r28,8(r1)                              
ffc0dc60:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0dc64:	93 e1 00 14 	stw     r31,20(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0dc68:	7f c0 00 a6 	mfmsr   r30                                    
ffc0dc6c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0dc70:	7f c9 48 78 	andc    r9,r30,r9                              
ffc0dc74:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc0dc78:	83 e3 00 00 	lwz     r31,0(r3)                              
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0dc7c:	3b 83 00 04 	addi    r28,r3,4                               
   * volatile data - till, 2003/7                                     
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
                                                                      
  if ( _Chain_Is_empty( header ) )                                    
ffc0dc80:	7f 9f e0 00 	cmpw    cr7,r31,r28                            
ffc0dc84:	41 9e 00 20 	beq-    cr7,ffc0dca4 <_Watchdog_Tickle+0x5c>   
   * to be inserted has already had its delta_interval adjusted to 0, and
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
ffc0dc88:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0dc8c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dc90:	41 9e 00 74 	beq-    cr7,ffc0dd04 <_Watchdog_Tickle+0xbc>   <== NEVER TAKEN
    the_watchdog->delta_interval--;                                   
ffc0dc94:	39 29 ff ff 	addi    r9,r9,-1                               
    if ( the_watchdog->delta_interval != 0 )                          
ffc0dc98:	2f 89 00 00 	cmpwi   cr7,r9,0                               
   * so is added to the head of the chain with a delta_interval of 0. 
   *                                                                  
   * Steven Johnson - 12/2005 (gcc-3.2.3 -O3 on powerpc)              
   */                                                                 
  if (the_watchdog->delta_interval != 0) {                            
    the_watchdog->delta_interval--;                                   
ffc0dc9c:	91 3f 00 10 	stw     r9,16(r31)                             
    if ( the_watchdog->delta_interval != 0 )                          
ffc0dca0:	41 be 00 64 	beq+    cr7,ffc0dd04 <_Watchdog_Tickle+0xbc>   
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0dca4:	7f c0 01 24 	mtmsr   r30                                    
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
                                                                      
leave:                                                                
   _ISR_Enable(level);                                                
}                                                                     
ffc0dca8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0dcac:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0dcb0:	7c 08 03 a6 	mtlr    r0                                     
ffc0dcb4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0dcb8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0dcbc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0dcc0:	38 21 00 18 	addi    r1,r1,24                               
ffc0dcc4:	4e 80 00 20 	blr                                            
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
       case WATCHDOG_ACTIVE:                                          
         (*the_watchdog->routine)(                                    
ffc0dcc8:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc0dccc:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc0dcd0:	80 9f 00 24 	lwz     r4,36(r31)                             
ffc0dcd4:	7d 29 03 a6 	mtctr   r9                                     
ffc0dcd8:	4e 80 04 21 	bctrl                                          
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc0dcdc:	7f c0 00 a6 	mfmsr   r30                                    
ffc0dce0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc0dce4:	7f c9 48 78 	andc    r9,r30,r9                              
ffc0dce8:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0dcec:	83 fd 00 00 	lwz     r31,0(r29)                             
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
             (the_watchdog->delta_interval == 0) );                   
ffc0dcf0:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc0dcf4:	41 be ff b0 	beq-    cr7,ffc0dca4 <_Watchdog_Tickle+0x5c>   
     }                                                                
                                                                      
     _ISR_Disable( level );                                           
                                                                      
     the_watchdog = _Watchdog_First( header );                        
   } while ( !_Chain_Is_empty( header ) &&                            
ffc0dcf8:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0dcfc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0dd00:	40 be ff a4 	bne-    cr7,ffc0dca4 <_Watchdog_Tickle+0x5c>   
    if ( the_watchdog->delta_interval != 0 )                          
      goto leave;                                                     
  }                                                                   
                                                                      
  do {                                                                
     watchdog_state = _Watchdog_Remove( the_watchdog );               
ffc0dd04:	7f e3 fb 78 	mr      r3,r31                                 
ffc0dd08:	4b ff fe 71 	bl      ffc0db78 <_Watchdog_Remove>            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0dd0c:	7f c0 01 24 	mtmsr   r30                                    
                                                                      
     _ISR_Enable( level );                                            
                                                                      
     switch( watchdog_state ) {                                       
ffc0dd10:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc0dd14:	40 9e ff c8 	bne+    cr7,ffc0dcdc <_Watchdog_Tickle+0x94>   
ffc0dd18:	4b ff ff b0 	b       ffc0dcc8 <_Watchdog_Tickle+0x80>       
                                                                      

ffc0dd1c <_Workspace_Handler_initialization>: size_t area_count, Heap_Initialization_or_extend_handler extend ) { Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize; uintptr_t remaining = rtems_configuration_get_work_space_size();
ffc0dd1c:	3d 40 ff c2 	lis     r10,-62                                
void _Workspace_Handler_initialization(                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc0dd20:	7d 80 00 26 	mfcr    r12                                    
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd24:	39 2a d5 38 	addi    r9,r10,-10952                          
void _Workspace_Handler_initialization(                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc0dd28:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0dd2c:	7c 08 02 a6 	mflr    r0                                     
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd30:	89 09 00 32 	lbz     r8,50(r9)                              
void _Workspace_Handler_initialization(                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc0dd34:	93 21 00 14 	stw     r25,20(r1)                             
ffc0dd38:	7c b9 2b 78 	mr      r25,r5                                 
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd3c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
void _Workspace_Handler_initialization(                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc0dd40:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0dd44:	7c 9b 23 78 	mr      r27,r4                                 
ffc0dd48:	93 81 00 20 	stw     r28,32(r1)                             
ffc0dd4c:	90 01 00 34 	stw     r0,52(r1)                              
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd50:	83 8a d5 38 	lwz     r28,-10952(r10)                        
ffc0dd54:	39 40 00 00 	li      r10,0                                  
void _Workspace_Handler_initialization(                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
ffc0dd58:	93 01 00 10 	stw     r24,16(r1)                             
ffc0dd5c:	93 41 00 18 	stw     r26,24(r1)                             
ffc0dd60:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0dd64:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0dd68:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0dd6c:	91 81 00 0c 	stw     r12,12(r1)                             
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd70:	40 9e 00 08 	bne-    cr7,ffc0dd78 <_Workspace_Handler_initialization+0x5c>
ffc0dd74:	81 49 00 04 	lwz     r10,4(r9)                              
  bool unified = rtems_configuration_get_unified_work_area();         
  uintptr_t page_size = CPU_HEAP_ALIGNMENT;                           
  uintptr_t overhead = _Heap_Area_overhead( page_size );              
  size_t i;                                                           
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
ffc0dd78:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
  uintptr_t remaining = rtems_configuration_get_work_space_size();    
ffc0dd7c:	7f 8a e2 14 	add     r28,r10,r28                            
  bool do_zero = rtems_configuration_get_do_zero_of_workspace();      
ffc0dd80:	89 49 00 30 	lbz     r10,48(r9)                             
  bool unified = rtems_configuration_get_unified_work_area();         
ffc0dd84:	89 29 00 31 	lbz     r9,49(r9)                              
  uintptr_t page_size = CPU_HEAP_ALIGNMENT;                           
  uintptr_t overhead = _Heap_Area_overhead( page_size );              
  size_t i;                                                           
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
ffc0dd88:	41 9e 00 a0 	beq-    cr7,ffc0de28 <_Workspace_Handler_initialization+0x10c><== NEVER TAKEN
ffc0dd8c:	2e 0a 00 00 	cmpwi   cr4,r10,0                              
                                                                      
    if ( area->size > overhead ) {                                    
      uintptr_t space_available;                                      
      uintptr_t size;                                                 
                                                                      
      if ( unified ) {                                                
ffc0dd90:	2d 89 00 00 	cmpwi   cr3,r9,0                               
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
ffc0dd94:	3f 40 ff c1 	lis     r26,-63                                
        } else {                                                      
          size = 0;                                                   
        }                                                             
      }                                                               
                                                                      
      space_available = (*init_or_extend)(                            
ffc0dd98:	3f 00 00 00 	lis     r24,0                                  
ffc0dd9c:	7c 7f 1b 78 	mr      r31,r3                                 
  bool unified = rtems_configuration_get_unified_work_area();         
  uintptr_t page_size = CPU_HEAP_ALIGNMENT;                           
  uintptr_t overhead = _Heap_Area_overhead( page_size );              
  size_t i;                                                           
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
ffc0dda0:	3b a0 00 00 	li      r29,0                                  
  Heap_Area *areas,                                                   
  size_t area_count,                                                  
  Heap_Initialization_or_extend_handler extend                        
)                                                                     
{                                                                     
  Heap_Initialization_or_extend_handler init_or_extend = _Heap_Initialize;
ffc0dda4:	3b 5a b0 08 	addi    r26,r26,-20472                         
        } else {                                                      
          size = 0;                                                   
        }                                                             
      }                                                               
                                                                      
      space_available = (*init_or_extend)(                            
ffc0dda8:	3b 18 2c 94 	addi    r24,r24,11412                          
  size_t i;                                                           
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
    Heap_Area *area = &areas [i];                                     
                                                                      
    if ( do_zero ) {                                                  
ffc0ddac:	40 92 00 bc 	bne-    cr4,ffc0de68 <_Workspace_Handler_initialization+0x14c>
      memset( area->begin, 0, area->size );                           
    }                                                                 
                                                                      
    if ( area->size > overhead ) {                                    
ffc0ddb0:	83 df 00 04 	lwz     r30,4(r31)                             
ffc0ddb4:	2b 9e 00 16 	cmplwi  cr7,r30,22                             
ffc0ddb8:	40 9d 00 60 	ble-    cr7,ffc0de18 <_Workspace_Handler_initialization+0xfc>
      uintptr_t space_available;                                      
      uintptr_t size;                                                 
                                                                      
      if ( unified ) {                                                
ffc0ddbc:	40 8e 00 1c 	bne-    cr3,ffc0ddd8 <_Workspace_Handler_initialization+0xbc>
        size = area->size;                                            
      } else {                                                        
        if ( remaining > 0 ) {                                        
ffc0ddc0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0ddc4:	41 9e 00 b8 	beq-    cr7,ffc0de7c <_Workspace_Handler_initialization+0x160><== NEVER TAKEN
          size = remaining < area->size - overhead ?                  
ffc0ddc8:	39 3e ff ea 	addi    r9,r30,-22                             
            remaining + overhead : area->size;                        
ffc0ddcc:	7f 89 e0 40 	cmplw   cr7,r9,r28                             
ffc0ddd0:	40 9d 00 08 	ble-    cr7,ffc0ddd8 <_Workspace_Handler_initialization+0xbc><== NEVER TAKEN
ffc0ddd4:	3b dc 00 16 	addi    r30,r28,22                             
        } else {                                                      
          size = 0;                                                   
        }                                                             
      }                                                               
                                                                      
      space_available = (*init_or_extend)(                            
ffc0ddd8:	7f c5 f3 78 	mr      r5,r30                                 
ffc0dddc:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0dde0:	7f 03 c3 78 	mr      r3,r24                                 
ffc0dde4:	7f 49 03 a6 	mtctr   r26                                    
ffc0dde8:	38 c0 00 08 	li      r6,8                                   
ffc0ddec:	4e 80 04 21 	bctrl                                          
        area->begin,                                                  
        size,                                                         
        page_size                                                     
      );                                                              
                                                                      
      area->begin = (char *) area->begin + size;                      
ffc0ddf0:	81 5f 00 00 	lwz     r10,0(r31)                             
      area->size -= size;                                             
                                                                      
      if ( space_available < remaining ) {                            
ffc0ddf4:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
        size,                                                         
        page_size                                                     
      );                                                              
                                                                      
      area->begin = (char *) area->begin + size;                      
      area->size -= size;                                             
ffc0ddf8:	81 3f 00 04 	lwz     r9,4(r31)                              
        area->begin,                                                  
        size,                                                         
        page_size                                                     
      );                                                              
                                                                      
      area->begin = (char *) area->begin + size;                      
ffc0ddfc:	7d 4a f2 14 	add     r10,r10,r30                            
      area->size -= size;                                             
ffc0de00:	7f de 48 50 	subf    r30,r30,r9                             
        area->begin,                                                  
        size,                                                         
        page_size                                                     
      );                                                              
                                                                      
      area->begin = (char *) area->begin + size;                      
ffc0de04:	91 5f 00 00 	stw     r10,0(r31)                             
      area->size -= size;                                             
ffc0de08:	93 df 00 04 	stw     r30,4(r31)                             
                                                                      
      if ( space_available < remaining ) {                            
ffc0de0c:	40 9c 00 90 	bge-    cr7,ffc0de9c <_Workspace_Handler_initialization+0x180><== ALWAYS TAKEN
        remaining -= space_available;                                 
ffc0de10:	7f 83 e0 50 	subf    r28,r3,r28                             <== NOT EXECUTED
      } else {                                                        
        remaining = 0;                                                
      }                                                               
                                                                      
      init_or_extend = extend;                                        
ffc0de14:	7f 3a cb 78 	mr      r26,r25                                <== NOT EXECUTED
  bool unified = rtems_configuration_get_unified_work_area();         
  uintptr_t page_size = CPU_HEAP_ALIGNMENT;                           
  uintptr_t overhead = _Heap_Area_overhead( page_size );              
  size_t i;                                                           
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
ffc0de18:	3b bd 00 01 	addi    r29,r29,1                              
ffc0de1c:	7f 9d d8 00 	cmpw    cr7,r29,r27                            
ffc0de20:	3b ff 00 08 	addi    r31,r31,8                              
ffc0de24:	40 9e ff 88 	bne+    cr7,ffc0ddac <_Workspace_Handler_initialization+0x90><== NEVER TAKEN
                                                                      
      init_or_extend = extend;                                        
    }                                                                 
  }                                                                   
                                                                      
  if ( remaining > 0 ) {                                              
ffc0de28:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc0de2c:	40 9e 00 7c 	bne-    cr7,ffc0dea8 <_Workspace_Handler_initialization+0x18c>
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_TOO_LITTLE_WORKSPACE                             
    );                                                                
  }                                                                   
}                                                                     
ffc0de30:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0de34:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc0de38:	7c 08 03 a6 	mtlr    r0                                     
ffc0de3c:	83 01 00 10 	lwz     r24,16(r1)                             
ffc0de40:	83 21 00 14 	lwz     r25,20(r1)                             
ffc0de44:	7d 81 81 20 	mtcrf   24,r12                                 
ffc0de48:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0de4c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0de50:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0de54:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0de58:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0de5c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0de60:	38 21 00 30 	addi    r1,r1,48                               
ffc0de64:	4e 80 00 20 	blr                                            
                                                                      
  for (i = 0; i < area_count; ++i) {                                  
    Heap_Area *area = &areas [i];                                     
                                                                      
    if ( do_zero ) {                                                  
      memset( area->begin, 0, area->size );                           
ffc0de68:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0de6c:	38 80 00 00 	li      r4,0                                   
ffc0de70:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0de74:	48 00 4f fd 	bl      ffc12e70 <memset>                      
ffc0de78:	4b ff ff 38 	b       ffc0ddb0 <_Workspace_Handler_initialization+0x94>
        } else {                                                      
          size = 0;                                                   
        }                                                             
      }                                                               
                                                                      
      space_available = (*init_or_extend)(                            
ffc0de7c:	7f 49 03 a6 	mtctr   r26                                    <== NOT EXECUTED
ffc0de80:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc0de84:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc0de88:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc0de8c:	38 c0 00 08 	li      r6,8                                   <== NOT EXECUTED
        remaining -= space_available;                                 
      } else {                                                        
        remaining = 0;                                                
      }                                                               
                                                                      
      init_or_extend = extend;                                        
ffc0de90:	7f 3a cb 78 	mr      r26,r25                                <== NOT EXECUTED
        } else {                                                      
          size = 0;                                                   
        }                                                             
      }                                                               
                                                                      
      space_available = (*init_or_extend)(                            
ffc0de94:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc0de98:	4b ff ff 80 	b       ffc0de18 <_Workspace_Handler_initialization+0xfc><== NOT EXECUTED
        remaining -= space_available;                                 
      } else {                                                        
        remaining = 0;                                                
      }                                                               
                                                                      
      init_or_extend = extend;                                        
ffc0de9c:	7f 3a cb 78 	mr      r26,r25                                
      area->size -= size;                                             
                                                                      
      if ( space_available < remaining ) {                            
        remaining -= space_available;                                 
      } else {                                                        
        remaining = 0;                                                
ffc0dea0:	3b 80 00 00 	li      r28,0                                  
ffc0dea4:	4b ff ff 74 	b       ffc0de18 <_Workspace_Handler_initialization+0xfc>
      init_or_extend = extend;                                        
    }                                                                 
  }                                                                   
                                                                      
  if ( remaining > 0 ) {                                              
    _Internal_error_Occurred(                                         
ffc0dea8:	38 60 00 00 	li      r3,0                                   
ffc0deac:	38 80 00 01 	li      r4,1                                   
ffc0deb0:	38 a0 00 02 	li      r5,2                                   
ffc0deb4:	4b ff d4 65 	bl      ffc0b318 <_Internal_error_Occurred>    
                                                                      

ffc0d864 <_Workspace_String_duplicate>: char *_Workspace_String_duplicate( const char *string, size_t len ) {
ffc0d864:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0d868:	7c 08 02 a6 	mflr    r0                                     
ffc0d86c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0d870:	7c 7d 1b 78 	mr      r29,r3                                 
  char *dup = _Workspace_Allocate(len + 1);                           
ffc0d874:	38 64 00 01 	addi    r3,r4,1                                
                                                                      
char *_Workspace_String_duplicate(                                    
  const char *string,                                                 
  size_t len                                                          
)                                                                     
{                                                                     
ffc0d878:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0d87c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0d880:	7c 9f 23 78 	mr      r31,r4                                 
ffc0d884:	90 01 00 1c 	stw     r0,28(r1)                              
  char *dup = _Workspace_Allocate(len + 1);                           
ffc0d888:	4b ff ff 6d 	bl      ffc0d7f4 <_Workspace_Allocate>         
                                                                      
  if (dup != NULL) {                                                  
ffc0d88c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0d890:	41 82 00 18 	beq-    ffc0d8a8 <_Workspace_String_duplicate+0x44><== NEVER TAKEN
    dup [len] = '\0';                                                 
ffc0d894:	39 20 00 00 	li      r9,0                                   
ffc0d898:	7d 3e f9 ae 	stbx    r9,r30,r31                             
    memcpy(dup, string, len);                                         
ffc0d89c:	7f a4 eb 78 	mr      r4,r29                                 
ffc0d8a0:	7f e5 fb 78 	mr      r5,r31                                 
ffc0d8a4:	48 00 4d 19 	bl      ffc125bc <memcpy>                      
  }                                                                   
                                                                      
  return dup;                                                         
}                                                                     
ffc0d8a8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0d8ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc0d8b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0d8b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0d8b8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0d8bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0d8c0:	38 21 00 18 	addi    r1,r1,24                               
ffc0d8c4:	4e 80 00 20 	blr                                            
                                                                      

ffc1cc98 <__kill>: #endif int __kill( pid_t pid, int sig ) { return 0; }
ffc1cc98:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1cc9c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1719c <_fat_block_read>: uint32_t start, uint32_t offset, uint32_t count, void *buff ) {
ffc1719c:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc171a0:	7c 08 02 a6 	mflr    r0                                     
ffc171a4:	93 c1 00 30 	stw     r30,48(r1)                             
    uint32_t                sec_num = start;                          
    uint32_t                ofs = offset;                             
    uint8_t                *sec_buf;                                  
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc171a8:	7c de 33 79 	mr.     r30,r6                                 
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
ffc171ac:	90 01 00 3c 	stw     r0,60(r1)                              
ffc171b0:	93 21 00 1c 	stw     r25,28(r1)                             
ffc171b4:	93 41 00 20 	stw     r26,32(r1)                             
ffc171b8:	93 61 00 24 	stw     r27,36(r1)                             
ffc171bc:	93 81 00 28 	stw     r28,40(r1)                             
ffc171c0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc171c4:	93 e1 00 34 	stw     r31,52(r1)                             
    uint32_t                sec_num = start;                          
    uint32_t                ofs = offset;                             
    uint8_t                *sec_buf;                                  
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc171c8:	41 82 00 a8 	beq-    ffc17270 <_fat_block_read+0xd4>        <== NEVER TAKEN
ffc171cc:	7c 7a 1b 78 	mr      r26,r3                                 
ffc171d0:	7c f9 3b 78 	mr      r25,r7                                 
ffc171d4:	7c bb 2b 78 	mr      r27,r5                                 
ffc171d8:	7c 9c 23 78 	mr      r28,r4                                 
ffc171dc:	3b a0 00 00 	li      r29,0                                  
ffc171e0:	48 00 00 38 	b       ffc17218 <_fat_block_read+0x7c>        
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc171e4:	a3 fa 00 00 	lhz     r31,0(r26)                             
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
ffc171e8:	80 81 00 08 	lwz     r4,8(r1)                               
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc171ec:	7f fb f8 50 	subf    r31,r27,r31                            
ffc171f0:	7f 9f f0 40 	cmplw   cr7,r31,r30                            
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
ffc171f4:	7c 84 da 14 	add     r4,r4,r27                              
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc171f8:	40 9d 00 08 	ble-    cr7,ffc17200 <_fat_block_read+0x64>    
ffc171fc:	7f df f3 78 	mr      r31,r30                                
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
ffc17200:	7f e5 fb 78 	mr      r5,r31                                 
ffc17204:	48 00 a1 79 	bl      ffc2137c <memcpy>                      
    uint32_t                sec_num = start;                          
    uint32_t                ofs = offset;                             
    uint8_t                *sec_buf;                                  
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc17208:	7f df f0 51 	subf.   r30,r31,r30                            
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
ffc1720c:	7f bf ea 14 	add     r29,r31,r29                            
        sec_num++;                                                    
        ofs = 0;                                                      
ffc17210:	3b 60 00 00 	li      r27,0                                  
    uint32_t                sec_num = start;                          
    uint32_t                ofs = offset;                             
    uint8_t                *sec_buf;                                  
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
ffc17214:	41 82 00 2c 	beq-    ffc17240 <_fat_block_read+0xa4>        
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
ffc17218:	7f 84 e3 78 	mr      r4,r28                                 
ffc1721c:	38 a0 00 01 	li      r5,1                                   
ffc17220:	38 c1 00 08 	addi    r6,r1,8                                
ffc17224:	7f 43 d3 78 	mr      r3,r26                                 
ffc17228:	4b ff fe 7d 	bl      ffc170a4 <fat_buf_access>              
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        sec_num++;                                                    
ffc1722c:	3b 9c 00 01 	addi    r28,r28,1                              
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc17230:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
        memcpy((buff + cmpltd), (sec_buf + ofs), c);                  
ffc17234:	7c 79 ea 14 	add     r3,r25,r29                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc17238:	41 9e ff ac 	beq+    cr7,ffc171e4 <_fat_block_read+0x48>    <== ALWAYS TAKEN
            return -1;                                                
ffc1723c:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
        cmpltd += c;                                                  
        sec_num++;                                                    
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc17240:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc17244:	7f a3 eb 78 	mr      r3,r29                                 
ffc17248:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1724c:	7c 08 03 a6 	mtlr    r0                                     
ffc17250:	83 41 00 20 	lwz     r26,32(r1)                             
ffc17254:	83 61 00 24 	lwz     r27,36(r1)                             
ffc17258:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1725c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc17260:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc17264:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc17268:	38 21 00 38 	addi    r1,r1,56                               
ffc1726c:	4e 80 00 20 	blr                                            
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
    int                     rc = RC_OK;                               
    ssize_t                 cmpltd = 0;                               
ffc17270:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc17274:	4b ff ff cc 	b       ffc17240 <_fat_block_read+0xa4>        <== NOT EXECUTED
                                                                      

ffc04d10 <_gettimeofday>: int _gettimeofday( struct timeval *tp, struct timezone *tzp ) { return gettimeofday( tp, tzp );
ffc04d10:	4b ff ff 44 	b       ffc04c54 <gettimeofday>                <== NOT EXECUTED
                                                                      

ffc059e4 <_lstat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
ffc059e4:	7c 83 23 78 	mr      r3,r4                                  <== NOT EXECUTED
ffc059e8:	7c a4 2b 78 	mr      r4,r5                                  <== NOT EXECUTED
ffc059ec:	4b ff ff 7c 	b       ffc05968 <lstat>                       <== NOT EXECUTED
                                                                      

ffc05dd0 <_stat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
ffc05dd0:	7c 83 23 78 	mr      r3,r4                                  <== NOT EXECUTED
ffc05dd4:	7c a4 2b 78 	mr      r4,r5                                  <== NOT EXECUTED
ffc05dd8:	4b ff ff 7c 	b       ffc05d54 <stat>                        <== NOT EXECUTED
                                                                      

ffc0a900 <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)) {
ffc0a900:	2f 86 ff f8 	cmpwi   cr7,r6,-8                              
  rtems_chain_control *free_chain,                                    
  rtems_rbtree_control *chunk_tree,                                   
  rtems_rbheap_chunk *a,                                              
  rtems_rbheap_chunk *b                                               
)                                                                     
{                                                                     
ffc0a904:	7c 6a 1b 78 	mr      r10,r3                                 
  if (b != NULL_PAGE && rtems_rbheap_is_chunk_free(b)) {              
ffc0a908:	4d 9e 00 20 	beqlr   cr7                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc0a90c:	81 26 00 00 	lwz     r9,0(r6)                               
ffc0a910:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0a914:	41 9e 00 60 	beq-    cr7,ffc0a974 <check_and_merge+0x74>    
    if (b->begin < a->begin) {                                        
ffc0a918:	80 e6 00 18 	lwz     r7,24(r6)                              
ffc0a91c:	81 05 00 18 	lwz     r8,24(r5)                              
ffc0a920:	7f 87 40 40 	cmplw   cr7,r7,r8                              
ffc0a924:	40 9c 00 14 	bge-    cr7,ffc0a938 <check_and_merge+0x38>    
ffc0a928:	7c a8 2b 78 	mr      r8,r5                                  
ffc0a92c:	81 25 00 00 	lwz     r9,0(r5)                               
ffc0a930:	7c c5 33 78 	mr      r5,r6                                  
ffc0a934:	7d 06 43 78 	mr      r6,r8                                  
                                                                      
      a = b;                                                          
      b = t;                                                          
    }                                                                 
                                                                      
    a->size += b->size;                                               
ffc0a938:	80 65 00 1c 	lwz     r3,28(r5)                              
ffc0a93c:	80 e6 00 1c 	lwz     r7,28(r6)                              
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0a940:	81 06 00 04 	lwz     r8,4(r6)                               
ffc0a944:	7c e3 3a 14 	add     r7,r3,r7                               
ffc0a948:	90 e5 00 1c 	stw     r7,28(r5)                              
    rtems_chain_extract_unprotected(&b->chain_node);                  
    add_to_chain(free_chain, b);                                      
    _RBTree_Extract_unprotected(chunk_tree, &b->tree_node);           
ffc0a94c:	7c 83 23 78 	mr      r3,r4                                  
ffc0a950:	38 86 00 08 	addi    r4,r6,8                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc0a954:	91 28 00 00 	stw     r9,0(r8)                               
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0a958:	80 ea 00 00 	lwz     r7,0(r10)                              
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
ffc0a95c:	91 09 00 04 	stw     r8,4(r9)                               
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0a960:	90 ca 00 00 	stw     r6,0(r10)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0a964:	91 46 00 04 	stw     r10,4(r6)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0a968:	90 e6 00 00 	stw     r7,0(r6)                               
  before_node->previous = the_node;                                   
ffc0a96c:	90 c7 00 04 	stw     r6,4(r7)                               
ffc0a970:	48 00 1f 50 	b       ffc0c8c0 <_RBTree_Extract_unprotected> 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc0a974:	81 06 00 04 	lwz     r8,4(r6)                               
ffc0a978:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc0a97c:	40 9e ff 9c 	bne+    cr7,ffc0a918 <check_and_merge+0x18>    <== NEVER TAKEN
ffc0a980:	4e 80 00 20 	blr                                            
                                                                      

ffc05524 <chroot>: #include <unistd.h> #include <rtems/libio_.h> int chroot( const char *path ) {
ffc05524:	94 21 ff 90 	stwu    r1,-112(r1)                            
                                                                      
  /*                                                                  
   * 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(             
ffc05528:	3c c0 00 00 	lis     r6,0                                   
#include <unistd.h>                                                   
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
int chroot( const char *path )                                        
{                                                                     
ffc0552c:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   * 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(             
ffc05530:	38 c6 21 3c 	addi    r6,r6,8508                             
#include <unistd.h>                                                   
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
int chroot( const char *path )                                        
{                                                                     
ffc05534:	7c 64 1b 78 	mr      r4,r3                                  
ffc05538:	93 c1 00 68 	stw     r30,104(r1)                            
                                                                      
  /*                                                                  
   * 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(             
ffc0553c:	38 a0 00 19 	li      r5,25                                  
ffc05540:	38 e6 ff fc 	addi    r7,r6,-4                               
#include <unistd.h>                                                   
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
int chroot( const char *path )                                        
{                                                                     
ffc05544:	90 01 00 74 	stw     r0,116(r1)                             
                                                                      
  /*                                                                  
   * 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(             
ffc05548:	38 61 00 08 	addi    r3,r1,8                                
#include <unistd.h>                                                   
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
int chroot( const char *path )                                        
{                                                                     
ffc0554c:	93 e1 00 6c 	stw     r31,108(r1)                            
                                                                      
  /*                                                                  
   * 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(             
ffc05550:	48 00 19 15 	bl      ffc06e64 <rtems_filesystem_eval_path_start_with_root_and_current>
ffc05554:	38 81 00 20 	addi    r4,r1,32                               
ffc05558:	38 61 00 40 	addi    r3,r1,64                               
ffc0555c:	48 00 1f 2d 	bl      ffc07488 <rtems_filesystem_location_copy_and_detach>
    &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 );
ffc05560:	38 61 00 40 	addi    r3,r1,64                               
ffc05564:	48 00 21 dd 	bl      ffc07740 <rtems_filesystem_location_transform_to_global>
  if ( !rtems_filesystem_global_location_is_null( new_current_loc ) ) {
ffc05568:	3f c0 ff c1 	lis     r30,-63                                
ffc0556c:	81 23 00 10 	lwz     r9,16(r3)                              
ffc05570:	3b de 49 2c 	addi    r30,r30,18732                          
    &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 );
ffc05574:	90 61 00 58 	stw     r3,88(r1)                              
  if ( !rtems_filesystem_global_location_is_null( new_current_loc ) ) {
ffc05578:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0557c:	41 9e 00 4c 	beq-    cr7,ffc055c8 <chroot+0xa4>             
    rtems_filesystem_global_location_t *new_root_loc =                
ffc05580:	38 61 00 58 	addi    r3,r1,88                               
ffc05584:	48 00 20 a5 	bl      ffc07628 <rtems_filesystem_global_location_obtain>
      rtems_filesystem_global_location_obtain( &new_current_loc );    
    rtems_filesystem_node_types_t type =                              
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
ffc05588:	81 23 00 14 	lwz     r9,20(r3)                              
  );                                                                  
                                                                      
  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 =                
ffc0558c:	7c 7f 1b 78 	mr      r31,r3                                 
      rtems_filesystem_global_location_obtain( &new_current_loc );    
    rtems_filesystem_node_types_t type =                              
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
ffc05590:	81 29 00 0c 	lwz     r9,12(r9)                              
  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 =                              
ffc05594:	81 29 00 14 	lwz     r9,20(r9)                              
ffc05598:	7d 29 03 a6 	mtctr   r9                                     
ffc0559c:	4e 80 04 21 	bctrl                                          
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
        &new_root_loc->location                                       
      );                                                              
                                                                      
    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {                       
ffc055a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc055a4:	41 9e 00 50 	beq-    cr7,ffc055f4 <chroot+0xd0>             
static inline void rtems_filesystem_location_error(                   
  const rtems_filesystem_location_info_t *loc,                        
  int eno                                                             
)                                                                     
{                                                                     
  if ( !rtems_filesystem_location_is_null( loc ) ) {                  
ffc055a8:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc055ac:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc055b0:	41 9e 00 10 	beq-    cr7,ffc055c0 <chroot+0x9c>             <== NEVER TAKEN
    errno = eno;                                                      
ffc055b4:	48 00 88 a9 	bl      ffc0de5c <__errno>                     
ffc055b8:	39 20 00 14 	li      r9,20                                  
ffc055bc:	91 23 00 00 	stw     r9,0(r3)                               
      rtems_filesystem_location_error( &new_root_loc->location, ENOTDIR );
      rv = -1;                                                        
    }                                                                 
                                                                      
    if ( rv != 0 ) {                                                  
      rtems_filesystem_global_location_release( new_root_loc );       
ffc055c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc055c4:	48 00 1f f1 	bl      ffc075b4 <rtems_filesystem_global_location_release>
    }                                                                 
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc055c8:	38 61 00 08 	addi    r3,r1,8                                
ffc055cc:	48 00 1a 51 	bl      ffc0701c <rtems_filesystem_eval_path_cleanup>
                                                                      
  if ( rv != 0 ) {                                                    
    rtems_filesystem_global_location_release( new_current_loc );      
ffc055d0:	80 61 00 58 	lwz     r3,88(r1)                              
ffc055d4:	48 00 1f e1 	bl      ffc075b4 <rtems_filesystem_global_location_release>
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc055d8:	80 01 00 74 	lwz     r0,116(r1)                             
ffc055dc:	83 c1 00 68 	lwz     r30,104(r1)                            
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
                                                                      
  if ( rv != 0 ) {                                                    
    rtems_filesystem_global_location_release( new_current_loc );      
ffc055e0:	38 60 ff ff 	li      r3,-1                                  
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc055e4:	7c 08 03 a6 	mtlr    r0                                     
ffc055e8:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc055ec:	38 21 00 70 	addi    r1,r1,112                              
ffc055f0:	4e 80 00 20 	blr                                            
      (*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();                             
ffc055f4:	48 00 0f 61 	bl      ffc06554 <rtems_libio_set_private_env> 
      if (sc == RTEMS_SUCCESSFUL) {                                   
ffc055f8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc055fc:	41 82 00 1c 	beq-    ffc05618 <chroot+0xf4>                 
        rtems_filesystem_global_location_assign(                      
          &rtems_filesystem_current,                                  
          new_current_loc                                             
        );                                                            
      } else {                                                        
        if (sc != RTEMS_UNSATISFIED) {                                
ffc05600:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc05604:	41 be ff bc 	beq-    cr7,ffc055c0 <chroot+0x9c>             <== NEVER TAKEN
          errno = ENOMEM;                                             
ffc05608:	48 00 88 55 	bl      ffc0de5c <__errno>                     
ffc0560c:	39 20 00 0c 	li      r9,12                                  
ffc05610:	91 23 00 00 	stw     r9,0(r3)                               
ffc05614:	4b ff ff ac 	b       ffc055c0 <chroot+0x9c>                 
      );                                                              
                                                                      
    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {                       
      sc = rtems_libio_set_private_env();                             
      if (sc == RTEMS_SUCCESSFUL) {                                   
        rtems_filesystem_global_location_assign(                      
ffc05618:	3f c0 00 00 	lis     r30,0                                  
ffc0561c:	80 7e 27 08 	lwz     r3,9992(r30)                           
ffc05620:	7f e4 fb 78 	mr      r4,r31                                 
ffc05624:	38 63 00 04 	addi    r3,r3,4                                
ffc05628:	48 00 1f dd 	bl      ffc07604 <rtems_filesystem_global_location_assign>
          &rtems_filesystem_root,                                     
          new_root_loc                                                
        );                                                            
        rtems_filesystem_global_location_assign(                      
ffc0562c:	80 81 00 58 	lwz     r4,88(r1)                              
ffc05630:	80 7e 27 08 	lwz     r3,9992(r30)                           
ffc05634:	48 00 1f d1 	bl      ffc07604 <rtems_filesystem_global_location_assign>
    }                                                                 
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc05638:	38 61 00 08 	addi    r3,r1,8                                
ffc0563c:	48 00 19 e1 	bl      ffc0701c <rtems_filesystem_eval_path_cleanup>
  if ( rv != 0 ) {                                                    
    rtems_filesystem_global_location_release( new_current_loc );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05640:	80 01 00 74 	lwz     r0,116(r1)                             
ffc05644:	83 c1 00 68 	lwz     r30,104(r1)                            
    }                                                                 
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc05648:	38 60 00 00 	li      r3,0                                   
  if ( rv != 0 ) {                                                    
    rtems_filesystem_global_location_release( new_current_loc );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0564c:	7c 08 03 a6 	mtlr    r0                                     
ffc05650:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc05654:	38 21 00 70 	addi    r1,r1,112                              
ffc05658:	4e 80 00 20 	blr                                            
                                                                      

ffc04728 <create_disk>: dev_t dev, const char *name, rtems_disk_device **dd_ptr, char **alloc_name_ptr ) {
ffc04728:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0472c:	7c 08 02 a6 	mflr    r0                                     
ffc04730:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04734:	3f e0 00 00 	lis     r31,0                                  
  dev_t dev,                                                          
  const char *name,                                                   
  rtems_disk_device **dd_ptr,                                         
  char **alloc_name_ptr                                               
)                                                                     
{                                                                     
ffc04738:	93 81 00 20 	stw     r28,32(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc0473c:	83 9f 28 48 	lwz     r28,10312(r31)                         
  dev_t dev,                                                          
  const char *name,                                                   
  rtems_disk_device **dd_ptr,                                         
  char **alloc_name_ptr                                               
)                                                                     
{                                                                     
ffc04740:	92 c1 00 08 	stw     r22,8(r1)                              
ffc04744:	7c f6 3b 78 	mr      r22,r7                                 
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04748:	7f 83 e0 40 	cmplw   cr7,r3,r28                             
  dev_t dev,                                                          
  const char *name,                                                   
  rtems_disk_device **dd_ptr,                                         
  char **alloc_name_ptr                                               
)                                                                     
{                                                                     
ffc0474c:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc04750:	7c d7 33 78 	mr      r23,r6                                 
ffc04754:	93 01 00 10 	stw     r24,16(r1)                             
ffc04758:	7c b8 2b 78 	mr      r24,r5                                 
ffc0475c:	93 21 00 14 	stw     r25,20(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04760:	3b 3f 28 48 	addi    r25,r31,10312                          
  dev_t dev,                                                          
  const char *name,                                                   
  rtems_disk_device **dd_ptr,                                         
  char **alloc_name_ptr                                               
)                                                                     
{                                                                     
ffc04764:	93 61 00 1c 	stw     r27,28(r1)                             
ffc04768:	7c 9b 23 78 	mr      r27,r4                                 
ffc0476c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc04770:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04774:	90 01 00 34 	stw     r0,52(r1)                              
ffc04778:	93 41 00 18 	stw     r26,24(r1)                             
ffc0477c:	93 c1 00 28 	stw     r30,40(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
ffc04780:	40 9c 01 0c 	bge-    cr7,ffc0488c <create_disk+0x164>       
ffc04784:	83 d9 00 04 	lwz     r30,4(r25)                             
    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) {
ffc04788:	57 a9 18 38 	rlwinm  r9,r29,3,0,28                          
ffc0478c:	7f fe 48 2e 	lwzx    r31,r30,r9                             
ffc04790:	7f de 4a 14 	add     r30,r30,r9                             
ffc04794:	83 9e 00 04 	lwz     r28,4(r30)                             
ffc04798:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0479c:	41 9e 00 60 	beq-    cr7,ffc047fc <create_disk+0xd4>        
ffc047a0:	7f 9b e0 40 	cmplw   cr7,r27,r28                            
ffc047a4:	40 9c 00 58 	bge-    cr7,ffc047fc <create_disk+0xd4>        
    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;                               
ffc047a8:	57 69 10 3a 	rlwinm  r9,r27,2,0,29                          
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
ffc047ac:	7f df 4a 15 	add.    r30,r31,r9                             
ffc047b0:	41 82 00 a0 	beq-    ffc04850 <create_disk+0x128>           <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc047b4:	7d 3f 48 2e 	lwzx    r9,r31,r9                              
    return RTEMS_RESOURCE_IN_USE;                                     
ffc047b8:	38 60 00 0c 	li      r3,12                                  
                                                                      
  if (dd_entry == NULL) {                                             
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
ffc047bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc047c0:	41 9e 01 2c 	beq-    cr7,ffc048ec <create_disk+0x1c4>       
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
  *alloc_name_ptr = alloc_name;                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc047c4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc047c8:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc047cc:	7c 08 03 a6 	mtlr    r0                                     
ffc047d0:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc047d4:	83 01 00 10 	lwz     r24,16(r1)                             
ffc047d8:	83 21 00 14 	lwz     r25,20(r1)                             
ffc047dc:	83 41 00 18 	lwz     r26,24(r1)                             
ffc047e0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc047e4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc047e8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc047ec:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc047f0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc047f4:	38 21 00 30 	addi    r1,r1,48                               
ffc047f8:	4e 80 00 20 	blr                                            
  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) {                                              
ffc047fc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      new_size = DISKTAB_INITIAL_SIZE;                                
ffc04800:	3b 40 00 08 	li      r26,8                                  
  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) {                                              
ffc04804:	40 9e 00 d8 	bne-    cr7,ffc048dc <create_disk+0x1b4>       
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
    }                                                                 
    if (minor >= new_size) {                                          
ffc04808:	7f 9b d0 40 	cmplw   cr7,r27,r26                            
ffc0480c:	40 9c 00 c8 	bge-    cr7,ffc048d4 <create_disk+0x1ac>       
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc04810:	7f e3 fb 78 	mr      r3,r31                                 
ffc04814:	57 44 10 3a 	rlwinm  r4,r26,2,0,29                          
ffc04818:	48 00 28 6d 	bl      ffc07084 <realloc>                     
    if (table == NULL) {                                              
ffc0481c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04820:	41 82 00 30 	beq-    ffc04850 <create_disk+0x128>           
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc04824:	7c bc d0 50 	subf    r5,r28,r26                             
ffc04828:	57 83 10 3a 	rlwinm  r3,r28,2,0,29                          
ffc0482c:	7c 7f 1a 14 	add     r3,r31,r3                              
ffc04830:	38 80 00 00 	li      r4,0                                   
ffc04834:	54 a5 10 3a 	rlwinm  r5,r5,2,0,29                           
ffc04838:	48 01 38 19 	bl      ffc18050 <memset>                      
    disktab [major].minor = table;                                    
    disktab [major].size = new_size;                                  
  }                                                                   
                                                                      
  return disktab [major].minor + minor;                               
ffc0483c:	57 69 10 3a 	rlwinm  r9,r27,2,0,29                          
    if (table == NULL) {                                              
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
    disktab [major].minor = table;                                    
ffc04840:	93 fe 00 00 	stw     r31,0(r30)                             
    disktab [major].size = new_size;                                  
ffc04844:	93 5e 00 04 	stw     r26,4(r30)                             
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
ffc04848:	7f df 4a 15 	add.    r30,r31,r9                             
ffc0484c:	40 82 ff 68 	bne+    ffc047b4 <create_disk+0x8c>            <== ALWAYS TAKEN
    alloc_name = strdup(name);                                        
                                                                      
    if (alloc_name == NULL) {                                         
      free(dd);                                                       
                                                                      
      return RTEMS_NO_MEMORY;                                         
ffc04850:	38 60 00 1a 	li      r3,26                                  
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
  *alloc_name_ptr = alloc_name;                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04854:	80 01 00 34 	lwz     r0,52(r1)                              
ffc04858:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc0485c:	7c 08 03 a6 	mtlr    r0                                     
ffc04860:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc04864:	83 01 00 10 	lwz     r24,16(r1)                             
ffc04868:	83 21 00 14 	lwz     r25,20(r1)                             
ffc0486c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc04870:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc04874:	83 81 00 20 	lwz     r28,32(r1)                             
ffc04878:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0487c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc04880:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc04884:	38 21 00 30 	addi    r1,r1,48                               
ffc04888:	4e 80 00 20 	blr                                            
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
    rtems_disk_device_table *table = disktab;                         
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
ffc0488c:	57 9a 08 3c 	rlwinm  r26,r28,1,0,30                         
                                                                      
    if (major >= new_size) {                                          
ffc04890:	7f 83 d0 40 	cmplw   cr7,r3,r26                             
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
    rtems_disk_device_table *table = disktab;                         
ffc04894:	80 79 00 04 	lwz     r3,4(r25)                              
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
                                                                      
    if (major >= new_size) {                                          
ffc04898:	41 9c 00 08 	blt-    cr7,ffc048a0 <create_disk+0x178>       <== NEVER TAKEN
      new_size = major + 1;                                           
ffc0489c:	3b 5d 00 01 	addi    r26,r29,1                              
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
ffc048a0:	57 44 18 38 	rlwinm  r4,r26,3,0,28                          
ffc048a4:	48 00 27 e1 	bl      ffc07084 <realloc>                     
    if (table == NULL) {                                              
ffc048a8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc048ac:	41 a2 ff a4 	beq-    ffc04850 <create_disk+0x128>           <== ALWAYS TAKEN
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
ffc048b0:	7c bc d0 50 	subf    r5,r28,r26                             <== NOT EXECUTED
ffc048b4:	57 83 18 38 	rlwinm  r3,r28,3,0,28                          <== NOT EXECUTED
ffc048b8:	7c 7e 1a 14 	add     r3,r30,r3                              <== NOT EXECUTED
ffc048bc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc048c0:	54 a5 18 38 	rlwinm  r5,r5,3,0,28                           <== NOT EXECUTED
ffc048c4:	48 01 37 8d 	bl      ffc18050 <memset>                      <== NOT EXECUTED
    disktab = table;                                                  
ffc048c8:	93 d9 00 04 	stw     r30,4(r25)                             <== NOT EXECUTED
    disktab_size = new_size;                                          
ffc048cc:	93 5f 28 48 	stw     r26,10312(r31)                         <== NOT EXECUTED
ffc048d0:	4b ff fe b8 	b       ffc04788 <create_disk+0x60>            <== NOT EXECUTED
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
    }                                                                 
    if (minor >= new_size) {                                          
      new_size = minor + 1;                                           
ffc048d4:	3b 5b 00 01 	addi    r26,r27,1                              
ffc048d8:	4b ff ff 38 	b       ffc04810 <create_disk+0xe8>            
    rtems_device_minor_number new_size = 0;                           
                                                                      
    if (old_size == 0) {                                              
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
ffc048dc:	57 9a 08 3c 	rlwinm  r26,r28,1,0,30                         
    }                                                                 
    if (minor >= new_size) {                                          
ffc048e0:	7f 9b d0 40 	cmplw   cr7,r27,r26                            
ffc048e4:	41 bc ff 2c 	blt-    cr7,ffc04810 <create_disk+0xe8>        <== ALWAYS TAKEN
ffc048e8:	4b ff ff ec 	b       ffc048d4 <create_disk+0x1ac>           <== NOT EXECUTED
                                                                      
  if (*dd_entry != NULL) {                                            
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
ffc048ec:	38 60 00 78 	li      r3,120                                 
ffc048f0:	48 00 1a 79 	bl      ffc06368 <malloc>                      
  if (dd == NULL) {                                                   
ffc048f4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc048f8:	41 a2 ff 58 	beq-    ffc04850 <create_disk+0x128>           <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
ffc048fc:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc04900:	41 9e 00 48 	beq-    cr7,ffc04948 <create_disk+0x220>       
    alloc_name = strdup(name);                                        
ffc04904:	7f 03 c3 78 	mr      r3,r24                                 
ffc04908:	48 01 3a 75 	bl      ffc1837c <strdup>                      
                                                                      
    if (alloc_name == NULL) {                                         
ffc0490c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  if (dd == NULL) {                                                   
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
ffc04910:	7c 7c 1b 78 	mr      r28,r3                                 
ffc04914:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
    if (alloc_name == NULL) {                                         
ffc04918:	41 9e 00 50 	beq-    cr7,ffc04968 <create_disk+0x240>       <== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
ffc0491c:	38 80 61 ff 	li      r4,25087                               
ffc04920:	7f a5 eb 78 	mr      r5,r29                                 
ffc04924:	7f 66 db 78 	mr      r6,r27                                 
ffc04928:	48 00 1c 11 	bl      ffc06538 <mknod>                       
ffc0492c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04930:	41 9c 00 20 	blt-    cr7,ffc04950 <create_disk+0x228>       <== NEVER TAKEN
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  *dd_entry = dd;                                                     
ffc04934:	93 fe 00 00 	stw     r31,0(r30)                             
  *dd_ptr = dd;                                                       
  *alloc_name_ptr = alloc_name;                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04938:	38 60 00 00 	li      r3,0                                   
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
ffc0493c:	93 f7 00 00 	stw     r31,0(r23)                             
  *alloc_name_ptr = alloc_name;                                       
ffc04940:	93 56 00 00 	stw     r26,0(r22)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc04944:	4b ff fe 80 	b       ffc047c4 <create_disk+0x9c>            
  char **alloc_name_ptr                                               
)                                                                     
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
ffc04948:	3b 40 00 00 	li      r26,0                                  
ffc0494c:	4b ff ff e8 	b       ffc04934 <create_disk+0x20c>           
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
      free(alloc_name);                                               
ffc04950:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc04954:	48 00 13 c5 	bl      ffc05d18 <free>                        <== NOT EXECUTED
      free(dd);                                                       
ffc04958:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0495c:	48 00 13 bd 	bl      ffc05d18 <free>                        <== NOT EXECUTED
      return RTEMS_UNSATISFIED;                                       
ffc04960:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
ffc04964:	4b ff fe 60 	b       ffc047c4 <create_disk+0x9c>            <== NOT EXECUTED
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
                                                                      
    if (alloc_name == NULL) {                                         
      free(dd);                                                       
ffc04968:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0496c:	48 00 13 ad 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
      return RTEMS_NO_MEMORY;                                         
ffc04970:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
ffc04974:	4b ff fe e0 	b       ffc04854 <create_disk+0x12c>           <== NOT EXECUTED
                                                                      

ffc06890 <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)
ffc06890:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06894:	7c 08 02 a6 	mflr    r0                                     
    if (new_part_desc == NULL)                                        
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
ffc06898:	39 20 00 00 	li      r9,0                                   
 *      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)   
ffc0689c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc068a0:	7c 9d 23 78 	mr      r29,r4                                 
ffc068a4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc068a8:	7c 7e 1b 78 	mr      r30,r3                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
ffc068ac:	38 60 00 01 	li      r3,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)   
ffc068b0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc068b4:	90 01 00 1c 	stw     r0,28(r1)                              
    if (new_part_desc == NULL)                                        
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
ffc068b8:	91 24 00 00 	stw     r9,0(r4)                               
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
ffc068bc:	38 80 00 28 	li      r4,40                                  
ffc068c0:	48 00 10 05 	bl      ffc078c4 <calloc>                      
ffc068c4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc068c8:	41 82 00 c0 	beq-    ffc06988 <data_to_part_desc.part.1+0xf8><== NEVER TAKEN
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    part_desc->bootable = *(data + RTEMS_IDE_PARTITION_BOOTABLE_OFFSET);
ffc068cc:	89 3e 00 00 	lbz     r9,0(r30)                              
ffc068d0:	99 3f 00 00 	stb     r9,0(r31)                              
    part_desc->sys_type = *(data + RTEMS_IDE_PARTITION_SYS_TYPE_OFFSET);
ffc068d4:	88 9e 00 04 	lbz     r4,4(r30)                              
ffc068d8:	98 9f 00 01 	stb     r4,1(r31)                              
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   swapped;                                                 
                                                                      
  __asm__ volatile("rlwimi %0,%1,8,24,31;"                            
ffc068dc:	81 5e 00 08 	lwz     r10,8(r30)                             
ffc068e0:	51 48 46 3e 	rlwimi  r8,r10,8,24,31                         
ffc068e4:	51 48 c4 2e 	rlwimi  r8,r10,24,16,23                        
ffc068e8:	51 48 42 1e 	rlwimi  r8,r10,8,8,15                          
ffc068ec:	51 48 c0 0e 	rlwimi  r8,r10,24,0,7                          
                                                                      
    /* 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);                           
ffc068f0:	91 1f 00 04 	stw     r8,4(r31)                              
ffc068f4:	81 5e 00 0c 	lwz     r10,12(r30)                            
ffc068f8:	51 5e 46 3e 	rlwimi  r30,r10,8,24,31                        
ffc068fc:	51 5e c4 2e 	rlwimi  r30,r10,24,16,23                       
ffc06900:	51 5e 42 1e 	rlwimi  r30,r10,8,8,15                         
ffc06904:	51 5e c0 0e 	rlwimi  r30,r10,24,0,7                         
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06908:	2f 84 00 05 	cmpwi   cr7,r4,5                               
    /* 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));
    part_desc->size = LE_TO_CPU_U32(temp);                            
ffc0690c:	93 df 00 08 	stw     r30,8(r31)                             
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06910:	41 9e 00 54 	beq-    cr7,ffc06964 <data_to_part_desc.part.1+0xd4>
ffc06914:	2f 84 00 85 	cmpwi   cr7,r4,133                             
ffc06918:	41 9e 00 4c 	beq-    cr7,ffc06964 <data_to_part_desc.part.1+0xd4><== NEVER TAKEN
    DOS_P32MB_PARTITION,                                              
    FAT32_PARTITION    ,FAT32_LBA_PARTITION,                          
    FAT16_LBA_PARTITION                                               
  };                                                                  
                                                                      
  return (NULL != memchr(fat_part_types,type,sizeof(fat_part_types)));
ffc0691c:	3c 60 ff c3 	lis     r3,-61                                 
ffc06920:	38 63 8f c0 	addi    r3,r3,-28736                           
ffc06924:	38 a0 00 06 	li      r5,6                                   
ffc06928:	48 01 33 29 	bl      ffc19c50 <memchr>                      
     * use partitions that are                                        
     * - extended                                                     
     * or                                                             
     * - FAT type and non-zero                                        
     */                                                               
    if (is_extended(part_desc->sys_type) ||                           
ffc0692c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06930:	41 9e 00 0c 	beq-    cr7,ffc0693c <data_to_part_desc.part.1+0xac>
       ((is_fat_partition(part_desc->sys_type)) && (part_desc->size != 0))) {
ffc06934:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc06938:	40 9e 00 2c 	bne-    cr7,ffc06964 <data_to_part_desc.part.1+0xd4><== ALWAYS TAKEN
      *new_part_desc = part_desc;                                     
    }                                                                 
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
ffc0693c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06940:	48 00 10 95 	bl      ffc079d4 <free>                        
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06944:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06948:	83 a1 00 0c 	lwz     r29,12(r1)                             
    }                                                                 
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
ffc0694c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc06950:	7c 08 03 a6 	mtlr    r0                                     
ffc06954:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06958:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0695c:	38 21 00 18 	addi    r1,r1,24                               
ffc06960:	4e 80 00 20 	blr                                            
ffc06964:	80 01 00 1c 	lwz     r0,28(r1)                              
    }                                                                 
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
ffc06968:	38 60 00 00 	li      r3,0                                   
     * 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;                                     
ffc0696c:	93 fd 00 00 	stw     r31,0(r29)                             
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06970:	7c 08 03 a6 	mtlr    r0                                     
ffc06974:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc06978:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0697c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06980:	38 21 00 18 	addi    r1,r1,24                               
ffc06984:	4e 80 00 20 	blr                                            
ffc06988:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                                                                      
    *new_part_desc = NULL;                                            
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
ffc0698c:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06990:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc06994:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06998:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0699c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc069a0:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc069a4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc03d38 <devFS_Show>: #include "devfs.h" void devFS_Show(void) { rtems_filesystem_location_info_t *rootloc = &rtems_filesystem_root->location;
ffc03d38:	3d 20 00 00 	lis     r9,0                                   
ffc03d3c:	81 29 27 54 	lwz     r9,10068(r9)                           
                                                                      
  if (rootloc->mt_entry->ops == &devFS_ops) {                         
ffc03d40:	3d 00 ff c1 	lis     r8,-63                                 
ffc03d44:	39 08 53 90 	addi    r8,r8,21392                            
ffc03d48:	81 29 00 04 	lwz     r9,4(r9)                               
ffc03d4c:	81 29 00 14 	lwz     r9,20(r9)                              
ffc03d50:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc03d54:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc03d58:	4c be 00 20 	bnelr+  cr7                                    
#endif                                                                
                                                                      
#include "devfs.h"                                                    
                                                                      
void devFS_Show(void)                                                 
{                                                                     
ffc03d5c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc03d60:	7c 08 02 a6 	mflr    r0                                     
ffc03d64:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
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;       
ffc03d68:	81 29 00 10 	lwz     r9,16(r9)                              
ffc03d6c:	93 41 00 10 	stw     r26,16(r1)                             
  rtems_filesystem_location_info_t *rootloc = &rtems_filesystem_root->location;
                                                                      
  if (rootloc->mt_entry->ops == &devFS_ops) {                         
    const devFS_data *data = devFS_get_data(rootloc);                 
    size_t i = 0;                                                     
    size_t n = data->count;                                           
ffc03d70:	83 49 00 04 	lwz     r26,4(r9)                              
#endif                                                                
                                                                      
#include "devfs.h"                                                    
                                                                      
void devFS_Show(void)                                                 
{                                                                     
ffc03d74:	93 c1 00 20 	stw     r30,32(r1)                             
    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) {                                         
ffc03d78:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
#endif                                                                
                                                                      
#include "devfs.h"                                                    
                                                                      
void devFS_Show(void)                                                 
{                                                                     
ffc03d7c:	93 01 00 08 	stw     r24,8(r1)                              
ffc03d80:	93 21 00 0c 	stw     r25,12(r1)                             
ffc03d84:	93 61 00 14 	stw     r27,20(r1)                             
ffc03d88:	93 81 00 18 	stw     r28,24(r1)                             
ffc03d8c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc03d90:	93 e1 00 24 	stw     r31,36(r1)                             
                                                                      
  if (rootloc->mt_entry->ops == &devFS_ops) {                         
    const devFS_data *data = devFS_get_data(rootloc);                 
    size_t i = 0;                                                     
    size_t n = data->count;                                           
    devFS_node *nodes = data->nodes;                                  
ffc03d94:	83 c9 00 00 	lwz     r30,0(r9)                              
                                                                      
    for (i = 0; i < n; ++i) {                                         
ffc03d98:	41 9e 00 8c 	beq-    cr7,ffc03e24 <devFS_Show+0xec>         <== NEVER TAKEN
                                                                      
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
ffc03d9c:	3f 00 ff c1 	lis     r24,-63                                
ffc03da0:	3f 80 ff c1 	lis     r28,-63                                
        for (j = 0; j < m; ++j) {                                     
          printk("%c", current->name [j]);                            
        }                                                             
        printk(                                                       
ffc03da4:	3f 20 ff c1 	lis     r25,-63                                
    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) {                                         
ffc03da8:	3b 60 00 00 	li      r27,0                                  
                                                                      
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
ffc03dac:	3b 18 54 10 	addi    r24,r24,21520                          
ffc03db0:	3b 9c 54 20 	addi    r28,r28,21536                          
        for (j = 0; j < m; ++j) {                                     
          printk("%c", current->name [j]);                            
        }                                                             
        printk(                                                       
ffc03db4:	3b 39 54 14 	addi    r25,r25,21524                          
    devFS_node *nodes = data->nodes;                                  
                                                                      
    for (i = 0; i < n; ++i) {                                         
      devFS_node *current = nodes + i;                                
                                                                      
      if (current->name != NULL) {                                    
ffc03db8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc03dbc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc03dc0:	41 9e 00 54 	beq-    cr7,ffc03e14 <devFS_Show+0xdc>         
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
ffc03dc4:	83 be 00 04 	lwz     r29,4(r30)                             
                                                                      
        printk("/");                                                  
ffc03dc8:	7f 03 c3 78 	mr      r3,r24                                 
ffc03dcc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03dd0:	48 00 12 8d 	bl      ffc0505c <printk>                      
        for (j = 0; j < m; ++j) {                                     
ffc03dd4:	3b e0 00 00 	li      r31,0                                  
ffc03dd8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc03ddc:	41 9e 00 24 	beq-    cr7,ffc03e00 <devFS_Show+0xc8>         <== NEVER TAKEN
          printk("%c", current->name [j]);                            
ffc03de0:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc03de4:	7f 83 e3 78 	mr      r3,r28                                 
ffc03de8:	7c 89 f8 ae 	lbzx    r4,r9,r31                              
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
        for (j = 0; j < m; ++j) {                                     
ffc03dec:	3b ff 00 01 	addi    r31,r31,1                              
          printk("%c", current->name [j]);                            
ffc03df0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03df4:	48 00 12 69 	bl      ffc0505c <printk>                      
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
        for (j = 0; j < m; ++j) {                                     
ffc03df8:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc03dfc:	40 9e ff e4 	bne+    cr7,ffc03de0 <devFS_Show+0xa8>         
          printk("%c", current->name [j]);                            
        }                                                             
        printk(                                                       
ffc03e00:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc03e04:	7f 23 cb 78 	mr      r3,r25                                 
ffc03e08:	80 be 00 0c 	lwz     r5,12(r30)                             
ffc03e0c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc03e10:	48 00 12 4d 	bl      ffc0505c <printk>                      
    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) {                                         
ffc03e14:	3b 7b 00 01 	addi    r27,r27,1                              
ffc03e18:	7f 9b d0 00 	cmpw    cr7,r27,r26                            
ffc03e1c:	3b de 00 14 	addi    r30,r30,20                             
ffc03e20:	40 9e ff 98 	bne+    cr7,ffc03db8 <devFS_Show+0x80>         
          (unsigned long) current->minor                              
        );                                                            
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
ffc03e24:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc03e28:	83 01 00 08 	lwz     r24,8(r1)                              
ffc03e2c:	7c 08 03 a6 	mtlr    r0                                     
ffc03e30:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc03e34:	83 41 00 10 	lwz     r26,16(r1)                             
ffc03e38:	83 61 00 14 	lwz     r27,20(r1)                             
ffc03e3c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc03e40:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc03e44:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc03e48:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc03e4c:	38 21 00 28 	addi    r1,r1,40                               
ffc03e50:	4e 80 00 20 	blr                                            
                                                                      

ffc0dee0 <devFS_eval_path>: } void devFS_eval_path( rtems_filesystem_eval_path_context_t *ctx ) {
ffc0dee0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0dee4:	7c 08 02 a6 	mflr    r0                                     
ffc0dee8:	90 01 00 2c 	stw     r0,44(r1)                              
                                                                      
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;       
ffc0deec:	81 23 00 2c 	lwz     r9,44(r3)                              
ffc0def0:	93 01 00 08 	stw     r24,8(r1)                              
ffc0def4:	81 29 00 10 	lwz     r9,16(r9)                              
ffc0def8:	93 21 00 0c 	stw     r25,12(r1)                             
ffc0defc:	7c 79 1b 78 	mr      r25,r3                                 
ffc0df00:	93 41 00 10 	stw     r26,16(r1)                             
ffc0df04:	93 61 00 14 	stw     r27,20(r1)                             
ffc0df08:	93 81 00 18 	stw     r28,24(r1)                             
)                                                                     
{                                                                     
  size_t i = 0;                                                       
  size_t n = data->count;                                             
  devFS_node *nodes = data->nodes;                                    
  devFS_node *node = NULL;                                            
ffc0df0c:	3b 80 00 00 	li      r28,0                                  
}                                                                     
                                                                      
void devFS_eval_path(                                                 
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
ffc0df10:	93 a1 00 1c 	stw     r29,28(r1)                             
  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) {    
ffc0df14:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
void devFS_eval_path(                                                 
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
ffc0df18:	93 e1 00 24 	stw     r31,36(r1)                             
  size_t pathlen,                                                     
  devFS_node **free_node_ptr                                          
)                                                                     
{                                                                     
  size_t i = 0;                                                       
  size_t n = data->count;                                             
ffc0df1c:	83 49 00 04 	lwz     r26,4(r9)                              
ffc0df20:	83 e9 00 00 	lwz     r31,0(r9)                              
  devFS_node *nodes = data->nodes;                                    
  devFS_node *node = NULL;                                            
  devFS_node *free_node = NULL;                                       
ffc0df24:	39 20 00 00 	li      r9,0                                   
}                                                                     
                                                                      
void devFS_eval_path(                                                 
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
ffc0df28:	93 c1 00 20 	stw     r30,32(r1)                             
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0df2c:	83 03 00 00 	lwz     r24,0(r3)                              
ffc0df30:	83 63 00 04 	lwz     r27,4(r3)                              
ffc0df34:	48 00 00 1c 	b       ffc0df50 <devFS_eval_path+0x70>        
  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) {    
ffc0df38:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0df3c:	2f 1c 00 00 	cmpwi   cr6,r28,0                              
ffc0df40:	3b ff 00 14 	addi    r31,r31,20                             
ffc0df44:	7f c9 f3 78 	mr      r9,r30                                 
ffc0df48:	41 9e 00 08 	beq-    cr7,ffc0df50 <devFS_eval_path+0x70>    <== NEVER TAKEN
ffc0df4c:	40 9a 00 98 	bne-    cr6,ffc0dfe4 <devFS_eval_path+0x104>   
ffc0df50:	7f 9d d0 00 	cmpw    cr7,r29,r26                            
    devFS_node *current = nodes + i;                                  
ffc0df54:	7f fe fb 78 	mr      r30,r31                                
  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) {    
ffc0df58:	3b bd 00 01 	addi    r29,r29,1                              
ffc0df5c:	41 9e 00 3c 	beq-    cr7,ffc0df98 <devFS_eval_path+0xb8>    
    devFS_node *current = nodes + i;                                  
                                                                      
    if (current->name != NULL) {                                      
ffc0df60:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0df64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0df68:	41 be ff d0 	beq-    cr7,ffc0df38 <devFS_eval_path+0x58>    
      if (                                                            
ffc0df6c:	81 5f 00 04 	lwz     r10,4(r31)                             
ffc0df70:	7d 3e 4b 78 	mr      r30,r9                                 
ffc0df74:	7f 9b 50 00 	cmpw    cr7,r27,r10                            
ffc0df78:	40 9e ff c0 	bne+    cr7,ffc0df38 <devFS_eval_path+0x58>    
        current->namelen == pathlen                                   
          && memcmp(current->name, path, pathlen) == 0                
ffc0df7c:	7f 04 c3 78 	mr      r4,r24                                 
ffc0df80:	7f 65 db 78 	mr      r5,r27                                 
ffc0df84:	48 00 28 3d 	bl      ffc107c0 <memcmp>                      
ffc0df88:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0df8c:	40 be ff ac 	bne-    cr7,ffc0df38 <devFS_eval_path+0x58>    
ffc0df90:	7f fc fb 78 	mr      r28,r31                                
ffc0df94:	4b ff ff a4 	b       ffc0df38 <devFS_eval_path+0x58>        
    rtems_filesystem_eval_path_get_pathlen(ctx),                      
    &free_node                                                        
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
ffc0df98:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0df9c:	81 59 00 10 	lwz     r10,16(r25)                            
    rtems_filesystem_eval_path_get_pathlen(ctx),                      
    &free_node                                                        
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
ffc0dfa0:	41 9e 00 88 	beq-    cr7,ffc0e028 <devFS_eval_path+0x148>   <== ALWAYS TAKEN
    if ((eval_flags & RTEMS_FS_EXCLUSIVE) == 0) {                     
ffc0dfa4:	71 49 00 40 	andi.   r9,r10,64                              <== NOT EXECUTED
ffc0dfa8:	40 82 00 48 	bne-    ffc0dff0 <devFS_eval_path+0x110>       <== NOT EXECUTED
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0dfac:	80 01 00 2c 	lwz     r0,44(r1)                              
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
    if ((eval_flags & RTEMS_FS_EXCLUSIVE) == 0) {                     
      currentloc->node_access = node;                                 
ffc0dfb0:	93 99 00 20 	stw     r28,32(r25)                            
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0dfb4:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
static inline void rtems_filesystem_eval_path_clear_path(             
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->pathlen = 0;                                                   
ffc0dfb8:	91 39 00 04 	stw     r9,4(r25)                              
ffc0dfbc:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0dfc0:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0dfc4:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0dfc8:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0dfcc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0dfd0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0dfd4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0dfd8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0dfdc:	38 21 00 28 	addi    r1,r1,40                               
ffc0dfe0:	4e 80 00 20 	blr                                            
ffc0dfe4:	81 59 00 10 	lwz     r10,16(r25)                            
    &free_node                                                        
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
    if ((eval_flags & RTEMS_FS_EXCLUSIVE) == 0) {                     
ffc0dfe8:	71 49 00 40 	andi.   r9,r10,64                              
ffc0dfec:	41 82 ff c0 	beq+    ffc0dfac <devFS_eval_path+0xcc>        
      currentloc->node_access = node;                                 
      rtems_filesystem_eval_path_clear_path(ctx);                     
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
ffc0dff0:	7f 23 cb 78 	mr      r3,r25                                 
ffc0dff4:	38 80 00 11 	li      r4,17                                  
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0dff8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0dffc:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0e000:	7c 08 03 a6 	mtlr    r0                                     
ffc0e004:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0e008:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0e00c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0e010:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0e014:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e018:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e01c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e020:	38 21 00 28 	addi    r1,r1,40                               
        rtems_filesystem_eval_path_clear_path(ctx);                   
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOSPC);                
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
ffc0e024:	4b ff 7b ac 	b       ffc05bd0 <rtems_filesystem_eval_path_error>
      rtems_filesystem_eval_path_clear_path(ctx);                     
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
    }                                                                 
  } else {                                                            
    if ((eval_flags & RTEMS_FS_MAKE) != 0) {                          
ffc0e028:	71 48 00 20 	andi.   r8,r10,32                              
ffc0e02c:	41 82 00 54 	beq-    ffc0e080 <devFS_eval_path+0x1a0>       <== NEVER TAKEN
      if (free_node != NULL) {                                        
ffc0e030:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0e034:	41 9e 00 58 	beq-    cr7,ffc0e08c <devFS_eval_path+0x1ac>   
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0e038:	80 01 00 2c 	lwz     r0,44(r1)                              
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
    }                                                                 
  } else {                                                            
    if ((eval_flags & RTEMS_FS_MAKE) != 0) {                          
      if (free_node != NULL) {                                        
        free_node->mode = S_IRWXU | S_IRWXG | S_IRWXO;                
ffc0e03c:	39 40 01 ff 	li      r10,511                                
ffc0e040:	91 49 00 10 	stw     r10,16(r9)                             
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0e044:	7c 08 03 a6 	mtlr    r0                                     
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  ctx->token = token;                                                 
ffc0e048:	93 19 00 08 	stw     r24,8(r25)                             
  ctx->tokenlen = tokenlen;                                           
ffc0e04c:	93 79 00 0c 	stw     r27,12(r25)                            
                                                                      
static inline void rtems_filesystem_eval_path_clear_path(             
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->pathlen = 0;                                                   
ffc0e050:	93 99 00 04 	stw     r28,4(r25)                             
    }                                                                 
  } else {                                                            
    if ((eval_flags & RTEMS_FS_MAKE) != 0) {                          
      if (free_node != NULL) {                                        
        free_node->mode = S_IRWXU | S_IRWXG | S_IRWXO;                
        currentloc->node_access = free_node;                          
ffc0e054:	91 39 00 20 	stw     r9,32(r25)                             
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
    }                                                                 
  }                                                                   
}                                                                     
ffc0e058:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0e05c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0e060:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0e064:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0e068:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0e06c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e070:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e074:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e078:	38 21 00 28 	addi    r1,r1,40                               
ffc0e07c:	4e 80 00 20 	blr                                            
        rtems_filesystem_eval_path_clear_path(ctx);                   
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOSPC);                
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
ffc0e080:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc0e084:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc0e088:	4b ff ff 70 	b       ffc0dff8 <devFS_eval_path+0x118>       <== NOT EXECUTED
          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);                
ffc0e08c:	7f 23 cb 78 	mr      r3,r25                                 
ffc0e090:	38 80 00 1c 	li      r4,28                                  
ffc0e094:	4b ff ff 64 	b       ffc0dff8 <devFS_eval_path+0x118>       
                                                                      

ffc04514 <devFS_mknod>: dev_t dev ) { int rv = 0; if (namelen != 3 || name [0] != 'd' || name [1] != 'e' || name [2] != 'v') {
ffc04514:	2f 85 00 03 	cmpwi   cr7,r5,3                               
  const char *name,                                                   
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
ffc04518:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0451c:	7c 08 02 a6 	mflr    r0                                     
ffc04520:	93 61 00 14 	stw     r27,20(r1)                             
ffc04524:	7d 1b 43 78 	mr      r27,r8                                 
ffc04528:	93 81 00 18 	stw     r28,24(r1)                             
ffc0452c:	7c fc 3b 78 	mr      r28,r7                                 
ffc04530:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc04534:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04538:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0453c:	7c de 33 78 	mr      r30,r6                                 
ffc04540:	93 e1 00 24 	stw     r31,36(r1)                             
ffc04544:	7c bf 2b 78 	mr      r31,r5                                 
ffc04548:	90 01 00 2c 	stw     r0,44(r1)                              
  int rv = 0;                                                         
                                                                      
  if (namelen != 3 || name [0] != 'd' || name [1] != 'e' || name [2] != 'v') {
ffc0454c:	41 9e 00 78 	beq-    cr7,ffc045c4 <devFS_mknod+0xb0>        
    if (S_ISBLK(mode) || S_ISCHR(mode)) {                             
ffc04550:	57 c9 04 26 	rlwinm  r9,r30,0,16,19                         
ffc04554:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc04558:	41 9e 00 0c 	beq-    cr7,ffc04564 <devFS_mknod+0x50>        
ffc0455c:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
ffc04560:	40 9e 00 98 	bne-    cr7,ffc045f8 <devFS_mknod+0xe4>        
      char *dupname = malloc(namelen);                                
ffc04564:	7f e3 fb 78 	mr      r3,r31                                 
ffc04568:	90 81 00 08 	stw     r4,8(r1)                               
ffc0456c:	48 00 06 2d 	bl      ffc04b98 <malloc>                      
                                                                      
      if (dupname != NULL) {                                          
ffc04570:	7c 6a 1b 79 	mr.     r10,r3                                 
ffc04574:	80 81 00 08 	lwz     r4,8(r1)                               
ffc04578:	41 82 00 94 	beq-    ffc0460c <devFS_mknod+0xf8>            
        devFS_node *node = parentloc->node_access;                    
ffc0457c:	81 3d 00 08 	lwz     r9,8(r29)                              
        node->name = dupname;                                         
        node->namelen = namelen;                                      
        node->major = rtems_filesystem_dev_major_t(dev);              
        node->minor = rtems_filesystem_dev_minor_t(dev);              
        node->mode = mode;                                            
        memcpy(dupname, name, namelen);                               
ffc04580:	7f e5 fb 78 	mr      r5,r31                                 
      char *dupname = malloc(namelen);                                
                                                                      
      if (dupname != NULL) {                                          
        devFS_node *node = parentloc->node_access;                    
                                                                      
        node->name = dupname;                                         
ffc04584:	91 49 00 00 	stw     r10,0(r9)                              
        node->namelen = namelen;                                      
ffc04588:	93 e9 00 04 	stw     r31,4(r9)                              
        node->major = rtems_filesystem_dev_major_t(dev);              
ffc0458c:	93 89 00 08 	stw     r28,8(r9)                              
        node->minor = rtems_filesystem_dev_minor_t(dev);              
ffc04590:	93 69 00 0c 	stw     r27,12(r9)                             
        node->mode = mode;                                            
ffc04594:	93 c9 00 10 	stw     r30,16(r9)                             
        memcpy(dupname, name, namelen);                               
ffc04598:	48 00 c2 ad 	bl      ffc10844 <memcpy>                      
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
ffc0459c:	38 60 00 00 	li      r3,0                                   
      rv = -1;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc045a0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc045a4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc045a8:	7c 08 03 a6 	mtlr    r0                                     
ffc045ac:	83 81 00 18 	lwz     r28,24(r1)                             
ffc045b0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc045b4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc045b8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc045bc:	38 21 00 28 	addi    r1,r1,40                               
ffc045c0:	4e 80 00 20 	blr                                            
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  if (namelen != 3 || name [0] != 'd' || name [1] != 'e' || name [2] != 'v') {
ffc045c4:	89 24 00 00 	lbz     r9,0(r4)                               
ffc045c8:	2f 89 00 64 	cmpwi   cr7,r9,100                             
ffc045cc:	40 9e ff 84 	bne+    cr7,ffc04550 <devFS_mknod+0x3c>        <== NEVER TAKEN
ffc045d0:	89 24 00 01 	lbz     r9,1(r4)                               
ffc045d4:	2f 89 00 65 	cmpwi   cr7,r9,101                             
ffc045d8:	40 9e ff 78 	bne+    cr7,ffc04550 <devFS_mknod+0x3c>        <== NEVER TAKEN
ffc045dc:	89 24 00 02 	lbz     r9,2(r4)                               
ffc045e0:	2f 89 00 76 	cmpwi   cr7,r9,118                             
ffc045e4:	40 9e ff 6c 	bne+    cr7,ffc04550 <devFS_mknod+0x3c>        <== NEVER TAKEN
    } else {                                                          
      errno = ENOTSUP;                                                
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    if (!S_ISDIR(mode)) {                                             
ffc045e8:	54 de 04 26 	rlwinm  r30,r6,0,16,19                         
ffc045ec:	2f 9e 40 00 	cmpwi   cr7,r30,16384                          
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
ffc045f0:	38 60 00 00 	li      r3,0                                   
    } else {                                                          
      errno = ENOTSUP;                                                
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    if (!S_ISDIR(mode)) {                                             
ffc045f4:	41 9e ff ac 	beq+    cr7,ffc045a0 <devFS_mknod+0x8c>        <== ALWAYS TAKEN
      errno = ENOTSUP;                                                
ffc045f8:	48 00 b5 5d 	bl      ffc0fb54 <__errno>                     
ffc045fc:	39 20 00 86 	li      r9,134                                 
ffc04600:	91 23 00 00 	stw     r9,0(r3)                               
      rv = -1;                                                        
ffc04604:	38 60 ff ff 	li      r3,-1                                  
ffc04608:	4b ff ff 98 	b       ffc045a0 <devFS_mknod+0x8c>            
        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;                                               
ffc0460c:	48 00 b5 49 	bl      ffc0fb54 <__errno>                     
ffc04610:	39 20 00 0c 	li      r9,12                                  
ffc04614:	91 23 00 00 	stw     r9,0(r3)                               
        rv = -1;                                                      
ffc04618:	38 60 ff ff 	li      r3,-1                                  
ffc0461c:	4b ff ff 84 	b       ffc045a0 <devFS_mknod+0x8c>            
                                                                      

ffc04678 <disk_lock>: */ static volatile bool diskdevs_protected; static rtems_status_code disk_lock(void) {
ffc04678:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0467c:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc04680:	38 80 00 00 	li      r4,0                                   
 */                                                                   
static volatile bool diskdevs_protected;                              
                                                                      
static rtems_status_code                                              
disk_lock(void)                                                       
{                                                                     
ffc04684:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc04688:	38 a0 00 00 	li      r5,0                                   
 */                                                                   
static volatile bool diskdevs_protected;                              
                                                                      
static rtems_status_code                                              
disk_lock(void)                                                       
{                                                                     
ffc0468c:	93 e1 00 0c 	stw     r31,12(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc04690:	3f e0 00 00 	lis     r31,0                                  
ffc04694:	3b ff 28 48 	addi    r31,r31,10312                          
ffc04698:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0469c:	48 00 68 ad 	bl      ffc0af48 <rtems_semaphore_obtain>      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc046a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    diskdevs_protected = true;                                        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
ffc046a4:	38 60 00 16 	li      r3,22                                  
disk_lock(void)                                                       
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc046a8:	41 9e 00 18 	beq-    cr7,ffc046c0 <disk_lock+0x48>          <== ALWAYS TAKEN
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
ffc046ac:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc046b0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc046b4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc046b8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc046bc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc046c0:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_semaphore_obtain(diskdevs_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc == RTEMS_SUCCESSFUL) {                                       
    diskdevs_protected = true;                                        
ffc046c4:	39 20 00 01 	li      r9,1                                   
ffc046c8:	99 3f 00 0c 	stb     r9,12(r31)                             
                                                                      
    return RTEMS_SUCCESSFUL;                                          
ffc046cc:	38 60 00 00 	li      r3,0                                   
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
ffc046d0:	7c 08 03 a6 	mtlr    r0                                     
ffc046d4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc046d8:	38 21 00 10 	addi    r1,r1,16                               
ffc046dc:	4e 80 00 20 	blr                                            
                                                                      

ffc046e0 <disk_unlock>: static void disk_unlock(void) {
ffc046e0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc046e4:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc046e8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
disk_unlock(void)                                                     
{                                                                     
ffc046ec:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc046f0:	39 29 28 48 	addi    r9,r9,10312                            
ffc046f4:	39 40 00 00 	li      r10,0                                  
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
ffc046f8:	80 69 00 08 	lwz     r3,8(r9)                               
static void                                                           
disk_unlock(void)                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
ffc046fc:	99 49 00 0c 	stb     r10,12(r9)                             
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
ffc04700:	48 00 69 e9 	bl      ffc0b0e8 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04704:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04708:	40 9e 00 14 	bne-    cr7,ffc0471c <disk_unlock+0x3c>        <== NEVER TAKEN
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
  }                                                                   
}                                                                     
ffc0470c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04710:	38 21 00 08 	addi    r1,r1,8                                
ffc04714:	7c 08 03 a6 	mtlr    r0                                     
ffc04718:	4e 80 00 20 	blr                                            
  diskdevs_protected = false;                                         
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
  if (sc != RTEMS_SUCCESSFUL) {                                       
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
ffc0471c:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc04720:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc04724:	48 00 70 dd 	bl      ffc0b800 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc06dec <drainOutput.part.0>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty)
ffc06dec:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06df0:	7c 08 02 a6 	mflr    r0                                     
ffc06df4:	90 01 00 14 	stw     r0,20(r1)                              
ffc06df8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc06dfc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06e00:	93 c1 00 08 	stw     r30,8(r1)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06e04:	7d 20 00 a6 	mfmsr   r9                                     
ffc06e08:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc06e0c:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc06e10:	7d 40 01 24 	mtmsr   r10                                    
  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) {              
ffc06e14:	81 03 00 84 	lwz     r8,132(r3)                             
ffc06e18:	81 43 00 80 	lwz     r10,128(r3)                            
ffc06e1c:	7f 88 50 00 	cmpw    cr7,r8,r10                             
ffc06e20:	41 9e 00 48 	beq-    cr7,ffc06e68 <drainOutput.part.0+0x7c> <== ALWAYS TAKEN
      tty->rawOutBufState = rob_wait;                                 
ffc06e24:	3b c0 00 02 	li      r30,2                                  <== NOT EXECUTED
ffc06e28:	93 df 00 94 	stw     r30,148(r31)                           <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06e2c:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc06e30:	80 7f 00 8c 	lwz     r3,140(r31)                            <== NOT EXECUTED
ffc06e34:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc06e38:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc06e3c:	48 00 2b e5 	bl      ffc09a20 <rtems_semaphore_obtain>      <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc06e40:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc06e44:	40 9e 00 40 	bne-    cr7,ffc06e84 <drainOutput.part.0+0x98> <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06e48:	7d 20 00 a6 	mfmsr   r9                                     <== NOT EXECUTED
ffc06e4c:	7d 50 42 a6 	mfsprg  r10,0                                  <== NOT EXECUTED
ffc06e50:	7d 2a 50 78 	andc    r10,r9,r10                             <== NOT EXECUTED
ffc06e54:	7d 40 01 24 	mtmsr   r10                                    <== 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) {              
ffc06e58:	81 1f 00 84 	lwz     r8,132(r31)                            <== NOT EXECUTED
ffc06e5c:	81 5f 00 80 	lwz     r10,128(r31)                           <== NOT EXECUTED
ffc06e60:	7f 88 50 00 	cmpw    cr7,r8,r10                             <== NOT EXECUTED
ffc06e64:	40 9e ff c4 	bne+    cr7,ffc06e28 <drainOutput.part.0+0x3c> <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06e68:	7d 20 01 24 	mtmsr   r9                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    rtems_interrupt_enable (level);                                   
  }                                                                   
}                                                                     
ffc06e6c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc06e70:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc06e74:	7c 08 03 a6 	mtlr    r0                                     
ffc06e78:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc06e7c:	38 21 00 10 	addi    r1,r1,16                               
ffc06e80:	4e 80 00 20 	blr                                            
      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);                              
ffc06e84:	48 00 35 15 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0516c <dup2>: */ int dup2( int fildes, int fildes2 ) {
ffc0516c:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc05170:	7c 08 02 a6 	mflr    r0                                     
ffc05174:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc05178:	7c 9f 23 78 	mr      r31,r4                                 
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
ffc0517c:	38 81 00 08 	addi    r4,r1,8                                
 */                                                                   
int dup2(                                                             
  int fildes,                                                         
  int fildes2                                                         
)                                                                     
{                                                                     
ffc05180:	93 c1 00 58 	stw     r30,88(r1)                             
ffc05184:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05188:	90 01 00 64 	stw     r0,100(r1)                             
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
ffc0518c:	48 00 05 f1 	bl      ffc0577c <fstat>                       
  if ( status == -1 )                                                 
ffc05190:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc05194:	41 9e 00 44 	beq-    cr7,ffc051d8 <dup2+0x6c>               
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
ffc05198:	7f e3 fb 78 	mr      r3,r31                                 
ffc0519c:	38 81 00 08 	addi    r4,r1,8                                
ffc051a0:	48 00 05 dd 	bl      ffc0577c <fstat>                       
  if ( status == -1 )                                                 
ffc051a4:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc051a8:	41 9e 00 30 	beq-    cr7,ffc051d8 <dup2+0x6c>               <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
ffc051ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc051b0:	38 80 00 00 	li      r4,0                                   
ffc051b4:	7f e5 fb 78 	mr      r5,r31                                 
ffc051b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc051bc:	48 00 00 35 	bl      ffc051f0 <fcntl>                       
}                                                                     
ffc051c0:	80 01 00 64 	lwz     r0,100(r1)                             
ffc051c4:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc051c8:	7c 08 03 a6 	mtlr    r0                                     
ffc051cc:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc051d0:	38 21 00 60 	addi    r1,r1,96                               
ffc051d4:	4e 80 00 20 	blr                                            
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
  if ( status == -1 )                                                 
    return -1;                                                        
ffc051d8:	38 60 ff ff 	li      r3,-1                                  
ffc051dc:	4b ff ff e4 	b       ffc051c0 <dup2+0x54>                   
                                                                      

ffc07d70 <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
ffc07d70:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc07d74:	7c 08 02 a6 	mflr    r0                                     
ffc07d78:	90 01 00 24 	stw     r0,36(r1)                              
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc07d7c:	81 24 00 3c 	lwz     r9,60(r4)                              
/*                                                                    
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
ffc07d80:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc07d84:	7c 9f 23 78 	mr      r31,r4                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc07d88:	71 2a 02 00 	andi.   r10,r9,512                             
ffc07d8c:	41 82 00 30 	beq-    ffc07dbc <echo+0x4c>                   <== NEVER TAKEN
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc07d90:	3d 20 00 00 	lis     r9,0                                   
ffc07d94:	81 29 27 a0 	lwz     r9,10144(r9)                           
ffc07d98:	7d 29 1a 14 	add     r9,r9,r3                               
ffc07d9c:	89 29 00 01 	lbz     r9,1(r9)                               
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
ffc07da0:	55 29 06 b4 	rlwinm  r9,r9,0,26,26                          
ffc07da4:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc07da8:	41 82 00 14 	beq-    ffc07dbc <echo+0x4c>                   
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
ffc07dac:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc07db0:	41 9e 00 0c 	beq-    cr7,ffc07dbc <echo+0x4c>               
ffc07db4:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc07db8:	40 9e 00 20 	bne-    cr7,ffc07dd8 <echo+0x68>               
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
ffc07dbc:	7f e4 fb 78 	mr      r4,r31                                 
ffc07dc0:	4b ff fe 25 	bl      ffc07be4 <oproc>                       
  }                                                                   
}                                                                     
ffc07dc4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07dc8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07dcc:	7c 08 03 a6 	mtlr    r0                                     
ffc07dd0:	38 21 00 20 	addi    r1,r1,32                               
ffc07dd4:	4e 80 00 20 	blr                                            
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
ffc07dd8:	68 69 00 40 	xori    r9,r3,64                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc07ddc:	7f e5 fb 78 	mr      r5,r31                                 
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
ffc07de0:	99 21 00 09 	stb     r9,9(r1)                               
    rtems_termios_puts (echobuf, 2, tty);                             
ffc07de4:	38 61 00 08 	addi    r3,r1,8                                
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc07de8:	39 40 00 5e 	li      r10,94                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc07dec:	38 80 00 02 	li      r4,2                                   
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
ffc07df0:	99 41 00 08 	stb     r10,8(r1)                              
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
ffc07df4:	4b ff fc 45 	bl      ffc07a38 <rtems_termios_puts>          
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
ffc07df8:	80 01 00 24 	lwz     r0,36(r1)                              
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
ffc07dfc:	81 3f 00 28 	lwz     r9,40(r31)                             
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
ffc07e00:	7c 08 03 a6 	mtlr    r0                                     
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
ffc07e04:	39 29 00 02 	addi    r9,r9,2                                
ffc07e08:	91 3f 00 28 	stw     r9,40(r31)                             
  } else {                                                            
    oproc (c, tty);                                                   
  }                                                                   
}                                                                     
ffc07e0c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07e10:	38 21 00 20 	addi    r1,r1,32                               
ffc07e14:	4e 80 00 20 	blr                                            
                                                                      

ffc07e18 <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)
ffc07e18:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc07e1c:	7d 80 00 26 	mfcr    r12                                    
ffc07e20:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc07e24:	2e 04 00 00 	cmpwi   cr4,r4,0                               
 * 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)                   
ffc07e28:	93 61 00 14 	stw     r27,20(r1)                             
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07e2c:	3f 60 ff c2 	lis     r27,-62                                
ffc07e30:	3b 7b e7 80 	addi    r27,r27,-6272                          
 * 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)                   
ffc07e34:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc07e38:	3f a0 ff c2 	lis     r29,-62                                
ffc07e3c:	3b bd e7 7c 	addi    r29,r29,-6276                          
ffc07e40:	90 01 00 2c 	stw     r0,44(r1)                              
ffc07e44:	93 41 00 10 	stw     r26,16(r1)                             
ffc07e48:	93 c1 00 20 	stw     r30,32(r1)                             
ffc07e4c:	91 81 00 0c 	stw     r12,12(r1)                             
ffc07e50:	93 81 00 18 	stw     r28,24(r1)                             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc07e54:	3f 80 00 00 	lis     r28,0                                  
 * 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)                   
ffc07e58:	93 e1 00 24 	stw     r31,36(r1)                             
ffc07e5c:	7c 7f 1b 78 	mr      r31,r3                                 
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
ffc07e60:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc07e64:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc07e68:	41 9e 00 78 	beq-    cr7,ffc07ee0 <erase.part.2+0xc8>       
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc07e6c:	81 3f 00 3c 	lwz     r9,60(r31)                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc07e70:	39 4a ff ff 	addi    r10,r10,-1                             
ffc07e74:	81 1f 00 1c 	lwz     r8,28(r31)                             
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc07e78:	71 26 00 08 	andi.   r6,r9,8                                
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
ffc07e7c:	91 5f 00 20 	stw     r10,32(r31)                            
ffc07e80:	7c e8 50 ae 	lbzx    r7,r8,r10                              
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
ffc07e84:	41 82 00 58 	beq-    ffc07edc <erase.part.2+0xc4>           <== NEVER TAKEN
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
ffc07e88:	40 92 00 0c 	bne-    cr4,ffc07e94 <erase.part.2+0x7c>       
ffc07e8c:	71 26 00 10 	andi.   r6,r9,16                               
ffc07e90:	41 82 01 74 	beq-    ffc08004 <erase.part.2+0x1ec>          <== NEVER TAKEN
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
ffc07e94:	2f 87 00 09 	cmpwi   cr7,r7,9                               
ffc07e98:	41 9e 00 c8 	beq-    cr7,ffc07f60 <erase.part.2+0x148>      
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc07e9c:	81 5c 27 a0 	lwz     r10,10144(r28)                         
ffc07ea0:	3b c7 00 01 	addi    r30,r7,1                               
ffc07ea4:	7d 4a f0 ae 	lbzx    r10,r10,r30                            
ffc07ea8:	55 4a 06 b4 	rlwinm  r10,r10,0,26,26                        
ffc07eac:	71 48 00 ff 	andi.   r8,r10,255                             
ffc07eb0:	40 82 00 60 	bne-    ffc07f10 <erase.part.2+0xf8>           <== NEVER TAKEN
ffc07eb4:	7f 7a db 78 	mr      r26,r27                                
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07eb8:	7f 43 d3 78 	mr      r3,r26                                 
ffc07ebc:	38 80 00 03 	li      r4,3                                   
ffc07ec0:	7f e5 fb 78 	mr      r5,r31                                 
ffc07ec4:	4b ff fb 75 	bl      ffc07a38 <rtems_termios_puts>          
          if (tty->column)                                            
ffc07ec8:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07ecc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07ed0:	41 9e 00 0c 	beq-    cr7,ffc07edc <erase.part.2+0xc4>       <== NEVER TAKEN
            tty->column--;                                            
ffc07ed4:	39 29 ff ff 	addi    r9,r9,-1                               
ffc07ed8:	91 3f 00 28 	stw     r9,40(r31)                             
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc07edc:	40 92 ff 84 	bne+    cr4,ffc07e60 <erase.part.2+0x48>       
      break;                                                          
  }                                                                   
}                                                                     
ffc07ee0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc07ee4:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc07ee8:	7c 08 03 a6 	mtlr    r0                                     
ffc07eec:	83 41 00 10 	lwz     r26,16(r1)                             
ffc07ef0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc07ef4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc07ef8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc07efc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc07f00:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc07f04:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc07f08:	38 21 00 28 	addi    r1,r1,40                               
ffc07f0c:	4e 80 00 20 	blr                                            
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
ffc07f10:	71 2a 02 00 	andi.   r10,r9,512                             <== NOT EXECUTED
ffc07f14:	41 82 ff c8 	beq+    ffc07edc <erase.part.2+0xc4>           <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07f18:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc07f1c:	38 80 00 03 	li      r4,3                                   <== NOT EXECUTED
ffc07f20:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc07f24:	4b ff fb 15 	bl      ffc07a38 <rtems_termios_puts>          <== NOT EXECUTED
          if (tty->column)                                            
ffc07f28:	81 3f 00 28 	lwz     r9,40(r31)                             <== NOT EXECUTED
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
ffc07f2c:	7f 7a db 78 	mr      r26,r27                                <== NOT EXECUTED
          if (tty->column)                                            
ffc07f30:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc07f34:	40 9e 01 08 	bne-    cr7,ffc0803c <erase.part.2+0x224>      <== NOT EXECUTED
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
ffc07f38:	81 3c 27 a0 	lwz     r9,10144(r28)                          <== NOT EXECUTED
ffc07f3c:	7d 29 f0 ae 	lbzx    r9,r9,r30                              <== NOT EXECUTED
ffc07f40:	55 29 06 b4 	rlwinm  r9,r9,0,26,26                          <== NOT EXECUTED
ffc07f44:	71 26 00 ff 	andi.   r6,r9,255                              <== NOT EXECUTED
ffc07f48:	41 a2 ff 70 	beq-    ffc07eb8 <erase.part.2+0xa0>           <== NOT EXECUTED
ffc07f4c:	81 3f 00 3c 	lwz     r9,60(r31)                             <== NOT EXECUTED
ffc07f50:	71 27 02 00 	andi.   r7,r9,512                              <== NOT EXECUTED
ffc07f54:	40 82 ff 64 	bne+    ffc07eb8 <erase.part.2+0xa0>           <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc07f58:	40 92 ff 08 	bne+    cr4,ffc07e60 <erase.part.2+0x48>       <== NOT EXECUTED
ffc07f5c:	4b ff ff 84 	b       ffc07ee0 <erase.part.2+0xc8>           <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07f60:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
    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;                             
ffc07f64:	83 df 00 2c 	lwz     r30,44(r31)                            
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07f68:	41 9e 00 48 	beq-    cr7,ffc07fb0 <erase.part.2+0x198>      
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc07f6c:	7d 49 03 a6 	mtctr   r10                                    
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07f70:	80 dc 27 a0 	lwz     r6,10144(r28)                          
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc07f74:	71 27 02 00 	andi.   r7,r9,512                              
    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;                                                    
ffc07f78:	39 20 00 00 	li      r9,0                                   
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
ffc07f7c:	7d 48 48 ae 	lbzx    r10,r8,r9                              
ffc07f80:	39 29 00 01 	addi    r9,r9,1                                
          if (c == '\t') {                                            
ffc07f84:	2f 8a 00 09 	cmpwi   cr7,r10,9                              
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07f88:	7c e6 52 14 	add     r7,r6,r10                              
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
ffc07f8c:	41 9e 00 68 	beq-    cr7,ffc07ff4 <erase.part.2+0x1dc>      
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
ffc07f90:	89 47 00 01 	lbz     r10,1(r7)                              
ffc07f94:	55 4a 06 b4 	rlwinm  r10,r10,0,26,26                        
ffc07f98:	55 47 06 3e 	clrlwi  r7,r10,24                              
ffc07f9c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc07fa0:	41 9e 00 48 	beq-    cr7,ffc07fe8 <erase.part.2+0x1d0>      <== ALWAYS TAKEN
            if (tty->termios.c_lflag & ECHOCTL)                       
ffc07fa4:	41 82 00 08 	beq-    ffc07fac <erase.part.2+0x194>          <== NOT EXECUTED
              col += 2;                                               
ffc07fa8:	3b de 00 02 	addi    r30,r30,2                              <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07fac:	42 00 ff d0 	bdnz+   ffc07f7c <erase.part.2+0x164>          <== NOT EXECUTED
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc07fb0:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07fb4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc07fb8:	40 bd ff 24 	ble-    cr7,ffc07edc <erase.part.2+0xc4>       <== NEVER TAKEN
          rtems_termios_puts ("\b", 1, tty);                          
ffc07fbc:	7f a3 eb 78 	mr      r3,r29                                 
ffc07fc0:	38 80 00 01 	li      r4,1                                   
ffc07fc4:	7f e5 fb 78 	mr      r5,r31                                 
ffc07fc8:	4b ff fa 71 	bl      ffc07a38 <rtems_termios_puts>          
          tty->column--;                                              
ffc07fcc:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07fd0:	39 29 ff ff 	addi    r9,r9,-1                               
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc07fd4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
ffc07fd8:	91 3f 00 28 	stw     r9,40(r31)                             
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
ffc07fdc:	41 9d ff e0 	bgt+    cr7,ffc07fbc <erase.part.2+0x1a4>      
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
ffc07fe0:	40 92 fe 80 	bne+    cr4,ffc07e60 <erase.part.2+0x48>       <== ALWAYS TAKEN
ffc07fe4:	4b ff fe fc 	b       ffc07ee0 <erase.part.2+0xc8>           <== NOT EXECUTED
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
            if (tty->termios.c_lflag & ECHOCTL)                       
              col += 2;                                               
          } else {                                                    
            col++;                                                    
ffc07fe8:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07fec:	42 00 ff 90 	bdnz+   ffc07f7c <erase.part.2+0x164>          
ffc07ff0:	4b ff ff c0 	b       ffc07fb0 <erase.part.2+0x198>          
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
ffc07ff4:	63 de 00 07 	ori     r30,r30,7                              
ffc07ff8:	3b de 00 01 	addi    r30,r30,1                              
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
ffc07ffc:	42 00 ff 80 	bdnz+   ffc07f7c <erase.part.2+0x164>          
ffc08000:	4b ff ff b0 	b       ffc07fb0 <erase.part.2+0x198>          <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc08004:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  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);                        
ffc08008:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc0800c:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc08010:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  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);                        
ffc08014:	88 7f 00 43 	lbz     r3,67(r31)                             <== NOT EXECUTED
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
      break;                                                          
  }                                                                   
}                                                                     
ffc08018:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc0801c:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc08020:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc08024:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc08028:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc0802c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc08030:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc08034:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
  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);                        
ffc08038:	4b ff fd 38 	b       ffc07d70 <echo>                        <== NOT EXECUTED
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
ffc0803c:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc08040:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc08044:	4b ff fe f4 	b       ffc07f38 <erase.part.2+0x120>          <== NOT EXECUTED
                                                                      

ffc0605c <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 ) {
ffc0605c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc06060:	7c 08 02 a6 	mflr    r0                                     
ffc06064:	93 a1 00 24 	stw     r29,36(r1)                             
ffc06068:	7c 9d 23 78 	mr      r29,r4                                 
  memset(ctx, 0, sizeof(*ctx));                                       
ffc0606c:	38 80 00 00 	li      r4,0                                   
  size_t pathlen,                                                     
  int eval_flags,                                                     
  rtems_filesystem_global_location_t *const *global_root_ptr,         
  rtems_filesystem_global_location_t *const *global_current_ptr       
)                                                                     
{                                                                     
ffc06070:	93 c1 00 28 	stw     r30,40(r1)                             
ffc06074:	7c be 2b 78 	mr      r30,r5                                 
  memset(ctx, 0, sizeof(*ctx));                                       
ffc06078:	38 a0 00 38 	li      r5,56                                  
  size_t pathlen,                                                     
  int eval_flags,                                                     
  rtems_filesystem_global_location_t *const *global_root_ptr,         
  rtems_filesystem_global_location_t *const *global_current_ptr       
)                                                                     
{                                                                     
ffc0607c:	93 41 00 18 	stw     r26,24(r1)                             
ffc06080:	7d 1a 43 78 	mr      r26,r8                                 
ffc06084:	93 61 00 1c 	stw     r27,28(r1)                             
ffc06088:	7c fb 3b 78 	mr      r27,r7                                 
ffc0608c:	93 81 00 20 	stw     r28,32(r1)                             
ffc06090:	7c dc 33 78 	mr      r28,r6                                 
ffc06094:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc06098:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0609c:	90 01 00 34 	stw     r0,52(r1)                              
  memset(ctx, 0, sizeof(*ctx));                                       
ffc060a0:	48 00 cd d1 	bl      ffc12e70 <memset>                      
  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) {                                             
ffc060a4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  rtems_filesystem_global_location_t *const *global_current_ptr       
)                                                                     
{                                                                     
  memset(ctx, 0, sizeof(*ctx));                                       
                                                                      
  ctx->path = path;                                                   
ffc060a8:	93 bf 00 00 	stw     r29,0(r31)                             
  ctx->pathlen = pathlen;                                             
ffc060ac:	93 df 00 04 	stw     r30,4(r31)                             
  ctx->flags = eval_flags;                                            
ffc060b0:	93 9f 00 10 	stw     r28,16(r31)                            
  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) {                                             
ffc060b4:	41 9e 00 34 	beq-    cr7,ffc060e8 <eval_path_start+0x8c>    
    char c = ctx->path [0];                                           
ffc060b8:	8b dd 00 00 	lbz     r30,0(r29)                             
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
ffc060bc:	7f 63 db 78 	mr      r3,r27                                 
ffc060c0:	48 00 08 39 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
ffc060c4:	2f 9e 00 2f 	cmpwi   cr7,r30,47                             
ffc060c8:	90 7f 00 30 	stw     r3,48(r31)                             
ffc060cc:	41 9e 00 a8 	beq-    cr7,ffc06174 <eval_path_start+0x118>   
ffc060d0:	2f 9e 00 5c 	cmpwi   cr7,r30,92                             
ffc060d4:	41 9e 00 a0 	beq-    cr7,ffc06174 <eval_path_start+0x118>   <== NEVER TAKEN
      --ctx->pathlen;                                                 
      ctx->startloc = rtems_filesystem_global_location_obtain(        
        &ctx->rootloc                                                 
      );                                                              
    } else {                                                          
      ctx->startloc = rtems_filesystem_global_location_obtain(        
ffc060d8:	7f 43 d3 78 	mr      r3,r26                                 
ffc060dc:	48 00 08 1d 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
ffc060e0:	90 7f 00 34 	stw     r3,52(r31)                             
ffc060e4:	48 00 00 38 	b       ffc0611c <eval_path_start+0xc0>        
);                                                                    
                                                                      
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
ffc060e8:	7c 3d 0b 78 	mr      r29,r1                                 
ffc060ec:	97 dd 00 08 	stwu    r30,8(r29)                             
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
ffc060f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc060f4:	48 00 08 05 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
);                                                                    
                                                                      
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
ffc060f8:	93 c1 00 08 	stw     r30,8(r1)                              
        global_current_ptr                                            
      );                                                              
    }                                                                 
  } else {                                                            
    ctx->rootloc = rtems_filesystem_global_location_obtain_null();    
ffc060fc:	90 7f 00 30 	stw     r3,48(r31)                             
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
ffc06100:	7f a3 eb 78 	mr      r3,r29                                 
ffc06104:	48 00 07 f5 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
    ctx->startloc = rtems_filesystem_global_location_obtain_null();   
ffc06108:	90 7f 00 34 	stw     r3,52(r31)                             
    errno = ENOENT;                                                   
ffc0610c:	48 00 bf 6d 	bl      ffc12078 <__errno>                     
ffc06110:	39 20 00 02 	li      r9,2                                   
ffc06114:	91 23 00 00 	stw     r9,0(r3)                               
ffc06118:	80 7f 00 34 	lwz     r3,52(r31)                             
    &ctx->startloc,                                                   
    rtems_filesystem_global_location_obtain(newstartloc_ptr)          
  );                                                                  
  rtems_filesystem_instance_lock(&ctx->startloc->location);           
  rtems_filesystem_location_clone(&ctx->currentloc, &ctx->startloc->location);
}                                                                     
ffc0611c:	80 63 00 14 	lwz     r3,20(r3)                              
                                                                      
  set_startloc(ctx, global_root_ptr, global_current_ptr);             
                                                                      
  rtems_filesystem_instance_lock(&ctx->startloc->location);           
                                                                      
  rtems_filesystem_location_clone(                                    
ffc06120:	3b df 00 18 	addi    r30,r31,24                             
  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 );                               
ffc06124:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc06128:	81 29 00 00 	lwz     r9,0(r9)                               
ffc0612c:	7d 29 03 a6 	mtctr   r9                                     
ffc06130:	4e 80 04 21 	bctrl                                          
ffc06134:	80 9f 00 34 	lwz     r4,52(r31)                             
ffc06138:	7f c3 f3 78 	mr      r3,r30                                 
ffc0613c:	48 00 89 a5 	bl      ffc0eae0 <rtems_filesystem_location_clone>
    &ctx->currentloc,                                                 
    &ctx->startloc->location                                          
  );                                                                  
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
ffc06140:	7f e3 fb 78 	mr      r3,r31                                 
ffc06144:	4b ff fe 7d 	bl      ffc05fc0 <rtems_filesystem_eval_path_continue>
                                                                      
  return &ctx->currentloc;                                            
}                                                                     
ffc06148:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0614c:	7f c3 f3 78 	mr      r3,r30                                 
ffc06150:	83 41 00 18 	lwz     r26,24(r1)                             
ffc06154:	7c 08 03 a6 	mtlr    r0                                     
ffc06158:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0615c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc06160:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc06164:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc06168:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0616c:	38 21 00 30 	addi    r1,r1,48                               
ffc06170:	4e 80 00 20 	blr                                            
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
ffc06174:	81 5f 00 00 	lwz     r10,0(r31)                             
      --ctx->pathlen;                                                 
      ctx->startloc = rtems_filesystem_global_location_obtain(        
ffc06178:	38 7f 00 30 	addi    r3,r31,48                              
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
      --ctx->pathlen;                                                 
ffc0617c:	81 3f 00 04 	lwz     r9,4(r31)                              
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
ffc06180:	39 4a 00 01 	addi    r10,r10,1                              
      --ctx->pathlen;                                                 
ffc06184:	39 29 ff ff 	addi    r9,r9,-1                               
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
ffc06188:	91 5f 00 00 	stw     r10,0(r31)                             
      --ctx->pathlen;                                                 
ffc0618c:	91 3f 00 04 	stw     r9,4(r31)                              
      ctx->startloc = rtems_filesystem_global_location_obtain(        
ffc06190:	48 00 07 69 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
ffc06194:	90 7f 00 34 	stw     r3,52(r31)                             
ffc06198:	4b ff ff 84 	b       ffc0611c <eval_path_start+0xc0>        
                                                                      

ffc170a4 <fat_buf_access>: int fat_buf_access(fat_fs_info_t *fs_info, const uint32_t sec_num, const int op_type, uint8_t **sec_buf) {
ffc170a4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc170a8:	7c 08 02 a6 	mflr    r0                                     
ffc170ac:	93 41 00 08 	stw     r26,8(r1)                              
ffc170b0:	7c ba 2b 78 	mr      r26,r5                                 
ffc170b4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc170b8:	93 81 00 10 	stw     r28,16(r1)                             
ffc170bc:	7c dc 33 78 	mr      r28,r6                                 
ffc170c0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc170c4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc170c8:	7c 9e 23 78 	mr      r30,r4                                 
ffc170cc:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc170d0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc170d4:	90 01 00 24 	stw     r0,36(r1)                              
                                                         sec_num);    
    uint32_t          blk_ofs = fat_sector_offset_to_block_offset (fs_info,
                                                                   sec_num,
                                                                   0);
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY || fs_info->c.blk_num != sec_num)
ffc170d8:	89 03 00 89 	lbz     r8,137(r3)                             
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc170dc:	89 23 00 02 	lbz     r9,2(r3)                               
ffc170e0:	89 43 00 0c 	lbz     r10,12(r3)                             
ffc170e4:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc170e8:	7d 49 50 50 	subf    r10,r9,r10                             
ffc170ec:	7c 9d 54 30 	srw     r29,r4,r10                             
                                                                      
static inline uint32_t                                                
 fat_block_num_to_sector_num (const fat_fs_info_t *fs_info,           
                              const uint32_t block_number)            
{                                                                     
  return block_number << (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc170f0:	7f aa 50 30 	slw     r10,r29,r10                            
 fat_sector_offset_to_block_offset (const fat_fs_info_t *fs_info,     
                                    const uint32_t sector,            
                                    const uint32_t sector_offset)     
{                                                                     
  return sector_offset +                                              
           ((sector -                                                 
ffc170f4:	7d 4a 20 50 	subf    r10,r10,r4                             
              fat_block_num_to_sector_num (fs_info,                   
                  fat_sector_num_to_block_num (fs_info, sector)))     
            << fs_info->vol.sec_log2);                                
ffc170f8:	7d 5b 48 30 	slw     r27,r10,r9                             
ffc170fc:	41 9e 00 10 	beq-    cr7,ffc1710c <fat_buf_access+0x68>     
ffc17100:	81 23 00 84 	lwz     r9,132(r3)                             
ffc17104:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc17108:	41 9e 00 3c 	beq-    cr7,ffc17144 <fat_buf_access+0xa0>     
    {                                                                 
        fat_buf_release(fs_info);                                     
ffc1710c:	7f e3 fb 78 	mr      r3,r31                                 
ffc17110:	4b ff fd b1 	bl      ffc16ec0 <fat_buf_release>             
                                                                      
        if (op_type == FAT_OP_TYPE_READ)                              
ffc17114:	2f 9a 00 01 	cmpwi   cr7,r26,1                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
ffc17118:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc1711c:	7f a4 eb 78 	mr      r4,r29                                 
ffc17120:	38 bf 00 8c 	addi    r5,r31,140                             
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY || fs_info->c.blk_num != sec_num)
    {                                                                 
        fat_buf_release(fs_info);                                     
                                                                      
        if (op_type == FAT_OP_TYPE_READ)                              
ffc17124:	41 9e 00 5c 	beq-    cr7,ffc17180 <fat_buf_access+0xdc>     
            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);
ffc17128:	4b ff d1 b5 	bl      ffc142dc <rtems_bdbuf_get>             
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc1712c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17130:	40 9e 00 58 	bne-    cr7,ffc17188 <fat_buf_access+0xe4>     <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = sec_num;                                 
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc17134:	39 20 00 01 	li      r9,1                                   
            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 = sec_num;                                 
ffc17138:	93 df 00 84 	stw     r30,132(r31)                           
        fs_info->c.modified = 0;                                      
ffc1713c:	98 7f 00 88 	stb     r3,136(r31)                            
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
ffc17140:	99 3f 00 89 	stb     r9,137(r31)                            
    }                                                                 
    *sec_buf = &fs_info->c.buf->buffer[blk_ofs];                      
ffc17144:	81 3f 00 8c 	lwz     r9,140(r31)                            
    return RC_OK;                                                     
ffc17148:	38 60 00 00 	li      r3,0                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = sec_num;                                 
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
    *sec_buf = &fs_info->c.buf->buffer[blk_ofs];                      
ffc1714c:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc17150:	7f 69 da 14 	add     r27,r9,r27                             
ffc17154:	93 7c 00 00 	stw     r27,0(r28)                             
    return RC_OK;                                                     
}                                                                     
ffc17158:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1715c:	83 41 00 08 	lwz     r26,8(r1)                              
ffc17160:	7c 08 03 a6 	mtlr    r0                                     
ffc17164:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc17168:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1716c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc17170:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc17174:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc17178:	38 21 00 20 	addi    r1,r1,32                               
ffc1717c:	4e 80 00 20 	blr                                            
    if (fs_info->c.state == FAT_CACHE_EMPTY || fs_info->c.blk_num != sec_num)
    {                                                                 
        fat_buf_release(fs_info);                                     
                                                                      
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
ffc17180:	4b ff d2 c9 	bl      ffc14448 <rtems_bdbuf_read>            
ffc17184:	4b ff ff a8 	b       ffc1712c <fat_buf_access+0x88>         
        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);                
ffc17188:	48 00 95 15 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1718c:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc17190:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17194:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17198:	4b ff ff c0 	b       ffc17158 <fat_buf_access+0xb4>         <== NOT EXECUTED
                                                                      

ffc16ec0 <fat_buf_release>: return RC_OK; } int fat_buf_release(fat_fs_info_t *fs_info) {
ffc16ec0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc16ec4:	7c 08 02 a6 	mflr    r0                                     
ffc16ec8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc16ecc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc16ed0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc16ed4:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc16ed8:	93 c1 00 20 	stw     r30,32(r1)                             
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc16edc:	89 23 00 89 	lbz     r9,137(r3)                             
        return RC_OK;                                                 
ffc16ee0:	38 60 00 00 	li      r3,0                                   
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
{                                                                     
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
ffc16ee4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16ee8:	41 9e 01 28 	beq-    cr7,ffc17010 <fat_buf_release+0x150>   
        return RC_OK;                                                 
                                                                      
    if (fs_info->c.modified)                                          
ffc16eec:	89 3f 00 88 	lbz     r9,136(r31)                            
ffc16ef0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16ef4:	41 9e 01 00 	beq-    cr7,ffc16ff4 <fat_buf_release+0x134>   
    {                                                                 
        uint32_t sec_num = fs_info->c.blk_num;                        
ffc16ef8:	81 3f 00 84 	lwz     r9,132(r31)                            
        bool     sec_of_fat = ((sec_num >= fs_info->vol.fat_loc) &&   
ffc16efc:	3b c0 00 00 	li      r30,0                                  
ffc16f00:	a1 5f 00 18 	lhz     r10,24(r31)                            
ffc16f04:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc16f08:	41 9c 00 10 	blt-    cr7,ffc16f18 <fat_buf_release+0x58>    
ffc16f0c:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc16f10:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc16f14:	41 9c 01 18 	blt-    cr7,ffc1702c <fat_buf_release+0x16c>   
        if (sec_of_fat && !fs_info->vol.mirror)                       
            memcpy(fs_info->sec_buf,                                  
                   fs_info->c.buf->buffer + blk_ofs,                  
                   fs_info->vol.bps);                                 
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
ffc16f18:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc16f1c:	4b ff d8 59 	bl      ffc14774 <rtems_bdbuf_release_modified>
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc16f20:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16f24:	40 82 01 6c 	bne-    ffc17090 <fat_buf_release+0x1d0>       <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc16f28:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                   fs_info->vol.bps);                                 
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
ffc16f2c:	98 7f 00 88 	stb     r3,136(r31)                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc16f30:	41 9e 00 d4 	beq-    cr7,ffc17004 <fat_buf_release+0x144>   
ffc16f34:	89 3f 00 54 	lbz     r9,84(r31)                             
ffc16f38:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16f3c:	40 9e 00 c8 	bne-    cr7,ffc17004 <fat_buf_release+0x144>   <== NEVER TAKEN
        {                                                             
            uint8_t i;                                                
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc16f40:	89 3f 00 0d 	lbz     r9,13(r31)                             
ffc16f44:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc16f48:	40 9d 00 bc 	ble-    cr7,ffc17004 <fat_buf_release+0x144>   <== NEVER TAKEN
ffc16f4c:	3b c0 00 01 	li      r30,1                                  
ffc16f50:	48 00 00 50 	b       ffc16fa0 <fat_buf_release+0xe0>        
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &bd);  
                }                                                     
                else                                                  
                {                                                     
                    sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &bd); 
ffc16f54:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc16f58:	4b ff d4 f1 	bl      ffc14448 <rtems_bdbuf_read>            
                }                                                     
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc16f5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16f60:	40 9e 01 1c 	bne-    cr7,ffc1707c <fat_buf_release+0x1bc>   <== NEVER TAKEN
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(bd->buffer + blk_ofs, fs_info->sec_buf, fs_info->vol.bps);
ffc16f64:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            uint8_t i;                                                
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc16f68:	3b de 00 01 	addi    r30,r30,1                              
                {                                                     
                    sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &bd); 
                }                                                     
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(bd->buffer + blk_ofs, fs_info->sec_buf, fs_info->vol.bps);
ffc16f6c:	80 9f 00 90 	lwz     r4,144(r31)                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            uint8_t i;                                                
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc16f70:	57 de 06 3e 	clrlwi  r30,r30,24                             
                {                                                     
                    sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &bd); 
                }                                                     
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(bd->buffer + blk_ofs, fs_info->sec_buf, fs_info->vol.bps);
ffc16f74:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc16f78:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc16f7c:	7c 63 ea 14 	add     r3,r3,r29                              
ffc16f80:	48 00 a3 fd 	bl      ffc2137c <memcpy>                      
                sc = rtems_bdbuf_release_modified(bd);                
ffc16f84:	80 61 00 08 	lwz     r3,8(r1)                               
ffc16f88:	4b ff d7 ed 	bl      ffc14774 <rtems_bdbuf_release_modified>
                if ( sc != RTEMS_SUCCESSFUL)                          
ffc16f8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16f90:	40 9e 00 ec 	bne-    cr7,ffc1707c <fat_buf_release+0x1bc>   <== NEVER TAKEN
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            uint8_t i;                                                
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
ffc16f94:	89 3f 00 0d 	lbz     r9,13(r31)                             
ffc16f98:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc16f9c:	40 9d 00 68 	ble-    cr7,ffc17004 <fat_buf_release+0x144>   <== ALWAYS TAKEN
            {                                                         
                rtems_bdbuf_buffer *bd;                               
                                                                      
                sec_num = fs_info->c.blk_num + fs_info->vol.fat_length * i,
ffc16fa0:	81 1f 00 1c 	lwz     r8,28(r31)                             
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &bd);  
                }                                                     
                else                                                  
                {                                                     
                    sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &bd); 
ffc16fa4:	38 a1 00 08 	addi    r5,r1,8                                
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                rtems_bdbuf_buffer *bd;                               
                                                                      
                sec_num = fs_info->c.blk_num + fs_info->vol.fat_length * i,
ffc16fa8:	81 5f 00 84 	lwz     r10,132(r31)                           
ffc16fac:	7d 1e 41 d6 	mullw   r8,r30,r8                              
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc16fb0:	89 3f 00 02 	lbz     r9,2(r31)                              
ffc16fb4:	88 7f 00 0c 	lbz     r3,12(r31)                             
ffc16fb8:	7d 08 52 14 	add     r8,r8,r10                              
ffc16fbc:	7c 69 18 50 	subf    r3,r9,r3                               
ffc16fc0:	7d 0a 1c 30 	srw     r10,r8,r3                              
                                                                      
static inline uint32_t                                                
 fat_block_num_to_sector_num (const fat_fs_info_t *fs_info,           
                              const uint32_t block_number)            
{                                                                     
  return block_number << (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc16fc4:	7d 43 18 30 	slw     r3,r10,r3                              
 fat_sector_offset_to_block_offset (const fat_fs_info_t *fs_info,     
                                    const uint32_t sector,            
                                    const uint32_t sector_offset)     
{                                                                     
  return sector_offset +                                              
           ((sector -                                                 
ffc16fc8:	7c 63 40 50 	subf    r3,r3,r8                               
                blk = fat_sector_num_to_block_num(fs_info, sec_num);  
                blk_ofs = fat_sector_offset_to_block_offset(fs_info,  
                                                            sec_num,  
                                                            0);       
                                                                      
                if (blk_ofs == 0                                      
ffc16fcc:	7c 7d 48 31 	slw.    r29,r3,r9                              
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &bd);  
                }                                                     
                else                                                  
                {                                                     
                    sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &bd); 
ffc16fd0:	7d 44 53 78 	mr      r4,r10                                 
                blk = fat_sector_num_to_block_num(fs_info, sec_num);  
                blk_ofs = fat_sector_offset_to_block_offset(fs_info,  
                                                            sec_num,  
                                                            0);       
                                                                      
                if (blk_ofs == 0                                      
ffc16fd4:	40 a2 ff 80 	bne-    ffc16f54 <fat_buf_release+0x94>        
                    && fs_info->vol.bps == fs_info->vol.bytes_per_block)
ffc16fd8:	a1 1f 00 00 	lhz     r8,0(r31)                              
ffc16fdc:	a1 3f 00 0a 	lhz     r9,10(r31)                             
ffc16fe0:	7f 88 48 00 	cmpw    cr7,r8,r9                              
ffc16fe4:	40 9e ff 70 	bne+    cr7,ffc16f54 <fat_buf_release+0x94>    
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &bd);  
ffc16fe8:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc16fec:	4b ff d2 f1 	bl      ffc142dc <rtems_bdbuf_get>             
ffc16ff0:	4b ff ff 6c 	b       ffc16f5c <fat_buf_release+0x9c>        
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
ffc16ff4:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc16ff8:	4b ff d6 91 	bl      ffc14688 <rtems_bdbuf_release>         
        if (sc != RTEMS_SUCCESSFUL)                                   
ffc16ffc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17000:	40 9e 00 90 	bne-    cr7,ffc17090 <fat_buf_release+0x1d0>   <== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
    }                                                                 
    fs_info->c.state = FAT_CACHE_EMPTY;                               
ffc17004:	39 20 00 00 	li      r9,0                                   
ffc17008:	99 3f 00 89 	stb     r9,137(r31)                            
    return RC_OK;                                                     
ffc1700c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc17010:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc17014:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc17018:	7c 08 03 a6 	mtlr    r0                                     
ffc1701c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc17020:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc17024:	38 21 00 28 	addi    r1,r1,40                               
ffc17028:	4e 80 00 20 	blr                                            
        uint32_t blk = fat_sector_num_to_block_num(fs_info, sec_num); 
        uint32_t blk_ofs = fat_sector_offset_to_block_offset(fs_info, 
                                                             sec_num, 
                                                             0);      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc1702c:	89 1f 00 54 	lbz     r8,84(r31)                             
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17030:	89 5f 00 02 	lbz     r10,2(r31)                             
        uint32_t blk = fat_sector_num_to_block_num(fs_info, sec_num); 
        uint32_t blk_ofs = fat_sector_offset_to_block_offset(fs_info, 
                                                             sec_num, 
                                                             0);      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc17034:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17038:	88 ff 00 0c 	lbz     r7,12(r31)                             
        uint32_t blk = fat_sector_num_to_block_num(fs_info, sec_num); 
        uint32_t blk_ofs = fat_sector_offset_to_block_offset(fs_info, 
                                                             sec_num, 
                                                             0);      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
ffc1703c:	41 9e 00 0c 	beq-    cr7,ffc17048 <fat_buf_release+0x188>   <== ALWAYS TAKEN
        return RC_OK;                                                 
                                                                      
    if (fs_info->c.modified)                                          
    {                                                                 
        uint32_t sec_num = fs_info->c.blk_num;                        
        bool     sec_of_fat = ((sec_num >= fs_info->vol.fat_loc) &&   
ffc17040:	3b c0 00 01 	li      r30,1                                  <== NOT EXECUTED
ffc17044:	4b ff fe d4 	b       ffc16f18 <fat_buf_release+0x58>        <== NOT EXECUTED
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17048:	7d 0a 38 50 	subf    r8,r10,r7                              
                                                             sec_num, 
                                                             0);      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
            memcpy(fs_info->sec_buf,                                  
                   fs_info->c.buf->buffer + blk_ofs,                  
ffc1704c:	80 ff 00 8c 	lwz     r7,140(r31)                            
ffc17050:	7d 26 44 30 	srw     r6,r9,r8                               
        uint32_t blk_ofs = fat_sector_offset_to_block_offset(fs_info, 
                                                             sec_num, 
                                                             0);      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
            memcpy(fs_info->sec_buf,                                  
ffc17054:	80 7f 00 90 	lwz     r3,144(r31)                            
                                                                      
static inline uint32_t                                                
 fat_block_num_to_sector_num (const fat_fs_info_t *fs_info,           
                              const uint32_t block_number)            
{                                                                     
  return block_number << (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17058:	7c c8 40 30 	slw     r8,r6,r8                               
ffc1705c:	80 87 00 1c 	lwz     r4,28(r7)                              
 fat_sector_offset_to_block_offset (const fat_fs_info_t *fs_info,     
                                    const uint32_t sector,            
                                    const uint32_t sector_offset)     
{                                                                     
  return sector_offset +                                              
           ((sector -                                                 
ffc17060:	7d 28 48 50 	subf    r9,r8,r9                               
ffc17064:	a0 bf 00 00 	lhz     r5,0(r31)                              
              fat_block_num_to_sector_num (fs_info,                   
                  fat_sector_num_to_block_num (fs_info, sector)))     
            << fs_info->vol.sec_log2);                                
ffc17068:	7d 2a 50 30 	slw     r10,r9,r10                             
ffc1706c:	7c 84 52 14 	add     r4,r4,r10                              
ffc17070:	48 00 a3 0d 	bl      ffc2137c <memcpy>                      
        return RC_OK;                                                 
                                                                      
    if (fs_info->c.modified)                                          
    {                                                                 
        uint32_t sec_num = fs_info->c.blk_num;                        
        bool     sec_of_fat = ((sec_num >= fs_info->vol.fat_loc) &&   
ffc17074:	3b c0 00 01 	li      r30,1                                  
ffc17078:	4b ff fe a0 	b       ffc16f18 <fat_buf_release+0x58>        
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(bd->buffer + blk_ofs, fs_info->sec_buf, fs_info->vol.bps);
                sc = rtems_bdbuf_release_modified(bd);                
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
ffc1707c:	48 00 96 21 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17080:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc17084:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
ffc17088:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1708c:	4b ff ff 84 	b       ffc17010 <fat_buf_release+0x150>       <== NOT EXECUTED
ffc17090:	48 00 96 0d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17094:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc17098:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1709c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc170a0:	4b ff ff 70 	b       ffc17010 <fat_buf_release+0x150>       <== NOT EXECUTED
                                                                      

ffc1739c <fat_cluster_set>: fat_fs_info_t *fs_info, const uint32_t start_cln, const uint32_t offset, const uint32_t count, const uint8_t pattern) {
ffc1739c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc173a0:	7c 08 02 a6 	mflr    r0                                     
ffc173a4:	90 01 00 44 	stw     r0,68(r1)                              
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc173a8:	a1 23 00 06 	lhz     r9,6(r3)                               
     fat_fs_info_t                        *fs_info,                   
     const uint32_t                        start_cln,                 
     const uint32_t                        offset,                    
     const uint32_t                        count,                     
     const uint8_t                         pattern)                   
{                                                                     
ffc173ac:	93 01 00 20 	stw     r24,32(r1)                             
ffc173b0:	7c f8 3b 78 	mr      r24,r7                                 
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc173b4:	7d 25 48 50 	subf    r9,r5,r9                               
ffc173b8:	7f 86 48 40 	cmplw   cr7,r6,r9                              
     fat_fs_info_t                        *fs_info,                   
     const uint32_t                        start_cln,                 
     const uint32_t                        offset,                    
     const uint32_t                        count,                     
     const uint8_t                         pattern)                   
{                                                                     
ffc173bc:	93 81 00 30 	stw     r28,48(r1)                             
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc173c0:	7c dc 33 78 	mr      r28,r6                                 
     fat_fs_info_t                        *fs_info,                   
     const uint32_t                        start_cln,                 
     const uint32_t                        offset,                    
     const uint32_t                        count,                     
     const uint8_t                         pattern)                   
{                                                                     
ffc173c4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc173c8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc173cc:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc173d0:	93 21 00 24 	stw     r25,36(r1)                             
ffc173d4:	93 41 00 28 	stw     r26,40(r1)                             
ffc173d8:	93 61 00 2c 	stw     r27,44(r1)                             
ffc173dc:	93 c1 00 38 	stw     r30,56(r1)                             
ffc173e0:	93 e1 00 3c 	stw     r31,60(r1)                             
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc173e4:	40 9d 00 08 	ble-    cr7,ffc173ec <fat_cluster_set+0x50>    <== ALWAYS TAKEN
ffc173e8:	7d 3c 4b 78 	mr      r28,r9                                 <== NOT EXECUTED
fat_cluster_num_to_block_num (const fat_fs_info_t *fs_info,           
                              uint32_t             cln)               
{                                                                     
    uint32_t blk;                                                     
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc173ec:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc173f0:	40 9e 00 10 	bne-    cr7,ffc17400 <fat_cluster_set+0x64>    <== ALWAYS TAKEN
ffc173f4:	89 3d 00 0e 	lbz     r9,14(r29)                             <== NOT EXECUTED
ffc173f8:	71 2a 00 03 	andi.   r10,r9,3                               <== NOT EXECUTED
ffc173fc:	40 82 01 78 	bne-    ffc17574 <fat_cluster_set+0x1d8>       <== NOT EXECUTED
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17400:	89 1d 00 02 	lbz     r8,2(r29)                              
        blk = fat_sector_num_to_block_num(fs_info, fs_info->vol.rdir_loc);
    else                                                              
    {                                                                 
        cln -= FAT_RSRVD_CLN;                                         
ffc17404:	38 84 ff fe 	addi    r4,r4,-2                               
        blk = cln << (fs_info->vol.bpc_log2 - fs_info->vol.bytes_per_block_log2);
ffc17408:	88 fd 00 0c 	lbz     r7,12(r29)                             
ffc1740c:	89 5d 00 08 	lbz     r10,8(r29)                             
ffc17410:	55 1a 06 3e 	clrlwi  r26,r8,24                              
ffc17414:	81 3d 00 34 	lwz     r9,52(r29)                             
ffc17418:	7f 5a 38 50 	subf    r26,r26,r7                             
ffc1741c:	7d 47 50 50 	subf    r10,r7,r10                             
ffc17420:	7d 29 d4 30 	srw     r9,r9,r26                              
ffc17424:	7c 84 50 30 	slw     r4,r4,r10                              
        blk += fat_sector_num_to_block_num(fs_info, fs_info->vol.data_fsec);
ffc17428:	7f 49 22 14 	add     r26,r9,r4                              
  ssize_t             ret;                                            
                                                                      
  cur_blk += blocks_in_offset;                                        
                                                                      
  while (   (RC_OK == rc)                                             
         && (0 < bytes_to_write))                                     
ffc1742c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
     const uint8_t                         pattern)                   
{                                                                     
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
  uint32_t            cur_blk          = fat_cluster_num_to_block_num(fs_info, start_cln);
  uint32_t            blocks_in_offset = offset >> fs_info->vol.bytes_per_block_log2;
ffc17430:	7c a9 3c 30 	srw     r9,r5,r7                               
  uint32_t            ofs_blk          = offset - (blocks_in_offset << fs_info->vol.bytes_per_block_log2);
ffc17434:	7d 3b 38 30 	slw     r27,r9,r7                              
  ssize_t             ret;                                            
                                                                      
  cur_blk += blocks_in_offset;                                        
                                                                      
  while (   (RC_OK == rc)                                             
         && (0 < bytes_to_write))                                     
ffc17438:	3b 20 00 00 	li      r25,0                                  
{                                                                     
  ssize_t             rc               = RC_OK;                       
  uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
  uint32_t            cur_blk          = fat_cluster_num_to_block_num(fs_info, start_cln);
  uint32_t            blocks_in_offset = offset >> fs_info->vol.bytes_per_block_log2;
  uint32_t            ofs_blk          = offset - (blocks_in_offset << fs_info->vol.bytes_per_block_log2);
ffc1743c:	7f 7b 28 50 	subf    r27,r27,r5                             
  ssize_t             bytes_written    = 0;                           
  ssize_t             ret;                                            
                                                                      
  cur_blk += blocks_in_offset;                                        
ffc17440:	7f 49 d2 14 	add     r26,r9,r26                             
                                                                      
  while (   (RC_OK == rc)                                             
         && (0 < bytes_to_write))                                     
ffc17444:	41 9e 00 f8 	beq-    cr7,ffc1753c <fat_cluster_set+0x1a0>   <== NEVER TAKEN
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc17448:	3a e0 00 01 	li      r23,1                                  
  {                                                                   
    uint32_t c = MIN(bytes_to_write, (fs_info->vol.bytes_per_block - ofs_blk));
ffc1744c:	a1 5d 00 0a 	lhz     r10,10(r29)                            
ffc17450:	7d 3b 50 50 	subf    r9,r27,r10                             
ffc17454:	7f 89 e0 40 	cmplw   cr7,r9,r28                             
ffc17458:	7d 3f 4b 78 	mr      r31,r9                                 
ffc1745c:	40 9d 00 08 	ble-    cr7,ffc17464 <fat_cluster_set+0xc8>    <== ALWAYS TAKEN
ffc17460:	7f 9f e3 78 	mr      r31,r28                                <== NOT EXECUTED
     const uint32_t                        offset,                    
     const uint32_t                        count,                     
     const uint8_t                         pattern)                   
{                                                                     
    int                 rc             = RC_OK;                       
    uint32_t            bytes_to_write = MIN(count, (fs_info->vol.bytes_per_block - offset));
ffc17464:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc17468:	7f fe fb 78 	mr      r30,r31                                
ffc1746c:	40 9d 00 08 	ble-    cr7,ffc17474 <fat_cluster_set+0xd8>    <== ALWAYS TAKEN
ffc17470:	7d 3e 4b 78 	mr      r30,r9                                 <== NOT EXECUTED
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
ffc17474:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17478:	55 09 06 3e 	clrlwi  r9,r8,24                               
    int                 rc             = RC_OK;                       
    uint32_t            bytes_to_write = MIN(count, (fs_info->vol.bytes_per_block - offset));
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
ffc1747c:	41 9e 00 84 	beq-    cr7,ffc17500 <fat_cluster_set+0x164>   <== NEVER TAKEN
    {                                                                 
        if (bytes_to_write == fs_info->vol.bytes_per_block)           
ffc17480:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
                                                                      
static inline uint32_t                                                
 fat_block_num_to_sector_num (const fat_fs_info_t *fs_info,           
                              const uint32_t block_number)            
{                                                                     
  return block_number << (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17484:	7d 29 38 50 	subf    r9,r9,r7                               
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
ffc17488:	7f a3 eb 78 	mr      r3,r29                                 
ffc1748c:	7f 44 48 30 	slw     r4,r26,r9                              
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
    {                                                                 
        if (bytes_to_write == fs_info->vol.bytes_per_block)           
ffc17490:	41 9e 00 9c 	beq-    cr7,ffc1752c <fat_cluster_set+0x190>   
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
        }                                                             
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &blk_buf);
ffc17494:	38 a0 00 01 	li      r5,1                                   
ffc17498:	38 c1 00 08 	addi    r6,r1,8                                
ffc1749c:	4b ff fc 09 	bl      ffc170a4 <fat_buf_access>              
                                                                      
        if (RC_OK == rc)                                              
ffc174a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc174a4:	41 9e 00 44 	beq-    cr7,ffc174e8 <fat_cluster_set+0x14c>   <== ALWAYS TAKEN
        fs_info,                                                      
        cur_blk,                                                      
        ofs_blk,                                                      
        c,                                                            
        pattern);                                                     
    if (c != ret)                                                     
ffc174a8:	7f 83 f8 00 	cmpw    cr7,r3,r31                             <== NOT EXECUTED
ffc174ac:	41 9e 00 60 	beq-    cr7,ffc1750c <fat_cluster_set+0x170>   <== NOT EXECUTED
  }                                                                   
  if (RC_OK != rc)                                                    
    return rc;                                                        
  else                                                                
    return bytes_written;                                             
}                                                                     
ffc174b0:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
        fs_info,                                                      
        cur_blk,                                                      
        ofs_blk,                                                      
        c,                                                            
        pattern);                                                     
    if (c != ret)                                                     
ffc174b4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
  if (RC_OK != rc)                                                    
    return rc;                                                        
  else                                                                
    return bytes_written;                                             
}                                                                     
ffc174b8:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc174bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc174c0:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc174c4:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc174c8:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc174cc:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc174d0:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc174d4:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc174d8:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc174dc:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc174e0:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc174e4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &blk_buf);
                                                                      
        if (RC_OK == rc)                                              
        {                                                             
            memset(blk_buf + offset, pattern, bytes_to_write);        
ffc174e8:	80 61 00 08 	lwz     r3,8(r1)                               
ffc174ec:	7f 04 c3 78 	mr      r4,r24                                 
ffc174f0:	7f c5 f3 78 	mr      r5,r30                                 
ffc174f4:	7c 63 da 14 	add     r3,r3,r27                              
ffc174f8:	48 00 9f 79 	bl      ffc21470 <memset>                      
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc174fc:	9a fd 00 88 	stb     r23,136(r29)                           
        }                                                             
    }                                                                 
    if (RC_OK != rc)                                                  
        return rc;                                                    
    else                                                              
        return bytes_to_write;                                        
ffc17500:	7f c3 f3 78 	mr      r3,r30                                 
        fs_info,                                                      
        cur_blk,                                                      
        ofs_blk,                                                      
        c,                                                            
        pattern);                                                     
    if (c != ret)                                                     
ffc17504:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc17508:	40 9e ff a8 	bne+    cr7,ffc174b0 <fat_cluster_set+0x114>   <== NEVER TAKEN
  ssize_t             ret;                                            
                                                                      
  cur_blk += blocks_in_offset;                                        
                                                                      
  while (   (RC_OK == rc)                                             
         && (0 < bytes_to_write))                                     
ffc1750c:	7f 83 e0 51 	subf.   r28,r3,r28                             
    if (c != ret)                                                     
      rc = -1;                                                        
    else                                                              
    {                                                                 
        bytes_to_write -= ret;                                        
        bytes_written  += ret;                                        
ffc17510:	7f 39 1a 14 	add     r25,r25,r3                             
        ++cur_blk;                                                    
ffc17514:	3b 5a 00 01 	addi    r26,r26,1                              
  ssize_t             ret;                                            
                                                                      
  cur_blk += blocks_in_offset;                                        
                                                                      
  while (   (RC_OK == rc)                                             
         && (0 < bytes_to_write))                                     
ffc17518:	41 82 00 24 	beq-    ffc1753c <fat_cluster_set+0x1a0>       <== ALWAYS TAKEN
ffc1751c:	88 fd 00 0c 	lbz     r7,12(r29)                             <== NOT EXECUTED
ffc17520:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17524:	89 1d 00 02 	lbz     r8,2(r29)                              <== NOT EXECUTED
ffc17528:	4b ff ff 24 	b       ffc1744c <fat_cluster_set+0xb0>        <== NOT EXECUTED
                                                                      
    if (0 < bytes_to_write)                                           
    {                                                                 
        if (bytes_to_write == fs_info->vol.bytes_per_block)           
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
ffc1752c:	38 a0 00 02 	li      r5,2                                   
ffc17530:	38 c1 00 08 	addi    r6,r1,8                                
ffc17534:	4b ff fb 71 	bl      ffc170a4 <fat_buf_access>              
ffc17538:	4b ff ff 68 	b       ffc174a0 <fat_cluster_set+0x104>       
  }                                                                   
  if (RC_OK != rc)                                                    
    return rc;                                                        
  else                                                                
    return bytes_written;                                             
}                                                                     
ffc1753c:	80 01 00 44 	lwz     r0,68(r1)                              
        fs_info,                                                      
        cur_blk,                                                      
        ofs_blk,                                                      
        c,                                                            
        pattern);                                                     
    if (c != ret)                                                     
ffc17540:	7f 23 cb 78 	mr      r3,r25                                 
  }                                                                   
  if (RC_OK != rc)                                                    
    return rc;                                                        
  else                                                                
    return bytes_written;                                             
}                                                                     
ffc17544:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc17548:	7c 08 03 a6 	mtlr    r0                                     
ffc1754c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc17550:	83 21 00 24 	lwz     r25,36(r1)                             
ffc17554:	83 41 00 28 	lwz     r26,40(r1)                             
ffc17558:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1755c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc17560:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc17564:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc17568:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1756c:	38 21 00 40 	addi    r1,r1,64                               
ffc17570:	4e 80 00 20 	blr                                            
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17574:	89 1d 00 02 	lbz     r8,2(r29)                              <== NOT EXECUTED
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17578:	88 fd 00 0c 	lbz     r7,12(r29)                             <== NOT EXECUTED
ffc1757c:	55 1a 06 3e 	clrlwi  r26,r8,24                              <== NOT EXECUTED
ffc17580:	81 3d 00 20 	lwz     r9,32(r29)                             <== NOT EXECUTED
ffc17584:	7f 5a 38 50 	subf    r26,r26,r7                             <== NOT EXECUTED
ffc17588:	7d 3a d4 30 	srw     r26,r9,r26                             <== NOT EXECUTED
ffc1758c:	4b ff fe a0 	b       ffc1742c <fat_cluster_set+0x90>        <== NOT EXECUTED
                                                                      

ffc17590 <fat_cluster_write>: const uint32_t start_cln, const uint32_t offset, const uint32_t count, const void *buff, const bool overwrite_cluster) {
ffc17590:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc17594:	7c 08 02 a6 	mflr    r0                                     
ffc17598:	7d 80 00 26 	mfcr    r12                                    
ffc1759c:	90 01 00 44 	stw     r0,68(r1)                              
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc175a0:	a1 23 00 06 	lhz     r9,6(r3)                               
    const uint32_t                        start_cln,                  
    const uint32_t                        offset,                     
    const uint32_t                        count,                      
    const void                           *buff,                       
    const bool                            overwrite_cluster)          
{                                                                     
ffc175a4:	93 01 00 20 	stw     r24,32(r1)                             
ffc175a8:	7c f8 3b 78 	mr      r24,r7                                 
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc175ac:	7d 25 48 50 	subf    r9,r5,r9                               
ffc175b0:	7f 86 48 40 	cmplw   cr7,r6,r9                              
    const uint32_t                        start_cln,                  
    const uint32_t                        offset,                     
    const uint32_t                        count,                      
    const void                           *buff,                       
    const bool                            overwrite_cluster)          
{                                                                     
ffc175b4:	93 81 00 30 	stw     r28,48(r1)                             
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc175b8:	7c dc 33 78 	mr      r28,r6                                 
    const uint32_t                        start_cln,                  
    const uint32_t                        offset,                     
    const uint32_t                        count,                      
    const void                           *buff,                       
    const bool                            overwrite_cluster)          
{                                                                     
ffc175bc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc175c0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc175c4:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc175c8:	93 21 00 24 	stw     r25,36(r1)                             
ffc175cc:	93 41 00 28 	stw     r26,40(r1)                             
ffc175d0:	93 61 00 2c 	stw     r27,44(r1)                             
ffc175d4:	93 c1 00 38 	stw     r30,56(r1)                             
ffc175d8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc175dc:	91 81 00 18 	stw     r12,24(r1)                             
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
ffc175e0:	40 9d 00 08 	ble-    cr7,ffc175e8 <fat_cluster_write+0x58>  <== ALWAYS TAKEN
ffc175e4:	7d 3c 4b 78 	mr      r28,r9                                 <== NOT EXECUTED
fat_cluster_num_to_block_num (const fat_fs_info_t *fs_info,           
                              uint32_t             cln)               
{                                                                     
    uint32_t blk;                                                     
                                                                      
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
ffc175e8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc175ec:	40 9e 00 10 	bne-    cr7,ffc175fc <fat_cluster_write+0x6c>  
ffc175f0:	89 3d 00 0e 	lbz     r9,14(r29)                             
ffc175f4:	71 2a 00 03 	andi.   r10,r9,3                               
ffc175f8:	40 82 01 94 	bne-    ffc1778c <fat_cluster_write+0x1fc>     <== ALWAYS TAKEN
ffc175fc:	88 dd 00 02 	lbz     r6,2(r29)                              
        blk = fat_sector_num_to_block_num(fs_info, fs_info->vol.rdir_loc);
    else                                                              
    {                                                                 
        cln -= FAT_RSRVD_CLN;                                         
ffc17600:	38 84 ff fe 	addi    r4,r4,-2                               
        blk = cln << (fs_info->vol.bpc_log2 - fs_info->vol.bytes_per_block_log2);
ffc17604:	88 fd 00 0c 	lbz     r7,12(r29)                             
ffc17608:	89 5d 00 08 	lbz     r10,8(r29)                             
ffc1760c:	54 da 06 3e 	clrlwi  r26,r6,24                              
ffc17610:	81 3d 00 34 	lwz     r9,52(r29)                             
ffc17614:	7f 5a 38 50 	subf    r26,r26,r7                             
ffc17618:	7d 47 50 50 	subf    r10,r7,r10                             
ffc1761c:	7d 29 d4 30 	srw     r9,r9,r26                              
ffc17620:	7c 84 50 30 	slw     r4,r4,r10                              
        blk += fat_sector_num_to_block_num(fs_info, fs_info->vol.data_fsec);
ffc17624:	7f 49 22 14 	add     r26,r9,r4                              
    uint32_t            c;                                            
                                                                      
    cur_blk += blocks_in_offset;                                      
                                                                      
    while (   (RC_OK == rc)                                           
           && (0 < bytes_to_write))                                   
ffc17628:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    const bool                            overwrite_cluster)          
{                                                                     
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
    uint32_t            cur_blk          = fat_cluster_num_to_block_num(fs_info, start_cln);
    uint32_t            blocks_in_offset = (offset >> fs_info->vol.bytes_per_block_log2);
ffc1762c:	7c a9 3c 30 	srw     r9,r5,r7                               
    uint32_t            ofs_blk          = offset - (blocks_in_offset << fs_info->vol.bytes_per_block_log2);
ffc17630:	7d 3b 38 30 	slw     r27,r9,r7                              
ffc17634:	7f 7b 28 50 	subf    r27,r27,r5                             
    ssize_t             bytes_written    = 0;                         
    uint8_t             *buffer          = (uint8_t*)buff;            
    ssize_t             ret;                                          
    uint32_t            c;                                            
                                                                      
    cur_blk += blocks_in_offset;                                      
ffc17638:	7f 49 d2 14 	add     r26,r9,r26                             
                                                                      
    while (   (RC_OK == rc)                                           
           && (0 < bytes_to_write))                                   
ffc1763c:	41 9e 01 0c 	beq-    cr7,ffc17748 <fat_cluster_write+0x1b8> <== NEVER TAKEN
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
    {                                                                 
        if (   overwrite_block                                        
ffc17640:	2e 08 00 00 	cmpwi   cr4,r8,0                               
    uint32_t            c;                                            
                                                                      
    cur_blk += blocks_in_offset;                                      
                                                                      
    while (   (RC_OK == rc)                                           
           && (0 < bytes_to_write))                                   
ffc17644:	3b 20 00 00 	li      r25,0                                  
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc17648:	3a e0 00 01 	li      r23,1                                  
    {                                                                 
      c = MIN(bytes_to_write, (fs_info->vol.bytes_per_block - ofs_blk));
ffc1764c:	a1 5d 00 0a 	lhz     r10,10(r29)                            
ffc17650:	7d 3b 50 50 	subf    r9,r27,r10                             
ffc17654:	7f 89 e0 40 	cmplw   cr7,r9,r28                             
ffc17658:	7d 3f 4b 78 	mr      r31,r9                                 
ffc1765c:	40 9d 00 08 	ble-    cr7,ffc17664 <fat_cluster_write+0xd4>  
ffc17660:	7f 9f e3 78 	mr      r31,r28                                
    const uint32_t                        count,                      
    const void                           *buf,                        
    const bool                            overwrite_block)            
{                                                                     
    int                 rc             = RC_OK;                       
    uint32_t            bytes_to_write = MIN(count, (fs_info->vol.bytes_per_block - offset));
ffc17664:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc17668:	7f fe fb 78 	mr      r30,r31                                
ffc1766c:	40 9d 00 08 	ble-    cr7,ffc17674 <fat_cluster_write+0xe4>  <== ALWAYS TAKEN
ffc17670:	7d 3e 4b 78 	mr      r30,r9                                 <== NOT EXECUTED
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
ffc17674:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17678:	54 c9 06 3e 	clrlwi  r9,r6,24                               
    int                 rc             = RC_OK;                       
    uint32_t            bytes_to_write = MIN(count, (fs_info->vol.bytes_per_block - offset));
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
ffc1767c:	41 9e 00 90 	beq-    cr7,ffc1770c <fat_cluster_write+0x17c> <== NEVER TAKEN
                                                                      
static inline uint32_t                                                
 fat_block_num_to_sector_num (const fat_fs_info_t *fs_info,           
                              const uint32_t block_number)            
{                                                                     
  return block_number << (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc17680:	7d 29 38 50 	subf    r9,r9,r7                               
ffc17684:	7f 44 48 30 	slw     r4,r26,r9                              
    {                                                                 
        if (   overwrite_block                                        
            || (bytes_to_write == fs_info->vol.bytes_per_block))      
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
ffc17688:	7f a3 eb 78 	mr      r3,r29                                 
    uint8_t            *blk_buf;                                      
    uint32_t            sec_num        = fat_block_num_to_sector_num(fs_info, start_blk);
                                                                      
    if (0 < bytes_to_write)                                           
    {                                                                 
        if (   overwrite_block                                        
ffc1768c:	40 92 00 ac 	bne-    cr4,ffc17738 <fat_cluster_write+0x1a8> 
            || (bytes_to_write == fs_info->vol.bytes_per_block))      
ffc17690:	7f 8a f0 00 	cmpw    cr7,r10,r30                            
ffc17694:	41 9e 00 a4 	beq-    cr7,ffc17738 <fat_cluster_write+0x1a8> 
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
        }                                                             
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &blk_buf);
ffc17698:	38 a0 00 01 	li      r5,1                                   
ffc1769c:	38 c1 00 08 	addi    r6,r1,8                                
ffc176a0:	4b ff fa 05 	bl      ffc170a4 <fat_buf_access>              
                                                                      
        if (RC_OK == rc)                                              
ffc176a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc176a8:	41 9e 00 4c 	beq-    cr7,ffc176f4 <fat_cluster_write+0x164> <== ALWAYS TAKEN
          cur_blk,                                                    
          ofs_blk,                                                    
          c,                                                          
          &buffer[bytes_written],                                     
          overwrite_cluster);                                         
      if (c != ret)                                                   
ffc176ac:	7f 83 f8 00 	cmpw    cr7,r3,r31                             <== NOT EXECUTED
ffc176b0:	41 9e 00 68 	beq-    cr7,ffc17718 <fat_cluster_write+0x188> <== NOT EXECUTED
    }                                                                 
    if (RC_OK != rc)                                                  
      return rc;                                                      
    else                                                              
      return bytes_written;                                           
}                                                                     
ffc176b4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
          cur_blk,                                                    
          ofs_blk,                                                    
          c,                                                          
          &buffer[bytes_written],                                     
          overwrite_cluster);                                         
      if (c != ret)                                                   
ffc176b8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
    }                                                                 
    if (RC_OK != rc)                                                  
      return rc;                                                      
    else                                                              
      return bytes_written;                                           
}                                                                     
ffc176bc:	81 81 00 18 	lwz     r12,24(r1)                             <== NOT EXECUTED
ffc176c0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc176c4:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc176c8:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc176cc:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc176d0:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc176d4:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc176d8:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc176dc:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc176e0:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc176e4:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc176e8:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc176ec:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc176f0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &blk_buf);
                                                                      
        if (RC_OK == rc)                                              
        {                                                             
            memcpy(blk_buf + offset, buf, bytes_to_write);            
ffc176f4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc176f8:	7c 98 ca 14 	add     r4,r24,r25                             
ffc176fc:	7f c5 f3 78 	mr      r5,r30                                 
ffc17700:	7c 63 da 14 	add     r3,r3,r27                              
ffc17704:	48 00 9c 79 	bl      ffc2137c <memcpy>                      
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc17708:	9a fd 00 88 	stb     r23,136(r29)                           
        }                                                             
    }                                                                 
    if (RC_OK != rc)                                                  
        return rc;                                                    
    else                                                              
        return bytes_to_write;                                        
ffc1770c:	7f c3 f3 78 	mr      r3,r30                                 
          cur_blk,                                                    
          ofs_blk,                                                    
          c,                                                          
          &buffer[bytes_written],                                     
          overwrite_cluster);                                         
      if (c != ret)                                                   
ffc17710:	7f 83 f8 00 	cmpw    cr7,r3,r31                             
ffc17714:	40 9e ff a0 	bne+    cr7,ffc176b4 <fat_cluster_write+0x124> <== NEVER TAKEN
    uint32_t            c;                                            
                                                                      
    cur_blk += blocks_in_offset;                                      
                                                                      
    while (   (RC_OK == rc)                                           
           && (0 < bytes_to_write))                                   
ffc17718:	7f 83 e0 51 	subf.   r28,r3,r28                             
      if (c != ret)                                                   
        rc = -1;                                                      
      else                                                            
      {                                                               
          bytes_to_write -= ret;                                      
          bytes_written  += ret;                                      
ffc1771c:	7f 39 1a 14 	add     r25,r25,r3                             
          ++cur_blk;                                                  
ffc17720:	3b 5a 00 01 	addi    r26,r26,1                              
    uint32_t            c;                                            
                                                                      
    cur_blk += blocks_in_offset;                                      
                                                                      
    while (   (RC_OK == rc)                                           
           && (0 < bytes_to_write))                                   
ffc17724:	41 82 00 28 	beq-    ffc1774c <fat_cluster_write+0x1bc>     <== ALWAYS TAKEN
ffc17728:	88 fd 00 0c 	lbz     r7,12(r29)                             <== NOT EXECUTED
ffc1772c:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17730:	88 dd 00 02 	lbz     r6,2(r29)                              <== NOT EXECUTED
ffc17734:	4b ff ff 18 	b       ffc1764c <fat_cluster_write+0xbc>      <== NOT EXECUTED
    if (0 < bytes_to_write)                                           
    {                                                                 
        if (   overwrite_block                                        
            || (bytes_to_write == fs_info->vol.bytes_per_block))      
        {                                                             
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &blk_buf);
ffc17738:	38 a0 00 02 	li      r5,2                                   
ffc1773c:	38 c1 00 08 	addi    r6,r1,8                                
ffc17740:	4b ff f9 65 	bl      ffc170a4 <fat_buf_access>              
ffc17744:	4b ff ff 60 	b       ffc176a4 <fat_cluster_write+0x114>     
    ssize_t             rc               = RC_OK;                     
    uint32_t            bytes_to_write   = MIN(count, (fs_info->vol.bpc - offset));
    uint32_t            cur_blk          = fat_cluster_num_to_block_num(fs_info, start_cln);
    uint32_t            blocks_in_offset = (offset >> fs_info->vol.bytes_per_block_log2);
    uint32_t            ofs_blk          = offset - (blocks_in_offset << fs_info->vol.bytes_per_block_log2);
    ssize_t             bytes_written    = 0;                         
ffc17748:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
    }                                                                 
    if (RC_OK != rc)                                                  
      return rc;                                                      
    else                                                              
      return bytes_written;                                           
}                                                                     
ffc1774c:	80 01 00 44 	lwz     r0,68(r1)                              
          cur_blk,                                                    
          ofs_blk,                                                    
          c,                                                          
          &buffer[bytes_written],                                     
          overwrite_cluster);                                         
      if (c != ret)                                                   
ffc17750:	7f 23 cb 78 	mr      r3,r25                                 
    }                                                                 
    if (RC_OK != rc)                                                  
      return rc;                                                      
    else                                                              
      return bytes_written;                                           
}                                                                     
ffc17754:	81 81 00 18 	lwz     r12,24(r1)                             
ffc17758:	7c 08 03 a6 	mtlr    r0                                     
ffc1775c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc17760:	83 01 00 20 	lwz     r24,32(r1)                             
ffc17764:	7d 80 81 20 	mtcrf   8,r12                                  
ffc17768:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1776c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc17770:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc17774:	83 81 00 30 	lwz     r28,48(r1)                             
ffc17778:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1777c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc17780:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc17784:	38 21 00 40 	addi    r1,r1,64                               
ffc17788:	4e 80 00 20 	blr                                            
                                                                      
static inline uint32_t                                                
 fat_sector_num_to_block_num (const fat_fs_info_t *fs_info,           
                              const uint32_t sector_number)           
{                                                                     
  return sector_number >> (fs_info->vol.bytes_per_block_log2 - fs_info->vol.sec_log2);
ffc1778c:	88 dd 00 02 	lbz     r6,2(r29)                              
    uint32_t                              ino                         
    )                                                                 
{                                                                     
                                                                      
    return (ino >= fs_info->uino_base);                               
}                                                                     
ffc17790:	88 fd 00 0c 	lbz     r7,12(r29)                             
ffc17794:	54 da 06 3e 	clrlwi  r26,r6,24                              
ffc17798:	81 3d 00 20 	lwz     r9,32(r29)                             
ffc1779c:	7f 5a 38 50 	subf    r26,r26,r7                             
ffc177a0:	7d 3a d4 30 	srw     r26,r9,r26                             
ffc177a4:	4b ff fe 84 	b       ffc17628 <fat_cluster_write+0x98>      
                                                                      

ffc16560 <fat_file_close>: int fat_file_close( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
ffc16560:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc16564:	7c 08 02 a6 	mflr    r0                                     
ffc16568:	90 01 00 1c 	stw     r0,28(r1)                              
                                                                      
    /*                                                                
     * 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)                                        
ffc1656c:	81 24 00 08 	lwz     r9,8(r4)                               
int                                                                   
fat_file_close(                                                       
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc16570:	93 e1 00 14 	stw     r31,20(r1)                             
ffc16574:	7c 9f 23 78 	mr      r31,r4                                 
                                                                      
    /*                                                                
     * 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)                                        
ffc16578:	2b 89 00 01 	cmplwi  cr7,r9,1                               
int                                                                   
fat_file_close(                                                       
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1657c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc16580:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
    /*                                                                
     * 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)                                        
ffc16584:	40 9d 00 2c 	ble-    cr7,ffc165b0 <fat_file_close+0x50>     
    {                                                                 
        fat_fd->links_num--;                                          
ffc16588:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1658c:	91 24 00 08 	stw     r9,8(r4)                               
        return rc;                                                    
ffc16590:	38 60 00 00 	li      r3,0                                   
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc16594:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc16598:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1659c:	7c 08 03 a6 	mtlr    r0                                     
ffc165a0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc165a4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc165a8:	38 21 00 18 	addi    r1,r1,24                               
ffc165ac:	4e 80 00 20 	blr                                            
        return rc;                                                    
    }                                                                 
                                                                      
    key = fat_construct_key(fs_info, &fat_fd->dir_pos.sname);         
                                                                      
    if (fat_fd->flags & FAT_FILE_REMOVED)                             
ffc165b0:	89 24 00 30 	lbz     r9,48(r4)                              
ffc165b4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc165b8:	71 3d 00 01 	andi.   r29,r9,1                               
ffc165bc:	41 82 00 58 	beq-    ffc16614 <fat_file_close+0xb4>         
    {                                                                 
        rc = fat_file_truncate(fs_info, fat_fd, 0);                   
ffc165c0:	38 a0 00 00 	li      r5,0                                   
ffc165c4:	4b ff fe 69 	bl      ffc1642c <fat_file_truncate>           
        if ( rc != RC_OK )                                            
ffc165c8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc165cc:	40 82 ff c8 	bne+    ffc16594 <fat_file_close+0x34>         <== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc165d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc165d4:	48 00 40 b5 	bl      ffc1a688 <_Chain_Extract>              
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(fs_info, fat_fd->ino) )                
ffc165d8:	80 9f 00 0c 	lwz     r4,12(r31)                             
ffc165dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc165e0:	48 00 1e 59 	bl      ffc18438 <fat_ino_is_unique>           
ffc165e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc165e8:	40 9e 00 6c 	bne-    cr7,ffc16654 <fat_file_close+0xf4>     <== NEVER TAKEN
            fat_fd->links_num = 0;                                    
        }                                                             
        else                                                          
        {                                                             
            _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);   
            free(fat_fd);                                             
ffc165ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc165f0:	4b ff 01 21 	bl      ffc06710 <free>                        
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc165f4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc165f8:	83 a1 00 0c 	lwz     r29,12(r1)                             
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc165fc:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc16600:	7c 08 03 a6 	mtlr    r0                                     
ffc16604:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc16608:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1660c:	38 21 00 18 	addi    r1,r1,24                               
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc16610:	48 00 08 b0 	b       ffc16ec0 <fat_buf_release>             
                                                                      
        free(fat_fd);                                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(fs_info, fat_fd->ino))                  
ffc16614:	80 84 00 0c 	lwz     r4,12(r4)                              
ffc16618:	48 00 1e 21 	bl      ffc18438 <fat_ino_is_unique>           
ffc1661c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16620:	41 9e 00 28 	beq-    cr7,ffc16648 <fat_file_close+0xe8>     
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc16624:	80 01 00 1c 	lwz     r0,28(r1)                              
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc16628:	7f c3 f3 78 	mr      r3,r30                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(fs_info, fat_fd->ino))                  
        {                                                             
            fat_fd->links_num = 0;                                    
ffc1662c:	93 bf 00 08 	stw     r29,8(r31)                             
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc16630:	7c 08 03 a6 	mtlr    r0                                     
ffc16634:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc16638:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1663c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc16640:	38 21 00 18 	addi    r1,r1,24                               
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
ffc16644:	48 00 08 7c 	b       ffc16ec0 <fat_buf_release>             
ffc16648:	7f e3 fb 78 	mr      r3,r31                                 
ffc1664c:	48 00 40 3d 	bl      ffc1a688 <_Chain_Extract>              
ffc16650:	4b ff ff 9c 	b       ffc165ec <fat_file_close+0x8c>         
            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);                
ffc16654:	80 9f 00 0c 	lwz     r4,12(r31)                             <== NOT EXECUTED
ffc16658:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1665c:	48 00 1d b1 	bl      ffc1840c <fat_free_unique_ino>         <== NOT EXECUTED
ffc16660:	4b ff ff 8c 	b       ffc165ec <fat_file_close+0x8c>         <== NOT EXECUTED
                                                                      

ffc16764 <fat_file_extend>: fat_file_fd_t *fat_fd, bool zero_fill, uint32_t new_length, uint32_t *a_length ) {
ffc16764:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc16768:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    uint32_t       chain = 0;                                         
ffc1676c:	39 40 00 00 	li      r10,0                                  
    fat_file_fd_t                        *fat_fd,                     
    bool                                  zero_fill,                  
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
ffc16770:	93 81 00 30 	stw     r28,48(r1)                             
ffc16774:	7c fc 3b 78 	mr      r28,r7                                 
ffc16778:	90 01 00 44 	stw     r0,68(r1)                              
ffc1677c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc16780:	7c 9e 23 78 	mr      r30,r4                                 
ffc16784:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc16788:	7c df 33 78 	mr      r31,r6                                 
ffc1678c:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc16790:	93 01 00 20 	stw     r24,32(r1)                             
ffc16794:	93 21 00 24 	stw     r25,36(r1)                             
ffc16798:	93 41 00 28 	stw     r26,40(r1)                             
ffc1679c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc167a0:	93 a1 00 34 	stw     r29,52(r1)                             
    uint32_t       last_cl = 0;                                       
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
    ssize_t        bytes_written;                                     
                                                                      
    *a_length = new_length;                                           
ffc167a4:	90 dc 00 00 	stw     r6,0(r28)                              
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc167a8:	81 24 00 18 	lwz     r9,24(r4)                              
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       chain = 0;                                         
ffc167ac:	91 41 00 14 	stw     r10,20(r1)                             
    uint32_t       cls_added;                                         
    ssize_t        bytes_written;                                     
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc167b0:	7f 86 48 40 	cmplw   cr7,r6,r9                              
    int            rc = RC_OK;                                        
    uint32_t       chain = 0;                                         
    uint32_t       bytes2add = 0;                                     
    uint32_t       cls2add = 0;                                       
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
ffc167b4:	91 41 00 0c 	stw     r10,12(r1)                             
    uint32_t       cls_added;                                         
    ssize_t        bytes_written;                                     
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
ffc167b8:	40 9d 00 58 	ble-    cr7,ffc16810 <fat_file_extend+0xac>    
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc167bc:	81 44 00 20 	lwz     r10,32(r4)                             
ffc167c0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc167c4:	7c b9 2b 78 	mr      r25,r5                                 
ffc167c8:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc167cc:	41 9e 01 48 	beq-    cr7,ffc16914 <fat_file_extend+0x1b0>   
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
        rtems_set_errno_and_return_minus_one( ENOSPC );               
                                                                      
    bytes_remain = (fs_info->vol.bpc -                                
ffc167d0:	a3 5d 00 06 	lhz     r26,6(r29)                             
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
ffc167d4:	7d 09 f8 50 	subf    r8,r9,r31                              
                                                                      
    if (bytes2add > bytes_remain)                                     
        bytes2add -= bytes_remain;                                    
    else                                                              
        bytes2add = 0;                                                
ffc167d8:	3b 00 00 00 	li      r24,0                                  
    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))) &
ffc167dc:	39 5a ff ff 	addi    r10,r26,-1                             
ffc167e0:	7d 57 48 38 	and     r23,r10,r9                             
                                                                      
    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 -                                
ffc167e4:	7f 57 d0 50 	subf    r26,r23,r26                            
ffc167e8:	7f 5a 50 38 	and     r26,r26,r10                            
                   (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)                                     
ffc167ec:	7f 9a 40 40 	cmplw   cr7,r26,r8                             
ffc167f0:	40 9c 00 08 	bge-    cr7,ffc167f8 <fat_file_extend+0x94>    
        bytes2add -= bytes_remain;                                    
ffc167f4:	7f 1a 40 50 	subf    r24,r26,r8                             
    else                                                              
        bytes2add = 0;                                                
                                                                      
    if (zero_fill && bytes_remain > 0) {                              
ffc167f8:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc167fc:	41 9e 00 0c 	beq-    cr7,ffc16808 <fat_file_extend+0xa4>    
ffc16800:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc16804:	40 9e 01 3c 	bne-    cr7,ffc16940 <fat_file_extend+0x1dc>   
    /*                                                                
     * 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)                                               
ffc16808:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc1680c:	40 9e 00 40 	bne-    cr7,ffc1684c <fat_file_extend+0xe8>    
    ssize_t        bytes_written;                                     
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
ffc16810:	3b 60 00 00 	li      r27,0                                  
                                                                      
    *a_length = new_length;                                           
    fat_fd->fat_file_size = new_length;                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc16814:	80 01 00 44 	lwz     r0,68(r1)                              
ffc16818:	7f 63 db 78 	mr      r3,r27                                 
ffc1681c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc16820:	7c 08 03 a6 	mtlr    r0                                     
ffc16824:	83 01 00 20 	lwz     r24,32(r1)                             
ffc16828:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1682c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc16830:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc16834:	83 81 00 30 	lwz     r28,48(r1)                             
ffc16838:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1683c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc16840:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc16844:	38 21 00 40 	addi    r1,r1,64                               
ffc16848:	4e 80 00 20 	blr                                            
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc1684c:	89 3d 00 08 	lbz     r9,8(r29)                              
ffc16850:	3a f8 ff ff 	addi    r23,r24,-1                             
                                                                      
    rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,     
ffc16854:	7f a3 eb 78 	mr      r3,r29                                 
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
ffc16858:	7e f7 4c 30 	srw     r23,r23,r9                             
ffc1685c:	3a f7 00 01 	addi    r23,r23,1                              
                                                                      
    rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,     
ffc16860:	38 81 00 14 	addi    r4,r1,20                               
ffc16864:	7e e5 bb 78 	mr      r5,r23                                 
ffc16868:	38 c1 00 08 	addi    r6,r1,8                                
ffc1686c:	38 e1 00 0c 	addi    r7,r1,12                               
ffc16870:	7f 28 cb 78 	mr      r8,r25                                 
ffc16874:	48 00 83 21 	bl      ffc1eb94 <fat_scan_fat_for_free_clusters>
                                        &cls_added, &last_cl, zero_fill);
                                                                      
    /* this means that low level I/O error occured */                 
    if (rc != RC_OK)                                                  
ffc16878:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc1687c:	40 a2 ff 98 	bne-    ffc16814 <fat_file_extend+0xb0>        <== NEVER TAKEN
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
ffc16880:	81 21 00 08 	lwz     r9,8(r1)                               
ffc16884:	7f 4a 4b 79 	or.     r10,r26,r9                             
ffc16888:	41 82 00 a4 	beq-    ffc1692c <fat_file_extend+0x1c8>       <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
ffc1688c:	7f 97 48 00 	cmpw    cr7,r23,r9                             
ffc16890:	41 9e 00 24 	beq-    cr7,ffc168b4 <fat_file_extend+0x150>   <== ALWAYS TAKEN
    {                                                                 
        new_length -= bytes2add & (fs_info->vol.bpc - 1);             
ffc16894:	a1 1d 00 06 	lhz     r8,6(r29)                              <== NOT EXECUTED
        new_length -= (cls2add - cls_added) << fs_info->vol.bpc_log2; 
ffc16898:	7e e9 b8 50 	subf    r23,r9,r23                             <== NOT EXECUTED
ffc1689c:	89 5d 00 08 	lbz     r10,8(r29)                             <== 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);             
ffc168a0:	39 08 ff ff 	addi    r8,r8,-1                               <== NOT EXECUTED
ffc168a4:	7f 18 40 38 	and     r24,r24,r8                             <== NOT EXECUTED
ffc168a8:	7f f8 f8 50 	subf    r31,r24,r31                            <== NOT EXECUTED
        new_length -= (cls2add - cls_added) << fs_info->vol.bpc_log2; 
ffc168ac:	7e f7 50 30 	slw     r23,r23,r10                            <== NOT EXECUTED
ffc168b0:	7f f7 f8 50 	subf    r31,r23,r31                            <== NOT EXECUTED
    }                                                                 
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
ffc168b4:	80 de 00 18 	lwz     r6,24(r30)                             
ffc168b8:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc168bc:	40 9e 00 d8 	bne-    cr7,ffc16994 <fat_file_extend+0x230>   
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
ffc168c0:	81 41 00 14 	lwz     r10,20(r1)                             
        fat_fd->map.file_cln = 0;                                     
ffc168c4:	90 de 00 34 	stw     r6,52(r30)                             
    }                                                                 
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
ffc168c8:	91 5e 00 1c 	stw     r10,28(r30)                            
ffc168cc:	91 5e 00 38 	stw     r10,56(r30)                            
        }                                                             
        fat_buf_release(fs_info);                                     
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
ffc168d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc168d4:	41 9e 00 b4 	beq-    cr7,ffc16988 <fat_file_extend+0x224>   <== NEVER TAKEN
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
ffc168d8:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc168dc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
ffc168e0:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc168e4:	91 3e 00 3c 	stw     r9,60(r30)                             
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
ffc168e8:	40 be 00 a0 	bne+    cr7,ffc16988 <fat_file_extend+0x224>   
        {                                                             
            rc = fat_init_clusters_chain(fs_info, chain);             
ffc168ec:	80 81 00 14 	lwz     r4,20(r1)                              
ffc168f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc168f4:	48 00 19 29 	bl      ffc1821c <fat_init_clusters_chain>     
            if ( rc != RC_OK )                                        
ffc168f8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc168fc:	41 a2 00 8c 	beq+    ffc16988 <fat_file_extend+0x224>       <== ALWAYS TAKEN
            {                                                         
                fat_free_fat_clusters_chain(fs_info, chain);          
ffc16900:	80 81 00 14 	lwz     r4,20(r1)                              <== NOT EXECUTED
ffc16904:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc16908:	7f 5b d3 78 	mr      r27,r26                                <== NOT EXECUTED
ffc1690c:	48 00 81 4d 	bl      ffc1ea58 <fat_free_fat_clusters_chain> <== NOT EXECUTED
ffc16910:	4b ff ff 04 	b       ffc16814 <fat_file_extend+0xb0>        <== 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)) &&                               
ffc16914:	81 44 00 24 	lwz     r10,36(r4)                             
ffc16918:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1691c:	40 be fe b4 	bne-    cr7,ffc167d0 <fat_file_extend+0x6c>    <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc16920:	89 43 00 0e 	lbz     r10,14(r3)                             
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc16924:	71 48 00 03 	andi.   r8,r10,3                               
ffc16928:	41 82 fe a8 	beq+    ffc167d0 <fat_file_extend+0x6c>        <== NEVER TAKEN
    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);                 
ffc1692c:	48 00 9d 71 	bl      ffc2069c <__errno>                     
ffc16930:	39 20 00 1c 	li      r9,28                                  
ffc16934:	91 23 00 00 	stw     r9,0(r3)                               
ffc16938:	3b 60 ff ff 	li      r27,-1                                 
ffc1693c:	4b ff fe d8 	b       ffc16814 <fat_file_extend+0xb0>        
    else                                                              
        bytes2add = 0;                                                
                                                                      
    if (zero_fill && bytes_remain > 0) {                              
        uint32_t start = fat_fd->fat_file_size;                       
        uint32_t cl_start = start >> fs_info->vol.bpc_log2;           
ffc16940:	88 bd 00 08 	lbz     r5,8(r29)                              
        uint32_t ofs = start & (fs_info->vol.bpc - 1);                
        uint32_t cur_cln;                                             
                                                                      
        rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);     
ffc16944:	7f a3 eb 78 	mr      r3,r29                                 
ffc16948:	7f c4 f3 78 	mr      r4,r30                                 
ffc1694c:	7d 25 2c 30 	srw     r5,r9,r5                               
ffc16950:	38 c1 00 08 	addi    r6,r1,8                                
ffc16954:	4b ff f3 f1 	bl      ffc15d44 <fat_file_lseek>              
        if (rc != RC_OK)                                              
ffc16958:	7c 9b 23 79 	mr.     r27,r4                                 
ffc1695c:	40 82 fe b8 	bne+    ffc16814 <fat_file_extend+0xb0>        <== NEVER TAKEN
            return rc;                                                
                                                                      
        bytes_written = fat_cluster_set (fs_info, cur_cln, ofs, bytes_remain, 0);
ffc16960:	80 81 00 08 	lwz     r4,8(r1)                               
ffc16964:	7f a3 eb 78 	mr      r3,r29                                 
ffc16968:	7e e5 bb 78 	mr      r5,r23                                 
ffc1696c:	7f 46 d3 78 	mr      r6,r26                                 
ffc16970:	38 e0 00 00 	li      r7,0                                   
ffc16974:	48 00 0a 29 	bl      ffc1739c <fat_cluster_set>             
        if (bytes_remain != bytes_written)                            
            return -1;                                                
ffc16978:	3b 60 ff ff 	li      r27,-1                                 
        rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);     
        if (rc != RC_OK)                                              
            return rc;                                                
                                                                      
        bytes_written = fat_cluster_set (fs_info, cur_cln, ofs, bytes_remain, 0);
        if (bytes_remain != bytes_written)                            
ffc1697c:	7f 83 d0 00 	cmpw    cr7,r3,r26                             
ffc16980:	40 9e fe 94 	bne+    cr7,ffc16814 <fat_file_extend+0xb0>    <== NEVER TAKEN
ffc16984:	4b ff fe 84 	b       ffc16808 <fat_file_extend+0xa4>        
                return rc;                                            
            }                                                         
        }                                                             
    }                                                                 
                                                                      
    *a_length = new_length;                                           
ffc16988:	93 fc 00 00 	stw     r31,0(r28)                             
    fat_fd->fat_file_size = new_length;                               
ffc1698c:	93 fe 00 18 	stw     r31,24(r30)                            
ffc16990:	4b ff fe 84 	b       ffc16814 <fat_file_extend+0xb0>        
        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)              
ffc16994:	80 9e 00 3c 	lwz     r4,60(r30)                             
ffc16998:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc1699c:	41 9e 00 2c 	beq-    cr7,ffc169c8 <fat_file_extend+0x264>   <== NEVER TAKEN
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
ffc169a0:	90 81 00 10 	stw     r4,16(r1)                              
                fat_free_fat_clusters_chain(fs_info, chain);          
                return rc;                                            
            }                                                         
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, old_last_cl, chain);        
ffc169a4:	80 a1 00 14 	lwz     r5,20(r1)                              
ffc169a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc169ac:	48 00 7d 79 	bl      ffc1e724 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc169b0:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc169b4:	40 a2 ff 4c 	bne-    ffc16900 <fat_file_extend+0x19c>       <== NEVER TAKEN
        {                                                             
            fat_free_fat_clusters_chain(fs_info, chain);              
            return rc;                                                
        }                                                             
        fat_buf_release(fs_info);                                     
ffc169b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc169bc:	48 00 05 05 	bl      ffc16ec0 <fat_buf_release>             
ffc169c0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc169c4:	4b ff ff 0c 	b       ffc168d0 <fat_file_extend+0x16c>       
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(fs_info, fat_fd, F_CLU_NUM,           
ffc169c8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc169cc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc169d0:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc169d4:	38 c6 ff ff 	addi    r6,r6,-1                               <== NOT EXECUTED
ffc169d8:	38 e1 00 10 	addi    r7,r1,16                               <== NOT EXECUTED
ffc169dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc169e0:	4b ff fc 85 	bl      ffc16664 <fat_file_ioctl>              <== NOT EXECUTED
ffc169e4:	80 81 00 10 	lwz     r4,16(r1)                              <== NOT EXECUTED
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
ffc169e8:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc169ec:	41 82 ff b8 	beq+    ffc169a4 <fat_file_extend+0x240>       <== NOT EXECUTED
ffc169f0:	4b ff ff 10 	b       ffc16900 <fat_file_extend+0x19c>       <== NOT EXECUTED
                                                                      

ffc16664 <fat_file_ioctl>: uint32_t *ret; va_list ap; va_start(ap, cmd); switch (cmd)
ffc16664:	2f 85 00 01 	cmpwi   cr7,r5,1                               
fat_file_ioctl(                                                       
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
ffc16668:	94 21 ff d0 	stwu    r1,-48(r1)                             
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
ffc1666c:	39 40 00 00 	li      r10,0                                  
fat_file_ioctl(                                                       
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
ffc16670:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
ffc16674:	91 41 00 14 	stw     r10,20(r1)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc16678:	39 40 00 03 	li      r10,3                                  
ffc1667c:	39 21 00 10 	addi    r9,r1,16                               
ffc16680:	99 41 00 08 	stb     r10,8(r1)                              
ffc16684:	39 41 00 38 	addi    r10,r1,56                              
fat_file_ioctl(                                                       
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
ffc16688:	90 01 00 34 	stw     r0,52(r1)                              
ffc1668c:	93 c1 00 28 	stw     r30,40(r1)                             
ffc16690:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc16694:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc16698:	90 e1 00 20 	stw     r7,32(r1)                              
    uint32_t       cl_start = 0;                                      
    uint32_t       pos = 0;                                           
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
ffc1669c:	91 41 00 0c 	stw     r10,12(r1)                             
ffc166a0:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
    switch (cmd)                                                      
ffc166a4:	41 9e 00 2c 	beq-    cr7,ffc166d0 <fat_file_ioctl+0x6c>     <== ALWAYS TAKEN
                                                                      
            *ret = cur_cln;                                           
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc166a8:	48 00 9f f5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc166ac:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc166b0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
            rc = -1;                                                  
ffc166b4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc166b8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc166bc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc166c0:	7c 08 03 a6 	mtlr    r0                                     
ffc166c4:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc166c8:	38 21 00 30 	addi    r1,r1,48                               
ffc166cc:	4e 80 00 20 	blr                                            
        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 ) {                     
ffc166d0:	81 04 00 18 	lwz     r8,24(r4)                              
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
ffc166d4:	3b e0 00 05 	li      r31,5                                  
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
ffc166d8:	7c ca 33 78 	mr      r10,r6                                 
            ret = va_arg(ap, uint32_t *);                             
ffc166dc:	9b e1 00 08 	stb     r31,8(r1)                              
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc166e0:	7f 88 30 40 	cmplw   cr7,r8,r6                              
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
ffc166e4:	7c fe 3b 78 	mr      r30,r7                                 
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
ffc166e8:	40 9d 00 6c 	ble-    cr7,ffc16754 <fat_file_ioctl+0xf0>     <== NEVER TAKEN
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
ffc166ec:	81 24 00 20 	lwz     r9,32(r4)                              
ffc166f0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc166f4:	41 9e 00 3c 	beq-    cr7,ffc16730 <fat_file_ioctl+0xcc>     
                *ret  = 0;                                            
                rc = RC_OK;                                           
                break;                                                
            }                                                         
                                                                      
            cl_start = pos >> fs_info->vol.bpc_log2;                  
ffc166f8:	88 a3 00 08 	lbz     r5,8(r3)                               
                                                                      
            rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln); 
ffc166fc:	38 c1 00 14 	addi    r6,r1,20                               
ffc16700:	7d 45 2c 30 	srw     r5,r10,r5                              
ffc16704:	4b ff f6 41 	bl      ffc15d44 <fat_file_lseek>              
            if ( rc != RC_OK )                                        
ffc16708:	7c 83 23 79 	mr.     r3,r4                                  
ffc1670c:	40 a2 ff ac 	bne-    ffc166b8 <fat_file_ioctl+0x54>         <== NEVER TAKEN
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc16710:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
            rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln); 
            if ( rc != RC_OK )                                        
                break;                                                
                                                                      
            *ret = cur_cln;                                           
ffc16714:	81 21 00 14 	lwz     r9,20(r1)                              
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc16718:	7c 08 03 a6 	mtlr    r0                                     
ffc1671c:	83 e1 00 2c 	lwz     r31,44(r1)                             
                                                                      
            rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln); 
            if ( rc != RC_OK )                                        
                break;                                                
                                                                      
            *ret = cur_cln;                                           
ffc16720:	91 3e 00 00 	stw     r9,0(r30)                              
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
ffc16724:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc16728:	38 21 00 30 	addi    r1,r1,48                               
ffc1672c:	4e 80 00 20 	blr                                            
            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)) &&                       
ffc16730:	81 24 00 24 	lwz     r9,36(r4)                              
ffc16734:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16738:	40 be ff c0 	bne-    cr7,ffc166f8 <fat_file_ioctl+0x94>     <== NEVER TAKEN
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc1673c:	89 03 00 0e 	lbz     r8,14(r3)                              
            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)) &&                       
ffc16740:	71 07 00 03 	andi.   r7,r8,3                                
ffc16744:	41 a2 ff b4 	beq-    ffc166f8 <fat_file_ioctl+0x94>         
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
            {                                                         
                /* cluster 0 (zero) reserved for root dir */          
                *ret  = 0;                                            
ffc16748:	91 3e 00 00 	stw     r9,0(r30)                              
                rc = RC_OK;                                           
ffc1674c:	38 60 00 00 	li      r3,0                                   
                break;                                                
ffc16750:	4b ff ff 68 	b       ffc166b8 <fat_file_ioctl+0x54>         
            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 );          
ffc16754:	48 00 9f 49 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc16758:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc1675c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc16760:	4b ff ff 58 	b       ffc166b8 <fat_file_ioctl+0x54>         <== NOT EXECUTED
                                                                      

ffc15d44 <fat_file_lseek>: fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd, uint32_t file_cln, uint32_t *disk_cln ) {
ffc15d44:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc15d48:	7c 08 02 a6 	mflr    r0                                     
ffc15d4c:	90 01 00 34 	stw     r0,52(r1)                              
ffc15d50:	93 c1 00 28 	stw     r30,40(r1)                             
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc15d54:	83 c4 00 34 	lwz     r30,52(r4)                             
    fat_fs_info_t                         *fs_info,                   
    fat_file_fd_t                         *fat_fd,                    
    uint32_t                               file_cln,                  
    uint32_t                              *disk_cln                   
    )                                                                 
{                                                                     
ffc15d58:	93 41 00 18 	stw     r26,24(r1)                             
ffc15d5c:	7c da 33 78 	mr      r26,r6                                 
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc15d60:	7f 9e 28 00 	cmpw    cr7,r30,r5                             
    fat_fs_info_t                         *fs_info,                   
    fat_file_fd_t                         *fat_fd,                    
    uint32_t                               file_cln,                  
    uint32_t                              *disk_cln                   
    )                                                                 
{                                                                     
ffc15d64:	93 61 00 1c 	stw     r27,28(r1)                             
ffc15d68:	7c 9b 23 78 	mr      r27,r4                                 
ffc15d6c:	93 81 00 20 	stw     r28,32(r1)                             
ffc15d70:	7c bc 2b 78 	mr      r28,r5                                 
ffc15d74:	93 a1 00 24 	stw     r29,36(r1)                             
ffc15d78:	93 e1 00 2c 	stw     r31,44(r1)                             
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
ffc15d7c:	41 9e 00 d8 	beq-    cr7,ffc15e54 <fat_file_lseek+0x110>    
    {                                                                 
        uint32_t   cur_cln;                                           
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
ffc15d80:	7f 9e 28 40 	cmplw   cr7,r30,r5                             
ffc15d84:	7c 7d 1b 78 	mr      r29,r3                                 
ffc15d88:	41 9c 00 74 	blt-    cr7,ffc15dfc <fat_file_lseek+0xb8>     
            cur_cln = fat_fd->map.disk_cln;                           
            count = file_cln - fat_fd->map.file_cln;                  
        }                                                             
        else                                                          
        {                                                             
            cur_cln = fat_fd->cln;                                    
ffc15d8c:	81 24 00 1c 	lwz     r9,28(r4)                              
ffc15d90:	7c be 2b 78 	mr      r30,r5                                 
ffc15d94:	91 21 00 08 	stw     r9,8(r1)                               
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc15d98:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc15d9c:	3b e0 00 00 	li      r31,0                                  
ffc15da0:	41 9e 00 6c 	beq-    cr7,ffc15e0c <fat_file_lseek+0xc8>     
        {                                                             
            rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);     
ffc15da4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc15da8:	7f a3 eb 78 	mr      r3,r29                                 
ffc15dac:	38 a1 00 08 	addi    r5,r1,8                                
ffc15db0:	48 00 87 25 	bl      ffc1e4d4 <fat_get_fat_cluster>         
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc15db4:	3b ff 00 01 	addi    r31,r31,1                              
        {                                                             
            rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);     
            if ( rc != RC_OK )                                        
ffc15db8:	2c 03 00 00 	cmpwi   r3,0                                   
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
ffc15dbc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
        {                                                             
            rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);     
            if ( rc != RC_OK )                                        
ffc15dc0:	41 82 ff e0 	beq+    ffc15da0 <fat_file_lseek+0x5c>         <== ALWAYS TAKEN
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15dc4:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
        {                                                             
            rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);     
            if ( rc != RC_OK )                                        
                return rc;                                            
ffc15dc8:	7c 6b 1b 78 	mr      r11,r3                                 <== NOT EXECUTED
ffc15dcc:	7c 6a fe 70 	srawi   r10,r3,31                              <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15dd0:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc15dd4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15dd8:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc15ddc:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc15de0:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc15de4:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc15de8:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc15dec:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc15df0:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc15df4:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc15df8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
ffc15dfc:	81 24 00 38 	lwz     r9,56(r4)                              
            count = file_cln - fat_fd->map.file_cln;                  
ffc15e00:	7f de 28 50 	subf    r30,r30,r5                             
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
ffc15e04:	91 21 00 08 	stw     r9,8(r1)                               
ffc15e08:	4b ff ff 90 	b       ffc15d98 <fat_file_lseek+0x54>         
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15e0c:	80 01 00 34 	lwz     r0,52(r1)                              
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc15e10:	39 40 00 00 	li      r10,0                                  
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
ffc15e14:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc15e18:	39 60 00 00 	li      r11,0                                  
}                                                                     
ffc15e1c:	7c 08 03 a6 	mtlr    r0                                     
            if ( rc != RC_OK )                                        
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
ffc15e20:	93 9b 00 34 	stw     r28,52(r27)                            
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15e24:	7d 43 53 78 	mr      r3,r10                                 
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
ffc15e28:	91 3b 00 38 	stw     r9,56(r27)                             
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15e2c:	7d 64 5b 78 	mr      r4,r11                                 
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
ffc15e30:	91 3a 00 00 	stw     r9,0(r26)                              
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15e34:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc15e38:	83 41 00 18 	lwz     r26,24(r1)                             
ffc15e3c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc15e40:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc15e44:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc15e48:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc15e4c:	38 21 00 30 	addi    r1,r1,48                               
ffc15e50:	4e 80 00 20 	blr                                            
ffc15e54:	80 01 00 34 	lwz     r0,52(r1)                              
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc15e58:	39 40 00 00 	li      r10,0                                  
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
ffc15e5c:	81 24 00 38 	lwz     r9,56(r4)                              
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
ffc15e60:	39 60 00 00 	li      r11,0                                  
}                                                                     
ffc15e64:	7c 08 03 a6 	mtlr    r0                                     
ffc15e68:	83 41 00 18 	lwz     r26,24(r1)                             
ffc15e6c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc15e70:	7d 43 53 78 	mr      r3,r10                                 
ffc15e74:	83 81 00 20 	lwz     r28,32(r1)                             
ffc15e78:	7d 64 5b 78 	mr      r4,r11                                 
ffc15e7c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc15e80:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc15e84:	83 e1 00 2c 	lwz     r31,44(r1)                             
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
ffc15e88:	91 26 00 00 	stw     r9,0(r6)                               
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
ffc15e8c:	38 21 00 30 	addi    r1,r1,48                               
ffc15e90:	4e 80 00 20 	blr                                            
                                                                      

ffc16cf0 <fat_file_mark_removed>: void fat_file_mark_removed( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
ffc16cf0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc16cf4:	7c 08 02 a6 	mflr    r0                                     
ffc16cf8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc16cfc:	81 24 00 20 	lwz     r9,32(r4)                              
ffc16d00:	93 c1 00 10 	stw     r30,16(r1)                             
ffc16d04:	7c 7e 1b 78 	mr      r30,r3                                 
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
ffc16d08:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc16d0c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc16d10:	7c 9f 23 78 	mr      r31,r4                                 
ffc16d14:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc16d18:	41 9e 00 9c 	beq-    cr7,ffc16db4 <fat_file_mark_removed+0xc4><== NEVER TAKEN
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)) )
ffc16d1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16d20:	41 9e 00 80 	beq-    cr7,ffc16da0 <fat_file_mark_removed+0xb0><== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc16d24:	89 1e 00 05 	lbz     r8,5(r30)                              <== NOT EXECUTED
ffc16d28:	3b a9 ff fe 	addi    r29,r9,-2                              <== NOT EXECUTED
ffc16d2c:	81 5e 00 34 	lwz     r10,52(r30)                            <== NOT EXECUTED
ffc16d30:	7f bd 40 30 	slw     r29,r29,r8                             <== NOT EXECUTED
ffc16d34:	7f bd 52 14 	add     r29,r29,r10                            <== NOT EXECUTED
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
ffc16d38:	89 5e 00 03 	lbz     r10,3(r30)                             
ffc16d3c:	7f bd 50 30 	slw     r29,r29,r10                            
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc16d40:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc16d44:	7f e3 fb 78 	mr      r3,r31                                 
ffc16d48:	55 48 ba 7e 	rlwinm  r8,r10,23,9,31                         
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) +  
ffc16d4c:	7f bd 42 14 	add     r29,r29,r8                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc16d50:	55 4a df 3e 	rlwinm  r10,r10,27,28,31                       
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)              +  
ffc16d54:	57 bd 20 36 	rlwinm  r29,r29,4,0,27                         
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) +  
ffc16d58:	7f bd 52 14 	add     r29,r29,r10                            
ffc16d5c:	48 00 39 2d 	bl      ffc1a688 <_Chain_Extract>              
 */                                                                   
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);
ffc16d60:	57 bd 07 fe 	clrlwi  r29,r29,31                             
ffc16d64:	80 7e 00 70 	lwz     r3,112(r30)                            
ffc16d68:	1f bd 00 0c 	mulli   r29,r29,12                             
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc16d6c:	7f e4 fb 78 	mr      r4,r31                                 
ffc16d70:	7c 63 ea 14 	add     r3,r3,r29                              
ffc16d74:	4b ff 5b 9d 	bl      ffc0c910 <_Chain_Append>               
                                                                      
    _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;                                
ffc16d78:	89 3f 00 30 	lbz     r9,48(r31)                             
ffc16d7c:	61 29 00 01 	ori     r9,r9,1                                
ffc16d80:	99 3f 00 30 	stb     r9,48(r31)                             
}                                                                     
ffc16d84:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc16d88:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc16d8c:	7c 08 03 a6 	mtlr    r0                                     
ffc16d90:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc16d94:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc16d98:	38 21 00 18 	addi    r1,r1,24                               
ffc16d9c:	4e 80 00 20 	blr                                            
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)) )
ffc16da0:	89 43 00 0e 	lbz     r10,14(r3)                             
ffc16da4:	71 48 00 03 	andi.   r8,r10,3                               
ffc16da8:	41 a2 ff 7c 	beq-    ffc16d24 <fat_file_mark_removed+0x34>  <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc16dac:	83 a3 00 20 	lwz     r29,32(r3)                             
ffc16db0:	4b ff ff 88 	b       ffc16d38 <fat_file_mark_removed+0x48>  
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
ffc16db4:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
ffc16db8:	4b ff ff 88 	b       ffc16d40 <fat_file_mark_removed+0x50>  <== NOT EXECUTED
                                                                      

ffc15e94 <fat_file_open>: fat_file_open( fat_fs_info_t *fs_info, fat_dir_pos_t *dir_pos, fat_file_fd_t **fat_fd ) {
ffc15e94:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc15e98:	7c 08 02 a6 	mflr    r0                                     
ffc15e9c:	90 01 00 2c 	stw     r0,44(r1)                              
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) +  
ffc15ea0:	81 24 00 00 	lwz     r9,0(r4)                               
ffc15ea4:	93 81 00 18 	stw     r28,24(r1)                             
ffc15ea8:	7c bc 2b 78 	mr      r28,r5                                 
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
ffc15eac:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc15eb0:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc15eb4:	7c 9d 23 78 	mr      r29,r4                                 
ffc15eb8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc15ebc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc15ec0:	93 21 00 0c 	stw     r25,12(r1)                             
ffc15ec4:	93 41 00 10 	stw     r26,16(r1)                             
ffc15ec8:	93 61 00 14 	stw     r27,20(r1)                             
ffc15ecc:	93 c1 00 20 	stw     r30,32(r1)                             
ffc15ed0:	41 9e 02 8c 	beq-    cr7,ffc1615c <fat_file_open+0x2c8>     
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)) )
ffc15ed4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15ed8:	41 9e 01 a0 	beq-    cr7,ffc16078 <fat_file_open+0x1e4>     
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc15edc:	89 1f 00 05 	lbz     r8,5(r31)                              
ffc15ee0:	3b c9 ff fe 	addi    r30,r9,-2                              
ffc15ee4:	81 5f 00 34 	lwz     r10,52(r31)                            
ffc15ee8:	7f de 40 30 	slw     r30,r30,r8                             
ffc15eec:	7f de 52 14 	add     r30,r30,r10                            
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
ffc15ef0:	89 5f 00 03 	lbz     r10,3(r31)                             
ffc15ef4:	7f de 50 30 	slw     r30,r30,r10                            
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15ef8:	81 5d 00 04 	lwz     r10,4(r29)                             
    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);       
ffc15efc:	81 3f 00 6c 	lwz     r9,108(r31)                            
ffc15f00:	55 48 ba 7e 	rlwinm  r8,r10,23,9,31                         
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) +  
ffc15f04:	7f de 42 14 	add     r30,r30,r8                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15f08:	57 de 20 36 	rlwinm  r30,r30,4,0,27                         
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc15f0c:	55 4a df 3e 	rlwinm  r10,r10,27,28,31                       
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) +  
ffc15f10:	7f de 52 14 	add     r30,r30,r10                            
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
ffc15f14:	57 db 07 fe 	clrlwi  r27,r30,31                             
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
ffc15f18:	1f 7b 00 0c 	mulli   r27,r27,12                             
ffc15f1c:	7c c9 da 14 	add     r6,r9,r27                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc15f20:	7d 29 d8 2e 	lwzx    r9,r9,r27                              
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 ));            
ffc15f24:	38 c6 00 04 	addi    r6,r6,4                                
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
ffc15f28:	7f 89 30 00 	cmpw    cr7,r9,r6                              
ffc15f2c:	41 9e 00 60 	beq-    cr7,ffc15f8c <fat_file_open+0xf8>      
ffc15f30:	81 49 00 20 	lwz     r10,32(r9)                             
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
ffc15f34:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
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)) )
ffc15f38:	2f 0a 00 00 	cmpwi   cr6,r10,0                              
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc15f3c:	39 4a ff fe 	addi    r10,r10,-2                             
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
ffc15f40:	41 9e 01 30 	beq-    cr7,ffc16070 <fat_file_open+0x1dc>     
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)) )
ffc15f44:	40 9a 00 d8 	bne-    cr6,ffc1601c <fat_file_open+0x188>     
ffc15f48:	89 1f 00 0e 	lbz     r8,14(r31)                             
ffc15f4c:	71 07 00 03 	andi.   r7,r8,3                                
ffc15f50:	41 82 00 cc 	beq-    ffc1601c <fat_file_open+0x188>         <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc15f54:	81 5f 00 20 	lwz     r10,32(r31)                            
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
ffc15f58:	89 1f 00 03 	lbz     r8,3(r31)                              
ffc15f5c:	7d 4a 40 30 	slw     r10,r10,r8                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15f60:	81 09 00 24 	lwz     r8,36(r9)                              
ffc15f64:	55 07 ba 7e 	rlwinm  r7,r8,23,9,31                          
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) +  
ffc15f68:	7d 4a 3a 14 	add     r10,r10,r7                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15f6c:	55 4a 20 36 	rlwinm  r10,r10,4,0,27                         
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc15f70:	55 08 df 3e 	rlwinm  r8,r8,27,28,31                         
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) +  
ffc15f74:	7d 0a 42 14 	add     r8,r10,r8                              
    {                                                                 
        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)                                            
ffc15f78:	7f 9e 40 00 	cmpw    cr7,r30,r8                             
ffc15f7c:	41 9e 00 b4 	beq-    cr7,ffc16030 <fat_file_open+0x19c>     
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
ffc15f80:	81 29 00 00 	lwz     r9,0(r9)                               
    )                                                                 
{                                                                     
    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) ; )          
ffc15f84:	7f 86 48 00 	cmpw    cr7,r6,r9                              
ffc15f88:	40 9e ff a8 	bne+    cr7,ffc15f30 <fat_file_open+0x9c>      
    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);       
ffc15f8c:	81 3f 00 70 	lwz     r9,112(r31)                            
        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) )              
ffc15f90:	2f 1e 00 00 	cmpwi   cr6,r30,0                              
    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);       
ffc15f94:	7c c9 da 14 	add     r6,r9,r27                              
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc15f98:	7d 29 d8 2e 	lwzx    r9,r9,r27                              
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 ));            
ffc15f9c:	38 c6 00 04 	addi    r6,r6,4                                
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
ffc15fa0:	7f 89 30 00 	cmpw    cr7,r9,r6                              
ffc15fa4:	40 be 00 4c 	bne+    cr7,ffc15ff0 <fat_file_open+0x15c>     <== NEVER TAKEN
ffc15fa8:	48 00 01 ac 	b       ffc16154 <fat_file_open+0x2c0>         
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)) )
ffc15fac:	89 1f 00 0e 	lbz     r8,14(r31)                             <== NOT EXECUTED
ffc15fb0:	71 07 00 03 	andi.   r7,r8,3                                <== NOT EXECUTED
ffc15fb4:	41 82 00 50 	beq-    ffc16004 <fat_file_open+0x170>         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc15fb8:	81 5f 00 20 	lwz     r10,32(r31)                            <== NOT EXECUTED
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
ffc15fbc:	89 1f 00 03 	lbz     r8,3(r31)                              <== NOT EXECUTED
ffc15fc0:	7d 4a 40 30 	slw     r10,r10,r8                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15fc4:	81 09 00 24 	lwz     r8,36(r9)                              <== NOT EXECUTED
ffc15fc8:	55 07 ba 7e 	rlwinm  r7,r8,23,9,31                          <== 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) +  
ffc15fcc:	7d 4a 3a 14 	add     r10,r10,r7                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
ffc15fd0:	55 4a 20 36 	rlwinm  r10,r10,4,0,27                         <== NOT EXECUTED
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
ffc15fd4:	55 08 df 3e 	rlwinm  r8,r8,27,28,31                         <== 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) +  
ffc15fd8:	7d 0a 42 14 	add     r8,r10,r8                              <== 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)                                            
ffc15fdc:	7f 9e 40 00 	cmpw    cr7,r30,r8                             <== NOT EXECUTED
ffc15fe0:	41 9e 00 ac 	beq-    cr7,ffc1608c <fat_file_open+0x1f8>     <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
ffc15fe4:	81 29 00 00 	lwz     r9,0(r9)                               <== 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) ; )          
ffc15fe8:	7f 89 30 00 	cmpw    cr7,r9,r6                              <== NOT EXECUTED
ffc15fec:	41 9e 01 68 	beq-    cr7,ffc16154 <fat_file_open+0x2c0>     <== NOT EXECUTED
ffc15ff0:	81 49 00 20 	lwz     r10,32(r9)                             <== NOT EXECUTED
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
ffc15ff4:	2f 8a 00 01 	cmpwi   cr7,r10,1                              <== NOT EXECUTED
ffc15ff8:	41 9e 01 54 	beq-    cr7,ffc1614c <fat_file_open+0x2b8>     <== 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)) )
ffc15ffc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc16000:	41 be ff ac 	beq-    cr7,ffc15fac <fat_file_open+0x118>     <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc16004:	88 ff 00 05 	lbz     r7,5(r31)                              <== NOT EXECUTED
ffc16008:	39 4a ff fe 	addi    r10,r10,-2                             <== NOT EXECUTED
ffc1600c:	81 1f 00 34 	lwz     r8,52(r31)                             <== NOT EXECUTED
ffc16010:	7d 4a 38 30 	slw     r10,r10,r7                             <== NOT EXECUTED
ffc16014:	7d 4a 42 14 	add     r10,r10,r8                             <== NOT EXECUTED
ffc16018:	4b ff ff a4 	b       ffc15fbc <fat_file_open+0x128>         <== NOT EXECUTED
ffc1601c:	88 ff 00 05 	lbz     r7,5(r31)                              
ffc16020:	81 1f 00 34 	lwz     r8,52(r31)                             
ffc16024:	7d 4a 38 30 	slw     r10,r10,r7                             
ffc16028:	7d 4a 42 14 	add     r10,r10,r8                             
ffc1602c:	4b ff ff 2c 	b       ffc15f58 <fat_file_open+0xc4>          
    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;                                          
        lfat_fd->links_num++;                                         
ffc16030:	81 49 00 08 	lwz     r10,8(r9)                              
ffc16034:	38 60 00 00 	li      r3,0                                   
    /* 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;                                          
ffc16038:	91 3c 00 00 	stw     r9,0(r28)                              
        lfat_fd->links_num++;                                         
ffc1603c:	39 4a 00 01 	addi    r10,r10,1                              
ffc16040:	91 49 00 08 	stw     r10,8(r9)                              
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc16044:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc16048:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc1604c:	7c 08 03 a6 	mtlr    r0                                     
ffc16050:	83 41 00 10 	lwz     r26,16(r1)                             
ffc16054:	83 61 00 14 	lwz     r27,20(r1)                             
ffc16058:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1605c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc16060:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc16064:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc16068:	38 21 00 28 	addi    r1,r1,40                               
ffc1606c:	4e 80 00 20 	blr                                            
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
ffc16070:	39 40 00 01 	li      r10,1                                  
ffc16074:	4b ff fe ec 	b       ffc15f60 <fat_file_open+0xcc>          
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)) )
ffc16078:	89 43 00 0e 	lbz     r10,14(r3)                             
ffc1607c:	71 47 00 03 	andi.   r7,r10,3                               
ffc16080:	41 a2 fe 5c 	beq-    ffc15edc <fat_file_open+0x48>          <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc16084:	83 c3 00 20 	lwz     r30,32(r3)                             
ffc16088:	4b ff fe 68 	b       ffc15ef0 <fat_file_open+0x5c>          
        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) )              
ffc1608c:	41 9a 00 10 	beq-    cr6,ffc1609c <fat_file_open+0x208>     <== NOT EXECUTED
ffc16090:	81 49 00 0c 	lwz     r10,12(r9)                             <== NOT EXECUTED
ffc16094:	7f 9e 50 00 	cmpw    cr7,r30,r10                            <== NOT EXECUTED
ffc16098:	40 9e ff 4c 	bne+    cr7,ffc15fe4 <fat_file_open+0x150>     <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
ffc1609c:	3b 20 00 00 	li      r25,0                                  <== 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));
ffc160a0:	38 60 00 44 	li      r3,68                                  
ffc160a4:	4b ff 0c f9 	bl      ffc06d9c <malloc>                      
    if ( lfat_fd == NULL )                                            
ffc160a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
                                                                      
    /* 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));
ffc160ac:	90 7c 00 00 	stw     r3,0(r28)                              
ffc160b0:	7c 7a 1b 78 	mr      r26,r3                                 
    if ( lfat_fd == NULL )                                            
ffc160b4:	41 9e 00 cc 	beq-    cr7,ffc16180 <fat_file_open+0x2ec>     <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
ffc160b8:	38 a0 00 44 	li      r5,68                                  
ffc160bc:	38 80 00 00 	li      r4,0                                   
ffc160c0:	48 00 b3 b1 	bl      ffc21470 <memset>                      
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
                                                                      
    if ( rc != RC_OK )                                                
ffc160c4:	2f 99 00 00 	cmpwi   cr7,r25,0                              
        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;                              
ffc160c8:	89 5a 00 30 	lbz     r10,48(r26)                            
    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;                                           
ffc160cc:	38 a0 00 01 	li      r5,1                                   
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc160d0:	80 dd 00 00 	lwz     r6,0(r29)                              
ffc160d4:	80 fd 00 04 	lwz     r7,4(r29)                              
        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;                              
ffc160d8:	55 4a 00 3c 	rlwinm  r10,r10,0,0,30                         
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc160dc:	81 1d 00 08 	lwz     r8,8(r29)                              
ffc160e0:	81 3d 00 0c 	lwz     r9,12(r29)                             
        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;                              
ffc160e4:	99 5a 00 30 	stb     r10,48(r26)                            
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
ffc160e8:	39 40 ff ff 	li      r10,-1                                 
    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;                                           
ffc160ec:	90 ba 00 08 	stw     r5,8(r26)                              
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
ffc160f0:	91 5a 00 3c 	stw     r10,60(r26)                            
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
ffc160f4:	90 da 00 20 	stw     r6,32(r26)                             
ffc160f8:	90 fa 00 24 	stw     r7,36(r26)                             
ffc160fc:	91 1a 00 28 	stw     r8,40(r26)                             
ffc16100:	91 3a 00 2c 	stw     r9,44(r26)                             
                                                                      
    if ( rc != RC_OK )                                                
ffc16104:	41 9e 00 60 	beq-    cr7,ffc16164 <fat_file_open+0x2d0>     <== NEVER TAKEN
        lfat_fd->ino = key;                                           
ffc16108:	93 da 00 0c 	stw     r30,12(r26)                            
 */                                                                   
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);
ffc1610c:	80 7f 00 6c 	lwz     r3,108(r31)                            
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc16110:	7f 44 d3 78 	mr      r4,r26                                 
ffc16114:	7c 63 da 14 	add     r3,r3,r27                              
ffc16118:	4b ff 67 f9 	bl      ffc0c910 <_Chain_Append>               
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1611c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc16120:	83 21 00 0c 	lwz     r25,12(r1)                             
    /*                                                                
     * other fields of fat-file descriptor will be initialized on upper
     * level                                                          
     */                                                               
                                                                      
    return RC_OK;                                                     
ffc16124:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc16128:	7c 08 03 a6 	mtlr    r0                                     
ffc1612c:	83 41 00 10 	lwz     r26,16(r1)                             
ffc16130:	83 61 00 14 	lwz     r27,20(r1)                             
ffc16134:	83 81 00 18 	lwz     r28,24(r1)                             
ffc16138:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1613c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc16140:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc16144:	38 21 00 28 	addi    r1,r1,40                               
ffc16148:	4e 80 00 20 	blr                                            
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
ffc1614c:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc16150:	4b ff fe 74 	b       ffc15fc4 <fat_file_open+0x130>         <== NOT EXECUTED
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
    }                                                                 
    return -1;                                                        
ffc16154:	3b 20 ff ff 	li      r25,-1                                 
ffc16158:	4b ff ff 48 	b       ffc160a0 <fat_file_open+0x20c>         
ffc1615c:	3b c0 00 01 	li      r30,1                                  
ffc16160:	4b ff fd 98 	b       ffc15ef8 <fat_file_open+0x64>          
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(fs_info);                   
ffc16164:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16168:	48 00 21 81 	bl      ffc182e8 <fat_get_unique_ino>          <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc1616c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(fs_info);                   
ffc16170:	90 7a 00 0c 	stw     r3,12(r26)                             <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
ffc16174:	40 9e ff 98 	bne+    cr7,ffc1610c <fat_file_open+0x278>     <== NOT EXECUTED
        {                                                             
            free((*fat_fd));                                          
ffc16178:	80 7c 00 00 	lwz     r3,0(r28)                              <== NOT EXECUTED
ffc1617c:	4b ff 05 95 	bl      ffc06710 <free>                        <== 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 );           
ffc16180:	48 00 a5 1d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc16184:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc16188:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1618c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc16190:	4b ff fe b4 	b       ffc16044 <fat_file_open+0x1b0>         <== NOT EXECUTED
                                                                      

ffc161ac <fat_file_read>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, uint8_t *buf ) {
ffc161ac:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc161b0:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc161b4:	39 20 00 00 	li      r9,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc161b8:	93 c1 00 30 	stw     r30,48(r1)                             
    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)                                                   
ffc161bc:	7c de 33 79 	mr.     r30,r6                                 
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
ffc161c0:	90 01 00 3c 	stw     r0,60(r1)                              
ffc161c4:	93 01 00 18 	stw     r24,24(r1)                             
ffc161c8:	93 21 00 1c 	stw     r25,28(r1)                             
ffc161cc:	93 41 00 20 	stw     r26,32(r1)                             
ffc161d0:	93 61 00 24 	stw     r27,36(r1)                             
ffc161d4:	93 81 00 28 	stw     r28,40(r1)                             
ffc161d8:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc161dc:	93 e1 00 34 	stw     r31,52(r1)                             
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc161e0:	91 21 00 08 	stw     r9,8(r1)                               
    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)                                                   
ffc161e4:	41 82 01 6c 	beq-    ffc16350 <fat_file_read+0x1a4>         <== NEVER TAKEN
                                                                      
    /*                                                                
     * >= because start is offset and computed from 0 and file_size   
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
ffc161e8:	81 24 00 18 	lwz     r9,24(r4)                              
ffc161ec:	7c 7f 1b 78 	mr      r31,r3                                 
ffc161f0:	7c 9b 23 78 	mr      r27,r4                                 
ffc161f4:	7f 89 28 40 	cmplw   cr7,r9,r5                              
ffc161f8:	7c bd 2b 78 	mr      r29,r5                                 
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    /* it couldn't be removed - otherwise cache update will be broken */
    if (count == 0)                                                   
        return cmpltd;                                                
ffc161fc:	38 60 00 00 	li      r3,0                                   
                                                                      
    /*                                                                
     * >= because start is offset and computed from 0 and file_size   
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
ffc16200:	40 9d 01 20 	ble-    cr7,ffc16320 <fat_file_read+0x174>     
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc16204:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc16208:	7c fa 3b 78 	mr      r26,r7                                 
ffc1620c:	40 9d 01 78 	ble-    cr7,ffc16384 <fat_file_read+0x1d8>     <== ALWAYS TAKEN
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
ffc16210:	7f dd 48 50 	subf    r30,r29,r9                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc16214:	81 3b 00 20 	lwz     r9,32(r27)                             
ffc16218:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1621c:	41 9e 01 78 	beq-    cr7,ffc16394 <fat_file_read+0x1e8>     
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc16220:	8b 3f 00 08 	lbz     r25,8(r31)                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
ffc16224:	7f e3 fb 78 	mr      r3,r31                                 
ffc16228:	7f 64 db 78 	mr      r4,r27                                 
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc1622c:	a3 1f 00 06 	lhz     r24,6(r31)                             
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
ffc16230:	7f b9 cc 30 	srw     r25,r29,r25                            
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
ffc16234:	7f 25 cb 78 	mr      r5,r25                                 
ffc16238:	38 c1 00 08 	addi    r6,r1,8                                
ffc1623c:	4b ff fb 09 	bl      ffc15d44 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc16240:	7c 83 23 79 	mr.     r3,r4                                  
ffc16244:	40 82 00 dc 	bne-    ffc16320 <fat_file_read+0x174>         <== NEVER TAKEN
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc16248:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
ffc1624c:	3b 18 ff ff 	addi    r24,r24,-1                             
ffc16250:	7f b8 c0 38 	and     r24,r29,r24                            
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc16254:	41 9e 01 cc 	beq-    cr7,ffc16420 <fat_file_read+0x274>     <== NEVER TAKEN
ffc16258:	89 1f 00 02 	lbz     r8,2(r31)                              
ffc1625c:	7f 05 c3 78 	mr      r5,r24                                 
ffc16260:	a0 ff 00 00 	lhz     r7,0(r31)                              
ffc16264:	3b 80 00 00 	li      r28,0                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc16268:	a3 bf 00 06 	lhz     r29,6(r31)                             
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
ffc1626c:	81 41 00 08 	lwz     r10,8(r1)                              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
ffc16270:	7f a5 e8 50 	subf    r29,r5,r29                             
ffc16274:	7f 1d f0 40 	cmplw   cr6,r29,r30                            
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)) )
ffc16278:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1627c:	39 4a ff fe 	addi    r10,r10,-2                             
ffc16280:	40 99 00 08 	ble-    cr6,ffc16288 <fat_file_read+0xdc>      
ffc16284:	7f dd f3 78 	mr      r29,r30                                
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)) )
ffc16288:	40 9e 01 6c 	bne-    cr7,ffc163f4 <fat_file_read+0x248>     <== ALWAYS TAKEN
ffc1628c:	88 df 00 0e 	lbz     r6,14(r31)                             <== NOT EXECUTED
ffc16290:	70 c9 00 03 	andi.   r9,r6,3                                <== NOT EXECUTED
ffc16294:	41 82 01 60 	beq-    ffc163f4 <fat_file_read+0x248>         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
ffc16298:	80 9f 00 20 	lwz     r4,32(r31)                             <== NOT EXECUTED
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
ffc1629c:	7c a8 44 30 	srw     r8,r5,r8                               
        byte = ofs & (fs_info->vol.bps - 1);                          
ffc162a0:	38 e7 ff ff 	addi    r7,r7,-1                               
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
ffc162a4:	7c a5 38 38 	and     r5,r5,r7                               
ffc162a8:	7c 84 42 14 	add     r4,r4,r8                               
ffc162ac:	7c fa e2 14 	add     r7,r26,r28                             
ffc162b0:	7f a6 eb 78 	mr      r6,r29                                 
ffc162b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc162b8:	48 00 0e e5 	bl      ffc1719c <_fat_block_read>             
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
ffc162bc:	7f dd f0 50 	subf    r30,r29,r30                            
        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 )                                                
ffc162c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
ffc162c4:	38 a1 00 08 	addi    r5,r1,8                                
ffc162c8:	7f e3 fb 78 	mr      r3,r31                                 
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
ffc162cc:	7f 9c ea 14 	add     r28,r28,r29                            
        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 )                                                
ffc162d0:	41 9c 01 1c 	blt-    cr7,ffc163ec <fat_file_read+0x240>     <== NEVER TAKEN
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
ffc162d4:	83 a1 00 08 	lwz     r29,8(r1)                              
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
ffc162d8:	7f a4 eb 78 	mr      r4,r29                                 
ffc162dc:	48 00 81 f9 	bl      ffc1e4d4 <fat_get_fat_cluster>         
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc162e0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
        if ( rc != RC_OK )                                            
ffc162e4:	2c 03 00 00 	cmpwi   r3,0                                   
            return rc;                                                
                                                                      
        ofs = 0;                                                      
ffc162e8:	38 a0 00 00 	li      r5,0                                   
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
        if ( rc != RC_OK )                                            
ffc162ec:	40 82 00 34 	bne-    ffc16320 <fat_file_read+0x174>         <== NEVER TAKEN
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc162f0:	41 9e 00 10 	beq-    cr7,ffc16300 <fat_file_read+0x154>     
ffc162f4:	89 1f 00 02 	lbz     r8,2(r31)                              
ffc162f8:	a0 ff 00 00 	lhz     r7,0(r31)                              
ffc162fc:	4b ff ff 6c 	b       ffc16268 <fat_file_read+0xbc>          
ffc16300:	7f 83 e3 78 	mr      r3,r28                                 
    }                                                                 
                                                                      
    /* 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);
ffc16304:	89 3f 00 08 	lbz     r9,8(r31)                              
ffc16308:	3b 18 ff ff 	addi    r24,r24,-1                             
ffc1630c:	7f 98 e2 14 	add     r28,r24,r28                            
    fat_fd->map.disk_cln = save_cln;                                  
ffc16310:	93 bb 00 38 	stw     r29,56(r27)                            
    }                                                                 
                                                                      
    /* 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);
ffc16314:	7f 9c 4c 30 	srw     r28,r28,r9                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
ffc16318:	7f 3c ca 14 	add     r25,r28,r25                            
ffc1631c:	93 3b 00 34 	stw     r25,52(r27)                            
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc16320:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc16324:	83 01 00 18 	lwz     r24,24(r1)                             
ffc16328:	7c 08 03 a6 	mtlr    r0                                     
ffc1632c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc16330:	83 41 00 20 	lwz     r26,32(r1)                             
ffc16334:	83 61 00 24 	lwz     r27,36(r1)                             
ffc16338:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1633c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc16340:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc16344:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc16348:	38 21 00 38 	addi    r1,r1,56                               
ffc1634c:	4e 80 00 20 	blr                                            
ffc16350:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
                                                                      
    /* it couldn't be removed - otherwise cache update will be broken */
    if (count == 0)                                                   
        return cmpltd;                                                
ffc16354:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    fat_fd->map.file_cln = cl_start +                                 
                           ((save_ofs + cmpltd - 1) >> fs_info->vol.bpc_log2);
    fat_fd->map.disk_cln = save_cln;                                  
                                                                      
    return cmpltd;                                                    
}                                                                     
ffc16358:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc1635c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16360:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc16364:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc16368:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc1636c:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc16370:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc16374:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc16378:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc1637c:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc16380:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
        (start > fat_fd->fat_file_size - count))                      
ffc16384:	7d 5e 48 50 	subf    r10,r30,r9                             
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
ffc16388:	7f 85 50 40 	cmplw   cr7,r5,r10                             
ffc1638c:	40 bd fe 88 	ble-    cr7,ffc16214 <fat_file_read+0x68>      
ffc16390:	4b ff fe 80 	b       ffc16210 <fat_file_read+0x64>          
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc16394:	81 3b 00 24 	lwz     r9,36(r27)                             
ffc16398:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1639c:	40 be fe 84 	bne-    cr7,ffc16220 <fat_file_read+0x74>      <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc163a0:	89 3f 00 0e 	lbz     r9,14(r31)                             
                                                                      
    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)) &&                               
ffc163a4:	71 2a 00 03 	andi.   r10,r9,3                               
ffc163a8:	41 a2 fe 78 	beq-    ffc16220 <fat_file_read+0x74>          
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(fs_info, fat_fd->cln);    
ffc163ac:	81 3b 00 1c 	lwz     r9,28(r27)                             
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)) )
ffc163b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc163b4:	40 9e 00 54 	bne-    cr7,ffc16408 <fat_file_read+0x25c>     <== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc163b8:	80 9f 00 20 	lwz     r4,32(r31)                             
        sec += (start >> fs_info->vol.sec_log2);                      
ffc163bc:	89 3f 00 02 	lbz     r9,2(r31)                              
        byte = start & (fs_info->vol.bps - 1);                        
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, count, buf);        
ffc163c0:	7f e3 fb 78 	mr      r3,r31                                 
    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);                      
        byte = start & (fs_info->vol.bps - 1);                        
ffc163c4:	a0 bf 00 00 	lhz     r5,0(r31)                              
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, count, buf);        
ffc163c8:	7f c6 f3 78 	mr      r6,r30                                 
                                                                      
    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);                      
ffc163cc:	7f a9 4c 30 	srw     r9,r29,r9                              
        byte = start & (fs_info->vol.bps - 1);                        
ffc163d0:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, count, buf);        
ffc163d4:	7c 84 4a 14 	add     r4,r4,r9                               
ffc163d8:	7f a5 28 38 	and     r5,r29,r5                              
ffc163dc:	7f 47 d3 78 	mr      r7,r26                                 
ffc163e0:	48 00 0d bd 	bl      ffc1719c <_fat_block_read>             
        if ( ret < 0 )                                                
ffc163e4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc163e8:	40 80 ff 38 	bge+    ffc16320 <fat_file_read+0x174>         <== ALWAYS TAKEN
        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;                                                
ffc163ec:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc163f0:	4b ff ff 30 	b       ffc16320 <fat_file_read+0x174>         <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc163f4:	88 9f 00 05 	lbz     r4,5(r31)                              
ffc163f8:	80 df 00 34 	lwz     r6,52(r31)                             
ffc163fc:	7d 4a 20 30 	slw     r10,r10,r4                             
ffc16400:	7c 8a 32 14 	add     r4,r10,r6                              
ffc16404:	4b ff fe 98 	b       ffc1629c <fat_file_read+0xf0>          
ffc16408:	89 1f 00 05 	lbz     r8,5(r31)                              <== NOT EXECUTED
ffc1640c:	38 89 ff fe 	addi    r4,r9,-2                               <== NOT EXECUTED
ffc16410:	81 5f 00 34 	lwz     r10,52(r31)                            <== NOT EXECUTED
ffc16414:	7c 84 40 30 	slw     r4,r4,r8                               <== NOT EXECUTED
ffc16418:	7c 84 52 14 	add     r4,r4,r10                              <== NOT EXECUTED
ffc1641c:	4b ff ff a0 	b       ffc163bc <fat_file_read+0x210>         <== NOT EXECUTED
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
ffc16420:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc16424:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc16428:	4b ff fe dc 	b       ffc16304 <fat_file_read+0x158>         <== NOT EXECUTED
                                                                      

ffc16dbc <fat_file_size>: int fat_file_size( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
ffc16dbc:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc16dc0:	7c 08 02 a6 	mflr    r0                                     
ffc16dc4:	90 01 00 2c 	stw     r0,44(r1)                              
    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)) &&                               
ffc16dc8:	81 24 00 20 	lwz     r9,32(r4)                              
int                                                                   
fat_file_size(                                                        
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc16dcc:	93 a1 00 1c 	stw     r29,28(r1)                             
    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)) &&                               
ffc16dd0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = fat_fd->cln;                             
ffc16dd4:	83 a4 00 1c 	lwz     r29,28(r4)                             
int                                                                   
fat_file_size(                                                        
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc16dd8:	93 c1 00 20 	stw     r30,32(r1)                             
ffc16ddc:	7c 9e 23 78 	mr      r30,r4                                 
ffc16de0:	93 e1 00 24 	stw     r31,36(r1)                             
ffc16de4:	7c 7f 1b 78 	mr      r31,r3                                 
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = fat_fd->cln;                             
ffc16de8:	93 a1 00 08 	stw     r29,8(r1)                              
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
ffc16dec:	41 9e 00 ac 	beq-    cr7,ffc16e98 <fat_file_size+0xdc>      
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc16df0:	81 5f 00 10 	lwz     r10,16(r31)                            
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
ffc16df4:	39 00 00 00 	li      r8,0                                   
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc16df8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc16dfc:	7f aa 50 38 	and     r10,r29,r10                            
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
ffc16e00:	91 1e 00 18 	stw     r8,24(r30)                             
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc16e04:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc16e08:	41 bc 00 34 	blt+    cr7,ffc16e3c <fat_file_size+0x80>      <== ALWAYS TAKEN
ffc16e0c:	48 00 00 64 	b       ffc16e70 <fat_file_size+0xb4>          <== NOT EXECUTED
ffc16e10:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc16e14:	81 21 00 08 	lwz     r9,8(r1)                               
ffc16e18:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc16e1c:	7d 28 40 38 	and     r8,r9,r8                               
        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;                    
ffc16e20:	a0 ff 00 06 	lhz     r7,6(r31)                              
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc16e24:	7f 88 50 40 	cmplw   cr7,r8,r10                             
        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;                    
ffc16e28:	81 5e 00 18 	lwz     r10,24(r30)                            
ffc16e2c:	7c ea 3a 14 	add     r7,r10,r7                              
ffc16e30:	90 fe 00 18 	stw     r7,24(r30)                             
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc16e34:	40 9c 00 40 	bge-    cr7,ffc16e74 <fat_file_size+0xb8>      <== ALWAYS TAKEN
ffc16e38:	7d 3d 4b 78 	mr      r29,r9                                 <== NOT EXECUTED
    {                                                                 
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
ffc16e3c:	7f a4 eb 78 	mr      r4,r29                                 
ffc16e40:	7f e3 fb 78 	mr      r3,r31                                 
ffc16e44:	38 a1 00 08 	addi    r5,r1,8                                
ffc16e48:	48 00 76 8d 	bl      ffc1e4d4 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc16e4c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16e50:	41 82 ff c0 	beq+    ffc16e10 <fat_file_size+0x54>          <== ALWAYS TAKEN
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
    return rc;                                                        
}                                                                     
ffc16e54:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc16e58:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc16e5c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16e60:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc16e64:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc16e68:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc16e6c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
ffc16e70:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
    return rc;                                                        
}                                                                     
ffc16e74:	80 01 00 2c 	lwz     r0,44(r1)                              
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
ffc16e78:	38 60 00 00 	li      r3,0                                   
ffc16e7c:	93 be 00 3c 	stw     r29,60(r30)                            
    return rc;                                                        
}                                                                     
ffc16e80:	7c 08 03 a6 	mtlr    r0                                     
ffc16e84:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc16e88:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc16e8c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc16e90:	38 21 00 28 	addi    r1,r1,40                               
ffc16e94:	4e 80 00 20 	blr                                            
    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)) &&                               
ffc16e98:	81 24 00 24 	lwz     r9,36(r4)                              
ffc16e9c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16ea0:	40 be ff 50 	bne-    cr7,ffc16df0 <fat_file_size+0x34>      <== NEVER TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
ffc16ea4:	89 23 00 0e 	lbz     r9,14(r3)                              
    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)) &&                               
ffc16ea8:	71 2a 00 03 	andi.   r10,r9,3                               
ffc16eac:	41 82 ff 44 	beq+    ffc16df0 <fat_file_size+0x34>          <== ALWAYS TAKEN
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
ffc16eb0:	81 23 00 2c 	lwz     r9,44(r3)                              <== NOT EXECUTED
        return rc;                                                    
ffc16eb4:	38 60 00 00 	li      r3,0                                   <== 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;               
ffc16eb8:	91 24 00 18 	stw     r9,24(r4)                              <== NOT EXECUTED
ffc16ebc:	4b ff ff 98 	b       ffc16e54 <fat_file_size+0x98>          <== NOT EXECUTED
                                                                      

ffc1642c <fat_file_truncate>: fat_file_truncate( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd, uint32_t new_length ) {
ffc1642c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc16430:	7c 08 02 a6 	mflr    r0                                     
ffc16434:	7d 80 00 26 	mfcr    r12                                    
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
ffc16438:	39 40 00 00 	li      r10,0                                  
fat_file_truncate(                                                    
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
ffc1643c:	90 01 00 2c 	stw     r0,44(r1)                              
    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 )                        
ffc16440:	81 24 00 18 	lwz     r9,24(r4)                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
ffc16444:	91 41 00 0c 	stw     r10,12(r1)                             
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc16448:	39 40 ff ff 	li      r10,-1                                 
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc1644c:	7f 89 28 40 	cmplw   cr7,r9,r5                              
fat_file_truncate(                                                    
    fat_fs_info_t                        *fs_info,                    
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
ffc16450:	93 c1 00 20 	stw     r30,32(r1)                             
ffc16454:	7c 9e 23 78 	mr      r30,r4                                 
ffc16458:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1645c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc16460:	91 81 00 18 	stw     r12,24(r1)                             
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
ffc16464:	91 41 00 08 	stw     r10,8(r1)                              
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
ffc16468:	40 9d 00 80 	ble-    cr7,ffc164e8 <fat_file_truncate+0xbc>  
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
ffc1646c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16470:	41 9e 00 d0 	beq-    cr7,ffc16540 <fat_file_truncate+0x114> <== NEVER TAKEN
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
ffc16474:	a3 a3 00 06 	lhz     r29,6(r3)                              
ffc16478:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1647c:	89 43 00 08 	lbz     r10,8(r3)                              
ffc16480:	3b bd ff ff 	addi    r29,r29,-1                             
ffc16484:	7c bd 2a 14 	add     r5,r29,r5                              
ffc16488:	7c bd 54 30 	srw     r29,r5,r10                             
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
ffc1648c:	7f aa 50 30 	slw     r10,r29,r10                            
ffc16490:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc16494:	40 9d 00 54 	ble-    cr7,ffc164e8 <fat_file_truncate+0xbc>  
        return RC_OK;                                                 
                                                                      
    if (cl_start != 0)                                                
ffc16498:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc1649c:	41 92 00 18 	beq-    cr4,ffc164b4 <fat_file_truncate+0x88>  
    {                                                                 
        rc = fat_file_lseek(fs_info, fat_fd, cl_start - 1, &new_last_cln);
ffc164a0:	38 bd ff ff 	addi    r5,r29,-1                              
ffc164a4:	38 c1 00 08 	addi    r6,r1,8                                
ffc164a8:	4b ff f8 9d 	bl      ffc15d44 <fat_file_lseek>              
        if (rc != RC_OK)                                              
ffc164ac:	7c 83 23 79 	mr.     r3,r4                                  
ffc164b0:	40 82 00 3c 	bne-    ffc164ec <fat_file_truncate+0xc0>      <== NEVER TAKEN
            return rc;                                                
                                                                      
    }                                                                 
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
ffc164b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc164b8:	7f c4 f3 78 	mr      r4,r30                                 
ffc164bc:	7f a5 eb 78 	mr      r5,r29                                 
ffc164c0:	38 c1 00 0c 	addi    r6,r1,12                               
ffc164c4:	4b ff f8 81 	bl      ffc15d44 <fat_file_lseek>              
    if (rc != RC_OK)                                                  
ffc164c8:	7c 83 23 79 	mr.     r3,r4                                  
ffc164cc:	40 a2 00 20 	bne+    ffc164ec <fat_file_truncate+0xc0>      <== NEVER TAKEN
        return rc;                                                    
                                                                      
    rc = fat_free_fat_clusters_chain(fs_info, cur_cln);               
ffc164d0:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc164d4:	7f e3 fb 78 	mr      r3,r31                                 
ffc164d8:	48 00 85 81 	bl      ffc1ea58 <fat_free_fat_clusters_chain> 
    if (rc != RC_OK)                                                  
ffc164dc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc164e0:	40 82 00 0c 	bne-    ffc164ec <fat_file_truncate+0xc0>      <== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
ffc164e4:	40 92 00 2c 	bne-    cr4,ffc16510 <fat_file_truncate+0xe4>  
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
ffc164e8:	38 60 00 00 	li      r3,0                                   
        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;                                                     
}                                                                     
ffc164ec:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc164f0:	81 81 00 18 	lwz     r12,24(r1)                             
ffc164f4:	7c 08 03 a6 	mtlr    r0                                     
ffc164f8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc164fc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc16500:	7d 80 81 20 	mtcrf   8,r12                                  
ffc16504:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc16508:	38 21 00 28 	addi    r1,r1,40                               
ffc1650c:	4e 80 00 20 	blr                                            
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
    {                                                                 
        rc = fat_set_fat_cluster(fs_info, new_last_cln, FAT_GENFAT_EOC);
ffc16510:	80 81 00 08 	lwz     r4,8(r1)                               
ffc16514:	7f e3 fb 78 	mr      r3,r31                                 
ffc16518:	38 a0 ff ff 	li      r5,-1                                  
ffc1651c:	48 00 82 09 	bl      ffc1e724 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc16520:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16524:	40 a2 ff c8 	bne-    ffc164ec <fat_file_truncate+0xc0>      <== NEVER TAKEN
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
        fat_fd->map.disk_cln = new_last_cln;                          
ffc16528:	81 21 00 08 	lwz     r9,8(r1)                               
    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;                          
ffc1652c:	3b bd ff ff 	addi    r29,r29,-1                             
ffc16530:	93 be 00 34 	stw     r29,52(r30)                            
        fat_fd->map.disk_cln = new_last_cln;                          
ffc16534:	91 3e 00 38 	stw     r9,56(r30)                             
        fat_fd->map.last_cln = new_last_cln;                          
ffc16538:	91 3e 00 3c 	stw     r9,60(r30)                             
ffc1653c:	4b ff ff b0 	b       ffc164ec <fat_file_truncate+0xc0>      
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
ffc16540:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc16544:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc16548:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1654c:	38 63 0c d8 	addi    r3,r3,3288                             <== NOT EXECUTED
ffc16550:	38 80 02 d1 	li      r4,721                                 <== NOT EXECUTED
ffc16554:	38 a5 0c c4 	addi    r5,r5,3268                             <== NOT EXECUTED
ffc16558:	38 c6 0d 20 	addi    r6,r6,3360                             <== NOT EXECUTED
ffc1655c:	4b fe ff d1 	bl      ffc0652c <__assert_func>               <== NOT EXECUTED
                                                                      

ffc169f4 <fat_file_write>: bool zero_fill = start > fat_fd->fat_file_size; uint32_t file_cln_initial = fat_fd->map.file_cln; uint32_t cln; if ( count == 0 )
ffc169f4:	2c 06 00 00 	cmpwi   r6,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc169f8:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc169fc:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    ssize_t        ret;                                               
    uint32_t       cmpltd = 0;                                        
    uint32_t       byte;                                              
    uint32_t       c = 0;                                             
ffc16a00:	39 20 00 00 	li      r9,0                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
ffc16a04:	93 01 00 28 	stw     r24,40(r1)                             
ffc16a08:	90 01 00 4c 	stw     r0,76(r1)                              
ffc16a0c:	93 81 00 38 	stw     r28,56(r1)                             
ffc16a10:	7c bc 2b 78 	mr      r28,r5                                 
ffc16a14:	93 c1 00 40 	stw     r30,64(r1)                             
ffc16a18:	7c 9e 23 78 	mr      r30,r4                                 
ffc16a1c:	92 81 00 18 	stw     r20,24(r1)                             
ffc16a20:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc16a24:	92 c1 00 20 	stw     r22,32(r1)                             
ffc16a28:	92 e1 00 24 	stw     r23,36(r1)                             
ffc16a2c:	93 21 00 2c 	stw     r25,44(r1)                             
ffc16a30:	93 41 00 30 	stw     r26,48(r1)                             
ffc16a34:	93 61 00 34 	stw     r27,52(r1)                             
ffc16a38:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc16a3c:	93 e1 00 44 	stw     r31,68(r1)                             
    int            rc = RC_OK;                                        
    ssize_t        ret;                                               
    uint32_t       cmpltd = 0;                                        
    uint32_t       byte;                                              
    uint32_t       c = 0;                                             
ffc16a40:	91 21 00 0c 	stw     r9,12(r1)                              
    bool           zero_fill = start > fat_fd->fat_file_size;         
ffc16a44:	80 a4 00 18 	lwz     r5,24(r4)                              
    uint32_t       file_cln_initial = fat_fd->map.file_cln;           
ffc16a48:	83 04 00 34 	lwz     r24,52(r4)                             
    uint32_t       cln;                                               
                                                                      
                                                                      
    if ( count == 0 )                                                 
ffc16a4c:	41 82 01 bc 	beq-    ffc16c08 <fat_file_write+0x214>        <== NEVER TAKEN
        return cmpltd;                                                
                                                                      
    if (start >= fat_fd->size_limit)                                  
ffc16a50:	83 e4 00 14 	lwz     r31,20(r4)                             
ffc16a54:	7f 9c f8 40 	cmplw   cr7,r28,r31                            
ffc16a58:	40 9c 02 78 	bge-    cr7,ffc16cd0 <fat_file_write+0x2dc>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EFBIG);                  
                                                                      
    if (count > fat_fd->size_limit - start)                           
ffc16a5c:	7f fc f8 50 	subf    r31,r28,r31                            
ffc16a60:	7f 9f 30 40 	cmplw   cr7,r31,r6                             
ffc16a64:	7c 7d 1b 78 	mr      r29,r3                                 
ffc16a68:	7c f9 3b 78 	mr      r25,r7                                 
ffc16a6c:	41 9d 01 68 	bgt-    cr7,ffc16bd4 <fat_file_write+0x1e0>    <== ALWAYS TAKEN
        count = fat_fd->size_limit - start;                           
                                                                      
    rc = fat_file_extend(fs_info, fat_fd, zero_fill, start + count, &c);
ffc16a70:	7c bc 28 10 	subfc   r5,r28,r5                              <== NOT EXECUTED
ffc16a74:	7c a5 29 10 	subfe   r5,r5,r5                               <== NOT EXECUTED
ffc16a78:	7f 7f e2 14 	add     r27,r31,r28                            <== NOT EXECUTED
ffc16a7c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc16a80:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc16a84:	7c a5 00 d0 	neg     r5,r5                                  <== NOT EXECUTED
ffc16a88:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc16a8c:	38 e1 00 0c 	addi    r7,r1,12                               <== NOT EXECUTED
ffc16a90:	4b ff fc d5 	bl      ffc16764 <fat_file_extend>             <== NOT EXECUTED
    if (RC_OK == rc)                                                  
ffc16a94:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc16a98:	40 82 00 fc 	bne-    ffc16b94 <fat_file_write+0x1a0>        <== NOT EXECUTED
    {                                                                 
        /*                                                            
         * check whether there was enough room on device to locate    
         * file of 'start + count' bytes                              
         */                                                           
        if (c != (start + count))                                     
ffc16a9c:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc16aa0:	7f 9b 48 00 	cmpw    cr7,r27,r9                             
ffc16aa4:	41 9e 00 08 	beq-    cr7,ffc16aac <fat_file_write+0xb8>     <== ALWAYS TAKEN
            count = c - start;                                        
ffc16aa8:	7f fc 48 50 	subf    r31,r28,r9                             <== NOT EXECUTED
 */                                                                   
static bool                                                           
 fat_is_fat12_or_fat16_root_dir (const fat_file_fd_t *fat_fd,         
                                 const uint8_t volume_type)           
{                                                                     
    return (FAT_FD_OF_ROOT_DIR(fat_fd)) && (volume_type & (FAT_FAT12 | FAT_FAT16));
ffc16aac:	81 3e 00 20 	lwz     r9,32(r30)                             
         */                                                           
        if (c != (start + count))                                     
            count = c - start;                                        
                                                                      
        /* for the root directory of FAT12 and FAT16 we need this special handling */
        if (fat_is_fat12_or_fat16_root_dir(fat_fd, fs_info->vol.type))
ffc16ab0:	89 5d 00 0e 	lbz     r10,14(r29)                            
 */                                                                   
static bool                                                           
 fat_is_fat12_or_fat16_root_dir (const fat_file_fd_t *fat_fd,         
                                 const uint8_t volume_type)           
{                                                                     
    return (FAT_FD_OF_ROOT_DIR(fat_fd)) && (volume_type & (FAT_FAT12 | FAT_FAT16));
ffc16ab4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc16ab8:	41 9e 01 c4 	beq-    cr7,ffc16c7c <fat_file_write+0x288>    
     const uint8_t                        *buf,                       
     const uint32_t                        file_cln_initial)          
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc16abc:	7c 36 0b 78 	mr      r22,r1                                 
    uint32_t       save_cln = 0; /* FIXME: This might be incorrect, cf. below */
    uint32_t       start_cln = start >> fs_info->vol.bpc_log2;        
ffc16ac0:	8b 7d 00 08 	lbz     r27,8(r29)                             
     const uint8_t                        *buf,                       
     const uint32_t                        file_cln_initial)          
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
ffc16ac4:	39 20 00 00 	li      r9,0                                   
ffc16ac8:	95 36 00 08 	stwu    r9,8(r22)                              
    uint32_t       save_cln = 0; /* FIXME: This might be incorrect, cf. below */
    uint32_t       start_cln = start >> fs_info->vol.bpc_log2;        
ffc16acc:	7f 94 dc 30 	srw     r20,r28,r27                            
    uint32_t       file_cln_cnt;                                      
    ssize_t        ret;                                               
    uint32_t       c;                                                 
    bool           overwrite_cluster = false;                         
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, start_cln, &cur_cln);        
ffc16ad0:	7f a3 eb 78 	mr      r3,r29                                 
ffc16ad4:	7f c4 f3 78 	mr      r4,r30                                 
ffc16ad8:	7e 85 a3 78 	mr      r5,r20                                 
ffc16adc:	7e c6 b3 78 	mr      r6,r22                                 
ffc16ae0:	4b ff f2 65 	bl      ffc15d44 <fat_file_lseek>              
    if (RC_OK == rc)                                                  
ffc16ae4:	7c 83 23 79 	mr.     r3,r4                                  
ffc16ae8:	40 82 00 a8 	bne-    ffc16b90 <fat_file_write+0x19c>        <== NEVER TAKEN
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
        while (   (RC_OK == rc)                                       
               && (bytes_to_write > 0))                               
ffc16aec:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    bool           overwrite_cluster = false;                         
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, start_cln, &cur_cln);        
    if (RC_OK == rc)                                                  
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
ffc16af0:	80 81 00 08 	lwz     r4,8(r1)                               
ffc16af4:	83 5e 00 1c 	lwz     r26,28(r30)                            
    int            rc = RC_OK;                                        
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
    uint32_t       save_cln = 0; /* FIXME: This might be incorrect, cf. below */
    uint32_t       start_cln = start >> fs_info->vol.bpc_log2;        
    uint32_t       ofs_cln = start - (start_cln << fs_info->vol.bpc_log2);
ffc16af8:	7e 9b d8 30 	slw     r27,r20,r27                            
ffc16afc:	7f 9b e0 50 	subf    r28,r27,r28                            
    bool           overwrite_cluster = false;                         
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, start_cln, &cur_cln);        
    if (RC_OK == rc)                                                  
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
ffc16b00:	7f 5a 20 50 	subf    r26,r26,r4                             
        while (   (RC_OK == rc)                                       
               && (bytes_to_write > 0))                               
ffc16b04:	41 9e 01 e0 	beq-    cr7,ffc16ce4 <fat_file_write+0x2f0>    <== NEVER TAKEN
ffc16b08:	7f 89 e3 78 	mr      r9,r28                                 
ffc16b0c:	3b 60 00 00 	li      r27,0                                  
ffc16b10:	3a a0 00 00 	li      r21,0                                  
ffc16b14:	3a e0 00 00 	li      r23,0                                  
        {                                                             
            c = MIN(bytes_to_write, (fs_info->vol.bpc - ofs_cln));    
ffc16b18:	a1 5d 00 06 	lhz     r10,6(r29)                             
                                                                      
            if (file_cln_initial < file_cln_cnt)                      
ffc16b1c:	7f 98 d0 40 	cmplw   cr7,r24,r26                            
                overwrite_cluster = true;                             
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16b20:	7c f9 da 14 	add     r7,r25,r27                             
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
        while (   (RC_OK == rc)                                       
               && (bytes_to_write > 0))                               
        {                                                             
            c = MIN(bytes_to_write, (fs_info->vol.bpc - ofs_cln));    
ffc16b24:	7c c9 50 50 	subf    r6,r9,r10                              
ffc16b28:	7f 06 f8 40 	cmplw   cr6,r6,r31                             
                                                                      
            if (file_cln_initial < file_cln_cnt)                      
                overwrite_cluster = true;                             
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16b2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc16b30:	7d 25 4b 78 	mr      r5,r9                                  
            if (0 > ret)                                              
              rc = -1;                                                
                                                                      
            if (RC_OK == rc)                                          
            {                                                         
                ++file_cln_cnt;                                       
ffc16b34:	3b 5a 00 01 	addi    r26,r26,1                              
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
        while (   (RC_OK == rc)                                       
               && (bytes_to_write > 0))                               
        {                                                             
            c = MIN(bytes_to_write, (fs_info->vol.bpc - ofs_cln));    
ffc16b38:	40 99 00 08 	ble-    cr6,ffc16b40 <fat_file_write+0x14c>    
ffc16b3c:	7f e6 fb 78 	mr      r6,r31                                 
                                                                      
            if (file_cln_initial < file_cln_cnt)                      
ffc16b40:	40 9c 00 08 	bge-    cr7,ffc16b48 <fat_file_write+0x154>    
                overwrite_cluster = true;                             
ffc16b44:	3a e0 00 01 	li      r23,1                                  
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16b48:	7e e8 bb 78 	mr      r8,r23                                 
ffc16b4c:	48 00 0a 45 	bl      ffc17590 <fat_cluster_write>           
                                      cur_cln,                        
                                      ofs_cln,                        
                                      c,                              
                                      &buf[cmpltd],                   
                                      overwrite_cluster);             
            if (0 > ret)                                              
ffc16b50:	2c 03 00 00 	cmpwi   r3,0                                   
            {                                                         
                ++file_cln_cnt;                                       
                bytes_to_write -= ret;                                
                cmpltd += ret;                                        
                save_cln = cur_cln;                                   
                if (0 < bytes_to_write)                               
ffc16b54:	7f e3 f8 50 	subf    r31,r3,r31                             
ffc16b58:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                      cur_cln,                        
                                      ofs_cln,                        
                                      c,                              
                                      &buf[cmpltd],                   
                                      overwrite_cluster);             
            if (0 > ret)                                              
ffc16b5c:	41 80 00 f0 	blt-    ffc16c4c <fat_file_write+0x258>        <== NEVER TAKEN
                                                                      
            if (RC_OK == rc)                                          
            {                                                         
                ++file_cln_cnt;                                       
                bytes_to_write -= ret;                                
                cmpltd += ret;                                        
ffc16b60:	7f 7b 1a 14 	add     r27,r27,r3                             
                save_cln = cur_cln;                                   
ffc16b64:	82 a1 00 08 	lwz     r21,8(r1)                              
                if (0 < bytes_to_write)                               
ffc16b68:	40 9e 00 f0 	bne-    cr7,ffc16c58 <fat_file_write+0x264>    
ffc16b6c:	2c 1b 00 00 	cmpwi   r27,0                                  
ffc16b70:	7f 63 db 78 	mr      r3,r27                                 
        }                                                             
                                                                      
        /* update cache */                                            
        /* XXX: check this - I'm not sure :( */                       
        fat_fd->map.file_cln = start_cln +                            
                               ((ofs_cln_save + cmpltd - 1) >> fs_info->vol.bpc_log2);
ffc16b74:	89 3d 00 08 	lbz     r9,8(r29)                              
ffc16b78:	3b 9c ff ff 	addi    r28,r28,-1                             
ffc16b7c:	7f 7c da 14 	add     r27,r28,r27                            
        fat_fd->map.disk_cln = save_cln;                              
ffc16b80:	92 be 00 38 	stw     r21,56(r30)                            
        }                                                             
                                                                      
        /* update cache */                                            
        /* XXX: check this - I'm not sure :( */                       
        fat_fd->map.file_cln = start_cln +                            
                               ((ofs_cln_save + cmpltd - 1) >> fs_info->vol.bpc_log2);
ffc16b84:	7f 7b 4c 30 	srw     r27,r27,r9                             
            }                                                         
        }                                                             
                                                                      
        /* update cache */                                            
        /* XXX: check this - I'm not sure :( */                       
        fat_fd->map.file_cln = start_cln +                            
ffc16b88:	7e 9b a2 14 	add     r20,r27,r20                            
ffc16b8c:	92 9e 00 34 	stw     r20,52(r30)                            
                                                       fat_fd,        
                                                       start,         
                                                       count,         
                                                       buf,           
                                                       file_cln_initial);
            if (0 > ret)                                              
ffc16b90:	41 80 01 38 	blt-    ffc16cc8 <fat_file_write+0x2d4>        <== NEVER TAKEN
    }                                                                 
    if (RC_OK != rc)                                                  
        return rc;                                                    
    else                                                              
        return cmpltd;                                                
}                                                                     
ffc16b94:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc16b98:	82 81 00 18 	lwz     r20,24(r1)                             
ffc16b9c:	7c 08 03 a6 	mtlr    r0                                     
ffc16ba0:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc16ba4:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc16ba8:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc16bac:	83 01 00 28 	lwz     r24,40(r1)                             
ffc16bb0:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc16bb4:	83 41 00 30 	lwz     r26,48(r1)                             
ffc16bb8:	83 61 00 34 	lwz     r27,52(r1)                             
ffc16bbc:	83 81 00 38 	lwz     r28,56(r1)                             
ffc16bc0:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc16bc4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc16bc8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc16bcc:	38 21 00 48 	addi    r1,r1,72                               
ffc16bd0:	4e 80 00 20 	blr                                            
ffc16bd4:	7c df 33 78 	mr      r31,r6                                 
        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);
ffc16bd8:	7c bc 28 10 	subfc   r5,r28,r5                              
ffc16bdc:	7c a5 29 10 	subfe   r5,r5,r5                               
ffc16be0:	7f 7f e2 14 	add     r27,r31,r28                            
ffc16be4:	7f a3 eb 78 	mr      r3,r29                                 
ffc16be8:	7f c4 f3 78 	mr      r4,r30                                 
ffc16bec:	7c a5 00 d0 	neg     r5,r5                                  
ffc16bf0:	7f 66 db 78 	mr      r6,r27                                 
ffc16bf4:	38 e1 00 0c 	addi    r7,r1,12                               
ffc16bf8:	4b ff fb 6d 	bl      ffc16764 <fat_file_extend>             
    if (RC_OK == rc)                                                  
ffc16bfc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16c00:	40 a2 ff 94 	bne-    ffc16b94 <fat_file_write+0x1a0>        
ffc16c04:	4b ff fe 98 	b       ffc16a9c <fat_file_write+0xa8>         
    }                                                                 
    if (RC_OK != rc)                                                  
        return rc;                                                    
    else                                                              
        return cmpltd;                                                
}                                                                     
ffc16c08:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
    uint32_t       file_cln_initial = fat_fd->map.file_cln;           
    uint32_t       cln;                                               
                                                                      
                                                                      
    if ( count == 0 )                                                 
        return cmpltd;                                                
ffc16c0c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    }                                                                 
    if (RC_OK != rc)                                                  
        return rc;                                                    
    else                                                              
        return cmpltd;                                                
}                                                                     
ffc16c10:	82 81 00 18 	lwz     r20,24(r1)                             <== NOT EXECUTED
ffc16c14:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16c18:	82 a1 00 1c 	lwz     r21,28(r1)                             <== NOT EXECUTED
ffc16c1c:	82 c1 00 20 	lwz     r22,32(r1)                             <== NOT EXECUTED
ffc16c20:	82 e1 00 24 	lwz     r23,36(r1)                             <== NOT EXECUTED
ffc16c24:	83 01 00 28 	lwz     r24,40(r1)                             <== NOT EXECUTED
ffc16c28:	83 21 00 2c 	lwz     r25,44(r1)                             <== NOT EXECUTED
ffc16c2c:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc16c30:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc16c34:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc16c38:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16c3c:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16c40:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16c44:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16c48:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                      cur_cln,                        
                                      ofs_cln,                        
                                      c,                              
                                      &buf[cmpltd],                   
                                      overwrite_cluster);             
            if (0 > ret)                                              
ffc16c4c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc16c50:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc16c54:	4b ff ff 20 	b       ffc16b74 <fat_file_write+0x180>        <== NOT EXECUTED
                ++file_cln_cnt;                                       
                bytes_to_write -= ret;                                
                cmpltd += ret;                                        
                save_cln = cur_cln;                                   
                if (0 < bytes_to_write)                               
                  rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);
ffc16c58:	7f a3 eb 78 	mr      r3,r29                                 
ffc16c5c:	7e a4 ab 78 	mr      r4,r21                                 
ffc16c60:	7e c5 b3 78 	mr      r5,r22                                 
ffc16c64:	48 00 78 71 	bl      ffc1e4d4 <fat_get_fat_cluster>         
ffc16c68:	39 20 00 00 	li      r9,0                                   
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, start_cln, &cur_cln);        
    if (RC_OK == rc)                                                  
    {                                                                 
        file_cln_cnt = cur_cln - fat_fd->cln;                         
        while (   (RC_OK == rc)                                       
ffc16c6c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16c70:	40 a2 ff 04 	bne-    ffc16b74 <fat_file_write+0x180>        <== NEVER TAKEN
ffc16c74:	80 81 00 08 	lwz     r4,8(r1)                               
ffc16c78:	4b ff fe a0 	b       ffc16b18 <fat_file_write+0x124>        
 */                                                                   
static bool                                                           
 fat_is_fat12_or_fat16_root_dir (const fat_file_fd_t *fat_fd,         
                                 const uint8_t volume_type)           
{                                                                     
    return (FAT_FD_OF_ROOT_DIR(fat_fd)) && (volume_type & (FAT_FAT12 | FAT_FAT16));
ffc16c7c:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc16c80:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc16c84:	40 be fe 38 	bne-    cr7,ffc16abc <fat_file_write+0xc8>     <== NEVER TAKEN
ffc16c88:	71 49 00 03 	andi.   r9,r10,3                               
ffc16c8c:	41 a2 fe 30 	beq-    ffc16abc <fat_file_write+0xc8>         
                                                                      
        /* for the root directory of FAT12 and FAT16 we need this special handling */
        if (fat_is_fat12_or_fat16_root_dir(fat_fd, fs_info->vol.type))
        {                                                             
            cln = fat_fd->cln;                                        
            cln += (start >> fs_info->vol.bpc_log2);                  
ffc16c90:	88 9d 00 08 	lbz     r4,8(r29)                              
            byte = start & (fs_info->vol.bpc -1);                     
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16c94:	7f a3 eb 78 	mr      r3,r29                                 
        /* for the root directory of FAT12 and FAT16 we need this special handling */
        if (fat_is_fat12_or_fat16_root_dir(fat_fd, fs_info->vol.type))
        {                                                             
            cln = fat_fd->cln;                                        
            cln += (start >> fs_info->vol.bpc_log2);                  
            byte = start & (fs_info->vol.bpc -1);                     
ffc16c98:	a0 bd 00 06 	lhz     r5,6(r29)                              
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16c9c:	7f e6 fb 78 	mr      r6,r31                                 
            count = c - start;                                        
                                                                      
        /* for the root directory of FAT12 and FAT16 we need this special handling */
        if (fat_is_fat12_or_fat16_root_dir(fat_fd, fs_info->vol.type))
        {                                                             
            cln = fat_fd->cln;                                        
ffc16ca0:	81 3e 00 1c 	lwz     r9,28(r30)                             
            cln += (start >> fs_info->vol.bpc_log2);                  
ffc16ca4:	7f 84 24 30 	srw     r4,r28,r4                              
            byte = start & (fs_info->vol.bpc -1);                     
ffc16ca8:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
            ret = fat_cluster_write(fs_info,                          
ffc16cac:	7c 84 4a 14 	add     r4,r4,r9                               
ffc16cb0:	7f 85 28 38 	and     r5,r28,r5                              
ffc16cb4:	7f 27 cb 78 	mr      r7,r25                                 
ffc16cb8:	39 00 00 00 	li      r8,0                                   
ffc16cbc:	48 00 08 d5 	bl      ffc17590 <fat_cluster_write>           
                                      cln,                            
                                      byte,                           
                                      count,                          
                                      buf,                            
                                      false);                         
            if (0 > ret)                                              
ffc16cc0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16cc4:	40 80 fe d0 	bge+    ffc16b94 <fat_file_write+0x1a0>        <== ALWAYS TAKEN
                                                       start,         
                                                       count,         
                                                       buf,           
                                                       file_cln_initial);
            if (0 > ret)                                              
              rc = -1;                                                
ffc16cc8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc16ccc:	4b ff fe c8 	b       ffc16b94 <fat_file_write+0x1a0>        <== NOT EXECUTED
                                                                      
    if ( count == 0 )                                                 
        return cmpltd;                                                
                                                                      
    if (start >= fat_fd->size_limit)                                  
        rtems_set_errno_and_return_minus_one(EFBIG);                  
ffc16cd0:	48 00 99 cd 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc16cd4:	39 20 00 1b 	li      r9,27                                  <== NOT EXECUTED
ffc16cd8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc16cdc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc16ce0:	4b ff fe b4 	b       ffc16b94 <fat_file_write+0x1a0>        <== NOT EXECUTED
     const uint32_t                        file_cln_initial)          
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
    uint32_t       save_cln = 0; /* FIXME: This might be incorrect, cf. below */
ffc16ce4:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
     const uint32_t                        count,                     
     const uint8_t                        *buf,                       
     const uint32_t                        file_cln_initial)          
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cmpltd = 0;                                        
ffc16ce8:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc16cec:	4b ff fe 88 	b       ffc16b74 <fat_file_write+0x180>        <== NOT EXECUTED
                                                                      

ffc1ea58 <fat_free_fat_clusters_chain>: int fat_free_fat_clusters_chain( fat_fs_info_t *fs_info, uint32_t chain ) {
ffc1ea58:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1ea5c:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
ffc1ea60:	39 00 00 00 	li      r8,0                                   
int                                                                   
fat_free_fat_clusters_chain(                                          
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc1ea64:	90 01 00 34 	stw     r0,52(r1)                              
    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)      
ffc1ea68:	81 23 00 10 	lwz     r9,16(r3)                              
ffc1ea6c:	81 43 00 14 	lwz     r10,20(r3)                             
ffc1ea70:	7c 89 48 38 	and     r9,r4,r9                               
int                                                                   
fat_free_fat_clusters_chain(                                          
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc1ea74:	93 61 00 1c 	stw     r27,28(r1)                             
    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)      
ffc1ea78:	7f 89 50 40 	cmplw   cr7,r9,r10                             
int                                                                   
fat_free_fat_clusters_chain(                                          
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              chain                       
    )                                                                 
{                                                                     
ffc1ea7c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1ea80:	7c 9b 23 78 	mr      r27,r4                                 
ffc1ea84:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ea88:	93 81 00 20 	stw     r28,32(r1)                             
ffc1ea8c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1ea90:	93 c1 00 28 	stw     r30,40(r1)                             
    int            rc = RC_OK, rc1 = RC_OK;                           
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
ffc1ea94:	91 01 00 08 	stw     r8,8(r1)                               
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc1ea98:	40 9c 00 a8 	bge-    cr7,ffc1eb40 <fat_free_fat_clusters_chain+0xe8><== NEVER TAKEN
ffc1ea9c:	7c 9e 23 78 	mr      r30,r4                                 
ffc1eaa0:	3b a0 00 00 	li      r29,0                                  
ffc1eaa4:	3b 80 00 00 	li      r28,0                                  
ffc1eaa8:	48 00 00 30 	b       ffc1ead8 <fat_free_fat_clusters_chain+0x80>
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
ffc1eaac:	4b ff fc 79 	bl      ffc1e724 <fat_set_fat_cluster>         
        if ( rc != RC_OK )                                            
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
ffc1eab0:	3b bd 00 01 	addi    r29,r29,1                              
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
        if ( rc != RC_OK )                                            
ffc1eab4:	2c 03 00 00 	cmpwi   r3,0                                   
            rc1 = rc;                                                 
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
ffc1eab8:	83 c1 00 08 	lwz     r30,8(r1)                              
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
        if ( rc != RC_OK )                                            
ffc1eabc:	41 82 00 08 	beq-    ffc1eac4 <fat_free_fat_clusters_chain+0x6c><== ALWAYS TAKEN
ffc1eac0:	7c 7c 1b 78 	mr      r28,r3                                 <== 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)      
ffc1eac4:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc1eac8:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1eacc:	7f ca 50 38 	and     r10,r30,r10                            
ffc1ead0:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc1ead4:	40 9c 00 74 	bge-    cr7,ffc1eb48 <fat_free_fat_clusters_chain+0xf0>
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cur_cln, &next_cln);        
ffc1ead8:	7f c4 f3 78 	mr      r4,r30                                 
ffc1eadc:	38 a1 00 08 	addi    r5,r1,8                                
ffc1eae0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eae4:	4b ff f9 f1 	bl      ffc1e4d4 <fat_get_fat_cluster>         
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
ffc1eae8:	7f c4 f3 78 	mr      r4,r30                                 
    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 )                                            
ffc1eaec:	7c 7e 1b 79 	mr.     r30,r3                                 
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
ffc1eaf0:	38 a0 00 00 	li      r5,0                                   
ffc1eaf4:	7f e3 fb 78 	mr      r3,r31                                 
    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 )                                            
ffc1eaf8:	41 82 ff b4 	beq+    ffc1eaac <fat_free_fat_clusters_chain+0x54><== ALWAYS TAKEN
        {                                                             
              if(fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)        
ffc1eafc:	81 3f 00 44 	lwz     r9,68(r31)                             <== NOT EXECUTED
ffc1eb00:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              <== NOT EXECUTED
ffc1eb04:	41 9e 00 0c 	beq-    cr7,ffc1eb10 <fat_free_fat_clusters_chain+0xb8><== NOT EXECUTED
                fs_info->vol.free_cls += freed_cls_cnt;               
ffc1eb08:	7d 3d 4a 14 	add     r9,r29,r9                              <== NOT EXECUTED
ffc1eb0c:	91 3f 00 44 	stw     r9,68(r31)                             <== NOT EXECUTED
                                                                      
            fat_buf_release(fs_info);                                 
ffc1eb10:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1eb14:	4b ff 83 ad 	bl      ffc16ec0 <fat_buf_release>             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1eb18:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc1eb1c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc1eb20:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc1eb24:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1eb28:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc1eb2c:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc1eb30:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc1eb34:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc1eb38:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc1eb3c:	4e 80 00 20 	blr                                            <== 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;                                 
ffc1eb40:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
fat_free_fat_clusters_chain(                                          
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
ffc1eb44:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1eb48:	81 3f 00 44 	lwz     r9,68(r31)                             
                                                                      
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
ffc1eb4c:	93 7f 00 4c 	stw     r27,76(r31)                            
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1eb50:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1eb54:	41 9e 00 0c 	beq-    cr7,ffc1eb60 <fat_free_fat_clusters_chain+0x108><== ALWAYS TAKEN
            fs_info->vol.free_cls += freed_cls_cnt;                   
ffc1eb58:	7d 3d 4a 14 	add     r9,r29,r9                              <== NOT EXECUTED
ffc1eb5c:	91 3f 00 44 	stw     r9,68(r31)                             <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
ffc1eb60:	7f e3 fb 78 	mr      r3,r31                                 
ffc1eb64:	4b ff 83 5d 	bl      ffc16ec0 <fat_buf_release>             
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1eb68:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
        fs_info->vol.next_cl = chain;                                 
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
            fs_info->vol.free_cls += freed_cls_cnt;                   
                                                                      
    fat_buf_release(fs_info);                                         
ffc1eb6c:	7f 9e e3 78 	mr      r30,r28                                
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1eb70:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1eb74:	7c 08 03 a6 	mtlr    r0                                     
ffc1eb78:	7f c3 f3 78 	mr      r3,r30                                 
ffc1eb7c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1eb80:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1eb84:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1eb88:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1eb8c:	38 21 00 30 	addi    r1,r1,48                               
ffc1eb90:	4e 80 00 20 	blr                                            
                                                                      

ffc1840c <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);
ffc1840c:	81 43 00 80 	lwz     r10,128(r3)                            <== NOT EXECUTED
ffc18410:	38 e0 ff fe 	li      r7,-2                                  <== NOT EXECUTED
ffc18414:	81 23 00 74 	lwz     r9,116(r3)                             <== NOT EXECUTED
ffc18418:	7c 8a 20 50 	subf    r4,r10,r4                              <== NOT EXECUTED
ffc1841c:	54 8a e8 fe 	rlwinm  r10,r4,29,3,31                         <== NOT EXECUTED
ffc18420:	7d 09 50 ae 	lbzx    r8,r9,r10                              <== NOT EXECUTED
ffc18424:	54 84 07 7e 	clrlwi  r4,r4,29                               <== NOT EXECUTED
ffc18428:	5c e4 20 3e 	rotlw   r4,r7,r4                               <== NOT EXECUTED
ffc1842c:	7c 88 40 38 	and     r8,r4,r8                               <== NOT EXECUTED
ffc18430:	7d 09 51 ae 	stbx    r8,r9,r10                              <== NOT EXECUTED
ffc18434:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1e4d4 <fat_get_fat_cluster>: uint8_t *sec_buf; uint32_t sec = 0; uint32_t ofs = 0; /* sanity check */ if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )
ffc1e4d4:	2b 84 00 01 	cmplwi  cr7,r4,1                               
fat_get_fat_cluster(                                                  
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              cln,                        
    uint32_t                             *ret_val                     
    )                                                                 
{                                                                     
ffc1e4d8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1e4dc:	7c 08 02 a6 	mflr    r0                                     
ffc1e4e0:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1e4e4:	7c 9e 23 78 	mr      r30,r4                                 
ffc1e4e8:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1e4ec:	93 21 00 1c 	stw     r25,28(r1)                             
ffc1e4f0:	93 41 00 20 	stw     r26,32(r1)                             
ffc1e4f4:	93 61 00 24 	stw     r27,36(r1)                             
ffc1e4f8:	93 81 00 28 	stw     r28,40(r1)                             
ffc1e4fc:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1e500:	93 e1 00 34 	stw     r31,52(r1)                             
    uint8_t                *sec_buf;                                  
    uint32_t                sec = 0;                                  
    uint32_t                ofs = 0;                                  
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
ffc1e504:	40 9d 00 8c 	ble-    cr7,ffc1e590 <fat_get_fat_cluster+0xbc><== NEVER TAKEN
ffc1e508:	81 23 00 38 	lwz     r9,56(r3)                              
ffc1e50c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1e510:	39 29 00 01 	addi    r9,r9,1                                
ffc1e514:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc1e518:	41 9d 00 78 	bgt-    cr7,ffc1e590 <fat_get_fat_cluster+0xbc><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc1e51c:	89 23 00 0e 	lbz     r9,14(r3)                              
ffc1e520:	7c ba 2b 78 	mr      r26,r5                                 
ffc1e524:	71 2a 00 01 	andi.   r10,r9,1                               
ffc1e528:	40 82 00 a8 	bne-    ffc1e5d0 <fat_get_fat_cluster+0xfc>    
ffc1e52c:	55 29 07 bc 	rlwinm  r9,r9,0,30,30                          
ffc1e530:	8b 63 00 02 	lbz     r27,2(r3)                              
ffc1e534:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc1e538:	41 82 00 b4 	beq-    ffc1e5ec <fat_get_fat_cluster+0x118>   
ffc1e53c:	54 9d 08 3c 	rlwinm  r29,r4,1,0,30                          
ffc1e540:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e544:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e548:	7f 7b 4a 14 	add     r27,r27,r9                             
          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, &sec_buf);    
ffc1e54c:	7f e3 fb 78 	mr      r3,r31                                 
    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);
ffc1e550:	a3 3f 00 00 	lhz     r25,0(r31)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &sec_buf);    
ffc1e554:	7f 64 db 78 	mr      r4,r27                                 
ffc1e558:	38 a0 00 01 	li      r5,1                                   
ffc1e55c:	38 c1 00 08 	addi    r6,r1,8                                
ffc1e560:	4b ff 8b 45 	bl      ffc170a4 <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc1e564:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc1e568:	40 82 00 38 	bne-    ffc1e5a0 <fat_get_fat_cluster+0xcc>    <== NEVER TAKEN
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1e56c:	89 3f 00 0e 	lbz     r9,14(r31)                             
    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);
ffc1e570:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc1e574:	7f bd c8 38 	and     r29,r29,r25                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &sec_buf);    
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1e578:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc1e57c:	41 9e 00 84 	beq-    cr7,ffc1e600 <fat_get_fat_cluster+0x12c>
ffc1e580:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc1e584:	41 9e 01 08 	beq-    cr7,ffc1e68c <fat_get_fat_cluster+0x1b8>
ffc1e588:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1e58c:	41 9e 00 bc 	beq-    cr7,ffc1e648 <fat_get_fat_cluster+0x174><== ALWAYS TAKEN
            *ret_val = *((uint32_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_L(*ret_val);                             
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1e590:	48 00 21 0d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1e594:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1e598:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1e59c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e5a0:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1e5a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e5a8:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1e5ac:	7c 08 03 a6 	mtlr    r0                                     
ffc1e5b0:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1e5b4:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1e5b8:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1e5bc:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1e5c0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e5c4:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e5c8:	38 21 00 38 	addi    r1,r1,56                               
ffc1e5cc:	4e 80 00 20 	blr                                            
                                                                      
    /* 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) +
ffc1e5d0:	54 9d f8 7e 	rlwinm  r29,r4,31,1,31                         
ffc1e5d4:	8b 63 00 02 	lbz     r27,2(r3)                              
ffc1e5d8:	7f bd 22 14 	add     r29,r29,r4                             
ffc1e5dc:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e5e0:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e5e4:	7f 7b 4a 14 	add     r27,r27,r9                             
ffc1e5e8:	4b ff ff 64 	b       ffc1e54c <fat_get_fat_cluster+0x78>    
ffc1e5ec:	54 9d 10 3a 	rlwinm  r29,r4,2,0,29                          
ffc1e5f0:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e5f4:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e5f8:	7f 7b 4a 14 	add     r27,r27,r9                             
ffc1e5fc:	4b ff ff 50 	b       ffc1e54c <fat_get_fat_cluster+0x78>    
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
ffc1e600:	81 21 00 08 	lwz     r9,8(r1)                               
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e604:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e608:	80 01 00 3c 	lwz     r0,60(r1)                              
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
ffc1e60c:	7d 29 ea 2e 	lhzx    r9,r9,r29                              
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e610:	7c 08 03 a6 	mtlr    r0                                     
ffc1e614:	83 21 00 1c 	lwz     r25,28(r1)                             
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_W(*ret_val);                             
ffc1e618:	55 2a c2 3e 	rlwinm  r10,r9,24,8,31                         
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e61c:	83 61 00 24 	lwz     r27,36(r1)                             
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_W(*ret_val);                             
ffc1e620:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e624:	83 81 00 28 	lwz     r28,40(r1)                             
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_W(*ret_val);                             
ffc1e628:	7d 49 4b 78 	or      r9,r10,r9                              
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e62c:	83 a1 00 2c 	lwz     r29,44(r1)                             
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_W(*ret_val);                             
ffc1e630:	91 3a 00 00 	stw     r9,0(r26)                              
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e634:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e638:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1e63c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e640:	38 21 00 38 	addi    r1,r1,56                               
ffc1e644:	4e 80 00 20 	blr                                            
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*(sec_buf + ofs));                            
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1e648:	a1 3f 00 00 	lhz     r9,0(r31)                              
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*(sec_buf + ofs));                            
ffc1e64c:	81 41 00 08 	lwz     r10,8(r1)                              
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1e650:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1e654:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
        case FAT_FAT12:                                               
            /*                                                        
             * we are enforced in complex computations for FAT12 to escape CPU
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*(sec_buf + ofs));                            
ffc1e658:	7d 2a e8 ae 	lbzx    r9,r10,r29                             
ffc1e65c:	91 3a 00 00 	stw     r9,0(r26)                              
            if ( ofs == (fs_info->vol.bps - 1) )                      
ffc1e660:	41 9e 00 84 	beq-    cr7,ffc1e6e4 <fat_get_fat_cluster+0x210><== NEVER TAKEN
                                                                      
                *ret_val |= *sec_buf << 8;                            
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= *(sec_buf + ofs + 1) << 8;                
ffc1e664:	7f aa ea 14 	add     r29,r10,r29                            
ffc1e668:	89 5d 00 01 	lbz     r10,1(r29)                             
ffc1e66c:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc1e670:	7d 49 4b 78 	or      r9,r10,r9                              
ffc1e674:	91 3a 00 00 	stw     r9,0(r26)                              
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc1e678:	73 ca 00 01 	andi.   r10,r30,1                              
ffc1e67c:	41 82 00 5c 	beq-    ffc1e6d8 <fat_get_fat_cluster+0x204>   
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
ffc1e680:	55 29 e1 3e 	rlwinm  r9,r9,28,4,31                          
ffc1e684:	91 3a 00 00 	stw     r9,0(r26)                              
ffc1e688:	4b ff ff 18 	b       ffc1e5a0 <fat_get_fat_cluster+0xcc>    
            *ret_val = *((uint16_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_W(*ret_val);                             
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(sec_buf + ofs));              
ffc1e68c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e690:	7d 49 e8 2e 	lwzx    r10,r9,r29                             
ffc1e694:	51 49 46 3e 	rlwimi  r9,r10,8,24,31                         
ffc1e698:	51 49 c4 2e 	rlwimi  r9,r10,24,16,23                        
ffc1e69c:	51 49 42 1e 	rlwimi  r9,r10,8,8,15                          
ffc1e6a0:	51 49 c0 0e 	rlwimi  r9,r10,24,0,7                          
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e6a4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1e6a8:	7f 83 e3 78 	mr      r3,r28                                 
            *ret_val = CF_LE_W(*ret_val);                             
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(sec_buf + ofs));              
            *ret_val = CF_LE_L(*ret_val);                             
ffc1e6ac:	91 3a 00 00 	stw     r9,0(r26)                              
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e6b0:	7c 08 03 a6 	mtlr    r0                                     
ffc1e6b4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1e6b8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1e6bc:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1e6c0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1e6c4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1e6c8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e6cc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e6d0:	38 21 00 38 	addi    r1,r1,56                               
ffc1e6d4:	4e 80 00 20 	blr                                            
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
ffc1e6d8:	55 29 05 3e 	clrlwi  r9,r9,20                               
ffc1e6dc:	91 3a 00 00 	stw     r9,0(r26)                              
ffc1e6e0:	4b ff fe c0 	b       ffc1e5a0 <fat_get_fat_cluster+0xcc>    
             * align problems for some architectures                  
             */                                                       
            *ret_val = (*(sec_buf + ofs));                            
            if ( ofs == (fs_info->vol.bps - 1) )                      
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
ffc1e6e4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e6e8:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc1e6ec:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1e6f0:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1e6f4:	4b ff 89 b1 	bl      ffc170a4 <fat_buf_access>              <== NOT EXECUTED
                                    &sec_buf);                        
                if (rc != RC_OK)                                      
ffc1e6f8:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1e6fc:	40 82 00 20 	bne-    ffc1e71c <fat_get_fat_cluster+0x248>   <== NOT EXECUTED
                    return rc;                                        
                                                                      
                *ret_val |= *sec_buf << 8;                            
ffc1e700:	81 41 00 08 	lwz     r10,8(r1)                              <== NOT EXECUTED
ffc1e704:	81 3a 00 00 	lwz     r9,0(r26)                              <== NOT EXECUTED
ffc1e708:	89 4a 00 00 	lbz     r10,0(r10)                             <== NOT EXECUTED
ffc1e70c:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc1e710:	7d 49 4b 78 	or      r9,r10,r9                              <== NOT EXECUTED
ffc1e714:	91 3a 00 00 	stw     r9,0(r26)                              <== NOT EXECUTED
ffc1e718:	4b ff ff 60 	b       ffc1e678 <fat_get_fat_cluster+0x1a4>   <== NOT EXECUTED
            *ret_val = (*(sec_buf + ofs));                            
            if ( ofs == (fs_info->vol.bps - 1) )                      
            {                                                         
                rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                    &sec_buf);                        
                if (rc != RC_OK)                                      
ffc1e71c:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc1e720:	4b ff fe 80 	b       ffc1e5a0 <fat_get_fat_cluster+0xcc>    <== NOT EXECUTED
                                                                      

ffc182e8 <fat_get_unique_ino>: * 0 means FAILED !!! * */ uint32_t fat_get_unique_ino(fat_fs_info_t *fs_info) {
ffc182e8:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc182ec:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc182f0:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc182f4:	93 a1 00 0c 	stw     r29,12(r1)                             <== 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))
ffc182f8:	3f a0 0f ff 	lis     r29,4095                               <== NOT EXECUTED
ffc182fc:	63 bd ff ff 	ori     r29,r29,65535                          <== NOT EXECUTED
ffc18300:	80 83 00 7c 	lwz     r4,124(r3)                             <== NOT EXECUTED
 *     0 means FAILED !!!                                             
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(fat_fs_info_t *fs_info)                            
{                                                                     
ffc18304:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc18308:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
 *     0 means FAILED !!!                                             
 *                                                                    
 */                                                                   
uint32_t                                                              
fat_get_unique_ino(fat_fs_info_t *fs_info)                            
{                                                                     
ffc1830c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc18310:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
ffc18314:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
ffc18318:	41 9e 00 9c 	beq-    cr7,ffc183b4 <fat_get_unique_ino+0xcc> <== NOT EXECUTED
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc1831c:	81 3f 00 78 	lwz     r9,120(r31)                            <== NOT EXECUTED
ffc18320:	81 1f 00 74 	lwz     r8,116(r31)                            <== NOT EXECUTED
ffc18324:	55 2a e8 fe 	rlwinm  r10,r9,29,3,31                         <== NOT EXECUTED
ffc18328:	7c e8 50 ae 	lbzx    r7,r8,r10                              <== NOT EXECUTED
ffc1832c:	55 26 07 7e 	clrlwi  r6,r9,29                               <== NOT EXECUTED
ffc18330:	7d 48 52 14 	add     r10,r8,r10                             <== NOT EXECUTED
ffc18334:	7c e5 36 30 	sraw    r5,r7,r6                               <== NOT EXECUTED
ffc18338:	70 a3 00 01 	andi.   r3,r5,1                                <== NOT EXECUTED
ffc1833c:	41 82 00 40 	beq-    ffc1837c <fat_get_unique_ino+0x94>     <== NOT EXECUTED
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
                return (fs_info->uino_base + fs_info->index);         
            }                                                         
            fs_info->index++;                                         
            if (fs_info->index >= fs_info->uino_pool_size)            
                fs_info->index = 0;                                   
ffc18340:	7c 89 03 a6 	mtctr   r4                                     <== NOT EXECUTED
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
                return (fs_info->uino_base + fs_info->index);         
            }                                                         
            fs_info->index++;                                         
ffc18344:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc18348:	7f 89 20 40 	cmplw   cr7,r9,r4                              <== NOT EXECUTED
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
                return (fs_info->uino_base + fs_info->index);         
            }                                                         
            fs_info->index++;                                         
ffc1834c:	91 3f 00 78 	stw     r9,120(r31)                            <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
ffc18350:	41 9c 00 08 	blt-    cr7,ffc18358 <fat_get_unique_ino+0x70> <== NOT EXECUTED
                fs_info->index = 0;                                   
ffc18354:	93 df 00 78 	stw     r30,120(r31)                           <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
ffc18358:	42 40 00 5c 	bdz-    ffc183b4 <fat_get_unique_ino+0xcc>     <== NOT EXECUTED
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
ffc1835c:	81 3f 00 78 	lwz     r9,120(r31)                            <== NOT EXECUTED
ffc18360:	55 2a e8 fe 	rlwinm  r10,r9,29,3,31                         <== NOT EXECUTED
ffc18364:	7c e8 50 ae 	lbzx    r7,r8,r10                              <== NOT EXECUTED
ffc18368:	55 26 07 7e 	clrlwi  r6,r9,29                               <== NOT EXECUTED
ffc1836c:	7d 48 52 14 	add     r10,r8,r10                             <== NOT EXECUTED
ffc18370:	7c e5 36 30 	sraw    r5,r7,r6                               <== NOT EXECUTED
ffc18374:	70 a3 00 01 	andi.   r3,r5,1                                <== NOT EXECUTED
ffc18378:	40 82 ff cc 	bne+    ffc18344 <fat_get_unique_ino+0x5c>     <== NOT EXECUTED
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
ffc1837c:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc18380:	7d 26 30 30 	slw     r6,r9,r6                               <== NOT EXECUTED
ffc18384:	7c c7 3b 78 	or      r7,r6,r7                               <== NOT EXECUTED
ffc18388:	98 ea 00 00 	stb     r7,0(r10)                              <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc1838c:	80 01 00 1c 	lwz     r0,28(r1)                              <== 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); 
                return (fs_info->uino_base + fs_info->index);         
ffc18390:	80 7f 00 78 	lwz     r3,120(r31)                            <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc18394:	7c 08 03 a6 	mtlr    r0                                     <== 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); 
                return (fs_info->uino_base + fs_info->index);         
ffc18398:	81 3f 00 80 	lwz     r9,128(r31)                            <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc1839c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc183a0:	83 c1 00 10 	lwz     r30,16(r1)                             <== 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); 
                return (fs_info->uino_base + fs_info->index);         
ffc183a4:	7c 63 4a 14 	add     r3,r3,r9                               <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc183a8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc183ac:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc183b0:	4e 80 00 20 	blr                                            <== 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))
ffc183b4:	81 3f 00 80 	lwz     r9,128(r31)                            <== NOT EXECUTED
ffc183b8:	54 84 08 3c 	rlwinm  r4,r4,1,0,30                           <== NOT EXECUTED
ffc183bc:	7d 29 e8 50 	subf    r9,r9,r29                              <== NOT EXECUTED
ffc183c0:	7f 84 48 40 	cmplw   cr7,r4,r9                              <== NOT EXECUTED
ffc183c4:	41 9c 00 24 	blt-    cr7,ffc183e8 <fat_get_unique_ino+0x100><== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
ffc183c8:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                resrc_unsuff = true;                                  
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
ffc183cc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc183d0:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc183d4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc183d8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc183dc:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc183e0:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc183e4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                fs_info->index = 0;                                   
        }                                                             
                                                                      
        if ((fs_info->uino_pool_size << 1) < (0x0FFFFFFF - fs_info->uino_base))
        {                                                             
            fs_info->uino_pool_size <<= 1;                            
ffc183e8:	90 9f 00 7c 	stw     r4,124(r31)                            <== NOT EXECUTED
            fs_info->uino = realloc(fs_info->uino, fs_info->uino_pool_size);
ffc183ec:	80 7f 00 74 	lwz     r3,116(r31)                            <== NOT EXECUTED
ffc183f0:	4b fe f6 c9 	bl      ffc07ab8 <realloc>                     <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc183f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== 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);
ffc183f8:	90 7f 00 74 	stw     r3,116(r31)                            <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
ffc183fc:	41 9e ff cc 	beq+    cr7,ffc183c8 <fat_get_unique_ino+0xe0> <== NOT EXECUTED
                fs_info->index = fs_info->uino_pool_size;             
ffc18400:	80 9f 00 7c 	lwz     r4,124(r31)                            <== NOT EXECUTED
ffc18404:	90 9f 00 78 	stw     r4,120(r31)                            <== NOT EXECUTED
ffc18408:	4b ff ff 0c 	b       ffc18314 <fat_get_unique_ino+0x2c>     <== NOT EXECUTED
                                                                      

ffc1821c <fat_init_clusters_chain>: int fat_init_clusters_chain( fat_fs_info_t *fs_info, uint32_t start_cln ) {
ffc1821c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc18220:	7c 08 02 a6 	mflr    r0                                     
ffc18224:	7c 89 23 78 	mr      r9,r4                                  
ffc18228:	93 c1 00 18 	stw     r30,24(r1)                             
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
ffc1822c:	7c 3e 0b 78 	mr      r30,r1                                 
int                                                                   
fat_init_clusters_chain(                                              
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              start_cln                   
    )                                                                 
{                                                                     
ffc18230:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc18234:	7c 7f 1b 78 	mr      r31,r3                                 
ffc18238:	90 01 00 24 	stw     r0,36(r1)                              
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
ffc1823c:	94 9e 00 08 	stwu    r4,8(r30)                              
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18240:	48 00 00 08 	b       ffc18248 <fat_init_clusters_chain+0x2c>
ffc18244:	81 21 00 08 	lwz     r9,8(r1)                               
ffc18248:	81 1f 00 10 	lwz     r8,16(r31)                             
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
ffc1824c:	7d 24 4b 78 	mr      r4,r9                                  
{                                                                     
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18250:	81 5f 00 14 	lwz     r10,20(r31)                            
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
ffc18254:	38 a0 00 00 	li      r5,0                                   
{                                                                     
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18258:	7d 29 40 38 	and     r9,r9,r8                               
ffc1825c:	7f 89 50 40 	cmplw   cr7,r9,r10                             
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
ffc18260:	38 e0 00 00 	li      r7,0                                   
ffc18264:	7f e3 fb 78 	mr      r3,r31                                 
{                                                                     
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
ffc18268:	40 9c 00 48 	bge-    cr7,ffc182b0 <fat_init_clusters_chain+0x94>
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
ffc1826c:	a0 df 00 06 	lhz     r6,6(r31)                              
ffc18270:	4b ff f1 2d 	bl      ffc1739c <fat_cluster_set>             
        if ( ret != fs_info->vol.bpc )                                
ffc18274:	a1 3f 00 06 	lhz     r9,6(r31)                              
        {                                                             
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);        
ffc18278:	7f c5 f3 78 	mr      r5,r30                                 
    uint32_t                cur_cln = start_cln;                      
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
        if ( ret != fs_info->vol.bpc )                                
ffc1827c:	7f 89 18 00 	cmpw    cr7,r9,r3                              
        {                                                             
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);        
ffc18280:	7f e3 fb 78 	mr      r3,r31                                 
    uint32_t                cur_cln = start_cln;                      
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
        if ( ret != fs_info->vol.bpc )                                
ffc18284:	40 9e 00 48 	bne-    cr7,ffc182cc <fat_init_clusters_chain+0xb0><== NEVER TAKEN
        {                                                             
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);        
ffc18288:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1828c:	48 00 62 49 	bl      ffc1e4d4 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc18290:	2c 03 00 00 	cmpwi   r3,0                                   
ffc18294:	41 82 ff b0 	beq+    ffc18244 <fat_init_clusters_chain+0x28><== ALWAYS TAKEN
        }                                                             
                                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc18298:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1829c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc182a0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc182a4:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc182a8:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc182ac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc182b0:	80 01 00 24 	lwz     r0,36(r1)                              
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
                                                                      
    return rc;                                                        
ffc182b4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc182b8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc182bc:	7c 08 03 a6 	mtlr    r0                                     
ffc182c0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc182c4:	38 21 00 20 	addi    r1,r1,32                               
ffc182c8:	4e 80 00 20 	blr                                            
ffc182cc:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_set(fs_info, cur_cln, 0, fs_info->vol.bpc, 0);
        if ( ret != fs_info->vol.bpc )                                
        {                                                             
            return -1;                                                
ffc182d0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
        }                                                             
                                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc182d4:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc182d8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc182dc:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc182e0:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc182e4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc177a8 <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) {
ffc177a8:	94 21 ff 28 	stwu    r1,-216(r1)                            
ffc177ac:	7c 08 02 a6 	mflr    r0                                     
    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;                                 
ffc177b0:	39 40 00 00 	li      r10,0                                  
 *     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)      
{                                                                     
ffc177b4:	92 81 00 a8 	stw     r20,168(r1)                            
ffc177b8:	7c 74 1b 78 	mr      r20,r3                                 
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    vol->fd = open(device, O_RDWR);                                   
ffc177bc:	7c 83 23 78 	mr      r3,r4                                  
ffc177c0:	38 80 00 02 	li      r4,2                                   
 *     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)      
{                                                                     
ffc177c4:	90 01 00 dc 	stw     r0,220(r1)                             
ffc177c8:	91 c1 00 90 	stw     r14,144(r1)                            
ffc177cc:	91 e1 00 94 	stw     r15,148(r1)                            
ffc177d0:	92 01 00 98 	stw     r16,152(r1)                            
ffc177d4:	92 21 00 9c 	stw     r17,156(r1)                            
ffc177d8:	92 41 00 a0 	stw     r18,160(r1)                            
ffc177dc:	92 61 00 a4 	stw     r19,164(r1)                            
ffc177e0:	92 a1 00 ac 	stw     r21,172(r1)                            
ffc177e4:	92 c1 00 b0 	stw     r22,176(r1)                            
ffc177e8:	92 e1 00 b4 	stw     r23,180(r1)                            
ffc177ec:	93 01 00 b8 	stw     r24,184(r1)                            
ffc177f0:	93 21 00 bc 	stw     r25,188(r1)                            
ffc177f4:	93 41 00 c0 	stw     r26,192(r1)                            
ffc177f8:	93 61 00 c4 	stw     r27,196(r1)                            
ffc177fc:	93 81 00 c8 	stw     r28,200(r1)                            
ffc17800:	93 a1 00 cc 	stw     r29,204(r1)                            
ffc17804:	93 c1 00 d0 	stw     r30,208(r1)                            
ffc17808:	93 e1 00 d4 	stw     r31,212(r1)                            
    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;                                 
ffc1780c:	91 41 00 5c 	stw     r10,92(r1)                             
                                                                      
    vol->fd = open(device, O_RDWR);                                   
ffc17810:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc17814:	4b fe ff 75 	bl      ffc07788 <open>                        
    if (vol->fd < 0)                                                  
ffc17818:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    vol->fd = open(device, O_RDWR);                                   
ffc1781c:	90 74 00 60 	stw     r3,96(r20)                             
    if (vol->fd < 0)                                                  
ffc17820:	41 9c 06 e8 	blt-    cr7,ffc17f08 <fat_init_volume_info+0x760><== NEVER TAKEN
    {                                                                 
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    rc = fstat(vol->fd, &stat_buf);                                   
ffc17824:	38 81 00 08 	addi    r4,r1,8                                
ffc17828:	4b fe ef d5 	bl      ffc067fc <fstat>                       
    if (rc != 0)                                                      
ffc1782c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17830:	40 9e 06 d0 	bne-    cr7,ffc17f00 <fat_init_volume_info+0x758><== NEVER TAKEN
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
ffc17834:	81 41 00 14 	lwz     r10,20(r1)                             
    {                                                                 
        close(vol->fd);                                               
ffc17838:	80 74 00 60 	lwz     r3,96(r20)                             
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
ffc1783c:	55 4a 04 26 	rlwinm  r10,r10,0,16,19                        
ffc17840:	2f 8a 60 00 	cmpwi   cr7,r10,24576                          
ffc17844:	40 9e 06 c0 	bne-    cr7,ffc17f04 <fat_init_volume_info+0x75c><== NEVER TAKEN
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
ffc17848:	3c 80 40 04 	lis     r4,16388                               
ffc1784c:	60 84 42 09 	ori     r4,r4,16905                            
ffc17850:	38 b4 00 64 	addi    r5,r20,100                             
ffc17854:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc17858:	48 00 19 d9 	bl      ffc19230 <ioctl>                       
        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) {                                                    
ffc1785c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17860:	40 9e 06 a0 	bne-    cr7,ffc17f00 <fat_init_volume_info+0x758><== NEVER TAKEN
        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);                       
ffc17864:	80 74 00 64 	lwz     r3,100(r20)                            
ffc17868:	38 80 00 00 	li      r4,0                                   
ffc1786c:	38 a1 00 5c 	addi    r5,r1,92                               
ffc17870:	4b ff cb d9 	bl      ffc14448 <rtems_bdbuf_read>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc17874:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17878:	40 9e 06 bc 	bne-    cr7,ffc17f34 <fat_init_volume_info+0x78c><== NEVER TAKEN
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EIO);                   
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
ffc1787c:	80 61 00 5c 	lwz     r3,92(r1)                              
ffc17880:	81 43 00 1c 	lwz     r10,28(r3)                             
ffc17884:	89 2a 00 21 	lbz     r9,33(r10)                             
ffc17888:	8b ea 00 0b 	lbz     r31,11(r10)                            
ffc1788c:	91 21 00 6c 	stw     r9,108(r1)                             
ffc17890:	89 2a 00 24 	lbz     r9,36(r10)                             
ffc17894:	8b ca 00 0c 	lbz     r30,12(r10)                            
ffc17898:	91 21 00 70 	stw     r9,112(r1)                             
ffc1789c:	89 2a 00 25 	lbz     r9,37(r10)                             
ffc178a0:	89 ea 00 0d 	lbz     r15,13(r10)                            
ffc178a4:	91 21 00 68 	stw     r9,104(r1)                             
ffc178a8:	89 2a 00 28 	lbz     r9,40(r10)                             
ffc178ac:	8a ea 00 0e 	lbz     r23,14(r10)                            
ffc178b0:	91 21 00 74 	stw     r9,116(r1)                             
ffc178b4:	89 2a 00 2c 	lbz     r9,44(r10)                             
ffc178b8:	8a ca 00 0f 	lbz     r22,15(r10)                            
ffc178bc:	91 21 00 80 	stw     r9,128(r1)                             
ffc178c0:	89 2a 00 2d 	lbz     r9,45(r10)                             
ffc178c4:	8a 4a 00 10 	lbz     r18,16(r10)                            
ffc178c8:	91 21 00 84 	stw     r9,132(r1)                             
ffc178cc:	89 2a 00 2e 	lbz     r9,46(r10)                             
ffc178d0:	8b aa 00 11 	lbz     r29,17(r10)                            
ffc178d4:	91 21 00 88 	stw     r9,136(r1)                             
ffc178d8:	89 2a 00 2f 	lbz     r9,47(r10)                             
ffc178dc:	8b 8a 00 12 	lbz     r28,18(r10)                            
ffc178e0:	8b 6a 00 13 	lbz     r27,19(r10)                            
ffc178e4:	8b 4a 00 14 	lbz     r26,20(r10)                            
ffc178e8:	8b 2a 00 16 	lbz     r25,22(r10)                            
ffc178ec:	8b 0a 00 17 	lbz     r24,23(r10)                            
ffc178f0:	89 ca 00 20 	lbz     r14,32(r10)                            
ffc178f4:	8a 2a 00 22 	lbz     r17,34(r10)                            
ffc178f8:	8a 0a 00 23 	lbz     r16,35(r10)                            
ffc178fc:	8a 6a 00 26 	lbz     r19,38(r10)                            
ffc17900:	8a aa 00 27 	lbz     r21,39(r10)                            
ffc17904:	91 21 00 8c 	stw     r9,140(r1)                             
ffc17908:	89 2a 00 30 	lbz     r9,48(r10)                             
ffc1790c:	89 4a 00 31 	lbz     r10,49(r10)                            
ffc17910:	91 21 00 78 	stw     r9,120(r1)                             
ffc17914:	91 41 00 7c 	stw     r10,124(r1)                            
                                                                      
    sc = rtems_bdbuf_release( block);                                 
ffc17918:	4b ff cd 71 	bl      ffc14688 <rtems_bdbuf_release>         
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1791c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc17920:	40 82 06 14 	bne-    ffc17f34 <fat_init_volume_info+0x78c>  <== NEVER TAKEN
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
ffc17924:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
ffc17928:	7f df fb 78 	or      r31,r30,r31                            
ffc1792c:	7f ff 07 34 	extsh   r31,r31                                
ffc17930:	57 e4 04 3e 	clrlwi  r4,r31,16                              
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc17934:	2f 84 02 00 	cmpwi   cr7,r4,512                             
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
ffc17938:	b0 94 00 00 	sth     r4,0(r20)                              
                                                                      
    if ( (vol->bps != 512)  &&                                        
ffc1793c:	41 9e 05 74 	beq-    cr7,ffc17eb0 <fat_init_volume_info+0x708><== ALWAYS TAKEN
ffc17940:	2f 84 04 00 	cmpwi   cr7,r4,1024                            <== NOT EXECUTED
ffc17944:	41 9e 00 14 	beq-    cr7,ffc17958 <fat_init_volume_info+0x1b0><== NOT EXECUTED
         (vol->bps != 1024) &&                                        
ffc17948:	2f 84 08 00 	cmpwi   cr7,r4,2048                            <== NOT EXECUTED
ffc1794c:	41 9e 00 0c 	beq-    cr7,ffc17958 <fat_init_volume_info+0x1b0><== NOT EXECUTED
         (vol->bps != 2048) &&                                        
ffc17950:	2f 84 10 00 	cmpwi   cr7,r4,4096                            <== NOT EXECUTED
ffc17954:	40 9e 05 90 	bne-    cr7,ffc17ee4 <fat_init_volume_info+0x73c><== NOT EXECUTED
         (vol->bps != 4096))                                          
    {                                                                 
        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;
ffc17958:	54 8a ba 7e 	rlwinm  r10,r4,23,9,31                         <== NOT EXECUTED
ffc1795c:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc17960:	48 00 00 08 	b       ffc17968 <fat_init_volume_info+0x1c0>  <== NOT EXECUTED
ffc17964:	7c e8 3b 78 	mr      r8,r7                                  <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
ffc17968:	7d 4a 0e 70 	srawi   r10,r10,1                              <== NOT EXECUTED
         (vol->bps != 4096))                                          
    {                                                                 
        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;
ffc1796c:	71 49 00 01 	andi.   r9,r10,1                               <== NOT EXECUTED
ffc17970:	38 e8 00 01 	addi    r7,r8,1                                <== NOT EXECUTED
ffc17974:	54 e7 06 3e 	clrlwi  r7,r7,24                               <== NOT EXECUTED
ffc17978:	41 82 ff ec 	beq+    ffc17964 <fat_init_volume_info+0x1bc>  <== NOT EXECUTED
ffc1797c:	99 14 00 03 	stb     r8,3(r20)                              <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc17980:	73 e9 00 01 	andi.   r9,r31,1                               
ffc17984:	39 40 00 00 	li      r10,0                                  
ffc17988:	99 54 00 02 	stb     r10,2(r20)                             
ffc1798c:	40 82 05 98 	bne-    ffc17f24 <fat_init_volume_info+0x77c>  <== NEVER TAKEN
ffc17990:	7c 8a 23 78 	mr      r10,r4                                 
ffc17994:	39 00 00 01 	li      r8,1                                   
ffc17998:	48 00 00 08 	b       ffc179a0 <fat_init_volume_info+0x1f8>  
ffc1799c:	7c e8 3b 78 	mr      r8,r7                                  
         i >>= 1, vol->sec_log2++);                                   
ffc179a0:	7d 4a 0e 70 	srawi   r10,r10,1                              
        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;
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc179a4:	71 49 00 01 	andi.   r9,r10,1                               
ffc179a8:	38 e8 00 01 	addi    r7,r8,1                                
ffc179ac:	54 e7 06 3e 	clrlwi  r7,r7,24                               
ffc179b0:	41 82 ff ec 	beq+    ffc1799c <fat_init_volume_info+0x1f4>  
ffc179b4:	99 14 00 02 	stb     r8,2(r20)                              
    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)                                                
ffc179b8:	2f 8f 00 00 	cmpwi   cr7,r15,0                              
    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;               
         i >>= 1, vol->sec_log2++);                                   
                                                                      
    vol->bytes_per_block = vol->bps;                                  
ffc179bc:	b0 94 00 0a 	sth     r4,10(r20)                             
    vol->bytes_per_block_log2 = vol->sec_log2;                        
    vol->sectors_per_block = 1;                                       
ffc179c0:	39 40 00 01 	li      r10,1                                  
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
         i >>= 1, vol->sec_log2++);                                   
                                                                      
    vol->bytes_per_block = vol->bps;                                  
    vol->bytes_per_block_log2 = vol->sec_log2;                        
ffc179c4:	99 14 00 0c 	stb     r8,12(r20)                             
    vol->sectors_per_block = 1;                                       
ffc179c8:	99 54 00 09 	stb     r10,9(r20)                             
                                                                      
    vol->spc = FAT_GET_BR_SECTORS_PER_CLUSTER(boot_rec);              
ffc179cc:	99 f4 00 04 	stb     r15,4(r20)                             
    /*                                                                
     * "sectors per cluster" of zero is invalid                       
     * (and would hang the following loop)                            
     */                                                               
    if (vol->spc == 0)                                                
ffc179d0:	41 9e 05 14 	beq-    cr7,ffc17ee4 <fat_init_volume_info+0x73c><== NEVER TAKEN
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc179d4:	71 e9 00 01 	andi.   r9,r15,1                               
ffc179d8:	39 40 00 00 	li      r10,0                                  
ffc179dc:	99 54 00 05 	stb     r10,5(r20)                             
ffc179e0:	7d ea 7b 78 	mr      r10,r15                                
ffc179e4:	40 82 05 48 	bne-    ffc17f2c <fat_init_volume_info+0x784>  
ffc179e8:	38 e0 00 01 	li      r7,1                                   
ffc179ec:	48 00 00 08 	b       ffc179f4 <fat_init_volume_info+0x24c>  
ffc179f0:	7c 67 1b 78 	mr      r7,r3                                  
         i >>= 1, vol->spc_log2++);                                   
ffc179f4:	7d 4a 0e 70 	srawi   r10,r10,1                              
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc179f8:	71 49 00 01 	andi.   r9,r10,1                               
ffc179fc:	38 67 00 01 	addi    r3,r7,1                                
ffc17a00:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc17a04:	41 82 ff ec 	beq+    ffc179f0 <fat_init_volume_info+0x248>  
ffc17a08:	98 f4 00 05 	stb     r7,5(r20)                              
         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)
ffc17a0c:	7c 8a 38 30 	slw     r10,r4,r7                              
ffc17a10:	55 47 04 3e 	clrlwi  r7,r10,16                              
ffc17a14:	2b 87 80 00 	cmplwi  cr7,r7,32768                           
ffc17a18:	b0 f4 00 06 	sth     r7,6(r20)                              
ffc17a1c:	41 9d 04 c8 	bgt-    cr7,ffc17ee4 <fat_init_volume_info+0x73c><== NEVER TAKEN
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc17a20:	71 49 00 01 	andi.   r9,r10,1                               
ffc17a24:	38 e0 00 00 	li      r7,0                                   
ffc17a28:	98 f4 00 08 	stb     r7,8(r20)                              
ffc17a2c:	55 4a 04 3e 	clrlwi  r10,r10,16                             
ffc17a30:	38 e0 00 01 	li      r7,1                                   
ffc17a34:	41 a2 00 0c 	beq+    ffc17a40 <fat_init_volume_info+0x298>  <== ALWAYS TAKEN
ffc17a38:	48 00 00 20 	b       ffc17a58 <fat_init_volume_info+0x2b0>  <== NOT EXECUTED
ffc17a3c:	7c 67 1b 78 	mr      r7,r3                                  
         i >>= 1, vol->bpc_log2++);                                   
ffc17a40:	7d 4a 0e 70 	srawi   r10,r10,1                              
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
ffc17a44:	71 49 00 01 	andi.   r9,r10,1                               
ffc17a48:	38 67 00 01 	addi    r3,r7,1                                
ffc17a4c:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc17a50:	41 82 ff ec 	beq+    ffc17a3c <fat_init_volume_info+0x294>  
ffc17a54:	98 f4 00 08 	stb     r7,8(r20)                              
         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);        
ffc17a58:	57 9c 40 2e 	rlwinm  r28,r28,8,0,23                         
    }                                                                 
                                                                      
    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);                         
ffc17a5c:	9a 54 00 0d 	stb     r18,13(r20)                            
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
ffc17a60:	7f 9d eb 78 	or      r29,r28,r29                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
ffc17a64:	39 44 ff ff 	addi    r10,r4,-1                              
         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);        
ffc17a68:	b3 b4 00 24 	sth     r29,36(r20)                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
ffc17a6c:	57 a7 28 34 	rlwinm  r7,r29,5,0,26                          
ffc17a70:	7d 47 52 14 	add     r10,r7,r10                             
ffc17a74:	7c 8a 23 d6 	divw    r4,r10,r4                              
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc17a78:	57 18 40 2e 	rlwinm  r24,r24,8,0,23                         
    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)) /
ffc17a7c:	90 94 00 28 	stw     r4,40(r20)                             
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc17a80:	7f 19 cb 78 	or      r25,r24,r25                            
ffc17a84:	7f 38 07 35 	extsh.  r24,r25                                
                                                                      
    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);         
ffc17a88:	56 d6 40 2e 	rlwinm  r22,r22,8,0,23                         
ffc17a8c:	7e d7 bb 78 	or      r23,r22,r23                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
ffc17a90:	7c 88 40 30 	slw     r8,r4,r8                               
                                                                      
    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);         
ffc17a94:	b2 f4 00 18 	sth     r23,24(r20)                            
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
ffc17a98:	91 14 00 2c 	stw     r8,44(r20)                             
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
ffc17a9c:	40 82 01 f0 	bne-    ffc17c8c <fat_init_volume_info+0x4e4>  
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
ffc17aa0:	81 21 00 68 	lwz     r9,104(r1)                             
ffc17aa4:	56 73 80 1e 	rlwinm  r19,r19,16,0,15                        
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17aa8:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         
    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);     
ffc17aac:	55 39 40 2e 	rlwinm  r25,r9,8,0,23                          
ffc17ab0:	81 21 00 70 	lwz     r9,112(r1)                             
ffc17ab4:	7f 39 9b 78 	or      r25,r25,r19                            
ffc17ab8:	7f 39 4b 78 	or      r25,r25,r9                             
ffc17abc:	56 b5 c0 0e 	rlwinm  r21,r21,24,0,7                         
ffc17ac0:	7f 39 ab 78 	or      r25,r25,r21                            
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17ac4:	7f 5b db 78 	or      r27,r26,r27                            
    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);     
ffc17ac8:	93 34 00 1c 	stw     r25,28(r20)                            
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17acc:	7c b9 91 d6 	mullw   r5,r25,r18                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17ad0:	7f 7a 07 35 	extsh.  r26,r27                                
    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);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17ad4:	7c a5 ba 14 	add     r5,r5,r23                              
ffc17ad8:	7c 85 22 14 	add     r4,r5,r4                               
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
ffc17adc:	90 b4 00 20 	stw     r5,32(r20)                             
    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);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17ae0:	90 94 00 34 	stw     r4,52(r20)                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17ae4:	41 82 01 d4 	beq-    ffc17cb8 <fat_init_volume_info+0x510>  <== ALWAYS TAKEN
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
ffc17ae8:	57 5b 04 3e 	clrlwi  r27,r26,16                             
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
ffc17aec:	7c 84 d8 50 	subf    r4,r4,r27                              
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    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);     
ffc17af0:	93 74 00 30 	stw     r27,48(r20)                            
    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;                             
ffc17af4:	7c c4 7b 96 	divwu   r6,r4,r15                              
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc17af8:	2b 86 0f f4 	cmplwi  cr7,r6,4084                            
    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;                             
ffc17afc:	90 d4 00 38 	stw     r6,56(r20)                             
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc17b00:	41 9d 01 ec 	bgt-    cr7,ffc17cec <fat_init_volume_info+0x544>
    {                                                                 
        vol->type = FAT_FAT12;                                        
ffc17b04:	39 40 00 01 	li      r10,1                                  
ffc17b08:	99 54 00 0e 	stb     r10,14(r20)                            
        vol->mask = FAT_FAT12_MASK;                                   
ffc17b0c:	39 40 0f ff 	li      r10,4095                               
ffc17b10:	91 54 00 10 	stw     r10,16(r20)                            
        vol->eoc_val = FAT_FAT12_EOC;                                 
ffc17b14:	39 40 0f f8 	li      r10,4088                               
ffc17b18:	91 54 00 14 	stw     r10,20(r20)                            
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
ffc17b1c:	39 40 00 00 	li      r10,0                                  
        vol->mirror = 0;                                              
        vol->afat = 0;                                                
        vol->free_cls = FAT_UNDEFINED_VALUE;                          
ffc17b20:	39 00 ff ff 	li      r8,-1                                  
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
ffc17b24:	91 54 00 3c 	stw     r10,60(r20)                            
        vol->mirror = 0;                                              
ffc17b28:	99 54 00 54 	stb     r10,84(r20)                            
        vol->afat = 0;                                                
ffc17b2c:	99 54 00 5c 	stb     r10,92(r20)                            
        vol->free_cls = FAT_UNDEFINED_VALUE;                          
ffc17b30:	91 14 00 44 	stw     r8,68(r20)                             
        vol->next_cl = FAT_UNDEFINED_VALUE;                           
ffc17b34:	91 14 00 4c 	stw     r8,76(r20)                             
 *     0 on success, or -1 if error occured and errno set appropriately
 */                                                                   
int                                                                   
_fat_block_release(fat_fs_info_t *fs_info)                            
{                                                                     
    return fat_buf_release(fs_info);                                  
ffc17b38:	7e 83 a3 78 	mr      r3,r20                                 
ffc17b3c:	4b ff f3 85 	bl      ffc16ec0 <fat_buf_release>             
        vol->next_cl = FAT_UNDEFINED_VALUE;                           
    }                                                                 
                                                                      
    _fat_block_release(fs_info);                                      
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc17b40:	88 f4 00 5c 	lbz     r7,92(r20)                             
ffc17b44:	81 54 00 1c 	lwz     r10,28(r20)                            
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc17b48:	38 60 00 02 	li      r3,2                                   
        vol->next_cl = FAT_UNDEFINED_VALUE;                           
    }                                                                 
                                                                      
    _fat_block_release(fs_info);                                      
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc17b4c:	a1 14 00 18 	lhz     r8,24(r20)                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc17b50:	38 80 00 0c 	li      r4,12                                  
        vol->next_cl = FAT_UNDEFINED_VALUE;                           
    }                                                                 
                                                                      
    _fat_block_release(fs_info);                                      
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
ffc17b54:	7d 47 51 d6 	mullw   r10,r7,r10                             
ffc17b58:	7d 4a 42 14 	add     r10,r10,r8                             
ffc17b5c:	91 54 00 58 	stw     r10,88(r20)                            
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc17b60:	4b fe ea a1 	bl      ffc06600 <calloc>                      
    if ( fs_info->vhash == NULL )                                     
ffc17b64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    _fat_block_release(fs_info);                                      
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
ffc17b68:	90 74 00 6c 	stw     r3,108(r20)                            
ffc17b6c:	7c 6a 1b 78 	mr      r10,r3                                 
    if ( fs_info->vhash == NULL )                                     
ffc17b70:	41 9e 04 0c 	beq-    cr7,ffc17f7c <fat_init_volume_info+0x7d4><== NEVER TAKEN
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 );                        
ffc17b74:	38 c3 00 04 	addi    r6,r3,4                                
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc17b78:	91 4a 00 08 	stw     r10,8(r10)                             
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 );                        
ffc17b7c:	39 03 00 0c 	addi    r8,r3,12                               
ffc17b80:	38 e3 00 10 	addi    r7,r3,16                               
                                                                      
  head->next = tail;                                                  
ffc17b84:	90 ca 00 00 	stw     r6,0(r10)                              
  head->previous = NULL;                                              
ffc17b88:	3b e0 00 00 	li      r31,0                                  
ffc17b8c:	93 ea 00 04 	stw     r31,4(r10)                             
    }                                                                 
                                                                      
    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));
ffc17b90:	38 60 00 02 	li      r3,2                                   
ffc17b94:	38 80 00 0c 	li      r4,12                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc17b98:	90 ea 00 0c 	stw     r7,12(r10)                             
  head->previous = NULL;                                              
ffc17b9c:	93 ea 00 10 	stw     r31,16(r10)                            
  tail->previous = head;                                              
ffc17ba0:	91 0a 00 14 	stw     r8,20(r10)                             
ffc17ba4:	4b fe ea 5d 	bl      ffc06600 <calloc>                      
    if ( fs_info->rhash == NULL )                                     
ffc17ba8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
                                                                      
    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));
ffc17bac:	90 74 00 70 	stw     r3,112(r20)                            
ffc17bb0:	7c 6a 1b 78 	mr      r10,r3                                 
    if ( fs_info->rhash == NULL )                                     
ffc17bb4:	41 9e 03 fc 	beq-    cr7,ffc17fb0 <fat_init_volume_info+0x808><== NEVER TAKEN
    }                                                                 
    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;        
ffc17bb8:	88 f4 00 03 	lbz     r7,3(r20)                              
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 );                        
ffc17bbc:	38 c3 00 04 	addi    r6,r3,4                                
ffc17bc0:	81 14 00 30 	lwz     r8,48(r20)                             
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
ffc17bc4:	38 80 00 01 	li      r4,1                                   
    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;        
    fs_info->index = 0;                                               
ffc17bc8:	93 f4 00 78 	stw     r31,120(r20)                           
    }                                                                 
    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;        
ffc17bcc:	7d 08 38 30 	slw     r8,r8,r7                               
ffc17bd0:	55 08 20 36 	rlwinm  r8,r8,4,0,27                           
        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;                
ffc17bd4:	38 e0 01 00 	li      r7,256                                 
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
ffc17bd8:	91 14 00 80 	stw     r8,128(r20)                            
ffc17bdc:	39 03 00 0c 	addi    r8,r3,12                               
        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;                
ffc17be0:	90 f4 00 7c 	stw     r7,124(r20)                            
ffc17be4:	38 e3 00 10 	addi    r7,r3,16                               
    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));
ffc17be8:	38 60 01 00 	li      r3,256                                 
                                                                      
  head->next = tail;                                                  
ffc17bec:	90 ca 00 00 	stw     r6,0(r10)                              
  head->previous = NULL;                                              
ffc17bf0:	93 ea 00 04 	stw     r31,4(r10)                             
  tail->previous = head;                                              
ffc17bf4:	91 4a 00 08 	stw     r10,8(r10)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc17bf8:	90 ea 00 0c 	stw     r7,12(r10)                             
  head->previous = NULL;                                              
ffc17bfc:	93 ea 00 10 	stw     r31,16(r10)                            
  tail->previous = head;                                              
ffc17c00:	91 0a 00 14 	stw     r8,20(r10)                             
ffc17c04:	4b fe e9 fd 	bl      ffc06600 <calloc>                      
    if ( fs_info->uino == NULL )                                      
ffc17c08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        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;        
    fs_info->index = 0;                                               
    fs_info->uino = (char *)calloc(fs_info->uino_pool_size, sizeof(char));
ffc17c0c:	90 74 00 74 	stw     r3,116(r20)                            
    if ( fs_info->uino == NULL )                                      
ffc17c10:	41 9e 03 40 	beq-    cr7,ffc17f50 <fat_init_volume_info+0x7a8><== NEVER TAKEN
        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));  
ffc17c14:	a0 74 00 00 	lhz     r3,0(r20)                              
ffc17c18:	38 80 00 01 	li      r4,1                                   
ffc17c1c:	4b fe e9 e5 	bl      ffc06600 <calloc>                      
    if (fs_info->sec_buf == NULL)                                     
ffc17c20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        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));  
ffc17c24:	90 74 00 90 	stw     r3,144(r20)                            
    if (fs_info->sec_buf == NULL)                                     
ffc17c28:	41 9e 03 98 	beq-    cr7,ffc17fc0 <fat_init_volume_info+0x818><== NEVER TAKEN
      return bytes_written;                                           
}                                                                     
                                                                      
static bool is_cluster_aligned(const fat_vol_t *vol, uint32_t sec_num)
{                                                                     
    return (sec_num & (vol->spc - 1)) == 0;                           
ffc17c2c:	89 54 00 04 	lbz     r10,4(r20)                             
ffc17c30:	81 14 00 34 	lwz     r8,52(r20)                             
ffc17c34:	39 4a ff ff 	addi    r10,r10,-1                             
    /*                                                                
     * If possible we will use the cluster size as bdbuf block size for faster
     * file access. This requires that certain sectors are aligned to cluster
     * borders.                                                       
     */                                                               
    if (is_cluster_aligned(vol, vol->data_fsec)                       
ffc17c38:	7d 49 40 39 	and.    r9,r10,r8                              
ffc17c3c:	40 82 02 18 	bne-    ffc17e54 <fat_init_volume_info+0x6ac>  <== NEVER TAKEN
        && (FAT_FAT32 == vol->type || is_cluster_aligned(vol, vol->rdir_loc)))
ffc17c40:	89 14 00 0e 	lbz     r8,14(r20)                             
ffc17c44:	2f 88 00 04 	cmpwi   cr7,r8,4                               
ffc17c48:	41 9e 00 10 	beq-    cr7,ffc17c58 <fat_init_volume_info+0x4b0>
      return bytes_written;                                           
}                                                                     
                                                                      
static bool is_cluster_aligned(const fat_vol_t *vol, uint32_t sec_num)
{                                                                     
    return (sec_num & (vol->spc - 1)) == 0;                           
ffc17c4c:	81 14 00 20 	lwz     r8,32(r20)                             
     * If possible we will use the cluster size as bdbuf block size for faster
     * file access. This requires that certain sectors are aligned to cluster
     * borders.                                                       
     */                                                               
    if (is_cluster_aligned(vol, vol->data_fsec)                       
        && (FAT_FAT32 == vol->type || is_cluster_aligned(vol, vol->rdir_loc)))
ffc17c50:	7d 49 40 39 	and.    r9,r10,r8                              
ffc17c54:	40 82 02 00 	bne-    ffc17e54 <fat_init_volume_info+0x6ac>  <== NEVER TAKEN
    {                                                                 
        sc = rtems_bdbuf_set_block_size (vol->dd, vol->bpc, true);    
ffc17c58:	80 74 00 64 	lwz     r3,100(r20)                            
ffc17c5c:	38 a0 00 01 	li      r5,1                                   
ffc17c60:	a0 94 00 06 	lhz     r4,6(r20)                              
ffc17c64:	4b ff cf c5 	bl      ffc14c28 <rtems_bdbuf_set_block_size>  
        if (sc == RTEMS_SUCCESSFUL)                                   
ffc17c68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17c6c:	40 9e 01 e8 	bne-    cr7,ffc17e54 <fat_init_volume_info+0x6ac><== NEVER TAKEN
        {                                                             
            vol->bytes_per_block = vol->bpc;                          
ffc17c70:	a0 f4 00 06 	lhz     r7,6(r20)                              
            vol->bytes_per_block_log2 = vol->bpc_log2;                
ffc17c74:	89 14 00 08 	lbz     r8,8(r20)                              
            vol->sectors_per_block = vol->spc;                        
ffc17c78:	89 54 00 04 	lbz     r10,4(r20)                             
        && (FAT_FAT32 == vol->type || is_cluster_aligned(vol, vol->rdir_loc)))
    {                                                                 
        sc = rtems_bdbuf_set_block_size (vol->dd, vol->bpc, true);    
        if (sc == RTEMS_SUCCESSFUL)                                   
        {                                                             
            vol->bytes_per_block = vol->bpc;                          
ffc17c7c:	b0 f4 00 0a 	sth     r7,10(r20)                             
            vol->bytes_per_block_log2 = vol->bpc_log2;                
ffc17c80:	99 14 00 0c 	stb     r8,12(r20)                             
            vol->sectors_per_block = vol->spc;                        
ffc17c84:	99 54 00 09 	stb     r10,9(r20)                             
ffc17c88:	48 00 01 d0 	b       ffc17e58 <fat_init_volume_info+0x6b0>  
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17c8c:	57 5a 40 2e 	rlwinm  r26,r26,8,0,23                         
                     vol->bps;                                        
                                                                      
    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);       
ffc17c90:	57 19 04 3e 	clrlwi  r25,r24,16                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17c94:	7f 5b db 78 	or      r27,r26,r27                            
                     vol->bps;                                        
                                                                      
    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);       
ffc17c98:	93 34 00 1c 	stw     r25,28(r20)                            
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17c9c:	7c b9 91 d6 	mullw   r5,r25,r18                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17ca0:	7f 7a 07 35 	extsh.  r26,r27                                
    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);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17ca4:	7c a5 ba 14 	add     r5,r5,r23                              
ffc17ca8:	7c 85 22 14 	add     r4,r5,r4                               
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
ffc17cac:	90 b4 00 20 	stw     r5,32(r20)                             
    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);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
ffc17cb0:	90 94 00 34 	stw     r4,52(r20)                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
ffc17cb4:	40 a2 fe 34 	bne-    ffc17ae8 <fat_init_volume_info+0x340>  
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
ffc17cb8:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc17cbc:	56 31 80 1e 	rlwinm  r17,r17,16,0,15                        
ffc17cc0:	56 10 c0 0e 	rlwinm  r16,r16,24,0,7                         
ffc17cc4:	55 3b 40 2e 	rlwinm  r27,r9,8,0,23                          
ffc17cc8:	7f 7b 8b 78 	or      r27,r27,r17                            
ffc17ccc:	7f 7b 73 78 	or      r27,r27,r14                            
ffc17cd0:	7f 7b 83 78 	or      r27,r27,r16                            
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
ffc17cd4:	7c 84 d8 50 	subf    r4,r4,r27                              
    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);     
ffc17cd8:	93 74 00 30 	stw     r27,48(r20)                            
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
                                                                      
    vol->data_cls = data_secs / vol->spc;                             
ffc17cdc:	7c c4 7b 96 	divwu   r6,r4,r15                              
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc17ce0:	2b 86 0f f4 	cmplwi  cr7,r6,4084                            
    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;                             
ffc17ce4:	90 d4 00 38 	stw     r6,56(r20)                             
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
ffc17ce8:	40 bd fe 1c 	ble-    cr7,ffc17b04 <fat_init_volume_info+0x35c>
        vol->mask = FAT_FAT12_MASK;                                   
        vol->eoc_val = FAT_FAT12_EOC;                                 
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
ffc17cec:	2b 86 ff f4 	cmplwi  cr7,r6,65524                           
ffc17cf0:	40 9d 01 c8 	ble-    cr7,ffc17eb8 <fat_init_volume_info+0x710>
                                                                      
    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;
ffc17cf4:	81 21 00 74 	lwz     r9,116(r1)                             
ffc17cf8:	55 2a 00 30 	rlwinm  r10,r9,0,0,24                          
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc17cfc:	81 21 00 84 	lwz     r9,132(r1)                             
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
ffc17d00:	55 4a 06 3e 	clrlwi  r10,r10,24                             
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc17d04:	55 27 40 2e 	rlwinm  r7,r9,8,0,23                           
ffc17d08:	81 21 00 88 	lwz     r9,136(r1)                             
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
ffc17d0c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
    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;
ffc17d10:	99 54 00 54 	stb     r10,84(r20)                            
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc17d14:	55 28 80 1e 	rlwinm  r8,r9,16,0,15                          
ffc17d18:	81 21 00 80 	lwz     r9,128(r1)                             
ffc17d1c:	7c e7 43 78 	or      r7,r7,r8                               
ffc17d20:	7c e7 4b 78 	or      r7,r7,r9                               
ffc17d24:	81 21 00 8c 	lwz     r9,140(r1)                             
ffc17d28:	55 28 c0 0e 	rlwinm  r8,r9,24,0,7                           
ffc17d2c:	7c e8 43 78 	or      r8,r7,r8                               
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
ffc17d30:	38 e0 00 04 	li      r7,4                                   
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
ffc17d34:	91 14 00 3c 	stw     r8,60(r20)                             
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
ffc17d38:	98 f4 00 0e 	stb     r7,14(r20)                             
            vol->mask = FAT_FAT32_MASK;                               
ffc17d3c:	3c e0 0f ff 	lis     r7,4095                                
ffc17d40:	60 e7 ff ff 	ori     r7,r7,65535                            
ffc17d44:	90 f4 00 10 	stw     r7,16(r20)                             
            vol->eoc_val = FAT_FAT32_EOC;                             
ffc17d48:	3c e0 0f ff 	lis     r7,4095                                
ffc17d4c:	60 e7 ff f8 	ori     r7,r7,65528                            
ffc17d50:	90 f4 00 14 	stw     r7,20(r20)                             
    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;
        if (vol->mirror)                                              
ffc17d54:	41 9e 01 c8 	beq-    cr7,ffc17f1c <fat_init_volume_info+0x774><== ALWAYS TAKEN
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
ffc17d58:	81 21 00 74 	lwz     r9,116(r1)                             <== NOT EXECUTED
ffc17d5c:	55 2a 07 3e 	clrlwi  r10,r9,28                              <== NOT EXECUTED
ffc17d60:	99 54 00 5c 	stb     r10,92(r20)                            <== NOT EXECUTED
        else                                                          
            vol->afat = 0;                                            
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
ffc17d64:	81 21 00 7c 	lwz     r9,124(r1)                             
ffc17d68:	55 24 40 2e 	rlwinm  r4,r9,8,0,23                           
ffc17d6c:	81 21 00 78 	lwz     r9,120(r1)                             
ffc17d70:	7c 84 4b 78 	or      r4,r4,r9                               
        if( vol->info_sec == 0 )                                      
ffc17d74:	2f 84 00 00 	cmpwi   cr7,r4,0                               
        if (vol->mirror)                                              
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
        else                                                          
            vol->afat = 0;                                            
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
ffc17d78:	b0 94 00 40 	sth     r4,64(r20)                             
        if( vol->info_sec == 0 )                                      
ffc17d7c:	41 9e 01 68 	beq-    cr7,ffc17ee4 <fat_init_volume_info+0x73c><== NEVER TAKEN
            close(vol->fd);                                           
            rtems_set_errno_and_return_minus_one( EINVAL );           
        }                                                             
        else                                                          
        {                                                             
            ret = _fat_block_read(fs_info, vol->info_sec , 0,         
ffc17d80:	7e 83 a3 78 	mr      r3,r20                                 
ffc17d84:	38 a0 00 00 	li      r5,0                                   
ffc17d88:	38 c0 00 04 	li      r6,4                                   
ffc17d8c:	38 e1 00 50 	addi    r7,r1,80                               
ffc17d90:	4b ff f4 0d 	bl      ffc1719c <_fat_block_read>             
                                  FAT_FSI_LEADSIG_SIZE, fs_info_sector);
            if ( ret < 0 )                                            
ffc17d94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17d98:	41 9c 02 08 	blt-    cr7,ffc17fa0 <fat_init_volume_info+0x7f8><== NEVER TAKEN
            {                                                         
                close(vol->fd);                                       
                return -1;                                            
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
ffc17d9c:	88 c1 00 51 	lbz     r6,81(r1)                              
ffc17da0:	89 01 00 52 	lbz     r8,82(r1)                              
ffc17da4:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           
ffc17da8:	88 e1 00 50 	lbz     r7,80(r1)                              
ffc17dac:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc17db0:	89 41 00 53 	lbz     r10,83(r1)                             
ffc17db4:	7c c8 43 78 	or      r8,r6,r8                               
ffc17db8:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc17dbc:	7d 08 3b 78 	or      r8,r8,r7                               
ffc17dc0:	7d 08 53 78 	or      r8,r8,r10                              
ffc17dc4:	6d 0a 41 61 	xoris   r10,r8,16737                           
ffc17dc8:	2f 8a 52 52 	cmpwi   cr7,r10,21074                          
ffc17dcc:	40 9e 01 10 	bne-    cr7,ffc17edc <fat_init_volume_info+0x734><== NEVER TAKEN
                close(vol->fd);                                       
                rtems_set_errno_and_return_minus_one( EINVAL );       
            }                                                         
            else                                                      
            {                                                         
                ret = _fat_block_read(fs_info, vol->info_sec , FAT_FSI_INFO,
ffc17dd0:	a0 94 00 40 	lhz     r4,64(r20)                             
ffc17dd4:	7e 83 a3 78 	mr      r3,r20                                 
ffc17dd8:	38 a0 01 e4 	li      r5,484                                 
ffc17ddc:	38 c0 00 0c 	li      r6,12                                  
ffc17de0:	38 e1 00 50 	addi    r7,r1,80                               
ffc17de4:	4b ff f3 b9 	bl      ffc1719c <_fat_block_read>             
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
ffc17de8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17dec:	41 9c 01 ac 	blt-    cr7,ffc17f98 <fat_init_volume_info+0x7f0><== NEVER TAKEN
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17df0:	89 61 00 55 	lbz     r11,85(r1)                             
ffc17df4:	88 c1 00 56 	lbz     r6,86(r1)                              
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17df8:	88 61 00 59 	lbz     r3,89(r1)                              
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17dfc:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e00:	88 e1 00 5a 	lbz     r7,90(r1)                              
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17e04:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc17e08:	88 81 00 54 	lbz     r4,84(r1)                              
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e0c:	54 63 40 2e 	rlwinm  r3,r3,8,0,23                           
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17e10:	89 01 00 57 	lbz     r8,87(r1)                              
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e14:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc17e18:	88 a1 00 58 	lbz     r5,88(r1)                              
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17e1c:	7d 66 33 78 	or      r6,r11,r6                              
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e20:	89 41 00 5b 	lbz     r10,91(r1)                             
ffc17e24:	7c 67 3b 78 	or      r7,r3,r7                               
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17e28:	7c c6 23 78 	or      r6,r6,r4                               
ffc17e2c:	55 08 c0 0e 	rlwinm  r8,r8,24,0,7                           
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e30:	7c e7 2b 78 	or      r7,r7,r5                               
ffc17e34:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
ffc17e38:	7c c8 43 78 	or      r8,r6,r8                               
                vol->free_cls = vol->free_cls_in_fs_info;             
                vol->next_cl_in_fs_info =                             
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
ffc17e3c:	7c ea 53 78 	or      r10,r7,r10                             
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls_in_fs_info =                            
ffc17e40:	91 14 00 48 	stw     r8,72(r20)                             
                  FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);  
                vol->free_cls = vol->free_cls_in_fs_info;             
ffc17e44:	91 14 00 44 	stw     r8,68(r20)                             
                vol->next_cl_in_fs_info =                             
ffc17e48:	91 54 00 50 	stw     r10,80(r20)                            
                  FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);   
                vol->next_cl = vol->next_cl_in_fs_info;               
ffc17e4c:	91 54 00 4c 	stw     r10,76(r20)                            
ffc17e50:	4b ff fc e8 	b       ffc17b38 <fat_init_volume_info+0x390>  
            vol->bytes_per_block_log2 = vol->bpc_log2;                
            vol->sectors_per_block = vol->spc;                        
        }                                                             
    }                                                                 
                                                                      
    return RC_OK;                                                     
ffc17e54:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc17e58:	80 01 00 dc 	lwz     r0,220(r1)                             
ffc17e5c:	81 c1 00 90 	lwz     r14,144(r1)                            
ffc17e60:	7c 08 03 a6 	mtlr    r0                                     
ffc17e64:	81 e1 00 94 	lwz     r15,148(r1)                            
ffc17e68:	82 01 00 98 	lwz     r16,152(r1)                            
ffc17e6c:	82 21 00 9c 	lwz     r17,156(r1)                            
ffc17e70:	82 41 00 a0 	lwz     r18,160(r1)                            
ffc17e74:	82 61 00 a4 	lwz     r19,164(r1)                            
ffc17e78:	82 81 00 a8 	lwz     r20,168(r1)                            
ffc17e7c:	82 a1 00 ac 	lwz     r21,172(r1)                            
ffc17e80:	82 c1 00 b0 	lwz     r22,176(r1)                            
ffc17e84:	82 e1 00 b4 	lwz     r23,180(r1)                            
ffc17e88:	83 01 00 b8 	lwz     r24,184(r1)                            
ffc17e8c:	83 21 00 bc 	lwz     r25,188(r1)                            
ffc17e90:	83 41 00 c0 	lwz     r26,192(r1)                            
ffc17e94:	83 61 00 c4 	lwz     r27,196(r1)                            
ffc17e98:	83 81 00 c8 	lwz     r28,200(r1)                            
ffc17e9c:	83 a1 00 cc 	lwz     r29,204(r1)                            
ffc17ea0:	83 c1 00 d0 	lwz     r30,208(r1)                            
ffc17ea4:	83 e1 00 d4 	lwz     r31,212(r1)                            
ffc17ea8:	38 21 00 d8 	addi    r1,r1,216                              
ffc17eac:	4e 80 00 20 	blr                                            
         (vol->bps != 4096))                                          
    {                                                                 
        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;
ffc17eb0:	98 74 00 03 	stb     r3,3(r20)                              
ffc17eb4:	4b ff fa cc 	b       ffc17980 <fat_init_volume_info+0x1d8>  
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
        {                                                             
            vol->type = FAT_FAT16;                                    
ffc17eb8:	39 40 00 02 	li      r10,2                                  
ffc17ebc:	99 54 00 0e 	stb     r10,14(r20)                            
            vol->mask = FAT_FAT16_MASK;                               
ffc17ec0:	39 40 00 00 	li      r10,0                                  
ffc17ec4:	61 4a ff ff 	ori     r10,r10,65535                          
ffc17ec8:	91 54 00 10 	stw     r10,16(r20)                            
            vol->eoc_val = FAT_FAT16_EOC;                             
ffc17ecc:	39 40 00 00 	li      r10,0                                  
ffc17ed0:	61 4a ff f8 	ori     r10,r10,65528                          
ffc17ed4:	91 54 00 14 	stw     r10,20(r20)                            
ffc17ed8:	4b ff fc 44 	b       ffc17b1c <fat_init_volume_info+0x374>  
 *     0 on success, or -1 if error occured and errno set appropriately
 */                                                                   
int                                                                   
_fat_block_release(fat_fs_info_t *fs_info)                            
{                                                                     
    return fat_buf_release(fs_info);                                  
ffc17edc:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc17ee0:	4b ff ef e1 	bl      ffc16ec0 <fat_buf_release>             <== NOT EXECUTED
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
                FAT_FSINFO_LEAD_SIGNATURE_VALUE)                      
            {                                                         
                _fat_block_release(fs_info);                          
                close(vol->fd);                                       
ffc17ee4:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17ee8:	4b fe e7 91 	bl      ffc06678 <close>                       <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
ffc17eec:	48 00 87 b1 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17ef0:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc17ef4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17ef8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17efc:	4b ff ff 5c 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = fstat(vol->fd, &stat_buf);                                   
    if (rc != 0)                                                      
    {                                                                 
        close(vol->fd);                                               
ffc17f00:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17f04:	4b fe e7 75 	bl      ffc06678 <close>                       <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENXIO);                  
ffc17f08:	48 00 87 95 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17f0c:	39 20 00 06 	li      r9,6                                   <== NOT EXECUTED
ffc17f10:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17f14:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17f18:	4b ff ff 40 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== 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;                                            
ffc17f1c:	99 54 00 5c 	stb     r10,92(r20)                            
ffc17f20:	4b ff fe 44 	b       ffc17d64 <fat_init_volume_info+0x5bc>  
        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;
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
ffc17f24:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
ffc17f28:	4b ff fa 90 	b       ffc179b8 <fat_init_volume_info+0x210>  <== NOT EXECUTED
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
ffc17f2c:	38 e0 00 00 	li      r7,0                                   
ffc17f30:	4b ff fa dc 	b       ffc17a0c <fat_init_volume_info+0x264>  
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
                                                                      
    sc = rtems_bdbuf_release( block);                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        close(vol->fd);                                               
ffc17f34:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17f38:	4b fe e7 41 	bl      ffc06678 <close>                       <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc17f3c:	48 00 87 61 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17f40:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc17f44:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17f48:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17f4c:	4b ff ff 0c 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== 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);                                               
ffc17f50:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17f54:	4b fe e7 25 	bl      ffc06678 <close>                       <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc17f58:	80 74 00 6c 	lwz     r3,108(r20)                            <== NOT EXECUTED
ffc17f5c:	4b fe e7 b5 	bl      ffc06710 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc17f60:	80 74 00 70 	lwz     r3,112(r20)                            <== NOT EXECUTED
    if (fs_info->sec_buf == NULL)                                     
    {                                                                 
        close(vol->fd);                                               
        free(fs_info->vhash);                                         
        free(fs_info->rhash);                                         
        free(fs_info->uino);                                          
ffc17f64:	4b fe e7 ad 	bl      ffc06710 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc17f68:	48 00 87 35 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17f6c:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc17f70:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17f74:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17f78:	4b ff fe e0 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== 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);                                               
ffc17f7c:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17f80:	4b fe e6 f9 	bl      ffc06678 <close>                       <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
ffc17f84:	48 00 87 19 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc17f88:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc17f8c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17f90:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17f94:	4b ff fe c4 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== NOT EXECUTED
 *     0 on success, or -1 if error occured and errno set appropriately
 */                                                                   
int                                                                   
_fat_block_release(fat_fs_info_t *fs_info)                            
{                                                                     
    return fat_buf_release(fs_info);                                  
ffc17f98:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc17f9c:	4b ff ef 25 	bl      ffc16ec0 <fat_buf_release>             <== 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);                      
                    close(vol->fd);                                   
ffc17fa0:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17fa4:	4b fe e6 d5 	bl      ffc06678 <close>                       <== NOT EXECUTED
                    return -1;                                        
ffc17fa8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17fac:	4b ff fe ac 	b       ffc17e58 <fat_init_volume_info+0x6b0>  <== 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);                                               
ffc17fb0:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17fb4:	4b fe e6 c5 	bl      ffc06678 <close>                       <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc17fb8:	80 74 00 6c 	lwz     r3,108(r20)                            <== NOT EXECUTED
ffc17fbc:	4b ff ff a8 	b       ffc17f64 <fat_init_volume_info+0x7bc>  <== 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);                                               
ffc17fc0:	80 74 00 60 	lwz     r3,96(r20)                             <== NOT EXECUTED
ffc17fc4:	4b fe e6 b5 	bl      ffc06678 <close>                       <== NOT EXECUTED
        free(fs_info->vhash);                                         
ffc17fc8:	80 74 00 6c 	lwz     r3,108(r20)                            <== NOT EXECUTED
ffc17fcc:	4b fe e7 45 	bl      ffc06710 <free>                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
ffc17fd0:	80 74 00 70 	lwz     r3,112(r20)                            <== NOT EXECUTED
ffc17fd4:	4b fe e7 3d 	bl      ffc06710 <free>                        <== NOT EXECUTED
        free(fs_info->uino);                                          
ffc17fd8:	80 74 00 74 	lwz     r3,116(r20)                            <== NOT EXECUTED
ffc17fdc:	4b ff ff 88 	b       ffc17f64 <fat_init_volume_info+0x7bc>  <== NOT EXECUTED
                                                                      

ffc1eb94 <fat_scan_fat_for_free_clusters>: uint32_t count, uint32_t *cls_added, uint32_t *last_cl, bool zero_fill ) {
ffc1eb94:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc1eb98:	7d 80 00 26 	mfcr    r12                                    
ffc1eb9c:	7c 08 02 a6 	mflr    r0                                     
    int            rc = RC_OK;                                        
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
ffc1eba0:	39 20 00 00 	li      r9,0                                   
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl,                    
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
ffc1eba4:	93 21 00 2c 	stw     r25,44(r1)                             
    uint32_t       i = 2;                                             
    ssize_t        bytes_written;                                     
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
ffc1eba8:	7c b9 2b 79 	mr.     r25,r5                                 
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl,                    
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
ffc1ebac:	90 01 00 4c 	stw     r0,76(r1)                              
ffc1ebb0:	93 41 00 30 	stw     r26,48(r1)                             
    ssize_t        bytes_written;                                     
                                                                      
    *cls_added = 0;                                                   
                                                                      
    if (count == 0)                                                   
        return rc;                                                    
ffc1ebb4:	3b 40 00 00 	li      r26,0                                  
    uint32_t                              count,                      
    uint32_t                             *cls_added,                  
    uint32_t                             *last_cl,                    
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
ffc1ebb8:	93 61 00 34 	stw     r27,52(r1)                             
ffc1ebbc:	7c db 33 78 	mr      r27,r6                                 
ffc1ebc0:	93 81 00 38 	stw     r28,56(r1)                             
ffc1ebc4:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc1ebc8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1ebcc:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc1ebd0:	92 c1 00 20 	stw     r22,32(r1)                             
ffc1ebd4:	92 e1 00 24 	stw     r23,36(r1)                             
ffc1ebd8:	93 01 00 28 	stw     r24,40(r1)                             
ffc1ebdc:	93 c1 00 40 	stw     r30,64(r1)                             
ffc1ebe0:	93 e1 00 44 	stw     r31,68(r1)                             
ffc1ebe4:	91 81 00 18 	stw     r12,24(r1)                             
    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;          
ffc1ebe8:	83 83 00 38 	lwz     r28,56(r3)                             
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
ffc1ebec:	91 21 00 08 	stw     r9,8(r1)                               
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
    ssize_t        bytes_written;                                     
                                                                      
    *cls_added = 0;                                                   
ffc1ebf0:	91 26 00 00 	stw     r9,0(r6)                               
                                                                      
    if (count == 0)                                                   
ffc1ebf4:	41 82 00 e0 	beq-    ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if (fs_info->vol.next_cl != FAT_UNDEFINED_VALUE)                  
ffc1ebf8:	83 e3 00 4c 	lwz     r31,76(r3)                             
ffc1ebfc:	7c 98 23 78 	mr      r24,r4                                 
ffc1ec00:	7c f7 3b 78 	mr      r23,r7                                 
ffc1ec04:	2f 9f ff ff 	cmpwi   cr7,r31,-1                             
ffc1ec08:	41 9e 01 9c 	beq-    cr7,ffc1eda4 <fat_scan_fat_for_free_clusters+0x210>
{                                                                     
    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;          
ffc1ec0c:	3b 9c 00 02 	addi    r28,r28,2                              
    /*                                                                
     * 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)                                          
ffc1ec10:	2b 9c 00 02 	cmplwi  cr7,r28,2                              
ffc1ec14:	40 9d 01 fc 	ble-    cr7,ffc1ee10 <fat_scan_fat_for_free_clusters+0x27c><== NEVER TAKEN
                rc = fat_set_fat_cluster(fs_info, save_cln, cl4find); 
                if ( rc != RC_OK )                                    
                    goto cleanup;                                     
            }                                                         
                                                                      
            if (zero_fill)                                            
ffc1ec18:	2e 08 00 00 	cmpwi   cr4,r8,0                               
    /*                                                                
     * 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)                                          
ffc1ec1c:	3b c0 00 02 	li      r30,2                                  
ffc1ec20:	3a c0 00 00 	li      r22,0                                  
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cl4find, &next_cln);        
ffc1ec24:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ec28:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ec2c:	38 a1 00 08 	addi    r5,r1,8                                
ffc1ec30:	4b ff f8 a5 	bl      ffc1e4d4 <fat_get_fat_cluster>         
        if ( rc != RC_OK )                                            
ffc1ec34:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc1ec38:	40 82 01 74 	bne-    ffc1edac <fat_scan_fat_for_free_clusters+0x218><== NEVER TAKEN
            if (*cls_added != 0)                                      
                fat_free_fat_clusters_chain(fs_info, (*chain));       
            return rc;                                                
        }                                                             
                                                                      
        if (next_cln == FAT_GENFAT_FREE)                              
ffc1ec3c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1ec40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1ec44:	40 9e 00 48 	bne-    cr7,ffc1ec8c <fat_scan_fat_for_free_clusters+0xf8>
            /*                                                        
             * 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)                                      
ffc1ec48:	81 3b 00 00 	lwz     r9,0(r27)                              
ffc1ec4c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1ec50:	40 9e 00 cc 	bne-    cr7,ffc1ed1c <fat_scan_fat_for_free_clusters+0x188>
            {                                                         
                *chain = cl4find;                                     
ffc1ec54:	93 f8 00 00 	stw     r31,0(r24)                             
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
ffc1ec58:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ec5c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ec60:	38 a0 ff ff 	li      r5,-1                                  
ffc1ec64:	4b ff fa c1 	bl      ffc1e724 <fat_set_fat_cluster>         
                if ( rc != RC_OK )                                    
ffc1ec68:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1ec6c:	40 82 01 88 	bne-    ffc1edf4 <fat_scan_fat_for_free_clusters+0x260><== NEVER TAKEN
                rc = fat_set_fat_cluster(fs_info, save_cln, cl4find); 
                if ( rc != RC_OK )                                    
                    goto cleanup;                                     
            }                                                         
                                                                      
            if (zero_fill)                                            
ffc1ec70:	40 92 01 08 	bne-    cr4,ffc1ed78 <fat_scan_fat_for_free_clusters+0x1e4>
                    goto cleanup;                                     
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc1ec74:	81 3b 00 00 	lwz     r9,0(r27)                              
ffc1ec78:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc1ec7c:	7f 99 48 00 	cmpw    cr7,r25,r9                             
                    goto cleanup;                                     
                }                                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
ffc1ec80:	91 3b 00 00 	stw     r9,0(r27)                              
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
ffc1ec84:	41 9e 01 44 	beq-    cr7,ffc1edc8 <fat_scan_fat_for_free_clusters+0x234>
ffc1ec88:	7f f6 fb 78 	mr      r22,r31                                
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
ffc1ec8c:	3b ff 00 01 	addi    r31,r31,1                              
        if (cl4find >= data_cls_val)                                  
ffc1ec90:	7f 9c f8 40 	cmplw   cr7,r28,r31                            
                *last_cl = save_cln;                                  
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
ffc1ec94:	3b de 00 01 	addi    r30,r30,1                              
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
ffc1ec98:	41 9d 00 08 	bgt-    cr7,ffc1eca0 <fat_scan_fat_for_free_clusters+0x10c><== ALWAYS TAKEN
            cl4find = 2;                                              
ffc1ec9c:	3b e0 00 02 	li      r31,2                                  <== 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)                                          
ffc1eca0:	7f 9c f0 00 	cmpw    cr7,r28,r30                            
ffc1eca4:	40 9e ff 80 	bne+    cr7,ffc1ec24 <fat_scan_fat_for_free_clusters+0x90><== ALWAYS TAKEN
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1eca8:	81 3d 00 44 	lwz     r9,68(r29)                             <== NOT EXECUTED
        cl4find++;                                                    
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
ffc1ecac:	92 dd 00 4c 	stw     r22,76(r29)                            <== NOT EXECUTED
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
ffc1ecb0:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              <== NOT EXECUTED
ffc1ecb4:	41 9e 00 10 	beq-    cr7,ffc1ecc4 <fat_scan_fat_for_free_clusters+0x130><== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
ffc1ecb8:	81 5b 00 00 	lwz     r10,0(r27)                             <== NOT EXECUTED
ffc1ecbc:	7d 2a 48 50 	subf    r9,r10,r9                              <== NOT EXECUTED
ffc1ecc0:	91 3d 00 44 	stw     r9,68(r29)                             <== NOT EXECUTED
                                                                      
    *last_cl = save_cln;                                              
ffc1ecc4:	92 d7 00 00 	stw     r22,0(r23)                             <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
ffc1ecc8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
    return RC_OK;                                                     
ffc1eccc:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
            fs_info->vol.free_cls -= (*cls_added);                    
                                                                      
    *last_cl = save_cln;                                              
    fat_buf_release(fs_info);                                         
ffc1ecd0:	4b ff 81 f1 	bl      ffc16ec0 <fat_buf_release>             <== 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;                                                        
}                                                                     
ffc1ecd4:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc1ecd8:	7f 43 d3 78 	mr      r3,r26                                 
ffc1ecdc:	81 81 00 18 	lwz     r12,24(r1)                             
ffc1ece0:	7c 08 03 a6 	mtlr    r0                                     
ffc1ece4:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc1ece8:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc1ecec:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1ecf0:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc1ecf4:	83 01 00 28 	lwz     r24,40(r1)                             
ffc1ecf8:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc1ecfc:	83 41 00 30 	lwz     r26,48(r1)                             
ffc1ed00:	83 61 00 34 	lwz     r27,52(r1)                             
ffc1ed04:	83 81 00 38 	lwz     r28,56(r1)                             
ffc1ed08:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc1ed0c:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc1ed10:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc1ed14:	38 21 00 48 	addi    r1,r1,72                               
ffc1ed18:	4e 80 00 20 	blr                                            
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
ffc1ed1c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ed20:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ed24:	38 a0 ff ff 	li      r5,-1                                  
ffc1ed28:	4b ff f9 fd 	bl      ffc1e724 <fat_set_fat_cluster>         
                if ( rc != RC_OK )                                    
ffc1ed2c:	7c 75 1b 79 	mr.     r21,r3                                 
ffc1ed30:	40 82 00 cc 	bne-    ffc1edfc <fat_scan_fat_for_free_clusters+0x268><== NEVER TAKEN
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(fs_info, (*chain));   
                    return rc;                                        
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(fs_info, save_cln, cl4find); 
ffc1ed34:	7e c4 b3 78 	mr      r4,r22                                 
ffc1ed38:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ed3c:	7f e5 fb 78 	mr      r5,r31                                 
ffc1ed40:	4b ff f9 e5 	bl      ffc1e724 <fat_set_fat_cluster>         
                if ( rc != RC_OK )                                    
ffc1ed44:	7c 76 1b 79 	mr.     r22,r3                                 
ffc1ed48:	41 82 ff 28 	beq+    ffc1ec70 <fat_scan_fat_for_free_clusters+0xdc><== ALWAYS TAKEN
    return RC_OK;                                                     
                                                                      
cleanup:                                                              
                                                                      
    /* cleanup activity */                                            
    fat_free_fat_clusters_chain(fs_info, (*chain));                   
ffc1ed4c:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc1ed50:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
    /* 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;                                                        
ffc1ed54:	7e da b3 78 	mr      r26,r22                                <== NOT EXECUTED
    return RC_OK;                                                     
                                                                      
cleanup:                                                              
                                                                      
    /* cleanup activity */                                            
    fat_free_fat_clusters_chain(fs_info, (*chain));                   
ffc1ed58:	4b ff fd 01 	bl      ffc1ea58 <fat_free_fat_clusters_chain> <== NOT EXECUTED
    /* trying to save last allocated cluster for future use */        
    fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_FREE);           
ffc1ed5c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1ed60:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1ed64:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ed68:	4b ff f9 bd 	bl      ffc1e724 <fat_set_fat_cluster>         <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
ffc1ed6c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1ed70:	4b ff 81 51 	bl      ffc16ec0 <fat_buf_release>             <== NOT EXECUTED
ffc1ed74:	4b ff ff 60 	b       ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== NOT EXECUTED
                    goto cleanup;                                     
            }                                                         
                                                                      
            if (zero_fill)                                            
            {                                                         
                bytes_written = fat_cluster_set (fs_info, cl4find, 0, fs_info->vol.bpc, 0);
ffc1ed78:	a0 dd 00 06 	lhz     r6,6(r29)                              
ffc1ed7c:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ed80:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ed84:	38 a0 00 00 	li      r5,0                                   
ffc1ed88:	38 e0 00 00 	li      r7,0                                   
ffc1ed8c:	4b ff 86 11 	bl      ffc1739c <fat_cluster_set>             
                if (fs_info->vol.bpc != bytes_written)                
ffc1ed90:	a1 3d 00 06 	lhz     r9,6(r29)                              
ffc1ed94:	7f 89 18 00 	cmpw    cr7,r9,r3                              
ffc1ed98:	41 9e fe dc 	beq+    cr7,ffc1ec74 <fat_scan_fat_for_free_clusters+0xe0><== ALWAYS TAKEN
                {                                                     
                    rc = -1;                                          
ffc1ed9c:	3a c0 ff ff 	li      r22,-1                                 <== NOT EXECUTED
ffc1eda0:	4b ff ff ac 	b       ffc1ed4c <fat_scan_fat_for_free_clusters+0x1b8><== NOT EXECUTED
    uint32_t                             *last_cl,                    
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cl4find = 2;                                       
ffc1eda4:	3b e0 00 02 	li      r31,2                                  
ffc1eda8:	4b ff fe 64 	b       ffc1ec0c <fat_scan_fat_for_free_clusters+0x78>
    while (i < data_cls_val)                                          
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cl4find, &next_cln);        
        if ( rc != RC_OK )                                            
        {                                                             
            if (*cls_added != 0)                                      
ffc1edac:	81 3b 00 00 	lwz     r9,0(r27)                              <== NOT EXECUTED
ffc1edb0:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1edb4:	41 9e ff 20 	beq+    cr7,ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== NOT EXECUTED
                fat_free_fat_clusters_chain(fs_info, (*chain));       
ffc1edb8:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc1edbc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1edc0:	4b ff fc 99 	bl      ffc1ea58 <fat_free_fat_clusters_chain> <== NOT EXECUTED
ffc1edc4:	4b ff ff 10 	b       ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== NOT EXECUTED
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
                    if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE) 
ffc1edc8:	81 3d 00 44 	lwz     r9,68(r29)                             
            (*cls_added)++;                                           
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
ffc1edcc:	93 fd 00 4c 	stw     r31,76(r29)                            
                    if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE) 
ffc1edd0:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1edd4:	41 9e 00 10 	beq-    cr7,ffc1ede4 <fat_scan_fat_for_free_clusters+0x250><== ALWAYS TAKEN
                        fs_info->vol.free_cls -= (*cls_added);        
ffc1edd8:	81 5b 00 00 	lwz     r10,0(r27)                             <== NOT EXECUTED
ffc1eddc:	7d 2a 48 50 	subf    r9,r10,r9                              <== NOT EXECUTED
ffc1ede0:	91 3d 00 44 	stw     r9,68(r29)                             <== NOT EXECUTED
                *last_cl = save_cln;                                  
ffc1ede4:	93 f7 00 00 	stw     r31,0(r23)                             
                fat_buf_release(fs_info);                             
ffc1ede8:	7f a3 eb 78 	mr      r3,r29                                 
ffc1edec:	4b ff 80 d5 	bl      ffc16ec0 <fat_buf_release>             
ffc1edf0:	4b ff fe e4 	b       ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140>
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
ffc1edf4:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
ffc1edf8:	4b ff fe dc 	b       ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== NOT EXECUTED
                /* 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));   
ffc1edfc:	80 98 00 00 	lwz     r4,0(r24)                              <== NOT EXECUTED
ffc1ee00:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
ffc1ee04:	7e ba ab 78 	mr      r26,r21                                <== NOT EXECUTED
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(fs_info, (*chain));   
ffc1ee08:	4b ff fc 51 	bl      ffc1ea58 <fat_free_fat_clusters_chain> <== NOT EXECUTED
ffc1ee0c:	4b ff fe c8 	b       ffc1ecd4 <fat_scan_fat_for_free_clusters+0x140><== 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)                                          
ffc1ee10:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
ffc1ee14:	4b ff fe 94 	b       ffc1eca8 <fat_scan_fat_for_free_clusters+0x114><== NOT EXECUTED
                                                                      

ffc17278 <fat_sector_write>: fat_fs_info_t *fs_info, uint32_t start, uint32_t offset, uint32_t count, const void *buff) {
ffc17278:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1727c:	7c 08 02 a6 	mflr    r0                                     
ffc17280:	93 c1 00 30 	stw     r30,48(r1)                             
    uint32_t            sec_num = start;                              
    uint32_t            ofs = offset;                                 
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc17284:	7c de 33 79 	mr.     r30,r6                                 
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
ffc17288:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1728c:	93 01 00 18 	stw     r24,24(r1)                             
ffc17290:	93 21 00 1c 	stw     r25,28(r1)                             
ffc17294:	93 41 00 20 	stw     r26,32(r1)                             
ffc17298:	93 61 00 24 	stw     r27,36(r1)                             
ffc1729c:	93 81 00 28 	stw     r28,40(r1)                             
ffc172a0:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc172a4:	93 e1 00 34 	stw     r31,52(r1)                             
    uint32_t            sec_num = start;                              
    uint32_t            ofs = offset;                                 
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc172a8:	41 82 00 ec 	beq-    ffc17394 <fat_sector_write+0x11c>      <== NEVER TAKEN
ffc172ac:	7c 7d 1b 78 	mr      r29,r3                                 
ffc172b0:	7c f9 3b 78 	mr      r25,r7                                 
ffc172b4:	7c ba 2b 78 	mr      r26,r5                                 
ffc172b8:	7c 9c 23 78 	mr      r28,r4                                 
ffc172bc:	3b 60 00 00 	li      r27,0                                  
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc172c0:	3b 00 00 01 	li      r24,1                                  
ffc172c4:	48 00 00 3c 	b       ffc17300 <fat_sector_write+0x88>       
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
ffc172c8:	4b ff fd dd 	bl      ffc170a4 <fat_buf_access>              
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        sec_num++;                                                    
ffc172cc:	3b 9c 00 01 	addi    r28,r28,1                              
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc172d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return -1;                                                
                                                                      
        memcpy((sec_buf + ofs), (buff + cmpltd), c);                  
ffc172d4:	7c 99 da 14 	add     r4,r25,r27                             
ffc172d8:	7f e5 fb 78 	mr      r5,r31                                 
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
ffc172dc:	7f 7f da 14 	add     r27,r31,r27                            
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc172e0:	40 9e 00 7c 	bne-    cr7,ffc1735c <fat_sector_write+0xe4>   <== NEVER TAKEN
            return -1;                                                
                                                                      
        memcpy((sec_buf + ofs), (buff + cmpltd), c);                  
ffc172e4:	80 61 00 08 	lwz     r3,8(r1)                               
ffc172e8:	7c 63 d2 14 	add     r3,r3,r26                              
ffc172ec:	48 00 a0 91 	bl      ffc2137c <memcpy>                      
    uint32_t            sec_num = start;                              
    uint32_t            ofs = offset;                                 
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc172f0:	7f df f0 51 	subf.   r30,r31,r30                            
ffc172f4:	9b 1d 00 88 	stb     r24,136(r29)                           
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        sec_num++;                                                    
        ofs = 0;                                                      
ffc172f8:	3b 40 00 00 	li      r26,0                                  
    uint32_t            sec_num = start;                              
    uint32_t            ofs = offset;                                 
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
ffc172fc:	41 82 00 64 	beq-    ffc17360 <fat_sector_write+0xe8>       <== ALWAYS TAKEN
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc17300:	a3 fd 00 00 	lhz     r31,0(r29)                             
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
ffc17304:	7f 84 e3 78 	mr      r4,r28                                 
ffc17308:	38 a0 00 01 	li      r5,1                                   
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc1730c:	7f fa f8 50 	subf    r31,r26,r31                            
ffc17310:	7f 9f f0 40 	cmplw   cr7,r31,r30                            
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
ffc17314:	38 c1 00 08 	addi    r6,r1,8                                
ffc17318:	7f a3 eb 78 	mr      r3,r29                                 
    uint8_t            *sec_buf;                                      
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
ffc1731c:	40 9d 00 08 	ble-    cr7,ffc17324 <fat_sector_write+0xac>   
ffc17320:	7f df f3 78 	mr      r31,r30                                
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
ffc17324:	a1 3d 00 0a 	lhz     r9,10(r29)                             
ffc17328:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc1732c:	40 9e ff 9c 	bne+    cr7,ffc172c8 <fat_sector_write+0x50>   <== ALWAYS TAKEN
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
ffc17330:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc17334:	38 a0 00 02 	li      r5,2                                   <== NOT EXECUTED
ffc17338:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1733c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc17340:	4b ff fd 65 	bl      ffc170a4 <fat_buf_access>              <== NOT EXECUTED
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        sec_num++;                                                    
ffc17344:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc17348:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
            return -1;                                                
                                                                      
        memcpy((sec_buf + ofs), (buff + cmpltd), c);                  
ffc1734c:	7c 99 da 14 	add     r4,r25,r27                             <== NOT EXECUTED
ffc17350:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
ffc17354:	7f 7f da 14 	add     r27,r31,r27                            <== NOT EXECUTED
                                                                      
        if (c == fs_info->vol.bytes_per_block)                        
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_GET, &sec_buf);
        else                                                          
            rc = fat_buf_access(fs_info, sec_num, FAT_OP_TYPE_READ, &sec_buf);
        if (rc != RC_OK)                                              
ffc17358:	41 9e ff 8c 	beq+    cr7,ffc172e4 <fat_sector_write+0x6c>   <== NOT EXECUTED
            return -1;                                                
ffc1735c:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
        cmpltd +=c;                                                   
        sec_num++;                                                    
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
ffc17360:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc17364:	7f 63 db 78 	mr      r3,r27                                 
ffc17368:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1736c:	7c 08 03 a6 	mtlr    r0                                     
ffc17370:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc17374:	83 41 00 20 	lwz     r26,32(r1)                             
ffc17378:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1737c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc17380:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc17384:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc17388:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1738c:	38 21 00 38 	addi    r1,r1,56                               
ffc17390:	4e 80 00 20 	blr                                            
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
    int                 rc = RC_OK;                                   
    ssize_t             cmpltd = 0;                                   
ffc17394:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17398:	4b ff ff c8 	b       ffc17360 <fat_sector_write+0xe8>       <== NOT EXECUTED
                                                                      

ffc1e724 <fat_set_fat_cluster>: uint16_t fat16_clv = 0; uint32_t fat32_clv = 0; uint8_t *sec_buf = NULL; /* sanity check */ if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )
ffc1e724:	2b 84 00 01 	cmplwi  cr7,r4,1                               
fat_set_fat_cluster(                                                  
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              cln,                        
    uint32_t                              in_val                      
    )                                                                 
{                                                                     
ffc1e728:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1e72c:	7c 08 02 a6 	mflr    r0                                     
    int                 rc = RC_OK;                                   
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    uint8_t            *sec_buf = NULL;                               
ffc1e730:	39 20 00 00 	li      r9,0                                   
fat_set_fat_cluster(                                                  
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              cln,                        
    uint32_t                              in_val                      
    )                                                                 
{                                                                     
ffc1e734:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1e738:	7c 9e 23 78 	mr      r30,r4                                 
ffc1e73c:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1e740:	93 21 00 1c 	stw     r25,28(r1)                             
ffc1e744:	93 41 00 20 	stw     r26,32(r1)                             
ffc1e748:	93 61 00 24 	stw     r27,36(r1)                             
ffc1e74c:	93 81 00 28 	stw     r28,40(r1)                             
ffc1e750:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1e754:	93 e1 00 34 	stw     r31,52(r1)                             
    int                 rc = RC_OK;                                   
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    uint8_t            *sec_buf = NULL;                               
ffc1e758:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
ffc1e75c:	40 9d 00 8c 	ble-    cr7,ffc1e7e8 <fat_set_fat_cluster+0xc4><== NEVER TAKEN
ffc1e760:	81 23 00 38 	lwz     r9,56(r3)                              
ffc1e764:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1e768:	39 29 00 01 	addi    r9,r9,1                                
ffc1e76c:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc1e770:	41 9d 00 78 	bgt-    cr7,ffc1e7e8 <fat_set_fat_cluster+0xc4><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    sec = (FAT_FAT_OFFSET(fs_info->vol.type, cln) >> fs_info->vol.sec_log2) +
ffc1e774:	89 23 00 0e 	lbz     r9,14(r3)                              
ffc1e778:	7c ba 2b 78 	mr      r26,r5                                 
ffc1e77c:	71 2a 00 01 	andi.   r10,r9,1                               
ffc1e780:	40 82 00 a4 	bne-    ffc1e824 <fat_set_fat_cluster+0x100>   
ffc1e784:	55 29 07 bc 	rlwinm  r9,r9,0,30,30                          
ffc1e788:	8b 63 00 02 	lbz     r27,2(r3)                              
ffc1e78c:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc1e790:	41 82 00 b0 	beq-    ffc1e840 <fat_set_fat_cluster+0x11c>   
ffc1e794:	54 9d 08 3c 	rlwinm  r29,r4,1,0,30                          
ffc1e798:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e79c:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e7a0:	7f 7b 4a 14 	add     r27,r27,r9                             
          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, &sec_buf);    
ffc1e7a4:	7f e3 fb 78 	mr      r3,r31                                 
    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);
ffc1e7a8:	a3 3f 00 00 	lhz     r25,0(r31)                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &sec_buf);    
ffc1e7ac:	7f 64 db 78 	mr      r4,r27                                 
ffc1e7b0:	38 a0 00 01 	li      r5,1                                   
ffc1e7b4:	38 c1 00 08 	addi    r6,r1,8                                
ffc1e7b8:	4b ff 88 ed 	bl      ffc170a4 <fat_buf_access>              
    if (rc != RC_OK)                                                  
ffc1e7bc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1e7c0:	40 82 00 38 	bne-    ffc1e7f8 <fat_set_fat_cluster+0xd4>    <== NEVER TAKEN
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1e7c4:	8b 9f 00 0e 	lbz     r28,14(r31)                            
    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);
ffc1e7c8:	3b 39 ff ff 	addi    r25,r25,-1                             
ffc1e7cc:	7f bd c8 38 	and     r29,r29,r25                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &sec_buf);    
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
ffc1e7d0:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc1e7d4:	41 9e 00 80 	beq-    cr7,ffc1e854 <fat_set_fat_cluster+0x130>
ffc1e7d8:	2f 9c 00 04 	cmpwi   cr7,r28,4                              
ffc1e7dc:	41 9e 01 24 	beq-    cr7,ffc1e900 <fat_set_fat_cluster+0x1dc>
ffc1e7e0:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc1e7e4:	41 9e 00 b8 	beq-    cr7,ffc1e89c <fat_set_fat_cluster+0x178><== ALWAYS TAKEN
                                                                      
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1e7e8:	48 00 1e b5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1e7ec:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1e7f0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1e7f4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e7f8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1e7fc:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1e800:	7c 08 03 a6 	mtlr    r0                                     
ffc1e804:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1e808:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1e80c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1e810:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1e814:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e818:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e81c:	38 21 00 38 	addi    r1,r1,56                               
ffc1e820:	4e 80 00 20 	blr                                            
                                                                      
    /* 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) +
ffc1e824:	54 9d f8 7e 	rlwinm  r29,r4,31,1,31                         
ffc1e828:	8b 63 00 02 	lbz     r27,2(r3)                              
ffc1e82c:	7f bd 22 14 	add     r29,r29,r4                             
ffc1e830:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e834:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e838:	7f 7b 4a 14 	add     r27,r27,r9                             
ffc1e83c:	4b ff ff 68 	b       ffc1e7a4 <fat_set_fat_cluster+0x80>    
ffc1e840:	54 9d 10 3a 	rlwinm  r29,r4,2,0,29                          
ffc1e844:	81 23 00 58 	lwz     r9,88(r3)                              
ffc1e848:	7f bb dc 30 	srw     r27,r29,r27                            
ffc1e84c:	7f 7b 4a 14 	add     r27,r27,r9                             
ffc1e850:	4b ff ff 54 	b       ffc1e7a4 <fat_set_fat_cluster+0x80>    
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e854:	80 01 00 3c 	lwz     r0,60(r1)                              
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(sec_buf + ofs)) =                        
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc1e858:	57 49 42 2e 	rlwinm  r9,r26,8,8,23                          
ffc1e85c:	57 5a c6 3e 	rlwinm  r26,r26,24,24,31                       
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e860:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1e864:	7c 08 03 a6 	mtlr    r0                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(sec_buf + ofs)) =                        
                    (uint16_t  )(CT_LE_W(in_val));                    
ffc1e868:	7d 3a d3 78 	or      r26,r9,r26                             
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(sec_buf + ofs)) =                        
ffc1e86c:	81 21 00 08 	lwz     r9,8(r1)                               
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e870:	83 61 00 24 	lwz     r27,36(r1)                             
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(sec_buf + ofs)) =                        
ffc1e874:	7f 49 eb 2e 	sthx    r26,r9,r29                             
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
ffc1e878:	39 20 00 01 	li      r9,1                                   
ffc1e87c:	99 3f 00 88 	stb     r9,136(r31)                            
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e880:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1e884:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1e888:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1e88c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e890:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e894:	38 21 00 38 	addi    r1,r1,56                               
ffc1e898:	4e 80 00 20 	blr                                            
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
ffc1e89c:	73 c9 00 01 	andi.   r9,r30,1                               
ffc1e8a0:	41 82 00 d0 	beq-    ffc1e970 <fat_set_fat_cluster+0x24c>   
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *(sec_buf + ofs) &= 0x0F;                             
ffc1e8a4:	81 21 00 08 	lwz     r9,8(r1)                               
    switch ( fs_info->vol.type )                                      
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
ffc1e8a8:	57 5a 24 36 	rlwinm  r26,r26,4,16,27                        
                *(sec_buf + ofs) &= 0x0F;                             
ffc1e8ac:	7d 49 e8 ae 	lbzx    r10,r9,r29                             
ffc1e8b0:	55 4a 07 3e 	clrlwi  r10,r10,28                             
ffc1e8b4:	7d 49 e9 ae 	stbx    r10,r9,r29                             
                                                                      
                *(sec_buf + ofs) |= (uint8_t)(fat16_clv & 0x00F0);    
ffc1e8b8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e8bc:	7d 49 e8 ae 	lbzx    r10,r9,r29                             
ffc1e8c0:	7f 4a 53 78 	or      r10,r26,r10                            
ffc1e8c4:	7d 49 e9 ae 	stbx    r10,r9,r29                             
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc1e8c8:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc1e8cc:	9b 9f 00 88 	stb     r28,136(r31)                           
ffc1e8d0:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1e8d4:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc1e8d8:	41 9e 00 f8 	beq-    cr7,ffc1e9d0 <fat_set_fat_cluster+0x2ac><== NEVER TAKEN
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *(sec_buf + ofs + 1) &= 0x00;                     
ffc1e8dc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e8e0:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
                    *(sec_buf + ofs + 1) |= (uint8_t  )((fat16_clv & 0xFF00)>>8);
ffc1e8e4:	57 5a c2 3e 	rlwinm  r26,r26,24,8,31                        
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *(sec_buf + ofs + 1) &= 0x00;                     
ffc1e8e8:	7c 69 e9 ae 	stbx    r3,r9,r29                              
                                                                      
                    *(sec_buf + ofs + 1) |= (uint8_t  )((fat16_clv & 0xFF00)>>8);
ffc1e8ec:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e8f0:	7d 49 e8 ae 	lbzx    r10,r9,r29                             
ffc1e8f4:	7d 4a d3 78 	or      r10,r10,r26                            
ffc1e8f8:	7d 49 e9 ae 	stbx    r10,r9,r29                             
ffc1e8fc:	4b ff fe fc 	b       ffc1e7f8 <fat_set_fat_cluster+0xd4>    
                    (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));           
ffc1e900:	57 5a 01 3e 	clrlwi  r26,r26,4                              
ffc1e904:	53 48 46 3e 	rlwimi  r8,r26,8,24,31                         
ffc1e908:	53 48 c4 2e 	rlwimi  r8,r26,24,16,23                        
ffc1e90c:	53 48 42 1e 	rlwimi  r8,r26,8,8,15                          
ffc1e910:	53 48 c0 0e 	rlwimi  r8,r26,24,0,7                          
ffc1e914:	3d 40 f0 00 	lis     r10,-4096                              
                                                                      
            *((uint32_t *)(sec_buf + ofs)) &= CT_LE_L(0xF0000000);    
ffc1e918:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e91c:	51 47 46 3e 	rlwimi  r7,r10,8,24,31                         
ffc1e920:	51 47 c4 2e 	rlwimi  r7,r10,24,16,23                        
ffc1e924:	51 47 42 1e 	rlwimi  r7,r10,8,8,15                          
ffc1e928:	51 47 c0 0e 	rlwimi  r7,r10,24,0,7                          
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e92c:	80 01 00 3c 	lwz     r0,60(r1)                              
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t *)(sec_buf + ofs)) &= CT_LE_L(0xF0000000);    
ffc1e930:	7d 49 e8 2e 	lwzx    r10,r9,r29                             
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e934:	7c 08 03 a6 	mtlr    r0                                     
ffc1e938:	83 21 00 1c 	lwz     r25,28(r1)                             
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t *)(sec_buf + ofs)) &= CT_LE_L(0xF0000000);    
ffc1e93c:	7c ea 50 38 	and     r10,r7,r10                             
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e940:	83 41 00 20 	lwz     r26,32(r1)                             
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t *)(sec_buf + ofs)) &= CT_LE_L(0xF0000000);    
                                                                      
            *((uint32_t *)(sec_buf + ofs)) |= fat32_clv;              
ffc1e944:	7d 4a 43 78 	or      r10,r10,r8                             
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e948:	83 61 00 24 	lwz     r27,36(r1)                             
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t *)(sec_buf + ofs)) &= CT_LE_L(0xF0000000);    
                                                                      
            *((uint32_t *)(sec_buf + ofs)) |= fat32_clv;              
ffc1e94c:	7d 49 e9 2e 	stwx    r10,r9,r29                             
ffc1e950:	39 20 00 01 	li      r9,1                                   
ffc1e954:	99 3f 00 88 	stb     r9,136(r31)                            
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1e958:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1e95c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1e960:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1e964:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1e968:	38 21 00 38 	addi    r1,r1,56                               
ffc1e96c:	4e 80 00 20 	blr                                            
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *(sec_buf + ofs) &= 0x00;                             
ffc1e970:	81 21 00 08 	lwz     r9,8(r1)                               
                    *(sec_buf + ofs + 1) |= (uint8_t  )((fat16_clv & 0xFF00)>>8);
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
ffc1e974:	57 5a 05 3e 	clrlwi  r26,r26,20                             
ffc1e978:	57 5e 04 3e 	clrlwi  r30,r26,16                             
                *(sec_buf + ofs) &= 0x00;                             
ffc1e97c:	7c 69 e9 ae 	stbx    r3,r9,r29                              
                                                                      
                *(sec_buf + ofs) |= (uint8_t)(fat16_clv & 0x00FF);    
ffc1e980:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e984:	7d 49 e8 ae 	lbzx    r10,r9,r29                             
ffc1e988:	7d 5a d3 78 	or      r26,r10,r26                            
ffc1e98c:	7f 49 e9 ae 	stbx    r26,r9,r29                             
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
ffc1e990:	a1 3f 00 00 	lhz     r9,0(r31)                              
ffc1e994:	9b 9f 00 88 	stb     r28,136(r31)                           
ffc1e998:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1e99c:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc1e9a0:	41 9e 00 70 	beq-    cr7,ffc1ea10 <fat_set_fat_cluster+0x2ec><== NEVER TAKEN
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *(sec_buf + ofs + 1) &= 0xF0;                     
ffc1e9a4:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e9a8:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
                    *(sec_buf + ofs+1) |= (uint8_t)((fat16_clv & 0xFF00)>>8);
ffc1e9ac:	57 de c2 3e 	rlwinm  r30,r30,24,8,31                        
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *(sec_buf + ofs + 1) &= 0xF0;                     
ffc1e9b0:	7d 09 e8 ae 	lbzx    r8,r9,r29                              
ffc1e9b4:	55 08 00 36 	rlwinm  r8,r8,0,0,27                           
ffc1e9b8:	7d 09 e9 ae 	stbx    r8,r9,r29                              
                                                                      
                    *(sec_buf + ofs+1) |= (uint8_t)((fat16_clv & 0xFF00)>>8);
ffc1e9bc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1e9c0:	7d 49 e8 ae 	lbzx    r10,r9,r29                             
ffc1e9c4:	7d 4a f3 78 	or      r10,r10,r30                            
ffc1e9c8:	7d 49 e9 ae 	stbx    r10,r9,r29                             
ffc1e9cc:	4b ff fe 2c 	b       ffc1e7f8 <fat_set_fat_cluster+0xd4>    
                                                                      
                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,
ffc1e9d0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1e9d4:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc1e9d8:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1e9dc:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1e9e0:	4b ff 86 c5 	bl      ffc170a4 <fat_buf_access>              <== NOT EXECUTED
                                        &sec_buf);                    
                    if (rc != RC_OK)                                  
ffc1e9e4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1e9e8:	40 a2 fe 10 	bne-    ffc1e7f8 <fat_set_fat_cluster+0xd4>    <== NOT EXECUTED
                        return rc;                                    
                                                                      
                     *sec_buf &= 0x00;                                
ffc1e9ec:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
                     *sec_buf |= (uint8_t)((fat16_clv & 0xFF00)>>8);  
ffc1e9f0:	57 5a c2 3e 	rlwinm  r26,r26,24,8,31                        <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &sec_buf);                    
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                     *sec_buf &= 0x00;                                
ffc1e9f4:	98 69 00 00 	stb     r3,0(r9)                               <== NOT EXECUTED
                                                                      
                     *sec_buf |= (uint8_t)((fat16_clv & 0xFF00)>>8);  
ffc1e9f8:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1e9fc:	89 49 00 00 	lbz     r10,0(r9)                              <== NOT EXECUTED
ffc1ea00:	7f 4a 53 78 	or      r10,r26,r10                            <== NOT EXECUTED
ffc1ea04:	99 49 00 00 	stb     r10,0(r9)                              <== NOT EXECUTED
ffc1ea08:	9b 9f 00 88 	stb     r28,136(r31)                           <== NOT EXECUTED
ffc1ea0c:	4b ff fd ec 	b       ffc1e7f8 <fat_set_fat_cluster+0xd4>    <== 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,
ffc1ea10:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ea14:	38 9b 00 01 	addi    r4,r27,1                               <== NOT EXECUTED
ffc1ea18:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1ea1c:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc1ea20:	4b ff 86 85 	bl      ffc170a4 <fat_buf_access>              <== NOT EXECUTED
                                        &sec_buf);                    
                    if (rc != RC_OK)                                  
ffc1ea24:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1ea28:	40 a2 fd d0 	bne-    ffc1e7f8 <fat_set_fat_cluster+0xd4>    <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *sec_buf &= 0xF0;                                 
ffc1ea2c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
                                                                      
                    *sec_buf |= (uint8_t)((fat16_clv & 0xFF00)>>8);   
ffc1ea30:	57 de c2 3e 	rlwinm  r30,r30,24,8,31                        <== NOT EXECUTED
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
                                        &sec_buf);                    
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                    *sec_buf &= 0xF0;                                 
ffc1ea34:	89 49 00 00 	lbz     r10,0(r9)                              <== NOT EXECUTED
ffc1ea38:	55 4a 00 36 	rlwinm  r10,r10,0,0,27                         <== NOT EXECUTED
ffc1ea3c:	99 49 00 00 	stb     r10,0(r9)                              <== NOT EXECUTED
                                                                      
                    *sec_buf |= (uint8_t)((fat16_clv & 0xFF00)>>8);   
ffc1ea40:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc1ea44:	89 49 00 00 	lbz     r10,0(r9)                              <== NOT EXECUTED
ffc1ea48:	7f ca 53 78 	or      r10,r30,r10                            <== NOT EXECUTED
ffc1ea4c:	99 49 00 00 	stb     r10,0(r9)                              <== NOT EXECUTED
ffc1ea50:	9b 9f 00 88 	stb     r28,136(r31)                           <== NOT EXECUTED
ffc1ea54:	4b ff fd a4 	b       ffc1e7f8 <fat_set_fat_cluster+0xd4>    <== NOT EXECUTED
                                                                      

ffc18114 <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) {
ffc18114:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc18118:	7d 80 00 26 	mfcr    r12                                    
ffc1811c:	7c 08 02 a6 	mflr    r0                                     
ffc18120:	93 81 00 10 	stw     r28,16(r1)                             
ffc18124:	93 c1 00 18 	stw     r30,24(r1)                             
ffc18128:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1812c:	90 01 00 24 	stw     r0,36(r1)                              
ffc18130:	93 a1 00 14 	stw     r29,20(r1)                             
ffc18134:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc18138:	91 81 00 0c 	stw     r12,12(r1)                             
    int            rc = RC_OK;                                        
    int            i = 0;                                             
                                                                      
    rc = fat_sync(fs_info);                                           
ffc1813c:	4b ff fe a5 	bl      ffc17fe0 <fat_sync>                    
    if ( rc != RC_OK )                                                
ffc18140:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc18144:	7c 7c 1b 78 	mr      r28,r3                                 
ffc18148:	40 92 00 c8 	bne-    cr4,ffc18210 <fat_shutdown_drive+0xfc> <== NEVER TAKEN
        rc = -1;                                                      
ffc1814c:	3b a0 00 00 	li      r29,0                                  
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
ffc18150:	83 fe 00 6c 	lwz     r31,108(r30)                           
ffc18154:	7f ff ea 14 	add     r31,r31,r29                            
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18158:	48 00 00 08 	b       ffc18160 <fat_shutdown_drive+0x4c>     
            free(node);                                               
ffc1815c:	4b fe e5 b5 	bl      ffc06710 <free>                        
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc18160:	7f e3 fb 78 	mr      r3,r31                                 
ffc18164:	4b ff 47 dd 	bl      ffc0c940 <_Chain_Get>                  
    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 )         
ffc18168:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1816c:	40 9e ff f0 	bne+    cr7,ffc1815c <fat_shutdown_drive+0x48> 
                                                                      
    rc = fat_sync(fs_info);                                           
    if ( rc != RC_OK )                                                
        rc = -1;                                                      
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
ffc18170:	2f 9d 00 0c 	cmpwi   cr7,r29,12                             
ffc18174:	3b bd 00 0c 	addi    r29,r29,12                             
ffc18178:	40 be ff d8 	bne-    cr7,ffc18150 <fat_shutdown_drive+0x3c> 
ffc1817c:	3b a0 00 00 	li      r29,0                                  
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
ffc18180:	83 fe 00 70 	lwz     r31,112(r30)                           
ffc18184:	7f ff ea 14 	add     r31,r31,r29                            
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
ffc18188:	48 00 00 08 	b       ffc18190 <fat_shutdown_drive+0x7c>     
            free(node);                                               
ffc1818c:	4b fe e5 85 	bl      ffc06710 <free>                        <== NOT EXECUTED
ffc18190:	7f e3 fb 78 	mr      r3,r31                                 
ffc18194:	4b ff 47 ad 	bl      ffc0c940 <_Chain_Get>                  
    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 )         
ffc18198:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1819c:	40 9e ff f0 	bne+    cr7,ffc1818c <fat_shutdown_drive+0x78> <== NEVER TAKEN
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
ffc181a0:	2f 9d 00 0c 	cmpwi   cr7,r29,12                             
ffc181a4:	3b bd 00 0c 	addi    r29,r29,12                             
ffc181a8:	40 be ff d8 	bne-    cr7,ffc18180 <fat_shutdown_drive+0x6c> 
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    free(fs_info->vhash);                                             
ffc181ac:	80 7e 00 6c 	lwz     r3,108(r30)                            
ffc181b0:	4b fe e5 61 	bl      ffc06710 <free>                        
    free(fs_info->rhash);                                             
ffc181b4:	80 7e 00 70 	lwz     r3,112(r30)                            
ffc181b8:	4b fe e5 59 	bl      ffc06710 <free>                        
                                                                      
    free(fs_info->uino);                                              
ffc181bc:	80 7e 00 74 	lwz     r3,116(r30)                            
ffc181c0:	4b fe e5 51 	bl      ffc06710 <free>                        
    free(fs_info->sec_buf);                                           
ffc181c4:	80 7e 00 90 	lwz     r3,144(r30)                            
ffc181c8:	4b fe e5 49 	bl      ffc06710 <free>                        
    close(fs_info->vol.fd);                                           
ffc181cc:	80 7e 00 60 	lwz     r3,96(r30)                             
ffc181d0:	4b fe e4 a9 	bl      ffc06678 <close>                       
                                                                      
    if (rc)                                                           
ffc181d4:	41 b2 00 10 	beq+    cr4,ffc181e4 <fat_shutdown_drive+0xd0> <== ALWAYS TAKEN
        errno = EIO;                                                  
ffc181d8:	48 00 84 c5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc181dc:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc181e0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc181e4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc181e8:	7f 83 e3 78 	mr      r3,r28                                 
ffc181ec:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc181f0:	7c 08 03 a6 	mtlr    r0                                     
ffc181f4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc181f8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc181fc:	7d 80 81 20 	mtcrf   8,r12                                  
ffc18200:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc18204:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc18208:	38 21 00 20 	addi    r1,r1,32                               
ffc1820c:	4e 80 00 20 	blr                                            
    int            rc = RC_OK;                                        
    int            i = 0;                                             
                                                                      
    rc = fat_sync(fs_info);                                           
    if ( rc != RC_OK )                                                
        rc = -1;                                                      
ffc18210:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc18214:	2e 1c 00 00 	cmpwi   cr4,r28,0                              <== NOT EXECUTED
ffc18218:	4b ff ff 34 	b       ffc1814c <fat_shutdown_drive+0x38>     <== NOT EXECUTED
                                                                      

ffc17fe0 <fat_sync>: return RC_OK; } int fat_sync(fat_fs_info_t *fs_info) {
ffc17fe0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc17fe4:	7c 08 02 a6 	mflr    r0                                     
ffc17fe8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc17fec:	7c 7f 1b 78 	mr      r31,r3                                 
ffc17ff0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc17ff4:	93 81 00 18 	stw     r28,24(r1)                             
ffc17ff8:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc17ffc:	93 c1 00 20 	stw     r30,32(r1)                             
static int                                                            
fat_fat32_update_fsinfo_sector(fat_fs_info_t *fs_info)                
{                                                                     
    ssize_t ret1 = 0, ret2 = 0;                                       
                                                                      
    if (fs_info->vol.type == FAT_FAT32)                               
ffc18000:	89 23 00 0e 	lbz     r9,14(r3)                              
ffc18004:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc18008:	41 9e 00 44 	beq-    cr7,ffc1804c <fat_sync+0x6c>           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
static int                                                            
fat_fat32_update_fsinfo_sector(fat_fs_info_t *fs_info)                
{                                                                     
    ssize_t ret1 = 0, ret2 = 0;                                       
ffc1800c:	3b c0 00 00 	li      r30,0                                  
                                                                      
    rc = fat_fat32_update_fsinfo_sector(fs_info);                     
    if ( rc != RC_OK )                                                
        rc = -1;                                                      
                                                                      
    fat_buf_release(fs_info);                                         
ffc18010:	7f e3 fb 78 	mr      r3,r31                                 
ffc18014:	4b ff ee ad 	bl      ffc16ec0 <fat_buf_release>             
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dd) != RTEMS_SUCCESSFUL)     
ffc18018:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc1801c:	4b ff c9 45 	bl      ffc14960 <rtems_bdbuf_syncdev>         
ffc18020:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18024:	40 9e 00 e8 	bne-    cr7,ffc1810c <fat_sync+0x12c>          <== NEVER TAKEN
        rc = -1;                                                      
                                                                      
    return rc;                                                        
}                                                                     
ffc18028:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1802c:	7f c3 f3 78 	mr      r3,r30                                 
ffc18030:	83 81 00 18 	lwz     r28,24(r1)                             
ffc18034:	7c 08 03 a6 	mtlr    r0                                     
ffc18038:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1803c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc18040:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc18044:	38 21 00 28 	addi    r1,r1,40                               
ffc18048:	4e 80 00 20 	blr                                            
{                                                                     
    ssize_t ret1 = 0, ret2 = 0;                                       
                                                                      
    if (fs_info->vol.type == FAT_FAT32)                               
    {                                                                 
        uint32_t free_count = fs_info->vol.free_cls;                  
ffc1804c:	81 23 00 44 	lwz     r9,68(r3)                              
        uint32_t next_free = fs_info->vol.next_cl;                    
                                                                      
        if (free_count != fs_info->vol.free_cls_in_fs_info)           
ffc18050:	81 43 00 48 	lwz     r10,72(r3)                             
    ssize_t ret1 = 0, ret2 = 0;                                       
                                                                      
    if (fs_info->vol.type == FAT_FAT32)                               
    {                                                                 
        uint32_t free_count = fs_info->vol.free_cls;                  
        uint32_t next_free = fs_info->vol.next_cl;                    
ffc18054:	83 a3 00 4c 	lwz     r29,76(r3)                             
                                                                      
        if (free_count != fs_info->vol.free_cls_in_fs_info)           
ffc18058:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc1805c:	41 9e 00 54 	beq-    cr7,ffc180b0 <fat_sync+0xd0>           <== ALWAYS TAKEN
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   swapped;                                                 
                                                                      
  __asm__ volatile("rlwimi %0,%1,8,24,31;"                            
ffc18060:	51 2a 46 3e 	rlwimi  r10,r9,8,24,31                         <== NOT EXECUTED
ffc18064:	51 2a c4 2e 	rlwimi  r10,r9,24,16,23                        <== NOT EXECUTED
ffc18068:	51 2a 42 1e 	rlwimi  r10,r9,8,8,15                          <== NOT EXECUTED
ffc1806c:	51 2a c0 0e 	rlwimi  r10,r9,24,0,7                          <== NOT EXECUTED
        {                                                             
            uint32_t le_free_count = CT_LE_L(free_count);             
ffc18070:	7c 3e 0b 78 	mr      r30,r1                                 <== NOT EXECUTED
                                                                      
            fs_info->vol.free_cls_in_fs_info = free_count;            
ffc18074:	91 23 00 48 	stw     r9,72(r3)                              <== NOT EXECUTED
                                                                      
            ret1 = fat_sector_write(fs_info,                          
ffc18078:	38 a0 01 e8 	li      r5,488                                 <== NOT EXECUTED
        uint32_t free_count = fs_info->vol.free_cls;                  
        uint32_t next_free = fs_info->vol.next_cl;                    
                                                                      
        if (free_count != fs_info->vol.free_cls_in_fs_info)           
        {                                                             
            uint32_t le_free_count = CT_LE_L(free_count);             
ffc1807c:	95 5e 00 08 	stwu    r10,8(r30)                             <== NOT EXECUTED
                                                                      
            fs_info->vol.free_cls_in_fs_info = free_count;            
                                                                      
            ret1 = fat_sector_write(fs_info,                          
ffc18080:	38 c0 00 04 	li      r6,4                                   <== NOT EXECUTED
ffc18084:	a0 83 00 40 	lhz     r4,64(r3)                              <== NOT EXECUTED
ffc18088:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc1808c:	4b ff f1 ed 	bl      ffc17278 <fat_sector_write>            <== NOT EXECUTED
                                    FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,
                                    sizeof(le_free_count),            
                                    &le_free_count);                  
        }                                                             
                                                                      
        if (next_free != fs_info->vol.next_cl_in_fs_info)             
ffc18090:	81 3f 00 50 	lwz     r9,80(r31)                             <== NOT EXECUTED
        {                                                             
            uint32_t le_free_count = CT_LE_L(free_count);             
                                                                      
            fs_info->vol.free_cls_in_fs_info = free_count;            
                                                                      
            ret1 = fat_sector_write(fs_info,                          
ffc18094:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
                                    FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,
                                    sizeof(le_free_count),            
                                    &le_free_count);                  
        }                                                             
                                                                      
        if (next_free != fs_info->vol.next_cl_in_fs_info)             
ffc18098:	7f 9d 48 00 	cmpw    cr7,r29,r9                             <== NOT EXECUTED
ffc1809c:	40 9e 00 28 	bne-    cr7,ffc180c4 <fat_sync+0xe4>           <== NOT EXECUTED
                                    sizeof(le_next_free),             
                                    &le_next_free);                   
        }                                                             
    }                                                                 
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc180a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc180a4:	40 9c ff 68 	bge+    cr7,ffc1800c <fat_sync+0x2c>           <== NOT EXECUTED
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    rc = fat_fat32_update_fsinfo_sector(fs_info);                     
    if ( rc != RC_OK )                                                
        rc = -1;                                                      
ffc180a8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc180ac:	4b ff ff 64 	b       ffc18010 <fat_sync+0x30>               <== NOT EXECUTED
                                    FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,
                                    sizeof(le_free_count),            
                                    &le_free_count);                  
        }                                                             
                                                                      
        if (next_free != fs_info->vol.next_cl_in_fs_info)             
ffc180b0:	81 23 00 50 	lwz     r9,80(r3)                              
ffc180b4:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc180b8:	41 be ff 54 	beq-    cr7,ffc1800c <fat_sync+0x2c>           <== NEVER TAKEN
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
static int                                                            
fat_fat32_update_fsinfo_sector(fat_fs_info_t *fs_info)                
{                                                                     
    ssize_t ret1 = 0, ret2 = 0;                                       
ffc180bc:	3b 80 00 00 	li      r28,0                                  
ffc180c0:	3b c1 00 08 	addi    r30,r1,8                               
ffc180c4:	53 a9 46 3e 	rlwimi  r9,r29,8,24,31                         
ffc180c8:	53 a9 c4 2e 	rlwimi  r9,r29,24,16,23                        
ffc180cc:	53 a9 42 1e 	rlwimi  r9,r29,8,8,15                          
ffc180d0:	53 a9 c0 0e 	rlwimi  r9,r29,24,0,7                          
                                                                      
        if (next_free != fs_info->vol.next_cl_in_fs_info)             
        {                                                             
            uint32_t le_next_free = CT_LE_L(next_free);               
                                                                      
            fs_info->vol.next_cl_in_fs_info = next_free;              
ffc180d4:	93 bf 00 50 	stw     r29,80(r31)                            
                                                                      
            ret2 = fat_sector_write(fs_info,                          
ffc180d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc180dc:	38 a0 01 ec 	li      r5,492                                 
ffc180e0:	a0 9f 00 40 	lhz     r4,64(r31)                             
ffc180e4:	38 c0 00 04 	li      r6,4                                   
ffc180e8:	7f c7 f3 78 	mr      r7,r30                                 
                                    &le_free_count);                  
        }                                                             
                                                                      
        if (next_free != fs_info->vol.next_cl_in_fs_info)             
        {                                                             
            uint32_t le_next_free = CT_LE_L(next_free);               
ffc180ec:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
            fs_info->vol.next_cl_in_fs_info = next_free;              
                                                                      
            ret2 = fat_sector_write(fs_info,                          
ffc180f0:	4b ff f1 89 	bl      ffc17278 <fat_sector_write>            
                                    sizeof(le_next_free),             
                                    &le_next_free);                   
        }                                                             
    }                                                                 
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc180f4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc180f8:	41 bc ff b0 	blt-    cr7,ffc180a8 <fat_sync+0xc8>           <== NEVER TAKEN
ffc180fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc18100:	40 9c ff 0c 	bge+    cr7,ffc1800c <fat_sync+0x2c>           <== ALWAYS TAKEN
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    rc = fat_fat32_update_fsinfo_sector(fs_info);                     
    if ( rc != RC_OK )                                                
        rc = -1;                                                      
ffc18104:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc18108:	4b ff ff 08 	b       ffc18010 <fat_sync+0x30>               <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dd) != RTEMS_SUCCESSFUL)     
        rc = -1;                                                      
ffc1810c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc18110:	4b ff ff 18 	b       ffc18028 <fat_sync+0x48>               <== NOT EXECUTED
                                                                      

ffc3d79c <fchdir>: st.st_mode = 0; st.st_uid = 0; st.st_gid = 0; rtems_libio_check_fd( fd );
ffc3d79c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/**                                                                   
 *  compatible with SVr4, 4.4BSD and X/OPEN - Change Directory        
 */                                                                   
int fchdir( int fd )                                                  
{                                                                     
ffc3d7a0:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc3d7a4:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  st.st_mode = 0;                                                     
  st.st_uid = 0;                                                      
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc3d7a8:	81 29 33 78 	lwz     r9,13176(r9)                           
                                                                      
/**                                                                   
 *  compatible with SVr4, 4.4BSD and X/OPEN - Change Directory        
 */                                                                   
int fchdir( int fd )                                                  
{                                                                     
ffc3d7ac:	90 01 00 7c 	stw     r0,124(r1)                             
                                                                      
  st.st_mode = 0;                                                     
  st.st_uid = 0;                                                      
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc3d7b0:	7f 83 48 40 	cmplw   cr7,r3,r9                              
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
  struct stat st;                                                     
  rtems_filesystem_location_info_t loc;                               
                                                                      
  st.st_mode = 0;                                                     
ffc3d7b4:	39 20 00 00 	li      r9,0                                   
                                                                      
/**                                                                   
 *  compatible with SVr4, 4.4BSD and X/OPEN - Change Directory        
 */                                                                   
int fchdir( int fd )                                                  
{                                                                     
ffc3d7b8:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc3d7bc:	93 c1 00 70 	stw     r30,112(r1)                            
ffc3d7c0:	93 e1 00 74 	stw     r31,116(r1)                            
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
  struct stat st;                                                     
  rtems_filesystem_location_info_t loc;                               
                                                                      
  st.st_mode = 0;                                                     
ffc3d7c4:	91 21 00 14 	stw     r9,20(r1)                              
  st.st_uid = 0;                                                      
ffc3d7c8:	b1 21 00 1a 	sth     r9,26(r1)                              
  st.st_gid = 0;                                                      
ffc3d7cc:	b1 21 00 1c 	sth     r9,28(r1)                              
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc3d7d0:	40 9c 01 08 	bge-    cr7,ffc3d8d8 <fchdir+0x13c>            
  iop = rtems_libio_iop( fd );                                        
ffc3d7d4:	3d 20 00 00 	lis     r9,0                                   
ffc3d7d8:	83 e9 34 64 	lwz     r31,13412(r9)                          
ffc3d7dc:	1c 63 00 38 	mulli   r3,r3,56                               
ffc3d7e0:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc3d7e4:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc3d7e8:	71 2a 01 00 	andi.   r10,r9,256                             
ffc3d7ec:	41 82 00 ec 	beq-    ffc3d8d8 <fchdir+0x13c>                
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc3d7f0:	80 7f 00 28 	lwz     r3,40(r31)                             
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
                                                                      
  rtems_filesystem_instance_lock( &iop->pathinfo );                   
  rv = (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, &st );     
ffc3d7f4:	3b bf 00 14 	addi    r29,r31,20                             
  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 );                               
ffc3d7f8:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc3d7fc:	81 29 00 00 	lwz     r9,0(r9)                               
ffc3d800:	7d 29 03 a6 	mtctr   r9                                     
ffc3d804:	4e 80 04 21 	bctrl                                          
ffc3d808:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc3d80c:	7f a3 eb 78 	mr      r3,r29                                 
ffc3d810:	81 29 00 18 	lwz     r9,24(r9)                              
ffc3d814:	38 81 00 08 	addi    r4,r1,8                                
ffc3d818:	7d 29 03 a6 	mtctr   r9                                     
ffc3d81c:	4e 80 04 21 	bctrl                                          
  if ( rv == 0 ) {                                                    
ffc3d820:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc3d824:	41 82 00 38 	beq-    ffc3d85c <fchdir+0xc0>                 <== ALWAYS TAKEN
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc3d828:	80 7f 00 28 	lwz     r3,40(r31)                             
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
ffc3d82c:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc3d830:	81 29 00 04 	lwz     r9,4(r9)                               
ffc3d834:	7d 29 03 a6 	mtctr   r9                                     
ffc3d838:	4e 80 04 21 	bctrl                                          
ffc3d83c:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc3d840:	7f c3 f3 78 	mr      r3,r30                                 
ffc3d844:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc3d848:	7c 08 03 a6 	mtlr    r0                                     
ffc3d84c:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc3d850:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc3d854:	38 21 00 78 	addi    r1,r1,120                              
ffc3d858:	4e 80 00 20 	blr                                            
  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(                   
ffc3d85c:	80 81 00 14 	lwz     r4,20(r1)                              
ffc3d860:	38 60 00 01 	li      r3,1                                   
ffc3d864:	a0 a1 00 1a 	lhz     r5,26(r1)                              
ffc3d868:	a0 c1 00 1c 	lhz     r6,28(r1)                              
ffc3d86c:	4b fd 44 bd 	bl      ffc11d28 <rtems_filesystem_check_access>
      st.st_mode,                                                     
      st.st_uid,                                                      
      st.st_gid                                                       
    );                                                                
                                                                      
    if ( access_ok ) {                                                
ffc3d870:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc3d874:	41 9e 00 50 	beq-    cr7,ffc3d8c4 <fchdir+0x128>            
      rtems_filesystem_location_clone( &loc, &iop->pathinfo );        
ffc3d878:	7f a4 eb 78 	mr      r4,r29                                 
ffc3d87c:	38 61 00 50 	addi    r3,r1,80                               
ffc3d880:	4b fd 3b e1 	bl      ffc11460 <rtems_filesystem_location_clone>
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc3d884:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc3d888:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc3d88c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc3d890:	7d 29 03 a6 	mtctr   r9                                     
ffc3d894:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_filesystem_instance_unlock( &iop->pathinfo );                 
                                                                      
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
ffc3d898:	38 61 00 50 	addi    r3,r1,80                               
ffc3d89c:	4b fe db d1 	bl      ffc2b46c <rtems_filesystem_chdir>      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc3d8a0:	80 01 00 7c 	lwz     r0,124(r1)                             
    }                                                                 
  }                                                                   
  rtems_filesystem_instance_unlock( &iop->pathinfo );                 
                                                                      
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
ffc3d8a4:	7c 7e 1b 78 	mr      r30,r3                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc3d8a8:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc3d8ac:	7c 08 03 a6 	mtlr    r0                                     
ffc3d8b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc3d8b4:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc3d8b8:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc3d8bc:	38 21 00 78 	addi    r1,r1,120                              
ffc3d8c0:	4e 80 00 20 	blr                                            
    );                                                                
                                                                      
    if ( access_ok ) {                                                
      rtems_filesystem_location_clone( &loc, &iop->pathinfo );        
    } else {                                                          
      errno = EACCES;                                                 
ffc3d8c4:	48 00 51 a1 	bl      ffc42a64 <__errno>                     
ffc3d8c8:	39 20 00 0d 	li      r9,13                                  
ffc3d8cc:	91 23 00 00 	stw     r9,0(r3)                               
      rv = -1;                                                        
ffc3d8d0:	3b c0 ff ff 	li      r30,-1                                 
ffc3d8d4:	4b ff ff 54 	b       ffc3d828 <fchdir+0x8c>                 
  st.st_uid = 0;                                                      
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
ffc3d8d8:	48 00 51 8d 	bl      ffc42a64 <__errno>                     
ffc3d8dc:	39 20 00 09 	li      r9,9                                   
ffc3d8e0:	91 23 00 00 	stw     r9,0(r3)                               
ffc3d8e4:	3b c0 ff ff 	li      r30,-1                                 
ffc3d8e8:	4b ff ff 54 	b       ffc3d83c <fchdir+0xa0>                 
                                                                      

ffc2bb20 <fchmod>: int fchmod( int fd, mode_t mode ) { int rv; rtems_libio_t *iop; rtems_libio_check_fd( fd );
ffc2bb20:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.4 - Change File Modes                           
 */                                                                   
int fchmod( int fd, mode_t mode )                                     
{                                                                     
ffc2bb24:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc2bb28:	7c 08 02 a6 	mflr    r0                                     
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bb2c:	81 29 33 78 	lwz     r9,13176(r9)                           
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.4 - Change File Modes                           
 */                                                                   
int fchmod( int fd, mode_t mode )                                     
{                                                                     
ffc2bb30:	90 01 00 1c 	stw     r0,28(r1)                              
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bb34:	7f 83 48 40 	cmplw   cr7,r3,r9                              
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.4 - Change File Modes                           
 */                                                                   
int fchmod( int fd, mode_t mode )                                     
{                                                                     
ffc2bb38:	93 c1 00 10 	stw     r30,16(r1)                             
ffc2bb3c:	93 e1 00 14 	stw     r31,20(r1)                             
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bb40:	40 9c 00 c0 	bge-    cr7,ffc2bc00 <fchmod+0xe0>             
  iop = rtems_libio_iop( fd );                                        
ffc2bb44:	3d 20 00 00 	lis     r9,0                                   
ffc2bb48:	83 e9 34 64 	lwz     r31,13412(r9)                          
ffc2bb4c:	1c 63 00 38 	mulli   r3,r3,56                               
ffc2bb50:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc2bb54:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc2bb58:	71 2a 01 00 	andi.   r10,r9,256                             
ffc2bb5c:	41 82 00 a4 	beq-    ffc2bc00 <fchmod+0xe0>                 
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
ffc2bb60:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc2bb64:	89 23 00 29 	lbz     r9,41(r3)                              
ffc2bb68:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2bb6c:	40 9e 00 30 	bne-    cr7,ffc2bb9c <fchmod+0x7c>             <== ALWAYS TAKEN
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rv = (*iop->pathinfo.mt_entry->ops->fchmod_h)( &iop->pathinfo, mode );
    rtems_filesystem_instance_unlock( &iop->pathinfo );               
  } else {                                                            
    errno = EROFS;                                                    
ffc2bb70:	48 01 6e f5 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc2bb74:	39 20 00 1e 	li      r9,30                                  <== NOT EXECUTED
ffc2bb78:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc2bb7c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc2bb80:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc2bb84:	7f c3 f3 78 	mr      r3,r30                                 
ffc2bb88:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2bb8c:	7c 08 03 a6 	mtlr    r0                                     
ffc2bb90:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc2bb94:	38 21 00 18 	addi    r1,r1,24                               
ffc2bb98:	4e 80 00 20 	blr                                            
  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 );                               
ffc2bb9c:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2bba0:	81 29 00 00 	lwz     r9,0(r9)                               
ffc2bba4:	90 81 00 08 	stw     r4,8(r1)                               
ffc2bba8:	7d 29 03 a6 	mtctr   r9                                     
ffc2bbac:	4e 80 04 21 	bctrl                                          
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rv = (*iop->pathinfo.mt_entry->ops->fchmod_h)( &iop->pathinfo, mode );
ffc2bbb0:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc2bbb4:	80 81 00 08 	lwz     r4,8(r1)                               
ffc2bbb8:	38 7f 00 14 	addi    r3,r31,20                              
ffc2bbbc:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc2bbc0:	81 29 00 20 	lwz     r9,32(r9)                              
ffc2bbc4:	7d 29 03 a6 	mtctr   r9                                     
ffc2bbc8:	4e 80 04 21 	bctrl                                          
ffc2bbcc:	7c 7e 1b 78 	mr      r30,r3                                 
    errno = EROFS;                                                    
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc2bbd0:	80 7f 00 28 	lwz     r3,40(r31)                             
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
ffc2bbd4:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2bbd8:	81 29 00 04 	lwz     r9,4(r9)                               
ffc2bbdc:	7d 29 03 a6 	mtctr   r9                                     
ffc2bbe0:	4e 80 04 21 	bctrl                                          
ffc2bbe4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc2bbe8:	7f c3 f3 78 	mr      r3,r30                                 
ffc2bbec:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2bbf0:	7c 08 03 a6 	mtlr    r0                                     
ffc2bbf4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc2bbf8:	38 21 00 18 	addi    r1,r1,24                               
ffc2bbfc:	4e 80 00 20 	blr                                            
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc2bc00:	48 01 6e 65 	bl      ffc42a64 <__errno>                     
ffc2bc04:	39 20 00 09 	li      r9,9                                   
ffc2bc08:	91 23 00 00 	stw     r9,0(r3)                               
ffc2bc0c:	3b c0 ff ff 	li      r30,-1                                 
ffc2bc10:	4b ff ff 70 	b       ffc2bb80 <fchmod+0x60>                 
                                                                      

ffc2bc14 <fchown>: int fchown( int fd, uid_t owner, gid_t group ) { int rv = 0; rtems_libio_t *iop; rtems_libio_check_fd( fd );
ffc2bc14:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.5 - Change Owner and Group of a File            
 */                                                                   
int fchown( int fd, uid_t owner, gid_t group )                        
{                                                                     
ffc2bc18:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc2bc1c:	7c 08 02 a6 	mflr    r0                                     
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bc20:	81 29 33 78 	lwz     r9,13176(r9)                           
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.5 - Change Owner and Group of a File            
 */                                                                   
int fchown( int fd, uid_t owner, gid_t group )                        
{                                                                     
ffc2bc24:	90 01 00 1c 	stw     r0,28(r1)                              
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bc28:	7f 83 48 40 	cmplw   cr7,r3,r9                              
                                                                      
/**                                                                   
 *  POSIX 1003.1b 5.6.5 - Change Owner and Group of a File            
 */                                                                   
int fchown( int fd, uid_t owner, gid_t group )                        
{                                                                     
ffc2bc2c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc2bc30:	93 e1 00 14 	stw     r31,20(r1)                             
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc2bc34:	40 9c 00 c8 	bge-    cr7,ffc2bcfc <fchown+0xe8>             
  iop = rtems_libio_iop( fd );                                        
ffc2bc38:	3d 20 00 00 	lis     r9,0                                   
ffc2bc3c:	83 e9 34 64 	lwz     r31,13412(r9)                          
ffc2bc40:	1c 63 00 38 	mulli   r3,r3,56                               
ffc2bc44:	7f ff 1a 14 	add     r31,r31,r3                             
  rtems_libio_check_is_open(iop);                                     
ffc2bc48:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc2bc4c:	71 2a 01 00 	andi.   r10,r9,256                             
ffc2bc50:	41 82 00 ac 	beq-    ffc2bcfc <fchown+0xe8>                 
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
ffc2bc54:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc2bc58:	89 23 00 29 	lbz     r9,41(r3)                              
ffc2bc5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2bc60:	40 9e 00 30 	bne-    cr7,ffc2bc90 <fchown+0x7c>             <== ALWAYS TAKEN
      owner,                                                          
      group                                                           
    );                                                                
    rtems_filesystem_instance_unlock( &iop->pathinfo );               
  } else {                                                            
    errno = EROFS;                                                    
ffc2bc64:	48 01 6e 01 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc2bc68:	39 20 00 1e 	li      r9,30                                  <== NOT EXECUTED
ffc2bc6c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc2bc70:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc2bc74:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc2bc78:	7f c3 f3 78 	mr      r3,r30                                 
ffc2bc7c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2bc80:	7c 08 03 a6 	mtlr    r0                                     
ffc2bc84:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc2bc88:	38 21 00 18 	addi    r1,r1,24                               
ffc2bc8c:	4e 80 00 20 	blr                                            
  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 );                               
ffc2bc90:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2bc94:	81 29 00 00 	lwz     r9,0(r9)                               
ffc2bc98:	90 81 00 08 	stw     r4,8(r1)                               
ffc2bc9c:	7d 29 03 a6 	mtctr   r9                                     
ffc2bca0:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc2bca4:	4e 80 04 21 	bctrl                                          
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rv = (*iop->pathinfo.mt_entry->ops->chown_h)(                     
ffc2bca8:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc2bcac:	80 81 00 08 	lwz     r4,8(r1)                               
ffc2bcb0:	38 7f 00 14 	addi    r3,r31,20                              
ffc2bcb4:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc2bcb8:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc2bcbc:	81 29 00 24 	lwz     r9,36(r9)                              
ffc2bcc0:	7d 29 03 a6 	mtctr   r9                                     
ffc2bcc4:	4e 80 04 21 	bctrl                                          
ffc2bcc8:	7c 7e 1b 78 	mr      r30,r3                                 
    errno = EROFS;                                                    
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc2bccc:	80 7f 00 28 	lwz     r3,40(r31)                             
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
ffc2bcd0:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2bcd4:	81 29 00 04 	lwz     r9,4(r9)                               
ffc2bcd8:	7d 29 03 a6 	mtctr   r9                                     
ffc2bcdc:	4e 80 04 21 	bctrl                                          
ffc2bce0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc2bce4:	7f c3 f3 78 	mr      r3,r30                                 
ffc2bce8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc2bcec:	7c 08 03 a6 	mtlr    r0                                     
ffc2bcf0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc2bcf4:	38 21 00 18 	addi    r1,r1,24                               
ffc2bcf8:	4e 80 00 20 	blr                                            
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc2bcfc:	48 01 6d 69 	bl      ffc42a64 <__errno>                     
ffc2bd00:	39 20 00 09 	li      r9,9                                   
ffc2bd04:	91 23 00 00 	stw     r9,0(r3)                               
ffc2bd08:	3b c0 ff ff 	li      r30,-1                                 
ffc2bd0c:	4b ff ff 68 	b       ffc2bc74 <fchown+0x60>                 
                                                                      

ffc37d28 <fcntl>: int fd2; int flags; int mask; int ret = 0; rtems_libio_check_fd( fd );
ffc37d28:	3d 20 00 00 	lis     r9,0                                   
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc37d2c:	7d 80 00 26 	mfcr    r12                                    
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc37d30:	81 29 27 78 	lwz     r9,10104(r9)                           
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc37d34:	39 40 00 02 	li      r10,2                                  
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc37d38:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc37d3c:	7c 08 02 a6 	mflr    r0                                     
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc37d40:	7f 83 48 40 	cmplw   cr7,r3,r9                              
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc37d44:	99 41 00 08 	stb     r10,8(r1)                              
ffc37d48:	39 41 00 50 	addi    r10,r1,80                              
ffc37d4c:	91 41 00 0c 	stw     r10,12(r1)                             
ffc37d50:	39 41 00 10 	addi    r10,r1,16                              
int fcntl(                                                            
  int fd,                                                             
  int cmd,                                                            
  ...                                                                 
)                                                                     
{                                                                     
ffc37d54:	90 01 00 4c 	stw     r0,76(r1)                              
ffc37d58:	93 41 00 30 	stw     r26,48(r1)                             
ffc37d5c:	93 61 00 34 	stw     r27,52(r1)                             
ffc37d60:	93 81 00 38 	stw     r28,56(r1)                             
ffc37d64:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc37d68:	93 c1 00 40 	stw     r30,64(r1)                             
ffc37d6c:	93 e1 00 44 	stw     r31,68(r1)                             
ffc37d70:	91 81 00 2c 	stw     r12,44(r1)                             
ffc37d74:	90 a1 00 18 	stw     r5,24(r1)                              
ffc37d78:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc37d7c:	90 e1 00 20 	stw     r7,32(r1)                              
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
ffc37d80:	91 41 00 10 	stw     r10,16(r1)                             
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc37d84:	40 9c 02 8c 	bge-    cr7,ffc38010 <fcntl+0x2e8>             
  iop = rtems_libio_iop( fd );                                        
ffc37d88:	3f 80 00 00 	lis     r28,0                                  
ffc37d8c:	1f a3 00 38 	mulli   r29,r3,56                              
ffc37d90:	81 3c 28 24 	lwz     r9,10276(r28)                          
ffc37d94:	7f a9 ea 14 	add     r29,r9,r29                             
  rtems_libio_check_is_open(iop);                                     
ffc37d98:	80 7d 00 10 	lwz     r3,16(r29)                             
ffc37d9c:	70 69 01 00 	andi.   r9,r3,256                              
ffc37da0:	41 82 02 70 	beq-    ffc38010 <fcntl+0x2e8>                 
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc37da4:	2b 84 00 09 	cmplwi  cr7,r4,9                               
ffc37da8:	7c 9e 23 78 	mr      r30,r4                                 
ffc37dac:	40 9d 00 48 	ble-    cr7,ffc37df4 <fcntl+0xcc>              
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
ffc37db0:	4b ff 01 8d 	bl      ffc27f3c <__errno>                     
ffc37db4:	39 20 00 16 	li      r9,22                                  
ffc37db8:	91 23 00 00 	stw     r9,0(r3)                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc37dbc:	3b e0 ff ff 	li      r31,-1                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc37dc0:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc37dc4:	7f e3 fb 78 	mr      r3,r31                                 
ffc37dc8:	81 81 00 2c 	lwz     r12,44(r1)                             
ffc37dcc:	7c 08 03 a6 	mtlr    r0                                     
ffc37dd0:	83 41 00 30 	lwz     r26,48(r1)                             
ffc37dd4:	83 61 00 34 	lwz     r27,52(r1)                             
ffc37dd8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc37ddc:	83 81 00 38 	lwz     r28,56(r1)                             
ffc37de0:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc37de4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc37de8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc37dec:	38 21 00 48 	addi    r1,r1,72                               
ffc37df0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
ffc37df4:	3d 20 ff c4 	lis     r9,-60                                 
ffc37df8:	39 29 e0 78 	addi    r9,r9,-8072                            
ffc37dfc:	54 8a 10 3a 	rlwinm  r10,r4,2,0,29                          
ffc37e00:	7d 49 50 2e 	lwzx    r10,r9,r10                             
ffc37e04:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc37e08:	7d 29 03 a6 	mtctr   r9                                     
ffc37e0c:	4e 80 04 20 	bctr                                           
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
ffc37e10:	4b ff 01 2d 	bl      ffc27f3c <__errno>                     
ffc37e14:	39 20 00 86 	li      r9,134                                 
ffc37e18:	91 23 00 00 	stw     r9,0(r3)                               
ffc37e1c:	4b ff ff a0 	b       ffc37dbc <fcntl+0x94>                  
    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 ) );           
ffc37e20:	89 21 00 08 	lbz     r9,8(r1)                               
ffc37e24:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc37e28:	40 9d 01 d0 	ble-    cr7,ffc37ff8 <fcntl+0x2d0>             <== ALWAYS TAKEN
ffc37e2c:	81 41 00 0c 	lwz     r10,12(r1)                             <== NOT EXECUTED
ffc37e30:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc37e34:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc37e38:	80 6a 00 00 	lwz     r3,0(r10)                              
{                                                                     
  rtems_libio_t *iop;                                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc37e3c:	3b e0 00 00 	li      r31,0                                  
    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 ) );           
ffc37e40:	4b fd 28 ad 	bl      ffc0a6ec <rtems_libio_fcntl_flags>     
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
ffc37e44:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc37e48:	70 63 02 01 	andi.   r3,r3,513                              
ffc37e4c:	39 40 fd fe 	li      r10,-514                               
ffc37e50:	7d 49 48 38 	and     r9,r10,r9                              
ffc37e54:	7c 69 4b 78 	or      r9,r3,r9                               
ffc37e58:	91 3d 00 10 	stw     r9,16(r29)                             
ffc37e5c:	48 00 00 14 	b       ffc37e70 <fcntl+0x148>                 
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
ffc37e60:	4b fd 28 ed 	bl      ffc0a74c <rtems_libio_to_fcntl_flags>  
ffc37e64:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc37e68:	7c 7f 1b 78 	mr      r31,r3                                 
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
ffc37e6c:	41 b0 ff 54 	blt-    cr4,ffc37dc0 <fcntl+0x98>              <== NEVER TAKEN
    int err = (*iop->pathinfo.handlers->fcntl_h)( iop, cmd );         
ffc37e70:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc37e74:	7f c4 f3 78 	mr      r4,r30                                 
ffc37e78:	7f a3 eb 78 	mr      r3,r29                                 
ffc37e7c:	81 29 00 28 	lwz     r9,40(r9)                              
ffc37e80:	7d 29 03 a6 	mtctr   r9                                     
ffc37e84:	4e 80 04 21 	bctrl                                          
    if (err) {                                                        
ffc37e88:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc37e8c:	41 82 ff 34 	beq+    ffc37dc0 <fcntl+0x98>                  <== ALWAYS TAKEN
      errno = err;                                                    
ffc37e90:	4b ff 00 ad 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc37e94:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc37e98:	81 81 00 2c 	lwz     r12,44(r1)                             <== NOT EXECUTED
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( iop, cmd );         
    if (err) {                                                        
      errno = err;                                                    
      ret = -1;                                                       
ffc37e9c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc37ea0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( iop, cmd );         
    if (err) {                                                        
      errno = err;                                                    
ffc37ea4:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
ffc37ea8:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc37eac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc37eb0:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc37eb4:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc37eb8:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc37ebc:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc37ec0:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc37ec4:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc37ec8:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc37ecc:	4e 80 00 20 	blr                                            <== 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 ) )                                        
ffc37ed0:	89 21 00 08 	lbz     r9,8(r1)                               
ffc37ed4:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc37ed8:	41 9d 01 10 	bgt-    cr7,ffc37fe8 <fcntl+0x2c0>             <== NEVER TAKEN
ffc37edc:	55 28 10 3a 	rlwinm  r8,r9,2,0,29                           
ffc37ee0:	81 41 00 10 	lwz     r10,16(r1)                             
ffc37ee4:	39 29 00 01 	addi    r9,r9,1                                
ffc37ee8:	99 21 00 08 	stb     r9,8(r1)                               
ffc37eec:	7d 4a 42 14 	add     r10,r10,r8                             
ffc37ef0:	81 2a 00 00 	lwz     r9,0(r10)                              
ffc37ef4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc37ef8:	41 9e 01 2c 	beq-    cr7,ffc38024 <fcntl+0x2fc>             
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
ffc37efc:	60 63 08 00 	ori     r3,r3,2048                             
ffc37f00:	90 7d 00 10 	stw     r3,16(r29)                             
{                                                                     
  rtems_libio_t *iop;                                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc37f04:	3b e0 00 00 	li      r31,0                                  
ffc37f08:	4b ff ff 68 	b       ffc37e70 <fcntl+0x148>                 
      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);          
ffc37f0c:	54 7f af fe 	rlwinm  r31,r3,21,31,31                        
ffc37f10:	4b ff ff 60 	b       ffc37e70 <fcntl+0x148>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc37f14:	89 21 00 08 	lbz     r9,8(r1)                               
ffc37f18:	2b 89 00 07 	cmplwi  cr7,r9,7                               
ffc37f1c:	41 9d 00 bc 	bgt-    cr7,ffc37fd8 <fcntl+0x2b0>             <== NEVER TAKEN
ffc37f20:	39 29 00 01 	addi    r9,r9,1                                
ffc37f24:	99 21 00 08 	stb     r9,8(r1)                               
                                                                      
  /*                                                                  
   * FIXME: We ignore the start value fd2 for the file descriptor search.  This
   * is not POSIX conform.                                            
   */                                                                 
  rtems_libio_t *diop = rtems_libio_allocate();                       
ffc37f28:	4b fd 28 75 	bl      ffc0a79c <rtems_libio_allocate>        
                                                                      
  if (diop != NULL) {                                                 
ffc37f2c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc37f30:	41 a2 fe 8c 	beq-    ffc37dbc <fcntl+0x94>                  
    int oflag = rtems_libio_to_fcntl_flags( iop->flags );             
ffc37f34:	80 7d 00 10 	lwz     r3,16(r29)                             
ffc37f38:	4b fd 28 15 	bl      ffc0a74c <rtems_libio_to_fcntl_flags>  
                                                                      
    oflag &= ~O_CREAT;                                                
    diop->flags |= rtems_libio_fcntl_flags( oflag );                  
ffc37f3c:	83 5b 00 10 	lwz     r26,16(r27)                            
  rtems_libio_t *diop = rtems_libio_allocate();                       
                                                                      
  if (diop != NULL) {                                                 
    int oflag = rtems_libio_to_fcntl_flags( iop->flags );             
                                                                      
    oflag &= ~O_CREAT;                                                
ffc37f40:	54 7f 05 ea 	rlwinm  r31,r3,0,23,21                         
    diop->flags |= rtems_libio_fcntl_flags( oflag );                  
ffc37f44:	7f e3 fb 78 	mr      r3,r31                                 
ffc37f48:	4b fd 27 a5 	bl      ffc0a6ec <rtems_libio_fcntl_flags>     
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
}                                                                     
ffc37f4c:	81 3d 00 28 	lwz     r9,40(r29)                             
                                                                      
  if (diop != NULL) {                                                 
    int oflag = rtems_libio_to_fcntl_flags( iop->flags );             
                                                                      
    oflag &= ~O_CREAT;                                                
    diop->flags |= rtems_libio_fcntl_flags( oflag );                  
ffc37f50:	7c 7a d3 78 	or      r26,r3,r26                             
  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 );                               
ffc37f54:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc37f58:	7d 23 4b 78 	mr      r3,r9                                  
ffc37f5c:	81 2a 00 00 	lwz     r9,0(r10)                              
ffc37f60:	93 5b 00 10 	stw     r26,16(r27)                            
ffc37f64:	7d 29 03 a6 	mtctr   r9                                     
ffc37f68:	4e 80 04 21 	bctrl                                          
                                                                      
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rtems_filesystem_location_clone( &diop->pathinfo, &iop->pathinfo );
ffc37f6c:	38 9d 00 14 	addi    r4,r29,20                              
ffc37f70:	38 7b 00 14 	addi    r3,r27,20                              
ffc37f74:	4b fe 40 31 	bl      ffc1bfa4 <rtems_filesystem_location_clone>
  int cmd,                                                            
  int arg                                                             
)                                                                     
{                                                                     
  return fcntl( fd, cmd, arg );                                       
}                                                                     
ffc37f78:	80 7d 00 28 	lwz     r3,40(r29)                             
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
ffc37f7c:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc37f80:	81 29 00 04 	lwz     r9,4(r9)                               
ffc37f84:	7d 29 03 a6 	mtctr   r9                                     
ffc37f88:	4e 80 04 21 	bctrl                                          
    /*                                                                
     * 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 );  
ffc37f8c:	81 3b 00 24 	lwz     r9,36(r27)                             
ffc37f90:	7f e5 fb 78 	mr      r5,r31                                 
ffc37f94:	81 29 00 00 	lwz     r9,0(r9)                               
ffc37f98:	7f 63 db 78 	mr      r3,r27                                 
ffc37f9c:	38 80 00 00 	li      r4,0                                   
ffc37fa0:	38 c0 00 00 	li      r6,0                                   
ffc37fa4:	7d 29 03 a6 	mtctr   r9                                     
ffc37fa8:	4e 80 04 21 	bctrl                                          
    if ( rv == 0 ) {                                                  
ffc37fac:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc37fb0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc37fb4:	40 92 00 80 	bne-    cr4,ffc38034 <fcntl+0x30c>             <== NEVER TAKEN
      rv = diop - rtems_libio_iops;                                   
ffc37fb8:	83 fc 28 24 	lwz     r31,10276(r28)                         
ffc37fbc:	3d 20 b6 db 	lis     r9,-18725                              
ffc37fc0:	61 29 6d b7 	ori     r9,r9,28087                            
ffc37fc4:	7f ff d8 50 	subf    r31,r31,r27                            
ffc37fc8:	7f ff 1e 70 	srawi   r31,r31,3                              
ffc37fcc:	7f ff 49 d6 	mullw   r31,r31,r9                             
ffc37fd0:	2e 1f 00 00 	cmpwi   cr4,r31,0                              
ffc37fd4:	4b ff fe 98 	b       ffc37e6c <fcntl+0x144>                 
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
    case F_DUPFD:        /* dup */                                    
      fd2 = va_arg( ap, int );                                        
ffc37fd8:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
ffc37fdc:	39 29 00 04 	addi    r9,r9,4                                <== NOT EXECUTED
ffc37fe0:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc37fe4:	4b ff ff 44 	b       ffc37f28 <fcntl+0x200>                 <== 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 ) )                                        
ffc37fe8:	81 41 00 0c 	lwz     r10,12(r1)                             <== NOT EXECUTED
ffc37fec:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc37ff0:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc37ff4:	4b ff fe fc 	b       ffc37ef0 <fcntl+0x1c8>                 <== NOT EXECUTED
    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 ) );           
ffc37ff8:	81 41 00 10 	lwz     r10,16(r1)                             
ffc37ffc:	55 28 10 3a 	rlwinm  r8,r9,2,0,29                           
ffc38000:	39 29 00 01 	addi    r9,r9,1                                
ffc38004:	7d 4a 42 14 	add     r10,r10,r8                             
ffc38008:	99 21 00 08 	stb     r9,8(r1)                               
ffc3800c:	4b ff fe 2c 	b       ffc37e38 <fcntl+0x110>                 
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
ffc38010:	4b fe ff 2d 	bl      ffc27f3c <__errno>                     
ffc38014:	39 20 00 09 	li      r9,9                                   
ffc38018:	91 23 00 00 	stw     r9,0(r3)                               
ffc3801c:	3b e0 ff ff 	li      r31,-1                                 
ffc38020:	4b ff fd a0 	b       ffc37dc0 <fcntl+0x98>                  
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
ffc38024:	54 63 05 66 	rlwinm  r3,r3,0,21,19                          
ffc38028:	90 7d 00 10 	stw     r3,16(r29)                             
{                                                                     
  rtems_libio_t *iop;                                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
ffc3802c:	3b e0 00 00 	li      r31,0                                  
ffc38030:	4b ff fe 40 	b       ffc37e70 <fcntl+0x148>                 
     */                                                               
    rv = (*diop->pathinfo.handlers->open_h)( diop, NULL, oflag, 0 );  
    if ( rv == 0 ) {                                                  
      rv = diop - rtems_libio_iops;                                   
    } else {                                                          
      rtems_libio_free( diop );                                       
ffc38034:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc38038:	4b fd 27 e1 	bl      ffc0a818 <rtems_libio_free>            <== NOT EXECUTED
ffc3803c:	4b ff fe 30 	b       ffc37e6c <fcntl+0x144>                 <== NOT EXECUTED
                                                                      

ffc10eb0 <fifo_open>: int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc10eb0:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10eb4:	7c 08 02 a6 	mflr    r0                                     
ffc10eb8:	93 e1 00 2c 	stw     r31,44(r1)                             
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc10ebc:	3f e0 00 00 	lis     r31,0                                  
ffc10ec0:	81 3f 29 a8 	lwz     r9,10664(r31)                          
                                                                      
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10ec4:	93 81 00 20 	stw     r28,32(r1)                             
ffc10ec8:	7c 9c 23 78 	mr      r28,r4                                 
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc10ecc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10ed0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc10ed4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc10ed8:	93 c1 00 28 	stw     r30,40(r1)                             
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc10edc:	3b df 29 a8 	addi    r30,r31,10664                          
                                                                      
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10ee0:	90 01 00 34 	stw     r0,52(r1)                              
ffc10ee4:	93 61 00 1c 	stw     r27,28(r1)                             
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
ffc10ee8:	41 9e 00 54 	beq-    cr7,ffc10f3c <fifo_open+0x8c>          
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc10eec:	7d 23 4b 78 	mr      r3,r9                                  
ffc10ef0:	38 80 00 00 	li      r4,0                                   
ffc10ef4:	38 a0 00 00 	li      r5,0                                   
ffc10ef8:	4b ff a5 95 	bl      ffc0b48c <rtems_semaphore_obtain>      
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc10efc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10f00:	40 9e 01 60 	bne-    cr7,ffc11060 <fifo_open+0x1b0>         <== NEVER TAKEN
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
ffc10f04:	83 dd 00 00 	lwz     r30,0(r29)                             
  if (pipe == NULL) {                                                 
ffc10f08:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10f0c:	41 9e 00 60 	beq-    cr7,ffc10f6c <fifo_open+0xbc>          
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc10f10:	80 7e 00 28 	lwz     r3,40(r30)                             
ffc10f14:	38 80 00 00 	li      r4,0                                   
ffc10f18:	38 a0 00 00 	li      r5,0                                   
ffc10f1c:	4b ff a5 71 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc10f20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10f24:	41 9e 01 dc 	beq-    cr7,ffc11100 <fifo_open+0x250>         <== ALWAYS TAKEN
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
ffc10f28:	81 3d 00 00 	lwz     r9,0(r29)                              <== NOT EXECUTED
ffc10f2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc10f30:	41 9e 01 5c 	beq-    cr7,ffc1108c <fifo_open+0x1dc>         <== NOT EXECUTED
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
ffc10f34:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
ffc10f38:	48 00 01 80 	b       ffc110b8 <fifo_open+0x208>             <== NOT EXECUTED
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc10f3c:	3f 60 00 00 	lis     r27,0                                  
ffc10f40:	80 7b 27 ec 	lwz     r3,10220(r27)                          
ffc10f44:	38 80 00 00 	li      r4,0                                   
ffc10f48:	38 a0 00 00 	li      r5,0                                   
ffc10f4c:	4b ff a5 41 	bl      ffc0b48c <rtems_semaphore_obtain>      
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
ffc10f50:	81 3f 29 a8 	lwz     r9,10664(r31)                          
ffc10f54:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10f58:	41 9e 00 d8 	beq-    cr7,ffc11030 <fifo_open+0x180>         <== ALWAYS TAKEN
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc10f5c:	80 7b 27 ec 	lwz     r3,10220(r27)                          <== NOT EXECUTED
ffc10f60:	4b ff a6 cd 	bl      ffc0b62c <rtems_semaphore_release>     <== NOT EXECUTED
ffc10f64:	81 3f 29 a8 	lwz     r9,10664(r31)                          <== NOT EXECUTED
ffc10f68:	4b ff ff 84 	b       ffc10eec <fifo_open+0x3c>              <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
ffc10f6c:	38 60 00 34 	li      r3,52                                  
ffc10f70:	4b ff 53 39 	bl      ffc062a8 <malloc>                      
  if (pipe == NULL)                                                   
ffc10f74:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10f78:	41 82 01 78 	beq-    ffc110f0 <fifo_open+0x240>             <== NEVER TAKEN
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
ffc10f7c:	38 80 00 00 	li      r4,0                                   
ffc10f80:	38 a0 00 34 	li      r5,52                                  
ffc10f84:	48 00 43 d1 	bl      ffc15354 <memset>                      
                                                                      
  pipe->Size = PIPE_BUF;                                              
ffc10f88:	39 20 02 00 	li      r9,512                                 
ffc10f8c:	91 3e 00 04 	stw     r9,4(r30)                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc10f90:	38 60 02 00 	li      r3,512                                 
ffc10f94:	4b ff 53 15 	bl      ffc062a8 <malloc>                      
  if (! pipe->Buffer)                                                 
ffc10f98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  if (pipe == NULL)                                                   
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
ffc10f9c:	90 7e 00 00 	stw     r3,0(r30)                              
  if (! pipe->Buffer)                                                 
ffc10fa0:	41 9e 01 48 	beq-    cr7,ffc110e8 <fifo_open+0x238>         <== NEVER TAKEN
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
ffc10fa4:	3f 60 00 00 	lis     r27,0                                  
ffc10fa8:	88 7b 22 14 	lbz     r3,8724(r27)                           
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
ffc10fac:	38 80 00 00 	li      r4,0                                   
ffc10fb0:	38 a0 00 00 	li      r5,0                                   
ffc10fb4:	64 63 50 49 	oris    r3,r3,20553                            
ffc10fb8:	60 63 72 00 	ori     r3,r3,29184                            
ffc10fbc:	38 de 00 2c 	addi    r6,r30,44                              
ffc10fc0:	48 00 14 fd 	bl      ffc124bc <rtems_barrier_create>        
ffc10fc4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10fc8:	40 9e 01 18 	bne-    cr7,ffc110e0 <fifo_open+0x230>         
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
ffc10fcc:	88 7b 22 14 	lbz     r3,8724(r27)                           
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
ffc10fd0:	38 80 00 00 	li      r4,0                                   
ffc10fd4:	38 a0 00 00 	li      r5,0                                   
ffc10fd8:	64 63 50 49 	oris    r3,r3,20553                            
ffc10fdc:	60 63 77 00 	ori     r3,r3,30464                            
ffc10fe0:	38 de 00 30 	addi    r6,r30,48                              
ffc10fe4:	48 00 14 d9 	bl      ffc124bc <rtems_barrier_create>        
ffc10fe8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10fec:	40 9e 00 ec 	bne-    cr7,ffc110d8 <fifo_open+0x228>         
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
        rtems_build_name ('P', 'I', 's', c), 1,                       
ffc10ff0:	88 7b 22 14 	lbz     r3,8724(r27)                           
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
ffc10ff4:	38 80 00 01 	li      r4,1                                   
ffc10ff8:	38 a0 00 10 	li      r5,16                                  
ffc10ffc:	64 63 50 49 	oris    r3,r3,20553                            
ffc11000:	60 63 73 00 	ori     r3,r3,29440                            
ffc11004:	38 c0 00 00 	li      r6,0                                   
ffc11008:	38 fe 00 28 	addi    r7,r30,40                              
ffc1100c:	4b ff a1 6d 	bl      ffc0b178 <rtems_semaphore_create>      
ffc11010:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11014:	40 9e 00 bc 	bne-    cr7,ffc110d0 <fifo_open+0x220>         
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
ffc11018:	89 3b 22 14 	lbz     r9,8724(r27)                           
ffc1101c:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
ffc11020:	41 9e 00 a4 	beq-    cr7,ffc110c4 <fifo_open+0x214>         
ffc11024:	39 29 00 01 	addi    r9,r9,1                                
ffc11028:	99 3b 22 14 	stb     r9,8724(r27)                           
ffc1102c:	4b ff fe e4 	b       ffc10f10 <fifo_open+0x60>              
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
ffc11030:	3c 60 50 49 	lis     r3,20553                               
ffc11034:	7f c7 f3 78 	mr      r7,r30                                 
ffc11038:	38 80 00 01 	li      r4,1                                   
ffc1103c:	38 a0 00 54 	li      r5,84                                  
ffc11040:	38 c0 00 00 	li      r6,0                                   
ffc11044:	60 63 50 45 	ori     r3,r3,20549                            
ffc11048:	4b ff a1 31 	bl      ffc0b178 <rtems_semaphore_create>      
ffc1104c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc11050:	80 7b 27 ec 	lwz     r3,10220(r27)                          
ffc11054:	4b ff a5 d9 	bl      ffc0b62c <rtems_semaphore_release>     
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
ffc11058:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1105c:	41 9e 00 9c 	beq-    cr7,ffc110f8 <fifo_open+0x248>         
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
        err = -ENXIO;                                                 
ffc11060:	3b c0 ff f4 	li      r30,-12                                
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
ffc11064:	80 01 00 34 	lwz     r0,52(r1)                              
ffc11068:	7f c3 f3 78 	mr      r3,r30                                 
ffc1106c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc11070:	7c 08 03 a6 	mtlr    r0                                     
ffc11074:	83 81 00 20 	lwz     r28,32(r1)                             
ffc11078:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1107c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc11080:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc11084:	38 21 00 30 	addi    r1,r1,48                               
ffc11088:	4e 80 00 20 	blr                                            
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc1108c:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc11090:	48 00 15 3d 	bl      ffc125cc <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc11094:	80 7e 00 30 	lwz     r3,48(r30)                             <== NOT EXECUTED
ffc11098:	48 00 15 35 	bl      ffc125cc <rtems_barrier_delete>        <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc1109c:	80 7e 00 28 	lwz     r3,40(r30)                             <== NOT EXECUTED
ffc110a0:	4b ff a2 f9 	bl      ffc0b398 <rtems_semaphore_delete>      <== NOT EXECUTED
  free(pipe->Buffer);                                                 
ffc110a4:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc110a8:	4b ff 4c 91 	bl      ffc05d38 <free>                        <== NOT EXECUTED
  free(pipe);                                                         
ffc110ac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc110b0:	4b ff 4c 89 	bl      ffc05d38 <free>                        <== NOT EXECUTED
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
ffc110b4:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc110b8:	80 7f 29 a8 	lwz     r3,10664(r31)                          
ffc110bc:	4b ff a5 71 	bl      ffc0b62c <rtems_semaphore_release>     
ffc110c0:	4b ff ff a4 	b       ffc11064 <fifo_open+0x1b4>             
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
ffc110c4:	39 20 00 61 	li      r9,97                                  
ffc110c8:	99 3b 22 14 	stb     r9,8724(r27)                           
ffc110cc:	4b ff fe 44 	b       ffc10f10 <fifo_open+0x60>              
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc110d0:	80 7e 00 30 	lwz     r3,48(r30)                             
ffc110d4:	48 00 14 f9 	bl      ffc125cc <rtems_barrier_delete>        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
ffc110d8:	80 7e 00 2c 	lwz     r3,44(r30)                             
ffc110dc:	48 00 14 f1 	bl      ffc125cc <rtems_barrier_delete>        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
ffc110e0:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc110e4:	4b ff 4c 55 	bl      ffc05d38 <free>                        
err_buf:                                                              
  free(pipe);                                                         
ffc110e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc110ec:	4b ff 4c 4d 	bl      ffc05d38 <free>                        
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
ffc110f0:	3b c0 ff f4 	li      r30,-12                                
ffc110f4:	4b ff ff c4 	b       ffc110b8 <fifo_open+0x208>             
ffc110f8:	81 3f 29 a8 	lwz     r9,10664(r31)                          
ffc110fc:	4b ff fd f0 	b       ffc10eec <fifo_open+0x3c>              
                                                                      
  if (*pipep == NULL) {                                               
ffc11100:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc11104:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11108:	40 be 00 08 	bne+    cr7,ffc11110 <fifo_open+0x260>         
    if (err)                                                          
      pipe_free(pipe);                                                
    else                                                              
      *pipep = pipe;                                                  
ffc1110c:	93 dd 00 00 	stw     r30,0(r29)                             
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc11110:	80 7f 29 a8 	lwz     r3,10664(r31)                          
ffc11114:	4b ff a5 19 	bl      ffc0b62c <rtems_semaphore_release>     
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc11118:	81 3c 00 10 	lwz     r9,16(r28)                             
  int err;                                                            
                                                                      
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
ffc1111c:	83 fd 00 00 	lwz     r31,0(r29)                             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
ffc11120:	55 29 07 7c 	rlwinm  r9,r9,0,29,30                          
ffc11124:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc11128:	41 9e 00 48 	beq-    cr7,ffc11170 <fifo_open+0x2c0>         
ffc1112c:	2f 89 00 06 	cmpwi   cr7,r9,6                               
ffc11130:	41 9e 01 58 	beq-    cr7,ffc11288 <fifo_open+0x3d8>         
ffc11134:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc11138:	41 9e 00 cc 	beq-    cr7,ffc11204 <fifo_open+0x354>         <== ALWAYS TAKEN
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc1113c:	80 7f 00 28 	lwz     r3,40(r31)                             
  return 0;                                                           
ffc11140:	3b c0 00 00 	li      r30,0                                  
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc11144:	4b ff a4 e9 	bl      ffc0b62c <rtems_semaphore_release>     
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
ffc11148:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1114c:	7f c3 f3 78 	mr      r3,r30                                 
ffc11150:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc11154:	7c 08 03 a6 	mtlr    r0                                     
ffc11158:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1115c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc11160:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc11164:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc11168:	38 21 00 30 	addi    r1,r1,48                               
ffc1116c:	4e 80 00 20 	blr                                            
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11170:	81 3f 00 14 	lwz     r9,20(r31)                             
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11174:	81 5f 00 24 	lwz     r10,36(r31)                            
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11178:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc1117c:	39 4a 00 01 	addi    r10,r10,1                              
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11180:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
ffc11184:	91 5f 00 24 	stw     r10,36(r31)                            
                                                                      
      if (pipe->Writers ++ == 0)                                      
ffc11188:	91 3f 00 14 	stw     r9,20(r31)                             
ffc1118c:	41 9e 01 6c 	beq-    cr7,ffc112f8 <fifo_open+0x448>         <== ALWAYS TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
ffc11190:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc11194:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11198:	40 be ff a4 	bne-    cr7,ffc1113c <fifo_open+0x28c>         
ffc1119c:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc111a0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc111a4:	40 82 01 64 	bne-    ffc11308 <fifo_open+0x458>             
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
ffc111a8:	83 df 00 20 	lwz     r30,32(r31)                            
ffc111ac:	48 00 00 20 	b       ffc111cc <fifo_open+0x31c>             
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc111b0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc111b4:	4b ff a2 d9 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc111b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc111bc:	40 9e 00 34 	bne-    cr7,ffc111f0 <fifo_open+0x340>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
ffc111c0:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc111c4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc111c8:	40 be ff 74 	bne-    cr7,ffc1113c <fifo_open+0x28c>         <== ALWAYS TAKEN
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc111cc:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc111d0:	4b ff a4 5d 	bl      ffc0b62c <rtems_semaphore_release>     
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc111d4:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc111d8:	38 80 00 00 	li      r4,0                                   
ffc111dc:	48 00 15 51 	bl      ffc1272c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc111e0:	38 80 00 00 	li      r4,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc111e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc111e8:	38 a0 00 00 	li      r5,0                                   
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
ffc111ec:	41 9e ff c4 	beq+    cr7,ffc111b0 <fifo_open+0x300>         <== ALWAYS TAKEN
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
ffc111f0:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
ffc111f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc111f8:	7f 84 e3 78 	mr      r4,r28                                 
ffc111fc:	4b ff fb 5d 	bl      ffc10d58 <pipe_release>                
  return err;                                                         
ffc11200:	4b ff fe 64 	b       ffc11064 <fifo_open+0x1b4>             
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc11204:	81 3f 00 10 	lwz     r9,16(r31)                             
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc11208:	81 5f 00 20 	lwz     r10,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc1120c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc11210:	39 4a 00 01 	addi    r10,r10,1                              
      if (pipe->Readers ++ == 0)                                      
ffc11214:	39 29 00 01 	addi    r9,r9,1                                
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
ffc11218:	91 5f 00 20 	stw     r10,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc1121c:	91 3f 00 10 	stw     r9,16(r31)                             
ffc11220:	41 9e 00 b8 	beq-    cr7,ffc112d8 <fifo_open+0x428>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
ffc11224:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc11228:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1122c:	40 be ff 10 	bne-    cr7,ffc1113c <fifo_open+0x28c>         
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
ffc11230:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc11234:	71 2a 00 01 	andi.   r10,r9,1                               
ffc11238:	40 a2 ff 04 	bne-    ffc1113c <fifo_open+0x28c>             
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
ffc1123c:	83 df 00 24 	lwz     r30,36(r31)                            
ffc11240:	48 00 00 20 	b       ffc11260 <fifo_open+0x3b0>             
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11244:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11248:	4b ff a2 45 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc1124c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11250:	40 be ff a0 	bne-    cr7,ffc111f0 <fifo_open+0x340>         <== NEVER TAKEN
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
ffc11254:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc11258:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc1125c:	40 be fe e0 	bne-    cr7,ffc1113c <fifo_open+0x28c>         <== ALWAYS TAKEN
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
ffc11260:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11264:	4b ff a3 c9 	bl      ffc0b62c <rtems_semaphore_release>     
          if (! PIPE_READWAIT(pipe))                                  
ffc11268:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc1126c:	38 80 00 00 	li      r4,0                                   
ffc11270:	48 00 14 bd 	bl      ffc1272c <rtems_barrier_wait>          
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc11274:	38 80 00 00 	li      r4,0                                   
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
ffc11278:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
ffc1127c:	38 a0 00 00 	li      r5,0                                   
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
ffc11280:	41 9e ff c4 	beq+    cr7,ffc11244 <fifo_open+0x394>         <== ALWAYS TAKEN
ffc11284:	4b ff ff 6c 	b       ffc111f0 <fifo_open+0x340>             <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
ffc11288:	81 3f 00 10 	lwz     r9,16(r31)                             
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc1128c:	81 5f 00 20 	lwz     r10,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc11290:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc11294:	39 4a 00 01 	addi    r10,r10,1                              
      if (pipe->Readers ++ == 0)                                      
ffc11298:	39 29 00 01 	addi    r9,r9,1                                
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
ffc1129c:	91 5f 00 20 	stw     r10,32(r31)                            
      if (pipe->Readers ++ == 0)                                      
ffc112a0:	91 3f 00 10 	stw     r9,16(r31)                             
ffc112a4:	41 9e 00 44 	beq-    cr7,ffc112e8 <fifo_open+0x438>         <== ALWAYS TAKEN
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
ffc112a8:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc112ac:	81 5f 00 24 	lwz     r10,36(r31)                            
      if (pipe->Writers ++ == 0)                                      
ffc112b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc112b4:	39 4a 00 01 	addi    r10,r10,1                              
      if (pipe->Writers ++ == 0)                                      
ffc112b8:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
ffc112bc:	91 5f 00 24 	stw     r10,36(r31)                            
      if (pipe->Writers ++ == 0)                                      
ffc112c0:	91 3f 00 14 	stw     r9,20(r31)                             
ffc112c4:	40 9e fe 78 	bne+    cr7,ffc1113c <fifo_open+0x28c>         <== NEVER TAKEN
        PIPE_WAKEUPREADERS(pipe);                                     
ffc112c8:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc112cc:	38 81 00 08 	addi    r4,r1,8                                
ffc112d0:	48 00 13 c5 	bl      ffc12694 <rtems_barrier_release>       
ffc112d4:	4b ff fe 68 	b       ffc1113c <fifo_open+0x28c>             
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc112d8:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc112dc:	38 81 00 08 	addi    r4,r1,8                                
ffc112e0:	48 00 13 b5 	bl      ffc12694 <rtems_barrier_release>       
ffc112e4:	4b ff ff 40 	b       ffc11224 <fifo_open+0x374>             
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
ffc112e8:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc112ec:	38 81 00 08 	addi    r4,r1,8                                
ffc112f0:	48 00 13 a5 	bl      ffc12694 <rtems_barrier_release>       
ffc112f4:	4b ff ff b4 	b       ffc112a8 <fifo_open+0x3f8>             
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
ffc112f8:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc112fc:	38 81 00 08 	addi    r4,r1,8                                
ffc11300:	48 00 13 95 	bl      ffc12694 <rtems_barrier_release>       
ffc11304:	4b ff fe 8c 	b       ffc11190 <fifo_open+0x2e0>             
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11308:	80 7f 00 28 	lwz     r3,40(r31)                             
        err = -ENXIO;                                                 
ffc1130c:	3b c0 ff fa 	li      r30,-6                                 
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
ffc11310:	4b ff a3 1d 	bl      ffc0b62c <rtems_semaphore_release>     
        err = -ENXIO;                                                 
        goto out_error;                                               
ffc11314:	4b ff fe e0 	b       ffc111f4 <fifo_open+0x344>             
                                                                      

ffc0c3e8 <fpathconf>: { long return_value; rtems_libio_t *iop; const rtems_filesystem_limits_and_options_t *the_limits; rtems_libio_check_fd(fd);
ffc0c3e8:	3d 20 00 00 	lis     r9,0                                   
 */                                                                   
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc0c3ec:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0c3f0:	7c 08 02 a6 	mflr    r0                                     
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  const rtems_filesystem_limits_and_options_t *the_limits;            
                                                                      
  rtems_libio_check_fd(fd);                                           
ffc0c3f4:	81 29 26 dc 	lwz     r9,9948(r9)                            
 */                                                                   
long fpathconf(                                                       
  int   fd,                                                           
  int   name                                                          
)                                                                     
{                                                                     
ffc0c3f8:	90 01 00 0c 	stw     r0,12(r1)                              
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  const rtems_filesystem_limits_and_options_t *the_limits;            
                                                                      
  rtems_libio_check_fd(fd);                                           
ffc0c3fc:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc0c400:	40 9c 00 cc 	bge-    cr7,ffc0c4cc <fpathconf+0xe4>          
  iop = rtems_libio_iop(fd);                                          
ffc0c404:	3d 20 00 00 	lis     r9,0                                   
ffc0c408:	81 29 27 88 	lwz     r9,10120(r9)                           
ffc0c40c:	1c 63 00 38 	mulli   r3,r3,56                               
ffc0c410:	7c 69 1a 14 	add     r3,r9,r3                               
  rtems_libio_check_is_open(iop);                                     
ffc0c414:	81 23 00 10 	lwz     r9,16(r3)                              
ffc0c418:	71 2a 01 00 	andi.   r10,r9,256                             
ffc0c41c:	41 82 00 b0 	beq-    ffc0c4cc <fpathconf+0xe4>              <== NEVER TAKEN
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
                                                                      
  switch ( name ) {                                                   
ffc0c420:	2b 84 00 0b 	cmplwi  cr7,r4,11                              
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
ffc0c424:	81 23 00 28 	lwz     r9,40(r3)                              
ffc0c428:	81 29 00 2c 	lwz     r9,44(r9)                              
                                                                      
  switch ( name ) {                                                   
ffc0c42c:	40 9d 00 24 	ble-    cr7,ffc0c450 <fpathconf+0x68>          
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc0c430:	48 00 1a 2d 	bl      ffc0de5c <__errno>                     
ffc0c434:	39 20 00 16 	li      r9,22                                  
ffc0c438:	91 23 00 00 	stw     r9,0(r3)                               
ffc0c43c:	38 60 ff ff 	li      r3,-1                                  
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
ffc0c440:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0c444:	38 21 00 08 	addi    r1,r1,8                                
ffc0c448:	7c 08 03 a6 	mtlr    r0                                     
ffc0c44c:	4e 80 00 20 	blr                                            
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
                                                                      
  switch ( name ) {                                                   
ffc0c450:	3d 40 ff c1 	lis     r10,-63                                
ffc0c454:	39 4a 4a 38 	addi    r10,r10,19000                          
ffc0c458:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc0c45c:	7d 0a 20 2e 	lwzx    r8,r10,r4                              
ffc0c460:	7d 48 52 14 	add     r10,r8,r10                             
ffc0c464:	7d 49 03 a6 	mtctr   r10                                    
ffc0c468:	4e 80 04 20 	bctr                                           
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
ffc0c46c:	80 69 00 24 	lwz     r3,36(r9)                              
      break;                                                          
ffc0c470:	4b ff ff d0 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
ffc0c474:	80 69 00 18 	lwz     r3,24(r9)                              
      break;                                                          
ffc0c478:	4b ff ff c8 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
ffc0c47c:	80 69 00 2c 	lwz     r3,44(r9)                              
      break;                                                          
ffc0c480:	4b ff ff c0 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
ffc0c484:	80 69 00 20 	lwz     r3,32(r9)                              
      break;                                                          
ffc0c488:	4b ff ff b8 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
ffc0c48c:	80 69 00 1c 	lwz     r3,28(r9)                              
      break;                                                          
ffc0c490:	4b ff ff b0 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
ffc0c494:	80 69 00 14 	lwz     r3,20(r9)                              
      break;                                                          
ffc0c498:	4b ff ff a8 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
ffc0c49c:	80 69 00 10 	lwz     r3,16(r9)                              
      break;                                                          
ffc0c4a0:	4b ff ff a0 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
ffc0c4a4:	80 69 00 0c 	lwz     r3,12(r9)                              
      break;                                                          
ffc0c4a8:	4b ff ff 98 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
ffc0c4ac:	80 69 00 08 	lwz     r3,8(r9)                               
      break;                                                          
ffc0c4b0:	4b ff ff 90 	b       ffc0c440 <fpathconf+0x58>              
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
ffc0c4b4:	80 69 00 04 	lwz     r3,4(r9)                               
      break;                                                          
ffc0c4b8:	4b ff ff 88 	b       ffc0c440 <fpathconf+0x58>              
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
ffc0c4bc:	80 69 00 00 	lwz     r3,0(r9)                               
      break;                                                          
ffc0c4c0:	4b ff ff 80 	b       ffc0c440 <fpathconf+0x58>              
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
ffc0c4c4:	80 69 00 28 	lwz     r3,40(r9)                              
      break;                                                          
ffc0c4c8:	4b ff ff 78 	b       ffc0c440 <fpathconf+0x58>              
  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);                                     
ffc0c4cc:	48 00 19 91 	bl      ffc0de5c <__errno>                     
ffc0c4d0:	39 20 00 09 	li      r9,9                                   
ffc0c4d4:	91 23 00 00 	stw     r9,0(r3)                               
ffc0c4d8:	38 60 ff ff 	li      r3,-1                                  
ffc0c4dc:	4b ff ff 64 	b       ffc0c440 <fpathconf+0x58>              
                                                                      

ffc04b68 <free>: #include <stdlib.h> void free( void *ptr ) {
ffc04b68:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc04b6c:	7c 08 02 a6 	mflr    r0                                     
  MSBUMP(free_calls, 1);                                              
ffc04b70:	3d 20 00 00 	lis     r9,0                                   
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04b74:	90 01 00 14 	stw     r0,20(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc04b78:	39 29 2b 28 	addi    r9,r9,11048                            
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04b7c:	93 e1 00 0c 	stw     r31,12(r1)                             
  MSBUMP(free_calls, 1);                                              
                                                                      
  if ( !ptr )                                                         
ffc04b80:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
  MSBUMP(free_calls, 1);                                              
ffc04b84:	81 49 00 0c 	lwz     r10,12(r9)                             
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
ffc04b88:	93 c1 00 08 	stw     r30,8(r1)                              
  MSBUMP(free_calls, 1);                                              
ffc04b8c:	39 4a 00 01 	addi    r10,r10,1                              
ffc04b90:	91 49 00 0c 	stw     r10,12(r9)                             
                                                                      
  if ( !ptr )                                                         
ffc04b94:	41 82 00 4c 	beq-    ffc04be0 <free+0x78>                   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04b98:	3d 20 00 00 	lis     r9,0                                   
ffc04b9c:	81 29 28 4c 	lwz     r9,10316(r9)                           
ffc04ba0:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc04ba4:	41 9e 00 88 	beq-    cr7,ffc04c2c <free+0xc4>               <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc04ba8:	3d 20 00 00 	lis     r9,0                                   
ffc04bac:	81 29 27 c4 	lwz     r9,10180(r9)                           
ffc04bb0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04bb4:	41 9e 00 14 	beq-    cr7,ffc04bc8 <free+0x60>               
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
ffc04bb8:	81 29 00 08 	lwz     r9,8(r9)                               
ffc04bbc:	7f e3 fb 78 	mr      r3,r31                                 
ffc04bc0:	7d 29 03 a6 	mtctr   r9                                     
ffc04bc4:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
ffc04bc8:	3f c0 00 00 	lis     r30,0                                  
ffc04bcc:	80 7e 27 50 	lwz     r3,10064(r30)                          
ffc04bd0:	7f e4 fb 78 	mr      r4,r31                                 
ffc04bd4:	48 00 71 41 	bl      ffc0bd14 <_Protected_heap_Free>        
ffc04bd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04bdc:	41 9e 00 1c 	beq-    cr7,ffc04bf8 <free+0x90>               
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04be0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04be4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04be8:	7c 08 03 a6 	mtlr    r0                                     
ffc04bec:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04bf0:	38 21 00 10 	addi    r1,r1,16                               
ffc04bf4:	4e 80 00 20 	blr                                            
ffc04bf8:	80 01 00 14 	lwz     r0,20(r1)                              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
ffc04bfc:	3c 60 ff c2 	lis     r3,-62                                 
      ptr,                                                            
      RTEMS_Malloc_Heap->area_begin,                                  
ffc04c00:	81 3e 27 50 	lwz     r9,10064(r30)                          
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
ffc04c04:	7f e4 fb 78 	mr      r4,r31                                 
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04c08:	7c 08 03 a6 	mtlr    r0                                     
ffc04c0c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04c10:	83 e1 00 0c 	lwz     r31,12(r1)                             
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
ffc04c14:	38 63 e6 f8 	addi    r3,r3,-6408                            
ffc04c18:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc04c1c:	80 c9 00 1c 	lwz     r6,28(r9)                              
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04c20:	38 21 00 10 	addi    r1,r1,16                               
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
ffc04c24:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04c28:	48 00 10 a0 	b       ffc05cc8 <printk>                      
                                                                      
  /*                                                                  
   *  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() ) {                               
ffc04c2c:	48 00 01 d9 	bl      ffc04e04 <malloc_is_system_state_OK>   
    return;                                                           
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04c30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04c34:	40 9e ff 74 	bne+    cr7,ffc04ba8 <free+0x40>               
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04c38:	80 01 00 14 	lwz     r0,20(r1)                              
  /*                                                                  
   *  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() ) {                               
      malloc_deferred_free(ptr);                                      
ffc04c3c:	7f e3 fb 78 	mr      r3,r31                                 
      RTEMS_Malloc_Heap->area_begin,                                  
      RTEMS_Malloc_Heap->area_end                                     
    );                                                                
  }                                                                   
                                                                      
}                                                                     
ffc04c40:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04c44:	7c 08 03 a6 	mtlr    r0                                     
ffc04c48:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04c4c:	38 21 00 10 	addi    r1,r1,16                               
  /*                                                                  
   *  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() ) {                               
      malloc_deferred_free(ptr);                                      
ffc04c50:	48 00 02 24 	b       ffc04e74 <malloc_deferred_free>        
                                                                      

ffc1cba8 <fstat>: int fstat( int fd, struct stat *sbuf ) {
ffc1cba8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1cbac:	7c 08 02 a6 	mflr    r0                                     
ffc1cbb0:	93 e1 00 0c 	stw     r31,12(r1)                             
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
ffc1cbb4:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
int fstat(                                                            
  int          fd,                                                    
  struct stat *sbuf                                                   
)                                                                     
{                                                                     
ffc1cbb8:	90 01 00 14 	stw     r0,20(r1)                              
ffc1cbbc:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
ffc1cbc0:	41 82 00 94 	beq-    ffc1cc54 <fstat+0xac>                  <== NEVER TAKEN
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
ffc1cbc4:	3d 20 00 00 	lis     r9,0                                   
ffc1cbc8:	81 29 27 58 	lwz     r9,10072(r9)                           
ffc1cbcc:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc1cbd0:	40 9c 00 5c 	bge-    cr7,ffc1cc2c <fstat+0x84>              
ffc1cbd4:	3d 20 00 00 	lis     r9,0                                   
ffc1cbd8:	83 c9 28 08 	lwz     r30,10248(r9)                          
ffc1cbdc:	1c 63 00 38 	mulli   r3,r3,56                               
ffc1cbe0:	7f de 1a 14 	add     r30,r30,r3                             
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
ffc1cbe4:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc1cbe8:	71 2a 01 00 	andi.   r10,r9,256                             
ffc1cbec:	41 82 00 40 	beq-    ffc1cc2c <fstat+0x84>                  
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
ffc1cbf0:	38 80 00 00 	li      r4,0                                   
ffc1cbf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cbf8:	38 a0 00 48 	li      r5,72                                  
ffc1cbfc:	4b ff 62 75 	bl      ffc12e70 <memset>                      
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
ffc1cc00:	81 3e 00 24 	lwz     r9,36(r30)                             
}                                                                     
ffc1cc04:	80 01 00 14 	lwz     r0,20(r1)                              
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
ffc1cc08:	38 7e 00 14 	addi    r3,r30,20                              
ffc1cc0c:	81 29 00 18 	lwz     r9,24(r9)                              
ffc1cc10:	7f e4 fb 78 	mr      r4,r31                                 
}                                                                     
ffc1cc14:	7c 08 03 a6 	mtlr    r0                                     
ffc1cc18:	83 c1 00 08 	lwz     r30,8(r1)                              
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
ffc1cc1c:	7d 29 03 a6 	mtctr   r9                                     
}                                                                     
ffc1cc20:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1cc24:	38 21 00 10 	addi    r1,r1,16                               
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
ffc1cc28:	4e 80 04 20 	bctr                                           
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
ffc1cc2c:	4b ff 54 4d 	bl      ffc12078 <__errno>                     
ffc1cc30:	39 20 00 09 	li      r9,9                                   
ffc1cc34:	91 23 00 00 	stw     r9,0(r3)                               
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
}                                                                     
ffc1cc38:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1cc3c:	38 60 ff ff 	li      r3,-1                                  
ffc1cc40:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1cc44:	7c 08 03 a6 	mtlr    r0                                     
ffc1cc48:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1cc4c:	38 21 00 10 	addi    r1,r1,16                               
ffc1cc50:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc1cc54:	4b ff 54 25 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc1cc58:	39 20 00 0e 	li      r9,14                                  <== NOT EXECUTED
ffc1cc5c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1cc60:	4b ff ff d8 	b       ffc1cc38 <fstat+0x90>                  <== NOT EXECUTED
                                                                      

ffc04588 <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) {
ffc04588:	3d 20 00 00 	lis     r9,0                                   
ffc0458c:	81 49 28 48 	lwz     r10,10312(r9)                          
ffc04590:	39 29 28 48 	addi    r9,r9,10312                            
ffc04594:	7f 8a 18 40 	cmplw   cr7,r10,r3                             
ffc04598:	40 9d 00 64 	ble-    cr7,ffc045fc <get_disk_entry+0x74>     <== NEVER TAKEN
ffc0459c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc045a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc045a4:	41 9e 00 58 	beq-    cr7,ffc045fc <get_disk_entry+0x74>     <== NEVER TAKEN
    rtems_disk_device_table *dtab = disktab + major;                  
ffc045a8:	54 63 18 38 	rlwinm  r3,r3,3,0,28                           
ffc045ac:	7d 49 1a 14 	add     r10,r9,r3                              
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
ffc045b0:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc045b4:	7f 8a 20 40 	cmplw   cr7,r10,r4                             
ffc045b8:	40 9d 00 44 	ble-    cr7,ffc045fc <get_disk_entry+0x74>     <== NEVER TAKEN
ffc045bc:	7d 29 18 2e 	lwzx    r9,r9,r3                               
ffc045c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc045c4:	41 9e 00 38 	beq-    cr7,ffc045fc <get_disk_entry+0x74>     <== NEVER TAKEN
      rtems_disk_device *dd = dtab->minor [minor];                    
ffc045c8:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc045cc:	7c 69 20 2e 	lwzx    r3,r9,r4                               
                                                                      
      if (dd != NULL && !lookup_only) {                               
ffc045d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc045d4:	4d 9e 00 20 	beqlr   cr7                                    
ffc045d8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc045dc:	4c 9e 00 20 	bnelr   cr7                                    
        if (!dd->deleted) {                                           
ffc045e0:	89 23 00 40 	lbz     r9,64(r3)                              
ffc045e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc045e8:	40 9e 00 14 	bne-    cr7,ffc045fc <get_disk_entry+0x74>     
          ++dd->uses;                                                 
ffc045ec:	81 23 00 14 	lwz     r9,20(r3)                              
ffc045f0:	39 29 00 01 	addi    r9,r9,1                                
ffc045f4:	91 23 00 14 	stw     r9,20(r3)                              
ffc045f8:	4e 80 00 20 	blr                                            
                                                                      
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
ffc045fc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc04600:	4e 80 00 20 	blr                                            
                                                                      

ffc067c4 <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,
ffc067c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc067c8:	7c 08 02 a6 	mflr    r0                                     
ffc067cc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc067d0:	7c 7e 1b 78 	mr      r30,r3                                 
    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);
ffc067d4:	38 60 02 04 	li      r3,516                                 
 * 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,                                                    
ffc067d8:	93 81 00 08 	stw     r28,8(r1)                              
ffc067dc:	7c 9c 23 78 	mr      r28,r4                                 
ffc067e0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc067e4:	7c bd 2b 78 	mr      r29,r5                                 
ffc067e8:	93 e1 00 14 	stw     r31,20(r1)                             
ffc067ec:	90 01 00 1c 	stw     r0,28(r1)                              
    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);
ffc067f0:	48 00 19 7d 	bl      ffc0816c <malloc>                      
    if (s == NULL)                                                    
ffc067f4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc067f8:	41 82 00 48 	beq-    ffc06840 <get_sector.part.0+0x7c>      <== NEVER TAKEN
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    n = read(fd, s->data, RTEMS_IDE_SECTOR_SIZE);                     
ffc067fc:	7f c3 f3 78 	mr      r3,r30                                 
ffc06800:	38 9f 00 04 	addi    r4,r31,4                               
ffc06804:	38 a0 02 00 	li      r5,512                                 
ffc06808:	48 00 26 81 	bl      ffc08e88 <read>                        
    if (n != RTEMS_IDE_SECTOR_SIZE)                                   
ffc0680c:	2f 83 02 00 	cmpwi   cr7,r3,512                             
ffc06810:	41 9e 00 54 	beq-    cr7,ffc06864 <get_sector.part.0+0xa0>  <== ALWAYS TAKEN
    {                                                                 
        free(s);                                                      
ffc06814:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06818:	48 00 11 bd 	bl      ffc079d4 <free>                        <== NOT EXECUTED
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc0681c:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc06820:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
                                                                      
    n = read(fd, s->data, RTEMS_IDE_SECTOR_SIZE);                     
    if (n != RTEMS_IDE_SECTOR_SIZE)                                   
    {                                                                 
        free(s);                                                      
        return RTEMS_IO_ERROR;                                        
ffc06824:	38 60 00 1b 	li      r3,27                                  <== NOT EXECUTED
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06828:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0682c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc06830:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc06834:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc06838:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0683c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc06840:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    s = (rtems_sector_data_t *) malloc(sizeof(rtems_sector_data_t) + RTEMS_IDE_SECTOR_SIZE);
    if (s == NULL)                                                    
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
ffc06844:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06848:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc0684c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06850:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc06854:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc06858:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc0685c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc06860:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc06864:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
ffc06868:	38 60 00 00 	li      r3,0                                   
    {                                                                 
        free(s);                                                      
        return RTEMS_IO_ERROR;                                        
    }                                                                 
                                                                      
    s->sector_num = sector_num;                                       
ffc0686c:	93 9f 00 00 	stw     r28,0(r31)                             
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06870:	7c 08 03 a6 	mtlr    r0                                     
        return RTEMS_IO_ERROR;                                        
    }                                                                 
                                                                      
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
ffc06874:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06878:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0687c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc06880:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06884:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06888:	38 21 00 18 	addi    r1,r1,24                               
ffc0688c:	4e 80 00 20 	blr                                            
                                                                      

ffc3805c <getdents>: rtems_filesystem_node_types_t type; /* * Get the file control block structure associated with the file descriptor */ iop = rtems_libio_iop( dd_fd );
ffc3805c:	3d 20 00 00 	lis     r9,0                                   
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc38060:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc38064:	7c 08 02 a6 	mflr    r0                                     
  rtems_filesystem_node_types_t type;                                 
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc38068:	81 29 27 78 	lwz     r9,10104(r9)                           
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc3806c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc38070:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_filesystem_node_types_t type;                                 
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc38074:	7f 83 48 40 	cmplw   cr7,r3,r9                              
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc38078:	93 c1 00 10 	stw     r30,16(r1)                             
ffc3807c:	7c be 2b 78 	mr      r30,r5                                 
ffc38080:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_filesystem_node_types_t type;                                 
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc38084:	3b e0 00 00 	li      r31,0                                  
int getdents(                                                         
  int   dd_fd,                                                        
  char *dd_buf,                                                       
  int   dd_len                                                        
)                                                                     
{                                                                     
ffc38088:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_filesystem_node_types_t type;                                 
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
ffc3808c:	40 9c 00 14 	bge-    cr7,ffc380a0 <getdents+0x44>           <== NEVER TAKEN
ffc38090:	3d 20 00 00 	lis     r9,0                                   
ffc38094:	1c 63 00 38 	mulli   r3,r3,56                               
ffc38098:	83 e9 28 24 	lwz     r31,10276(r9)                          
ffc3809c:	7f ff 1a 14 	add     r31,r31,r3                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  type = rtems_filesystem_node_type( &iop->pathinfo );                
ffc380a0:	38 7f 00 14 	addi    r3,r31,20                              
ffc380a4:	4b fd 4a 89 	bl      ffc0cb2c <rtems_filesystem_node_type>  
  if ( type != RTEMS_FILESYSTEM_DIRECTORY )                           
ffc380a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc380ac:	40 9e 00 38 	bne-    cr7,ffc380e4 <getdents+0x88>           
                                                                      
  /*                                                                  
   *  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  );   
ffc380b0:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc380b4:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc380b8:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
  /*                                                                  
   *  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  );   
ffc380bc:	7f a4 eb 78 	mr      r4,r29                                 
ffc380c0:	81 29 00 08 	lwz     r9,8(r9)                               
ffc380c4:	7f c5 f3 78 	mr      r5,r30                                 
}                                                                     
ffc380c8:	7c 08 03 a6 	mtlr    r0                                     
ffc380cc:	83 a1 00 0c 	lwz     r29,12(r1)                             
                                                                      
  /*                                                                  
   *  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  );   
ffc380d0:	7d 29 03 a6 	mtctr   r9                                     
}                                                                     
ffc380d4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc380d8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc380dc:	38 21 00 18 	addi    r1,r1,24                               
                                                                      
  /*                                                                  
   *  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  );   
ffc380e0:	4e 80 04 20 	bctr                                           
  /*                                                                  
   *  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 );                  
ffc380e4:	4b fe fe 59 	bl      ffc27f3c <__errno>                     
  /*                                                                  
   *  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  );   
}                                                                     
ffc380e8:	80 01 00 1c 	lwz     r0,28(r1)                              
  /*                                                                  
   *  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 );                  
ffc380ec:	39 20 00 14 	li      r9,20                                  
  /*                                                                  
   *  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  );   
}                                                                     
ffc380f0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc380f4:	7c 08 03 a6 	mtlr    r0                                     
  /*                                                                  
   *  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 );                  
ffc380f8:	91 23 00 00 	stw     r9,0(r3)                               
  /*                                                                  
   *  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  );   
}                                                                     
ffc380fc:	38 60 ff ff 	li      r3,-1                                  
ffc38100:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc38104:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc38108:	38 21 00 18 	addi    r1,r1,24                               
ffc3810c:	4e 80 00 20 	blr                                            
                                                                      

ffc04c54 <gettimeofday>: */ int gettimeofday( struct timeval *tp, void * __tz __attribute__((unused)) ) {
ffc04c54:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04c58:	7c 08 02 a6 	mflr    r0                                     
ffc04c5c:	93 a1 00 1c 	stw     r29,28(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc04c60:	7c 7d 1b 79 	mr.     r29,r3                                 
 */                                                                   
int gettimeofday(                                                     
  struct timeval  *tp,                                                
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
ffc04c64:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04c68:	93 c1 00 20 	stw     r30,32(r1)                             
ffc04c6c:	93 e1 00 24 	stw     r31,36(r1)                             
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
ffc04c70:	41 82 00 80 	beq-    ffc04cf0 <gettimeofday+0x9c>           <== NEVER TAKEN
)                                                                     
{                                                                     
  Timestamp_Control  snapshot_as_timestamp;                           
  Timestamp_Control *snapshot_as_timestamp_ptr;                       
                                                                      
  snapshot_as_timestamp_ptr =                                         
ffc04c74:	3c 80 00 00 	lis     r4,0                                   
ffc04c78:	38 84 2b e0 	addi    r4,r4,11232                            
ffc04c7c:	38 61 00 08 	addi    r3,r1,8                                
ffc04c80:	48 00 60 bd 	bl      ffc0ad3c <_TOD_Get_with_nanoseconds>   
static inline void _Timestamp64_implementation_To_timeval(            
  const Timestamp64_Control *_timestamp,                              
  struct timeval            *_timeval                                 
)                                                                     
{                                                                     
  _timeval->tv_sec = (time_t) (*_timestamp / 1000000000U);            
ffc04c84:	3c c0 3b 9a 	lis     r6,15258                               
  struct timeval  *tp,                                                
  struct timezone *tzp                                                
)                                                                     
{                                                                     
  return gettimeofday( tp, tzp );                                     
}                                                                     
ffc04c88:	83 e3 00 04 	lwz     r31,4(r3)                              
ffc04c8c:	38 a0 00 00 	li      r5,0                                   
ffc04c90:	83 c3 00 00 	lwz     r30,0(r3)                              
ffc04c94:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc04c98:	7f e4 fb 78 	mr      r4,r31                                 
ffc04c9c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04ca0:	48 01 6b f1 	bl      ffc1b890 <__divdi3>                    
  _timeval->tv_usec = (suseconds_t) ((*_timestamp % 1000000000U) / 1000U);
ffc04ca4:	3c c0 3b 9a 	lis     r6,15258                               
static inline void _Timestamp64_implementation_To_timeval(            
  const Timestamp64_Control *_timestamp,                              
  struct timeval            *_timeval                                 
)                                                                     
{                                                                     
  _timeval->tv_sec = (time_t) (*_timestamp / 1000000000U);            
ffc04ca8:	90 9d 00 00 	stw     r4,0(r29)                              
  _timeval->tv_usec = (suseconds_t) ((*_timestamp % 1000000000U) / 1000U);
ffc04cac:	38 a0 00 00 	li      r5,0                                   
ffc04cb0:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc04cb4:	7f c3 f3 78 	mr      r3,r30                                 
ffc04cb8:	7f e4 fb 78 	mr      r4,r31                                 
ffc04cbc:	48 01 6f f9 	bl      ffc1bcb4 <__moddi3>                    
ffc04cc0:	38 a0 00 00 	li      r5,0                                   
ffc04cc4:	38 c0 03 e8 	li      r6,1000                                
ffc04cc8:	48 01 6b c9 	bl      ffc1b890 <__divdi3>                    
   *  Timezone information ignored by the OS proper.   Per email      
   *  with Eric Norum, this is how GNU/Linux, Solaris, and MacOS X    
   *  do it.  This puts us in good company.                           
   */                                                                 
                                                                      
  return 0;                                                           
ffc04ccc:	38 60 00 00 	li      r3,0                                   
ffc04cd0:	90 9d 00 04 	stw     r4,4(r29)                              
}                                                                     
ffc04cd4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc04cd8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc04cdc:	7c 08 03 a6 	mtlr    r0                                     
ffc04ce0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04ce4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc04ce8:	38 21 00 28 	addi    r1,r1,40                               
ffc04cec:	4e 80 00 20 	blr                                            
  void * __tz __attribute__((unused))                                 
)                                                                     
{                                                                     
  /* struct timezone* tzp = (struct timezone*) __tz; */               
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EFAULT );                   
ffc04cf0:	48 00 d3 89 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc04cf4:	39 20 00 0e 	li      r9,14                                  <== NOT EXECUTED
ffc04cf8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc04cfc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04d00:	4b ff ff d4 	b       ffc04cd4 <gettimeofday+0x80>           <== NOT EXECUTED
                                                                      

ffc117bc <imfs_dir_read>: ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, size_t count ) {
ffc117bc:	94 21 fe b0 	stwu    r1,-336(r1)                            
ffc117c0:	7c 08 02 a6 	mflr    r0                                     
ffc117c4:	90 01 01 54 	stw     r0,340(r1)                             
ffc117c8:	93 41 01 38 	stw     r26,312(r1)                            
ffc117cc:	7c 7a 1b 78 	mr      r26,r3                                 
   }                                                                  
                                                                      
   rtems_filesystem_instance_unlock( &iop->pathinfo );                
                                                                      
   return bytes_transferred;                                          
}                                                                     
ffc117d0:	80 63 00 28 	lwz     r3,40(r3)                              
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc117d4:	93 61 01 3c 	stw     r27,316(r1)                            
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
   /* 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 );   
ffc117d8:	3f 60 0e a0 	lis     r27,3744                               
ffc117dc:	63 7b ea 0f 	ori     r27,r27,59919                          
  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 );                               
ffc117e0:	81 23 00 0c 	lwz     r9,12(r3)                              
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc117e4:	93 e1 01 4c 	stw     r31,332(r1)                            
ffc117e8:	7c bf 2b 78 	mr      r31,r5                                 
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
   /* 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 );   
ffc117ec:	57 ff e8 fe 	rlwinm  r31,r31,29,3,31                        
ffc117f0:	81 29 00 00 	lwz     r9,0(r9)                               
ffc117f4:	7f 7f d8 16 	mulhwu  r27,r31,r27                            
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc117f8:	92 e1 01 2c 	stw     r23,300(r1)                            
ffc117fc:	7d 29 03 a6 	mtctr   r9                                     
ffc11800:	7c 97 23 78 	mr      r23,r4                                 
ffc11804:	93 81 01 40 	stw     r28,320(r1)                            
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
   /* 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 );   
ffc11808:	57 7b f8 7e 	rlwinm  r27,r27,31,1,31                        
ffc1180c:	1f 7b 01 18 	mulli   r27,r27,280                            
ssize_t imfs_dir_read(                                                
  rtems_libio_t  *iop,                                                
  void           *buffer,                                             
  size_t          count                                               
)                                                                     
{                                                                     
ffc11810:	93 a1 01 44 	stw     r29,324(r1)                            
ffc11814:	93 c1 01 48 	stw     r30,328(r1)                            
ffc11818:	92 c1 01 28 	stw     r22,296(r1)                            
ffc1181c:	93 01 01 30 	stw     r24,304(r1)                            
ffc11820:	93 21 01 34 	stw     r25,308(r1)                            
ffc11824:	4e 80 04 21 	bctrl                                          
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   /* Move to the first of the desired directory entries */           
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
ffc11828:	83 ba 00 0c 	lwz     r29,12(r26)                            
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   rtems_filesystem_instance_lock( &iop->pathinfo );                  
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
ffc1182c:	83 9a 00 1c 	lwz     r28,28(r26)                            
   /* -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 (                                                              
ffc11830:	7f 7b ea 15 	add.    r27,r27,r29                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc11834:	83 dc 00 50 	lwz     r30,80(r28)                            
ffc11838:	40 81 01 0c 	ble-    ffc11944 <imfs_dir_read+0x188>         <== NEVER TAKEN
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 ));            
ffc1183c:	3b 9c 00 54 	addi    r28,r28,84                             
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
ffc11840:	7f 9e e0 00 	cmpw    cr7,r30,r28                            
ffc11844:	41 9e 01 00 	beq-    cr7,ffc11944 <imfs_dir_read+0x188>     
ffc11848:	3b e0 00 00 	li      r31,0                                  
ffc1184c:	3b 20 00 00 	li      r25,0                                  
        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 );               
ffc11850:	3a c0 01 18 	li      r22,280                                
ffc11854:	48 00 00 1c 	b       ffc11870 <imfs_dir_read+0xb4>          
#include "imfs.h"                                                     
                                                                      
#include <string.h>                                                   
#include <dirent.h>                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc11858:	3b ff 01 18 	addi    r31,r31,280                            
   }                                                                  
                                                                      
   rtems_filesystem_instance_unlock( &iop->pathinfo );                
                                                                      
   return bytes_transferred;                                          
}                                                                     
ffc1185c:	83 de 00 00 	lwz     r30,0(r30)                             
   /* -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 (                                                              
ffc11860:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
ffc11864:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
   /* -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 (                                                              
ffc11868:	40 9d 00 8c 	ble-    cr7,ffc118f4 <imfs_dir_read+0x138>     <== NEVER TAKEN
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
ffc1186c:	41 9a 00 88 	beq-    cr6,ffc118f4 <imfs_dir_read+0x138>     
      current_entry +=  sizeof( struct dirent ),                      
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
ffc11870:	7f 9d f8 00 	cmpw    cr7,r29,r31                            
ffc11874:	41 9d ff e4 	bgt+    cr7,ffc11858 <imfs_dir_read+0x9c>      
         /* 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;                        
ffc11878:	81 3e 00 38 	lwz     r9,56(r30)                             
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc1187c:	3b 1e 00 0c 	addi    r24,r30,12                             
      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;                            
ffc11880:	7f ea fe 70 	srawi   r10,r31,31                             
ffc11884:	93 e1 00 14 	stw     r31,20(r1)                             
         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 );             
ffc11888:	7f 03 c3 78 	mr      r3,r24                                 
      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;                            
ffc1188c:	91 41 00 10 	stw     r10,16(r1)                             
#include "imfs.h"                                                     
                                                                      
#include <string.h>                                                   
#include <dirent.h>                                                   
                                                                      
ssize_t imfs_dir_read(                                                
ffc11890:	3b ff 01 18 	addi    r31,r31,280                            
      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 );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
ffc11894:	91 21 00 08 	stw     r9,8(r1)                               
        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 );               
ffc11898:	b2 c1 00 18 	sth     r22,24(r1)                             
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
ffc1189c:	48 00 20 31 	bl      ffc138cc <strlen>                      
ffc118a0:	7c 69 1b 78 	mr      r9,r3                                  
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc118a4:	38 a3 00 01 	addi    r5,r3,1                                
         /* 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 );             
ffc118a8:	b1 21 00 1a 	sth     r9,26(r1)                              
         strcpy( tmp_dirent.d_name, the_jnode->name );                
ffc118ac:	7f 04 c3 78 	mr      r4,r24                                 
ffc118b0:	38 61 00 1c 	addi    r3,r1,28                               
ffc118b4:	48 00 14 c9 	bl      ffc12d7c <memcpy>                      
         memcpy(                                                      
ffc118b8:	7c 77 ca 14 	add     r3,r23,r25                             
ffc118bc:	38 81 00 08 	addi    r4,r1,8                                
ffc118c0:	38 a0 01 18 	li      r5,280                                 
ffc118c4:	48 00 14 b9 	bl      ffc12d7c <memcpy>                      
   /* -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 (                                                              
ffc118c8:	7f 9b f8 00 	cmpw    cr7,r27,r31                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
ffc118cc:	81 5a 00 08 	lwz     r10,8(r26)                             
         bytes_transferred += sizeof( struct dirent );                
ffc118d0:	3b 39 01 18 	addi    r25,r25,280                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
ffc118d4:	81 7a 00 0c 	lwz     r11,12(r26)                            
   }                                                                  
                                                                      
   rtems_filesystem_instance_unlock( &iop->pathinfo );                
                                                                      
   return bytes_transferred;                                          
}                                                                     
ffc118d8:	83 de 00 00 	lwz     r30,0(r30)                             
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
ffc118dc:	31 6b 01 18 	addic   r11,r11,280                            
ffc118e0:	7d 4a 01 94 	addze   r10,r10                                
ffc118e4:	91 5a 00 08 	stw     r10,8(r26)                             
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
ffc118e8:	7f 1e e0 00 	cmpw    cr6,r30,r28                            
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
ffc118ec:	91 7a 00 0c 	stw     r11,12(r26)                            
   /* -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 (                                                              
ffc118f0:	41 9d ff 7c 	bgt+    cr7,ffc1186c <imfs_dir_read+0xb0>      <== NEVER TAKEN
   }                                                                  
                                                                      
   rtems_filesystem_instance_unlock( &iop->pathinfo );                
                                                                      
   return bytes_transferred;                                          
}                                                                     
ffc118f4:	80 7a 00 28 	lwz     r3,40(r26)                             
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
ffc118f8:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc118fc:	81 29 00 04 	lwz     r9,4(r9)                               
ffc11900:	7d 29 03 a6 	mtctr   r9                                     
ffc11904:	4e 80 04 21 	bctrl                                          
ffc11908:	80 01 01 54 	lwz     r0,340(r1)                             
ffc1190c:	7f 23 cb 78 	mr      r3,r25                                 
ffc11910:	82 c1 01 28 	lwz     r22,296(r1)                            
ffc11914:	7c 08 03 a6 	mtlr    r0                                     
ffc11918:	82 e1 01 2c 	lwz     r23,300(r1)                            
ffc1191c:	83 01 01 30 	lwz     r24,304(r1)                            
ffc11920:	83 21 01 34 	lwz     r25,308(r1)                            
ffc11924:	83 41 01 38 	lwz     r26,312(r1)                            
ffc11928:	83 61 01 3c 	lwz     r27,316(r1)                            
ffc1192c:	83 81 01 40 	lwz     r28,320(r1)                            
ffc11930:	83 a1 01 44 	lwz     r29,324(r1)                            
ffc11934:	83 c1 01 48 	lwz     r30,328(r1)                            
ffc11938:	83 e1 01 4c 	lwz     r31,332(r1)                            
ffc1193c:	38 21 01 50 	addi    r1,r1,336                              
ffc11940:	4e 80 00 20 	blr                                            
   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;                                             
ffc11944:	3b 20 00 00 	li      r25,0                                  
ffc11948:	4b ff ff ac 	b       ffc118f4 <imfs_dir_read+0x138>         
                                                                      

ffc2c444 <init_etc_passwd_group>: void init_etc_passwd_group(void) { FILE *fp; static char etc_passwd_initted = 0; if (etc_passwd_initted)
ffc2c444:	3d 20 00 00 	lis     r9,0                                   
ffc2c448:	89 49 5c cc 	lbz     r10,23756(r9)                          
ffc2c44c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc2c450:	4c be 00 20 	bnelr+  cr7                                    
                                                                      
/**                                                                   
 *  Initialize useable but dummy databases                            
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc2c454:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc2c458:	7c 08 02 a6 	mflr    r0                                     
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc2c45c:	3c 60 ff c6 	lis     r3,-58                                 
                                                                      
/**                                                                   
 *  Initialize useable but dummy databases                            
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc2c460:	93 c1 00 08 	stw     r30,8(r1)                              
  mkdir("/etc", 0777);                                                
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc2c464:	3f c0 ff c6 	lis     r30,-58                                
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc2c468:	39 40 00 01 	li      r10,1                                  
                                                                      
/**                                                                   
 *  Initialize useable but dummy databases                            
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc2c46c:	93 e1 00 0c 	stw     r31,12(r1)                             
  mkdir("/etc", 0777);                                                
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc2c470:	3f e0 ff c6 	lis     r31,-58                                
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
ffc2c474:	38 80 01 ff 	li      r4,511                                 
ffc2c478:	38 63 67 54 	addi    r3,r3,26452                            
                                                                      
/**                                                                   
 *  Initialize useable but dummy databases                            
 */                                                                   
void init_etc_passwd_group(void)                                      
{                                                                     
ffc2c47c:	90 01 00 14 	stw     r0,20(r1)                              
  mkdir("/etc", 0777);                                                
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc2c480:	3b de 67 5c 	addi    r30,r30,26460                          
ffc2c484:	3b ff 58 20 	addi    r31,r31,22560                          
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
ffc2c488:	99 49 5c cc 	stb     r10,23756(r9)                          
  mkdir("/etc", 0777);                                                
ffc2c48c:	4b fd 86 4d 	bl      ffc04ad8 <mkdir>                       
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
ffc2c490:	7f c3 f3 78 	mr      r3,r30                                 
ffc2c494:	7f e4 fb 78 	mr      r4,r31                                 
ffc2c498:	48 01 73 71 	bl      ffc43808 <fopen>                       
ffc2c49c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c4a0:	41 9e 00 3c 	beq-    cr7,ffc2c4dc <init_etc_passwd_group+0x98>
  }                                                                   
  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);                                                       
ffc2c4a4:	48 01 67 4d 	bl      ffc42bf0 <fclose>                      
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
ffc2c4a8:	3f c0 ff c6 	lis     r30,-58                                
ffc2c4ac:	3b de 67 d0 	addi    r30,r30,26576                          
ffc2c4b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc2c4b4:	7f e4 fb 78 	mr      r4,r31                                 
ffc2c4b8:	48 01 73 51 	bl      ffc43808 <fopen>                       
ffc2c4bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c4c0:	41 9e 00 54 	beq-    cr7,ffc2c514 <init_etc_passwd_group+0xd0>
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
  }                                                                   
}                                                                     
ffc2c4c4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc2c4c8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc2c4cc:	7c 08 03 a6 	mtlr    r0                                     
ffc2c4d0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc2c4d4:	38 21 00 10 	addi    r1,r1,16                               
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
    fprintf( fp, "root:x:0:root\n"                                    
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc2c4d8:	48 01 67 18 	b       ffc42bf0 <fclose>                      
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
ffc2c4dc:	3c 80 ff c6 	lis     r4,-58                                 
ffc2c4e0:	7f c3 f3 78 	mr      r3,r30                                 
ffc2c4e4:	38 84 17 e8 	addi    r4,r4,6120                             
ffc2c4e8:	48 01 73 21 	bl      ffc43808 <fopen>                       
ffc2c4ec:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc2c4f0:	41 a2 ff b8 	beq-    ffc2c4a8 <init_etc_passwd_group+0x64>  <== NEVER TAKEN
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
ffc2c4f4:	3c 60 ff c6 	lis     r3,-58                                 
ffc2c4f8:	38 63 67 68 	addi    r3,r3,26472                            
ffc2c4fc:	38 80 00 01 	li      r4,1                                   
ffc2c500:	38 a0 00 66 	li      r5,102                                 
ffc2c504:	7f c6 f3 78 	mr      r6,r30                                 
ffc2c508:	48 01 8a 55 	bl      ffc44f5c <fwrite>                      
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
ffc2c50c:	7f c3 f3 78 	mr      r3,r30                                 
ffc2c510:	4b ff ff 94 	b       ffc2c4a4 <init_etc_passwd_group+0x60>  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
ffc2c514:	3c 80 ff c6 	lis     r4,-58                                 
ffc2c518:	7f c3 f3 78 	mr      r3,r30                                 
ffc2c51c:	38 84 17 e8 	addi    r4,r4,6120                             
ffc2c520:	48 01 72 e9 	bl      ffc43808 <fopen>                       
ffc2c524:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc2c528:	41 82 00 24 	beq-    ffc2c54c <init_etc_passwd_group+0x108> <== NEVER TAKEN
    fprintf( fp, "root:x:0:root\n"                                    
ffc2c52c:	3c 60 ff c6 	lis     r3,-58                                 
ffc2c530:	38 63 67 dc 	addi    r3,r3,26588                            
ffc2c534:	38 80 00 01 	li      r4,1                                   
ffc2c538:	38 a0 00 2a 	li      r5,42                                  
ffc2c53c:	7f e6 fb 78 	mr      r6,r31                                 
ffc2c540:	48 01 8a 1d 	bl      ffc44f5c <fwrite>                      
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
ffc2c544:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c548:	4b ff ff 7c 	b       ffc2c4c4 <init_etc_passwd_group+0x80>  
  }                                                                   
}                                                                     
ffc2c54c:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc2c550:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc2c554:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2c558:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc2c55c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc2c560:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08048 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc08048:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0804c:	7c 08 02 a6 	mflr    r0                                     
ffc08050:	90 01 00 14 	stw     r0,20(r1)                              
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc08054:	81 24 00 30 	lwz     r9,48(r4)                              
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc08058:	93 c1 00 08 	stw     r30,8(r1)                              
ffc0805c:	7c 9e 23 78 	mr      r30,r4                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc08060:	71 28 00 20 	andi.   r8,r9,32                               
/*                                                                    
 * Process a single input character                                   
 */                                                                   
static int                                                            
iproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc08064:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc08068:	7c 7f 1b 78 	mr      r31,r3                                 
  if (tty->termios.c_iflag & ISTRIP)                                  
ffc0806c:	41 82 00 08 	beq-    ffc08074 <iproc+0x2c>                  <== ALWAYS TAKEN
    c &= 0x7f;                                                        
ffc08070:	54 7f 06 7e 	clrlwi  r31,r3,25                              <== NOT EXECUTED
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
ffc08074:	71 2a 02 00 	andi.   r10,r9,512                             
ffc08078:	41 82 00 28 	beq-    ffc080a0 <iproc+0x58>                  
    c = tolower (c);                                                  
ffc0807c:	3d 40 00 00 	lis     r10,0                                  
ffc08080:	81 0a 27 a0 	lwz     r8,10144(r10)                          
ffc08084:	7f ea fb 78 	mr      r10,r31                                
ffc08088:	7f e8 fa 14 	add     r31,r8,r31                             
ffc0808c:	89 1f 00 01 	lbz     r8,1(r31)                              
ffc08090:	55 08 07 be 	clrlwi  r8,r8,30                               
ffc08094:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc08098:	41 9e 01 3c 	beq-    cr7,ffc081d4 <iproc+0x18c>             
ffc0809c:	55 5f 06 3e 	clrlwi  r31,r10,24                             
                                                                      
  if (c == '\r') {                                                    
ffc080a0:	2f 9f 00 0d 	cmpwi   cr7,r31,13                             
ffc080a4:	41 9e 00 98 	beq-    cr7,ffc0813c <iproc+0xf4>              
    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)) {         
ffc080a8:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc080ac:	41 9e 01 18 	beq-    cr7,ffc081c4 <iproc+0x17c>             
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc080b0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc080b4:	40 9e 00 9c 	bne-    cr7,ffc08150 <iproc+0x108>             <== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
ffc080b8:	3d 20 00 00 	lis     r9,0                                   
ffc080bc:	81 49 21 64 	lwz     r10,8548(r9)                           
ffc080c0:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc080c4:	39 4a ff ff 	addi    r10,r10,-1                             
ffc080c8:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc080cc:	40 9c 00 54 	bge-    cr7,ffc08120 <iproc+0xd8>              <== NEVER TAKEN
    if (tty->termios.c_lflag & ECHO)                                  
ffc080d0:	81 5e 00 3c 	lwz     r10,60(r30)                            
ffc080d4:	71 48 00 08 	andi.   r8,r10,8                               
ffc080d8:	40 82 01 04 	bne-    ffc081dc <iproc+0x194>                 <== ALWAYS TAKEN
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
ffc080dc:	81 5e 00 1c 	lwz     r10,28(r30)                            
ffc080e0:	39 09 00 01 	addi    r8,r9,1                                
  }                                                                   
  return 0;                                                           
ffc080e4:	38 60 00 00 	li      r3,0                                   
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
ffc080e8:	7f ea 49 ae 	stbx    r31,r10,r9                             
ffc080ec:	91 1e 00 20 	stw     r8,32(r30)                             
  }                                                                   
  return 0;                                                           
}                                                                     
ffc080f0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc080f4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc080f8:	7c 08 03 a6 	mtlr    r0                                     
ffc080fc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08100:	38 21 00 10 	addi    r1,r1,16                               
ffc08104:	4e 80 00 20 	blr                                            
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
ffc08108:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc0810c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08110:	41 9e 00 10 	beq-    cr7,ffc08120 <iproc+0xd8>              
ffc08114:	7f c3 f3 78 	mr      r3,r30                                 
ffc08118:	38 80 00 00 	li      r4,0                                   
ffc0811c:	4b ff fc fd 	bl      ffc07e18 <erase.part.2>                
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
ffc08120:	80 01 00 14 	lwz     r0,20(r1)                              
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
ffc08124:	38 60 00 00 	li      r3,0                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
ffc08128:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0812c:	7c 08 03 a6 	mtlr    r0                                     
ffc08130:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc08134:	38 21 00 10 	addi    r1,r1,16                               
ffc08138:	4e 80 00 20 	blr                                            
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
ffc0813c:	71 28 00 80 	andi.   r8,r9,128                              
ffc08140:	40 a2 ff e0 	bne-    ffc08120 <iproc+0xd8>                  <== NEVER TAKEN
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
ffc08144:	71 2a 01 00 	andi.   r10,r9,256                             
ffc08148:	41 82 00 08 	beq-    ffc08150 <iproc+0x108>                 <== NEVER TAKEN
      c = '\n';                                                       
ffc0814c:	3b e0 00 0a 	li      r31,10                                 
  } else if ((c == '\n') && (tty->termios.c_iflag & INLCR)) {         
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
ffc08150:	81 3e 00 3c 	lwz     r9,60(r30)                             
ffc08154:	71 2a 00 02 	andi.   r10,r9,2                               
ffc08158:	41 a2 ff 60 	beq-    ffc080b8 <iproc+0x70>                  
    if (c == tty->termios.c_cc[VERASE]) {                             
ffc0815c:	89 5e 00 43 	lbz     r10,67(r30)                            
ffc08160:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc08164:	41 be ff a4 	beq-    cr7,ffc08108 <iproc+0xc0>              
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
ffc08168:	89 5e 00 44 	lbz     r10,68(r30)                            
ffc0816c:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc08170:	41 9e 00 90 	beq-    cr7,ffc08200 <iproc+0x1b8>             
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
ffc08174:	89 5e 00 45 	lbz     r10,69(r30)                            
ffc08178:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0817c:	41 9e 00 e8 	beq-    cr7,ffc08264 <iproc+0x21c>             <== NEVER TAKEN
      return 1;                                                       
    } else if (c == '\n') {                                           
ffc08180:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc08184:	41 9e 00 ac 	beq-    cr7,ffc08230 <iproc+0x1e8>             
      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]) ||                      
ffc08188:	89 5e 00 4c 	lbz     r10,76(r30)                            
ffc0818c:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc08190:	41 9e 00 10 	beq-    cr7,ffc081a0 <iproc+0x158>             <== NEVER TAKEN
ffc08194:	89 5e 00 51 	lbz     r10,81(r30)                            
ffc08198:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0819c:	40 9e ff 1c 	bne+    cr7,ffc080b8 <iproc+0x70>              <== ALWAYS TAKEN
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
ffc081a0:	71 28 00 08 	andi.   r8,r9,8                                <== NOT EXECUTED
ffc081a4:	40 82 00 4c 	bne-    ffc081f0 <iproc+0x1a8>                 <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc081a8:	81 3e 00 20 	lwz     r9,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc081ac:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
      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);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc081b0:	81 5e 00 1c 	lwz     r10,28(r30)                            <== NOT EXECUTED
ffc081b4:	39 09 00 01 	addi    r8,r9,1                                <== NOT EXECUTED
ffc081b8:	7f ea 49 ae 	stbx    r31,r10,r9                             <== NOT EXECUTED
ffc081bc:	91 1e 00 20 	stw     r8,32(r30)                             <== NOT EXECUTED
      return 1;                                                       
ffc081c0:	4b ff ff 30 	b       ffc080f0 <iproc+0xa8>                  <== 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)) {         
ffc081c4:	71 28 00 40 	andi.   r8,r9,64                               
ffc081c8:	41 a2 ff 88 	beq-    ffc08150 <iproc+0x108>                 <== ALWAYS TAKEN
    c = '\r';                                                         
ffc081cc:	3b e0 00 0d 	li      r31,13                                 <== NOT EXECUTED
ffc081d0:	4b ff ff 80 	b       ffc08150 <iproc+0x108>                 <== NOT EXECUTED
{                                                                     
  if (tty->termios.c_iflag & ISTRIP)                                  
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
ffc081d4:	39 4a 00 20 	addi    r10,r10,32                             
ffc081d8:	4b ff fe c4 	b       ffc0809c <iproc+0x54>                  
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
ffc081dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc081e0:	7f c4 f3 78 	mr      r4,r30                                 
ffc081e4:	4b ff fb 8d 	bl      ffc07d70 <echo>                        
ffc081e8:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc081ec:	4b ff fe f0 	b       ffc080dc <iproc+0x94>                  
      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);                                                
ffc081f0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc081f4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc081f8:	4b ff fb 79 	bl      ffc07d70 <echo>                        <== NOT EXECUTED
ffc081fc:	4b ff ff ac 	b       ffc081a8 <iproc+0x160>                 <== 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)                                               
ffc08200:	81 5e 00 20 	lwz     r10,32(r30)                            
ffc08204:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08208:	41 be ff 18 	beq-    cr7,ffc08120 <iproc+0xd8>              <== NEVER TAKEN
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
ffc0820c:	71 2a 00 08 	andi.   r10,r9,8                               
ffc08210:	41 82 00 5c 	beq-    ffc0826c <iproc+0x224>                 <== NEVER TAKEN
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
ffc08214:	71 2a 00 10 	andi.   r10,r9,16                              
ffc08218:	41 82 00 60 	beq-    ffc08278 <iproc+0x230>                 <== NEVER TAKEN
ffc0821c:	7f c3 f3 78 	mr      r3,r30                                 
ffc08220:	38 80 00 01 	li      r4,1                                   
ffc08224:	4b ff fb f5 	bl      ffc07e18 <erase.part.2>                
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
ffc08228:	38 60 00 00 	li      r3,0                                   
ffc0822c:	4b ff fe c4 	b       ffc080f0 <iproc+0xa8>                  
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
ffc08230:	71 2a 00 48 	andi.   r10,r9,72                              
ffc08234:	41 a2 00 10 	beq+    ffc08244 <iproc+0x1fc>                 <== NEVER TAKEN
        echo (c, tty);                                                
ffc08238:	38 60 00 0a 	li      r3,10                                  
ffc0823c:	7f c4 f3 78 	mr      r4,r30                                 
ffc08240:	4b ff fb 31 	bl      ffc07d70 <echo>                        
      tty->cbuf[tty->ccount++] = c;                                   
ffc08244:	81 3e 00 20 	lwz     r9,32(r30)                             
ffc08248:	38 e0 00 0a 	li      r7,10                                  
ffc0824c:	81 5e 00 1c 	lwz     r10,28(r30)                            
      return 1;                                                       
ffc08250:	38 60 00 01 	li      r3,1                                   
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
ffc08254:	39 09 00 01 	addi    r8,r9,1                                
ffc08258:	7c ea 49 ae 	stbx    r7,r10,r9                              
ffc0825c:	91 1e 00 20 	stw     r8,32(r30)                             
      return 1;                                                       
ffc08260:	4b ff fe 90 	b       ffc080f0 <iproc+0xa8>                  
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
ffc08264:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc08268:	4b ff fe 88 	b       ffc080f0 <iproc+0xa8>                  <== NOT EXECUTED
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
ffc0826c:	91 5e 00 20 	stw     r10,32(r30)                            <== NOT EXECUTED
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
ffc08270:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc08274:	4b ff fe 7c 	b       ffc080f0 <iproc+0xa8>                  <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
ffc08278:	91 5e 00 20 	stw     r10,32(r30)                            <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
ffc0827c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08280:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc08284:	4b ff fa ed 	bl      ffc07d70 <echo>                        <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
ffc08288:	81 3e 00 3c 	lwz     r9,60(r30)                             <== NOT EXECUTED
ffc0828c:	71 28 00 20 	andi.   r8,r9,32                               <== NOT EXECUTED
ffc08290:	41 82 fe 90 	beq+    ffc08120 <iproc+0xd8>                  <== NOT EXECUTED
        echo ('\n', tty);                                             
ffc08294:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc08298:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc0829c:	4b ff fa d5 	bl      ffc07d70 <echo>                        <== NOT EXECUTED
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
ffc082a0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc082a4:	4b ff fe 4c 	b       ffc080f0 <iproc+0xa8>                  <== NOT EXECUTED
                                                                      

ffc1cc88 <kill>: #if !defined(RTEMS_POSIX_API) int kill( pid_t pid, int sig ) { return 0; }
ffc1cc88:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1cc8c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04f94 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
ffc04f94:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04f98:	7c 08 02 a6 	mflr    r0                                     
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04f9c:	3d 20 00 00 	lis     r9,0                                   
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04fa0:	90 01 00 1c 	stw     r0,28(r1)                              
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04fa4:	39 29 2b 28 	addi    r9,r9,11048                            
ffc04fa8:	81 49 00 04 	lwz     r10,4(r9)                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04fac:	93 e1 00 14 	stw     r31,20(r1)                             
ffc04fb0:	7c 7f 1b 78 	mr      r31,r3                                 
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04fb4:	39 4a 00 01 	addi    r10,r10,1                              
#include "malloc_p.h"                                                 
                                                                      
void *malloc(                                                         
  size_t  size                                                        
)                                                                     
{                                                                     
ffc04fb8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc04fbc:	93 c1 00 10 	stw     r30,16(r1)                             
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
ffc04fc0:	91 49 00 04 	stw     r10,4(r9)                              
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc04fc4:	4b ff fe 6d 	bl      ffc04e30 <malloc_deferred_frees_process>
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
ffc04fc8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04fcc:	41 9e 00 a0 	beq-    cr7,ffc0506c <malloc+0xd8>             
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc04fd0:	3d 20 00 00 	lis     r9,0                                   
ffc04fd4:	81 29 28 4c 	lwz     r9,10316(r9)                           
ffc04fd8:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc04fdc:	41 9e 00 84 	beq-    cr7,ffc05060 <malloc+0xcc>             
RTEMS_INLINE_ROUTINE void *_Protected_heap_Allocate(                  
  Heap_Control *heap,                                                 
  uintptr_t size                                                      
)                                                                     
{                                                                     
  return _Protected_heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );
ffc04fe0:	3f a0 00 00 	lis     r29,0                                  
ffc04fe4:	80 7d 27 50 	lwz     r3,10064(r29)                          
ffc04fe8:	7f e4 fb 78 	mr      r4,r31                                 
ffc04fec:	38 a0 00 00 	li      r5,0                                   
ffc04ff0:	38 c0 00 00 	li      r6,0                                   
ffc04ff4:	48 00 6c b5 	bl      ffc0bca8 <_Protected_heap_Allocate_aligned_with_boundary>
   * If this fails then return a NULL pointer.                        
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
ffc04ff8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04ffc:	41 82 00 94 	beq-    ffc05090 <malloc+0xfc>                 
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
ffc05000:	3d 20 00 00 	lis     r9,0                                   
ffc05004:	81 29 27 c0 	lwz     r9,10176(r9)                           
ffc05008:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0500c:	41 9e 00 14 	beq-    cr7,ffc05020 <malloc+0x8c>             
    (*rtems_malloc_dirty_helper)( return_this, size );                
ffc05010:	7f c3 f3 78 	mr      r3,r30                                 
ffc05014:	7d 29 03 a6 	mtctr   r9                                     
ffc05018:	7f e4 fb 78 	mr      r4,r31                                 
ffc0501c:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc05020:	3d 20 00 00 	lis     r9,0                                   
ffc05024:	81 29 27 c4 	lwz     r9,10180(r9)                           
ffc05028:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0502c:	41 9e 00 14 	beq-    cr7,ffc05040 <malloc+0xac>             
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
ffc05030:	81 29 00 04 	lwz     r9,4(r9)                               
ffc05034:	7f c3 f3 78 	mr      r3,r30                                 
ffc05038:	7d 29 03 a6 	mtctr   r9                                     
ffc0503c:	4e 80 04 21 	bctrl                                          
                                                                      
  return return_this;                                                 
}                                                                     
ffc05040:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05044:	7f c3 f3 78 	mr      r3,r30                                 
ffc05048:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0504c:	7c 08 03 a6 	mtlr    r0                                     
ffc05050:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05054:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05058:	38 21 00 18 	addi    r1,r1,24                               
ffc0505c:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  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() )                                 
ffc05060:	4b ff fd a5 	bl      ffc04e04 <malloc_is_system_state_OK>   
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc05064:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05068:	40 9e ff 78 	bne+    cr7,ffc04fe0 <malloc+0x4c>             <== ALWAYS TAKEN
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
ffc0506c:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
ffc05070:	3b c0 00 00 	li      r30,0                                  
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
ffc05074:	7f c3 f3 78 	mr      r3,r30                                 
ffc05078:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0507c:	7c 08 03 a6 	mtlr    r0                                     
ffc05080:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05084:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05088:	38 21 00 18 	addi    r1,r1,24                               
ffc0508c:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    return_this = (*rtems_malloc_extend_handler)( RTEMS_Malloc_Heap, size );
ffc05090:	3d 20 00 00 	lis     r9,0                                   
ffc05094:	80 7d 27 50 	lwz     r3,10064(r29)                          
ffc05098:	81 29 27 4c 	lwz     r9,10060(r9)                           
ffc0509c:	7f e4 fb 78 	mr      r4,r31                                 
ffc050a0:	7d 29 03 a6 	mtctr   r9                                     
ffc050a4:	4e 80 04 21 	bctrl                                          
    if ( !return_this ) {                                             
ffc050a8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc050ac:	40 82 ff 54 	bne+    ffc05000 <malloc+0x6c>                 <== NEVER TAKEN
      errno = ENOMEM;                                                 
ffc050b0:	48 00 cf c9 	bl      ffc12078 <__errno>                     
ffc050b4:	39 20 00 0c 	li      r9,12                                  
ffc050b8:	91 23 00 00 	stw     r9,0(r3)                               
      return (void *) 0;                                              
ffc050bc:	4b ff ff 84 	b       ffc05040 <malloc+0xac>                 
                                                                      

ffc1059c <memfile_alloc_block>: void *memfile_alloc_block(void) { void *memory; memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);
ffc1059c:	3d 20 00 00 	lis     r9,0                                   
 *  Allocate a block for an in-memory file.                           
 */                                                                   
int memfile_blocks_allocated = 0;                                     
                                                                      
void *memfile_alloc_block(void)                                       
{                                                                     
ffc105a0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc105a4:	7c 08 02 a6 	mflr    r0                                     
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
ffc105a8:	38 60 00 01 	li      r3,1                                   
ffc105ac:	80 89 28 00 	lwz     r4,10240(r9)                           
 *  Allocate a block for an in-memory file.                           
 */                                                                   
int memfile_blocks_allocated = 0;                                     
                                                                      
void *memfile_alloc_block(void)                                       
{                                                                     
ffc105b0:	90 01 00 0c 	stw     r0,12(r1)                              
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
ffc105b4:	4b ff 42 05 	bl      ffc047b8 <calloc>                      
  if ( memory )                                                       
ffc105b8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc105bc:	41 82 00 14 	beq-    ffc105d0 <memfile_alloc_block+0x34>    <== NEVER TAKEN
    memfile_blocks_allocated++;                                       
ffc105c0:	3d 20 00 00 	lis     r9,0                                   
ffc105c4:	81 49 28 64 	lwz     r10,10340(r9)                          
ffc105c8:	39 4a 00 01 	addi    r10,r10,1                              
ffc105cc:	91 49 28 64 	stw     r10,10340(r9)                          
                                                                      
  return memory;                                                      
}                                                                     
ffc105d0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc105d4:	38 21 00 08 	addi    r1,r1,8                                
ffc105d8:	7c 08 03 a6 	mtlr    r0                                     
ffc105dc:	4e 80 00 20 	blr                                            
                                                                      

ffc10c14 <memfile_free_blocks_in_table>: */ static void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
ffc10c14:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc10c18:	7c 08 02 a6 	mflr    r0                                     
ffc10c1c:	93 a1 00 14 	stw     r29,20(r1)                             
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc10c20:	7c 9d 23 79 	mr.     r29,r4                                 
 */                                                                   
static void memfile_free_blocks_in_table(                             
  block_p **block_table,                                              
  int       entries                                                   
)                                                                     
{                                                                     
ffc10c24:	90 01 00 24 	stw     r0,36(r1)                              
ffc10c28:	93 61 00 0c 	stw     r27,12(r1)                             
ffc10c2c:	7c 7b 1b 78 	mr      r27,r3                                 
ffc10c30:	93 81 00 10 	stw     r28,16(r1)                             
ffc10c34:	93 c1 00 18 	stw     r30,24(r1)                             
ffc10c38:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_assert( block_table );                                         
                                                                      
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
ffc10c3c:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc10c40:	40 81 00 34 	ble-    ffc10c74 <memfile_free_blocks_in_table+0x60><== NEVER TAKEN
 *  memfile_free_blocks_in_table                                      
 *                                                                    
 *  This is a support routine for IMFS_memfile_remove.  It frees all the
 *  blocks in one of the indirection tables.                          
 */                                                                   
static void memfile_free_blocks_in_table(                             
ffc10c44:	3b c3 ff fc 	addi    r30,r3,-4                              
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc10c48:	3b e0 00 00 	li      r31,0                                  
    if ( b[i] ) {                                                     
      memfile_free_block( b[i] );                                     
      b[i] = 0;                                                       
ffc10c4c:	3b 80 00 00 	li      r28,0                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
    if ( b[i] ) {                                                     
ffc10c50:	84 7e 00 04 	lwzu    r3,4(r30)                              
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc10c54:	3b ff 00 01 	addi    r31,r31,1                              
    if ( b[i] ) {                                                     
ffc10c58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10c5c:	41 9e 00 0c 	beq-    cr7,ffc10c68 <memfile_free_blocks_in_table+0x54>
      memfile_free_block( b[i] );                                     
ffc10c60:	4b ff ff 85 	bl      ffc10be4 <memfile_free_block>          
      b[i] = 0;                                                       
ffc10c64:	93 9e 00 00 	stw     r28,0(r30)                             
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
ffc10c68:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc10c6c:	40 9e ff e4 	bne+    cr7,ffc10c50 <memfile_free_blocks_in_table+0x3c>
ffc10c70:	80 7b 00 00 	lwz     r3,0(r27)                              
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
ffc10c74:	4b ff ff 71 	bl      ffc10be4 <memfile_free_block>          
  *block_table = 0;                                                   
}                                                                     
ffc10c78:	80 01 00 24 	lwz     r0,36(r1)                              
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
  *block_table = 0;                                                   
ffc10c7c:	39 20 00 00 	li      r9,0                                   
}                                                                     
ffc10c80:	83 81 00 10 	lwz     r28,16(r1)                             
ffc10c84:	7c 08 03 a6 	mtlr    r0                                     
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
  *block_table = 0;                                                   
ffc10c88:	91 3b 00 00 	stw     r9,0(r27)                              
}                                                                     
ffc10c8c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc10c90:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc10c94:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc10c98:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc10c9c:	38 21 00 20 	addi    r1,r1,32                               
ffc10ca0:	4e 80 00 20 	blr                                            
                                                                      

ffc114dc <memfile_ftruncate>: int memfile_ftruncate( rtems_libio_t *iop, off_t length ) {
ffc114dc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc114e0:	7c 08 02 a6 	mflr    r0                                     
ffc114e4:	90 01 00 24 	stw     r0,36(r1)                              
ffc114e8:	93 e1 00 1c 	stw     r31,28(r1)                             
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc114ec:	83 e3 00 1c 	lwz     r31,28(r3)                             
   *  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 )                           
ffc114f0:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc114f4:	7f 89 28 00 	cmpw    cr7,r9,r5                              
ffc114f8:	41 9c 00 48 	blt-    cr7,ffc11540 <memfile_ftruncate+0x64>  <== NEVER TAKEN
ffc114fc:	41 9e 00 38 	beq-    cr7,ffc11534 <memfile_ftruncate+0x58>  <== ALWAYS TAKEN
  /*                                                                  
   *  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;                                 
ffc11500:	90 bf 00 50 	stw     r5,80(r31)                             
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11504:	38 61 00 08 	addi    r3,r1,8                                
ffc11508:	38 80 00 00 	li      r4,0                                   
  /*                                                                  
   *  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;                                 
ffc1150c:	90 df 00 54 	stw     r6,84(r31)                             
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11510:	4b ff 37 45 	bl      ffc04c54 <gettimeofday>                
                                                                      
  return 0;                                                           
}                                                                     
ffc11514:	80 01 00 24 	lwz     r0,36(r1)                              
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11518:	81 21 00 08 	lwz     r9,8(r1)                               
                                                                      
  return 0;                                                           
ffc1151c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11520:	7c 08 03 a6 	mtlr    r0                                     
   *  deleted.  So we leave the previously allocated blocks in place for
   *  future use and just set the length.                             
   */                                                                 
  the_jnode->info.file.size = length;                                 
                                                                      
  IMFS_update_atime( the_jnode );                                     
ffc11524:	91 3f 00 40 	stw     r9,64(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc11528:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1152c:	38 21 00 20 	addi    r1,r1,32                               
ffc11530:	4e 80 00 20 	blr                                            
   *  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 )                           
ffc11534:	81 3f 00 54 	lwz     r9,84(r31)                             
ffc11538:	7f 89 30 40 	cmplw   cr7,r9,r6                              
ffc1153c:	40 9c ff c4 	bge+    cr7,ffc11500 <memfile_ftruncate+0x24>  
    return IMFS_memfile_extend( the_jnode, true, length );            
ffc11540:	7f e3 fb 78 	mr      r3,r31                                 
ffc11544:	38 80 00 01 	li      r4,1                                   
ffc11548:	4b ff f9 45 	bl      ffc10e8c <IMFS_memfile_extend>         
  the_jnode->info.file.size = length;                                 
                                                                      
  IMFS_update_atime( the_jnode );                                     
                                                                      
  return 0;                                                           
}                                                                     
ffc1154c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc11550:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11554:	7c 08 03 a6 	mtlr    r0                                     
ffc11558:	38 21 00 20 	addi    r1,r1,32                               
ffc1155c:	4e 80 00 20 	blr                                            
                                                                      

ffc1143c <memfile_open>: the_jnode = iop->pathinfo.node_access; /* * Perform 'copy on write' for linear files */ if ((iop->flags & LIBIO_FLAGS_WRITE)
ffc1143c:	81 23 00 10 	lwz     r9,16(r3)                              
  mode_t         mode                                                 
)                                                                     
{                                                                     
  IMFS_jnode_t  *the_jnode;                                           
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
ffc11440:	80 63 00 1c 	lwz     r3,28(r3)                              
                                                                      
  /*                                                                  
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & LIBIO_FLAGS_WRITE)                                
ffc11444:	71 2a 00 04 	andi.   r10,r9,4                               
ffc11448:	41 82 00 14 	beq-    ffc1145c <memfile_open+0x20>           
ffc1144c:	81 23 00 4c 	lwz     r9,76(r3)                              
   && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) {                 
ffc11450:	81 29 00 00 	lwz     r9,0(r9)                               
ffc11454:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc11458:	41 9e 00 0c 	beq-    cr7,ffc11464 <memfile_open+0x28>       <== NEVER TAKEN
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
                                                                      
  return 0;                                                           
ffc1145c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11460:	4e 80 00 20 	blr                                            
  /*                                                                  
   * 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;               
ffc11464:	81 03 00 54 	lwz     r8,84(r3)                              <== NOT EXECUTED
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->control = &IMFS_node_control_memfile;                  
ffc11468:	3d 40 ff c2 	lis     r10,-62                                <== NOT EXECUTED
ffc1146c:	39 4a e9 dc 	addi    r10,r10,-5668                          <== NOT EXECUTED
   * 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;  
ffc11470:	80 e3 00 58 	lwz     r7,88(r3)                              <== NOT EXECUTED
    the_jnode->control = &IMFS_node_control_memfile;                  
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
ffc11474:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== 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;                  
ffc11478:	91 43 00 4c 	stw     r10,76(r3)                             <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
ffc1147c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
   && (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;                  
    the_jnode->info.file.size            = 0;                         
ffc11480:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
ffc11484:	91 23 00 58 	stw     r9,88(r3)                              <== NOT EXECUTED
   && (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;                  
    the_jnode->info.file.size            = 0;                         
ffc11488:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc1148c:	91 43 00 50 	stw     r10,80(r3)                             <== NOT EXECUTED
ffc11490:	91 63 00 54 	stw     r11,84(r3)                             <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
ffc11494:	91 23 00 5c 	stw     r9,92(r3)                              <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
ffc11498:	91 23 00 60 	stw     r9,96(r3)                              <== NOT EXECUTED
    if ((count != 0)                                                  
ffc1149c:	41 9e ff c0 	beq+    cr7,ffc1145c <memfile_open+0x20>       <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  int            oflag,                                               
  mode_t         mode                                                 
)                                                                     
{                                                                     
ffc114a0:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc114a4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc114a8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc114ac:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  rtems_libio_t *iop,                                                 
  const char    *pathname,                                            
  int            oflag,                                               
  mode_t         mode                                                 
)                                                                     
{                                                                     
ffc114b0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc114b4:	4b ff fc 69 	bl      ffc1111c <IMFS_memfile_write>          <== NOT EXECUTED
ffc114b8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
                                                                      
  return 0;                                                           
ffc114bc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
ffc114c0:	41 9e 00 14 	beq-    cr7,ffc114d4 <memfile_open+0x98>       <== NOT EXECUTED
        return -1;                                                    
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc114c4:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc114c8:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc114cc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc114d0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
ffc114d4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc114d8:	4b ff ff ec 	b       ffc114c4 <memfile_open+0x88>           <== NOT EXECUTED
                                                                      

ffc051f0 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc051f0:	7d 80 00 26 	mfcr    r12                                    
  int rv = 0;                                                         
                                                                      
  if (                                                                
ffc051f4:	2b 86 00 01 	cmplwi  cr7,r6,1                               
  const char                 *target,                                 
  const char                 *filesystemtype,                         
  rtems_filesystem_options_t options,                                 
  const void                 *data                                    
)                                                                     
{                                                                     
ffc051f8:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc051fc:	7c 08 02 a6 	mflr    r0                                     
ffc05200:	93 21 00 74 	stw     r25,116(r1)                            
ffc05204:	7c d9 33 78 	mr      r25,r6                                 
ffc05208:	90 01 00 94 	stw     r0,148(r1)                             
ffc0520c:	92 81 00 60 	stw     r20,96(r1)                             
ffc05210:	92 a1 00 64 	stw     r21,100(r1)                            
ffc05214:	92 c1 00 68 	stw     r22,104(r1)                            
ffc05218:	92 e1 00 6c 	stw     r23,108(r1)                            
ffc0521c:	93 01 00 70 	stw     r24,112(r1)                            
ffc05220:	93 41 00 78 	stw     r26,120(r1)                            
ffc05224:	93 61 00 7c 	stw     r27,124(r1)                            
ffc05228:	93 81 00 80 	stw     r28,128(r1)                            
ffc0522c:	93 a1 00 84 	stw     r29,132(r1)                            
ffc05230:	93 c1 00 88 	stw     r30,136(r1)                            
ffc05234:	93 e1 00 8c 	stw     r31,140(r1)                            
ffc05238:	91 81 00 5c 	stw     r12,92(r1)                             
  int rv = 0;                                                         
                                                                      
  if (                                                                
ffc0523c:	41 9d 02 b0 	bgt-    cr7,ffc054ec <mount+0x2fc>             
ffc05240:	7c 7b 1b 78 	mr      r27,r3                                 
    options == RTEMS_FILESYSTEM_READ_ONLY                             
      || options == RTEMS_FILESYSTEM_READ_WRITE                       
  ) {                                                                 
    rtems_filesystem_fsmount_me_t fsmount_me_h =                      
ffc05244:	7c a3 2b 78 	mr      r3,r5                                  
ffc05248:	7c 9d 23 78 	mr      r29,r4                                 
ffc0524c:	7c bc 2b 78 	mr      r28,r5                                 
ffc05250:	7c f6 3b 78 	mr      r22,r7                                 
ffc05254:	48 00 9d 09 	bl      ffc0ef5c <rtems_filesystem_get_mount_handler>
      rtems_filesystem_get_mount_handler( filesystemtype );           
                                                                      
    if ( fsmount_me_h != NULL ) {                                     
ffc05258:	7c 75 1b 79 	mr.     r21,r3                                 
ffc0525c:	41 82 02 90 	beq-    ffc054ec <mount+0x2fc>                 
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc05260:	2d 9d 00 00 	cmpwi   cr3,r29,0                              
ffc05264:	41 8e 02 30 	beq-    cr3,ffc05494 <mount+0x2a4>             
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc05268:	2e 1b 00 00 	cmpwi   cr4,r27,0                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
                                                                      
int mount(                                                            
ffc0526c:	7f a3 eb 78 	mr      r3,r29                                 
ffc05270:	7f b4 eb 78 	mr      r20,r29                                
ffc05274:	48 00 e6 59 	bl      ffc138cc <strlen>                      
ffc05278:	3b 03 00 01 	addi    r24,r3,1                               
  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;          
ffc0527c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05280:	48 00 e6 4d 	bl      ffc138cc <strlen>                      
ffc05284:	7c 7f 1b 78 	mr      r31,r3                                 
ffc05288:	3a e3 00 01 	addi    r23,r3,1                               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc0528c:	41 92 02 2c 	beq-    cr4,ffc054b8 <mount+0x2c8>             
ffc05290:	7f 63 db 78 	mr      r3,r27                                 
ffc05294:	48 00 e6 39 	bl      ffc138cc <strlen>                      
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
ffc05298:	7f ff c2 14 	add     r31,r31,r24                            
)                                                                     
{                                                                     
  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;                                 
ffc0529c:	3b 43 00 01 	addi    r26,r3,1                               
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
ffc052a0:	38 9f 00 65 	addi    r4,r31,101                             
    + sizeof( rtems_filesystem_global_location_t );                   
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
ffc052a4:	38 60 00 01 	li      r3,1                                   
ffc052a8:	7c 84 d2 14 	add     r4,r4,r26                              
ffc052ac:	4b ff f5 0d 	bl      ffc047b8 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc052b0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc052b4:	41 82 02 24 	beq-    ffc054d8 <mount+0x2e8>                 <== NEVER TAKEN
    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 );          
ffc052b8:	3b df 00 64 	addi    r30,r31,100                            
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
ffc052bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc052c0:	7f 84 e3 78 	mr      r4,r28                                 
ffc052c4:	7e e5 bb 78 	mr      r5,r23                                 
ffc052c8:	48 00 da b5 	bl      ffc12d7c <memcpy>                      
    + 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 =                  
ffc052cc:	3b 9f 00 40 	addi    r28,r31,64                             
      (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;                                             
ffc052d0:	93 df 00 34 	stw     r30,52(r31)                            
    str += filesystemtype_size;                                       
ffc052d4:	7f de ba 14 	add     r30,r30,r23                            
                                                                      
    if ( source_or_null != NULL ) {                                   
ffc052d8:	41 92 00 1c 	beq-    cr4,ffc052f4 <mount+0x104>             
      memcpy( str, source_or_null, source_size );                     
ffc052dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc052e0:	7f 64 db 78 	mr      r4,r27                                 
ffc052e4:	7f 45 d3 78 	mr      r5,r26                                 
ffc052e8:	48 00 da 95 	bl      ffc12d7c <memcpy>                      
      mt_entry->dev = str;                                            
ffc052ec:	93 df 00 38 	stw     r30,56(r31)                            
      str += source_size;                                             
ffc052f0:	7f de d2 14 	add     r30,r30,r26                            
    }                                                                 
                                                                      
    memcpy( str, target, target_size );                               
ffc052f4:	7e 84 a3 78 	mr      r4,r20                                 
ffc052f8:	7f 05 c3 78 	mr      r5,r24                                 
ffc052fc:	7f c3 f3 78 	mr      r3,r30                                 
ffc05300:	48 00 da 7d 	bl      ffc12d7c <memcpy>                      
    mt_entry->target = str;                                           
    str += target_size;                                               
                                                                      
    mt_entry->mounted = true;                                         
ffc05304:	39 20 00 01 	li      r9,1                                   
ffc05308:	99 3f 00 28 	stb     r9,40(r31)                             
    mt_entry->mt_fs_root = mt_fs_root;                                
    mt_entry->pathconf_limits_and_options = &rtems_filesystem_default_pathconf;
ffc0530c:	3d 20 ff c2 	lis     r9,-62                                 
ffc05310:	39 29 e7 30 	addi    r9,r9,-6352                            
ffc05314:	91 3f 00 2c 	stw     r9,44(r31)                             
                                                                      
    mt_fs_root->location.mt_entry = mt_entry;                         
    mt_fs_root->reference_count = 1;                                  
ffc05318:	39 20 00 01 	li      r9,1                                   
  void                *starting_address,                              
  size_t               number_nodes,                                  
  size_t               node_size                                      
)                                                                     
{                                                                     
  _Chain_Initialize( the_chain, starting_address, number_nodes, node_size );
ffc0531c:	38 7f 00 14 	addi    r3,r31,20                              
      mt_entry->dev = str;                                            
      str += source_size;                                             
    }                                                                 
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
ffc05320:	93 df 00 30 	stw     r30,48(r31)                            
ffc05324:	7f 84 e3 78 	mr      r4,r28                                 
ffc05328:	38 a0 00 01 	li      r5,1                                   
    mt_entry->mounted = true;                                         
    mt_entry->mt_fs_root = mt_fs_root;                                
    mt_entry->pathconf_limits_and_options = &rtems_filesystem_default_pathconf;
                                                                      
    mt_fs_root->location.mt_entry = mt_entry;                         
    mt_fs_root->reference_count = 1;                                  
ffc0532c:	91 3f 00 58 	stw     r9,88(r31)                             
ffc05330:	38 c0 00 24 	li      r6,36                                  
        filesystemtype,                                               
        &target_length                                                
      );                                                              
                                                                      
      if ( mt_entry != NULL ) {                                       
        mt_entry->writeable = options == RTEMS_FILESYSTEM_READ_WRITE; 
ffc05334:	57 39 07 fe 	clrlwi  r25,r25,31                             
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
    str += target_size;                                               
                                                                      
    mt_entry->mounted = true;                                         
    mt_entry->mt_fs_root = mt_fs_root;                                
ffc05338:	93 9f 00 24 	stw     r28,36(r31)                            
    mt_entry->pathconf_limits_and_options = &rtems_filesystem_default_pathconf;
                                                                      
    mt_fs_root->location.mt_entry = mt_entry;                         
ffc0533c:	93 ff 00 54 	stw     r31,84(r31)                            
ffc05340:	48 00 54 a5 	bl      ffc0a7e4 <_Chain_Initialize>           
        filesystemtype,                                               
        &target_length                                                
      );                                                              
                                                                      
      if ( mt_entry != NULL ) {                                       
        mt_entry->writeable = options == RTEMS_FILESYSTEM_READ_WRITE; 
ffc05344:	9b 3f 00 29 	stb     r25,41(r31)                            
                                                                      
        rv = (*fsmount_me_h)( mt_entry, data );                       
ffc05348:	7f e3 fb 78 	mr      r3,r31                                 
ffc0534c:	7e a9 03 a6 	mtctr   r21                                    
ffc05350:	7e c4 b3 78 	mr      r4,r22                                 
ffc05354:	4e 80 04 21 	bctrl                                          
        if ( rv == 0 ) {                                              
ffc05358:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc0535c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc05360:	40 92 00 a0 	bne-    cr4,ffc05400 <mount+0x210>             
          if ( target != NULL ) {                                     
ffc05364:	41 8e 01 9c 	beq-    cr3,ffc05500 <mount+0x310>             
{                                                                     
  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 =                      
ffc05368:	7f a4 eb 78 	mr      r4,r29                                 
ffc0536c:	38 a0 00 1f 	li      r5,31                                  
ffc05370:	38 61 00 08 	addi    r3,r1,8                                
ffc05374:	48 00 0e 99 	bl      ffc0620c <rtems_filesystem_eval_path_start>
                                                                      
static inline bool rtems_filesystem_location_is_instance_root(        
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
ffc05378:	81 23 00 14 	lwz     r9,20(r3)                              
                                                                      
  return (*mt_entry->ops->are_nodes_equal_h)(                         
ffc0537c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc05380:	80 89 00 24 	lwz     r4,36(r9)                              
ffc05384:	81 2a 00 10 	lwz     r9,16(r10)                             
ffc05388:	7d 29 03 a6 	mtctr   r9                                     
ffc0538c:	4e 80 04 21 	bctrl                                          
    rtems_filesystem_eval_path_start( &ctx, target, eval_flags );     
                                                                      
  if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) {  
ffc05390:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05394:	40 9e 01 f4 	bne-    cr7,ffc05588 <mount+0x398>             
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(                          
ffc05398:	38 81 00 20 	addi    r4,r1,32                               
ffc0539c:	38 61 00 40 	addi    r3,r1,64                               
ffc053a0:	48 00 13 b9 	bl      ffc06758 <rtems_filesystem_location_copy_and_detach>
    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 );
ffc053a4:	38 61 00 40 	addi    r3,r1,64                               
ffc053a8:	48 00 16 69 	bl      ffc06a10 <rtems_filesystem_location_transform_to_global>
    mt_entry->mt_point_node = mt_point_node;                          
    rv = (*mt_point_node->location.mt_entry->ops->mount_h)( mt_entry );
ffc053ac:	81 23 00 14 	lwz     r9,20(r3)                              
  if ( !rtems_filesystem_location_is_instance_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 );
ffc053b0:	7c 7d 1b 78 	mr      r29,r3                                 
    mt_entry->mt_point_node = mt_point_node;                          
ffc053b4:	90 7f 00 20 	stw     r3,32(r31)                             
    rv = (*mt_point_node->location.mt_entry->ops->mount_h)( mt_entry );
ffc053b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc053bc:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc053c0:	81 29 00 30 	lwz     r9,48(r9)                              
ffc053c4:	7d 29 03 a6 	mtctr   r9                                     
ffc053c8:	4e 80 04 21 	bctrl                                          
    if ( rv == 0 ) {                                                  
ffc053cc:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc053d0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc053d4:	41 92 00 80 	beq-    cr4,ffc05454 <mount+0x264>             
        &rtems_filesystem_mount_table,                                
        &mt_entry->mt_node                                            
      );                                                              
      rtems_filesystem_mt_unlock();                                   
    } else {                                                          
      rtems_filesystem_global_location_release( mt_point_node );      
ffc053d8:	7f a3 eb 78 	mr      r3,r29                                 
ffc053dc:	48 00 14 a9 	bl      ffc06884 <rtems_filesystem_global_location_release>
  } else {                                                            
    rtems_filesystem_eval_path_error( &ctx, EBUSY );                  
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc053e0:	38 61 00 08 	addi    r3,r1,8                                
ffc053e4:	48 00 0f 71 	bl      ffc06354 <rtems_filesystem_eval_path_cleanup>
            rv = register_subordinate_file_system( mt_entry, target );
          } else {                                                    
            rv = register_root_file_system( mt_entry );               
          }                                                           
                                                                      
          if ( rv != 0 ) {                                            
ffc053e8:	41 b2 00 20 	beq+    cr4,ffc05408 <mount+0x218>             
            (*mt_entry->ops->fsunmount_me_h)( mt_entry );             
ffc053ec:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc053f0:	7f e3 fb 78 	mr      r3,r31                                 
ffc053f4:	81 29 00 3c 	lwz     r9,60(r9)                              
ffc053f8:	7d 29 03 a6 	mtctr   r9                                     
ffc053fc:	4e 80 04 21 	bctrl                                          
          }                                                           
        }                                                             
                                                                      
        if ( rv != 0 ) {                                              
          free( mt_entry );                                           
ffc05400:	7f e3 fb 78 	mr      r3,r31                                 
ffc05404:	4b ff f7 65 	bl      ffc04b68 <free>                        
    errno = EINVAL;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05408:	80 01 00 94 	lwz     r0,148(r1)                             
ffc0540c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05410:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc05414:	7c 08 03 a6 	mtlr    r0                                     
ffc05418:	82 81 00 60 	lwz     r20,96(r1)                             
ffc0541c:	82 a1 00 64 	lwz     r21,100(r1)                            
ffc05420:	7d 81 81 20 	mtcrf   24,r12                                 
ffc05424:	82 c1 00 68 	lwz     r22,104(r1)                            
ffc05428:	82 e1 00 6c 	lwz     r23,108(r1)                            
ffc0542c:	83 01 00 70 	lwz     r24,112(r1)                            
ffc05430:	83 21 00 74 	lwz     r25,116(r1)                            
ffc05434:	83 41 00 78 	lwz     r26,120(r1)                            
ffc05438:	83 61 00 7c 	lwz     r27,124(r1)                            
ffc0543c:	83 81 00 80 	lwz     r28,128(r1)                            
ffc05440:	83 a1 00 84 	lwz     r29,132(r1)                            
ffc05444:	83 c1 00 88 	lwz     r30,136(r1)                            
ffc05448:	83 e1 00 8c 	lwz     r31,140(r1)                            
ffc0544c:	38 21 00 90 	addi    r1,r1,144                              
ffc05450:	4e 80 00 20 	blr                                            
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc05454:	3f a0 00 00 	lis     r29,0                                  
ffc05458:	80 7d 28 10 	lwz     r3,10256(r29)                          
ffc0545c:	38 80 00 00 	li      r4,0                                   
ffc05460:	38 a0 00 00 	li      r5,0                                   
ffc05464:	48 00 45 bd 	bl      ffc09a20 <rtems_semaphore_obtain>      
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc05468:	3d 20 00 00 	lis     r9,0                                   
ffc0546c:	39 29 21 50 	addi    r9,r9,8528                             
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc05470:	80 7d 28 10 	lwz     r3,10256(r29)                          
ffc05474:	81 49 00 08 	lwz     r10,8(r9)                              
                                                                      
  the_node->next = tail;                                              
ffc05478:	39 09 00 04 	addi    r8,r9,4                                
ffc0547c:	91 1f 00 00 	stw     r8,0(r31)                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc05480:	91 5f 00 04 	stw     r10,4(r31)                             
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc05484:	93 ea 00 00 	stw     r31,0(r10)                             
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc05488:	93 e9 00 08 	stw     r31,8(r9)                              
ffc0548c:	48 00 47 35 	bl      ffc09bc0 <rtems_semaphore_release>     
ffc05490:	4b ff ff 50 	b       ffc053e0 <mount+0x1f0>                 
)                                                                     
{                                                                     
  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;                                 
ffc05494:	2e 1b 00 00 	cmpwi   cr4,r27,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;          
ffc05498:	7f 83 e3 78 	mr      r3,r28                                 
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc0549c:	3e 80 ff c2 	lis     r20,-62                                
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
ffc054a0:	48 00 e4 2d 	bl      ffc138cc <strlen>                      
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
ffc054a4:	3b 00 00 02 	li      r24,2                                  
ffc054a8:	3a 94 e7 60 	addi    r20,r20,-6304                          
  size_t filesystemtype_size = strlen( filesystemtype ) + 1;          
ffc054ac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc054b0:	3a e3 00 01 	addi    r23,r3,1                               
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
ffc054b4:	40 92 fd dc 	bne+    cr4,ffc05290 <mount+0xa0>              <== NEVER TAKEN
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
ffc054b8:	7f ff c2 14 	add     r31,r31,r24                            
ffc054bc:	38 9f 00 65 	addi    r4,r31,101                             
)                                                                     
{                                                                     
  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;                                 
ffc054c0:	3b 40 00 00 	li      r26,0                                  
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
    + sizeof( rtems_filesystem_global_location_t );                   
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
ffc054c4:	38 60 00 01 	li      r3,1                                   
ffc054c8:	7c 84 d2 14 	add     r4,r4,r26                              
ffc054cc:	4b ff f2 ed 	bl      ffc047b8 <calloc>                      
                                                                      
  if ( mt_entry != NULL ) {                                           
ffc054d0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc054d4:	40 82 fd e4 	bne+    ffc052b8 <mount+0xc8>                  <== ALWAYS TAKEN
                                                                      
        if ( rv != 0 ) {                                              
          free( mt_entry );                                           
        }                                                             
      } else {                                                        
        errno = ENOMEM;                                               
ffc054d8:	48 00 cb a1 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc054dc:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc054e0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
        rv = -1;                                                      
ffc054e4:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc054e8:	4b ff ff 20 	b       ffc05408 <mount+0x218>                 <== NOT EXECUTED
    } else {                                                          
      errno = EINVAL;                                                 
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc054ec:	48 00 cb 8d 	bl      ffc12078 <__errno>                     
ffc054f0:	39 20 00 16 	li      r9,22                                  
ffc054f4:	91 23 00 00 	stw     r9,0(r3)                               
    rv = -1;                                                          
ffc054f8:	3b c0 ff ff 	li      r30,-1                                 
ffc054fc:	4b ff ff 0c 	b       ffc05408 <mount+0x218>                 
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc05500:	3f a0 00 00 	lis     r29,0                                  
ffc05504:	80 7d 28 10 	lwz     r3,10256(r29)                          
ffc05508:	38 80 00 00 	li      r4,0                                   
ffc0550c:	38 a0 00 00 	li      r5,0                                   
ffc05510:	48 00 45 11 	bl      ffc09a20 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc05514:	3d 40 00 00 	lis     r10,0                                  
ffc05518:	39 2a 21 50 	addi    r9,r10,8528                            
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  rtems_filesystem_mt_lock();                                         
  if ( rtems_chain_is_empty( &rtems_filesystem_mount_table ) ) {      
ffc0551c:	81 4a 21 50 	lwz     r10,8528(r10)                          
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc05520:	39 09 00 04 	addi    r8,r9,4                                
ffc05524:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc05528:	40 9e 00 78 	bne-    cr7,ffc055a0 <mount+0x3b0>             <== NEVER TAKEN
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc0552c:	81 09 00 08 	lwz     r8,8(r9)                               
  }                                                                   
  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 );
ffc05530:	3b 9f 00 24 	addi    r28,r31,36                             
                                                                      
  the_node->next = tail;                                              
ffc05534:	91 5f 00 00 	stw     r10,0(r31)                             
    rtems_filesystem_global_location_t *new_fs_current =              
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
                                                                      
    rtems_filesystem_global_location_assign(                          
ffc05538:	3f 60 00 00 	lis     r27,0                                  
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc0553c:	93 e8 00 00 	stw     r31,0(r8)                              
  the_node->previous = old_last;                                      
ffc05540:	91 1f 00 04 	stw     r8,4(r31)                              
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc05544:	93 e9 00 08 	stw     r31,8(r9)                              
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc05548:	80 7d 28 10 	lwz     r3,10256(r29)                          
ffc0554c:	48 00 46 75 	bl      ffc09bc0 <rtems_semaphore_release>     
    rv = -1;                                                          
  }                                                                   
  rtems_filesystem_mt_unlock();                                       
                                                                      
  if ( rv == 0 ) {                                                    
    rtems_filesystem_global_location_t *new_fs_root =                 
ffc05550:	7f 83 e3 78 	mr      r3,r28                                 
ffc05554:	48 00 13 a5 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
ffc05558:	7c 7d 1b 78 	mr      r29,r3                                 
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
    rtems_filesystem_global_location_t *new_fs_current =              
ffc0555c:	7f 83 e3 78 	mr      r3,r28                                 
ffc05560:	48 00 13 99 	bl      ffc068f8 <rtems_filesystem_global_location_obtain>
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
                                                                      
    rtems_filesystem_global_location_assign(                          
ffc05564:	7f a4 eb 78 	mr      r4,r29                                 
  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 =              
ffc05568:	7c 7f 1b 78 	mr      r31,r3                                 
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
                                                                      
    rtems_filesystem_global_location_assign(                          
ffc0556c:	80 7b 27 98 	lwz     r3,10136(r27)                          
ffc05570:	38 63 00 04 	addi    r3,r3,4                                
ffc05574:	48 00 13 61 	bl      ffc068d4 <rtems_filesystem_global_location_assign>
      &rtems_filesystem_root,                                         
      new_fs_root                                                     
    );                                                                
    rtems_filesystem_global_location_assign(                          
ffc05578:	80 7b 27 98 	lwz     r3,10136(r27)                          
ffc0557c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05580:	48 00 13 55 	bl      ffc068d4 <rtems_filesystem_global_location_assign>
ffc05584:	4b ff fe 84 	b       ffc05408 <mount+0x218>                 
      rtems_filesystem_mt_unlock();                                   
    } else {                                                          
      rtems_filesystem_global_location_release( mt_point_node );      
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error( &ctx, EBUSY );                  
ffc05588:	38 61 00 08 	addi    r3,r1,8                                
ffc0558c:	38 80 00 10 	li      r4,16                                  
    rv = -1;                                                          
ffc05590:	3b c0 ff ff 	li      r30,-1                                 
      rtems_filesystem_mt_unlock();                                   
    } else {                                                          
      rtems_filesystem_global_location_release( mt_point_node );      
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error( &ctx, EBUSY );                  
ffc05594:	48 00 08 a9 	bl      ffc05e3c <rtems_filesystem_eval_path_error>
ffc05598:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc0559c:	4b ff fe 44 	b       ffc053e0 <mount+0x1f0>                 
    rtems_chain_append_unprotected(                                   
      &rtems_filesystem_mount_table,                                  
      &mt_entry->mt_node                                              
    );                                                                
  } else {                                                            
    errno = EINVAL;                                                   
ffc055a0:	48 00 ca d9 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc055a4:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc055a8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc055ac:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc055b0:	80 7d 28 10 	lwz     r3,10256(r29)                          <== NOT EXECUTED
ffc055b4:	48 00 46 0d 	bl      ffc09bc0 <rtems_semaphore_release>     <== NOT EXECUTED
ffc055b8:	4b ff fe 34 	b       ffc053ec <mount+0x1fc>                 <== NOT EXECUTED
                                                                      

ffc0acf0 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
ffc0acf0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0acf4:	7c 08 02 a6 	mflr    r0                                     
ffc0acf8:	93 e1 00 1c 	stw     r31,28(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc0acfc:	7c 9f 23 79 	mr.     r31,r4                                 
  const char *target,                                                 
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
ffc0ad00:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ad04:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ad08:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ad0c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ad10:	93 c1 00 18 	stw     r30,24(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
ffc0ad14:	41 82 00 84 	beq-    ffc0ad98 <mount_and_make_target_path+0xa8>
ffc0ad18:	7c 7e 1b 78 	mr      r30,r3                                 
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
ffc0ad1c:	38 80 01 ff 	li      r4,511                                 
ffc0ad20:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ad24:	7c bb 2b 78 	mr      r27,r5                                 
ffc0ad28:	7c dc 33 78 	mr      r28,r6                                 
ffc0ad2c:	7c fd 3b 78 	mr      r29,r7                                 
ffc0ad30:	48 00 0e 9d 	bl      ffc0bbcc <rtems_mkdir>                 
    if (rv == 0) {                                                    
ffc0ad34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0ad38:	41 82 00 28 	beq-    ffc0ad60 <mount_and_make_target_path+0x70><== ALWAYS TAKEN
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0ad3c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ad40:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ad44:	7c 08 03 a6 	mtlr    r0                                     
ffc0ad48:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ad4c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ad50:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ad54:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ad58:	38 21 00 20 	addi    r1,r1,32                               
ffc0ad5c:	4e 80 00 20 	blr                                            
ffc0ad60:	80 01 00 24 	lwz     r0,36(r1)                              
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc0ad64:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ad68:	7f e4 fb 78 	mr      r4,r31                                 
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0ad6c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ad70:	7c 08 03 a6 	mtlr    r0                                     
ffc0ad74:	83 e1 00 1c 	lwz     r31,28(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc0ad78:	7f 65 db 78 	mr      r5,r27                                 
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0ad7c:	83 61 00 0c 	lwz     r27,12(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc0ad80:	7f 86 e3 78 	mr      r6,r28                                 
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0ad84:	83 81 00 10 	lwz     r28,16(r1)                             
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc0ad88:	7f a7 eb 78 	mr      r7,r29                                 
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0ad8c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ad90:	38 21 00 20 	addi    r1,r1,32                               
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
ffc0ad94:	48 00 00 18 	b       ffc0adac <mount>                       
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
ffc0ad98:	48 01 d1 a5 	bl      ffc27f3c <__errno>                     
ffc0ad9c:	39 20 00 16 	li      r9,22                                  
ffc0ada0:	91 23 00 00 	stw     r9,0(r3)                               
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
ffc0ada4:	38 60 ff ff 	li      r3,-1                                  
ffc0ada8:	4b ff ff 94 	b       ffc0ad3c <mount_and_make_target_path+0x4c>
                                                                      

ffc1c174 <msdos_creat_node>: msdos_node_type_t type, const char *name, int name_len, mode_t mode, const fat_file_fd_t *link_fd) {
ffc1c174:	94 21 ff 30 	stwu    r1,-208(r1)                            
ffc1c178:	7c 08 02 a6 	mflr    r0                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1c17c:	39 20 ff ff 	li      r9,-1                                  
ffc1c180:	90 01 00 d4 	stw     r0,212(r1)                             
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
ffc1c184:	81 43 00 14 	lwz     r10,20(r3)                             
                 msdos_node_type_t                        type,       
                 const char                              *name,       
                 int                                      name_len,   
                 mode_t                                   mode,       
                 const fat_file_fd_t                     *link_fd)    
{                                                                     
ffc1c188:	93 41 00 b8 	stw     r26,184(r1)                            
ffc1c18c:	7c 9a 23 78 	mr      r26,r4                                 
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc1c190:	38 80 00 00 	li      r4,0                                   
                 msdos_node_type_t                        type,       
                 const char                              *name,       
                 int                                      name_len,   
                 mode_t                                   mode,       
                 const fat_file_fd_t                     *link_fd)    
{                                                                     
ffc1c194:	93 81 00 c0 	stw     r28,192(r1)                            
ffc1c198:	7c bc 2b 78 	mr      r28,r5                                 
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc1c19c:	38 a0 00 40 	li      r5,64                                  
                 msdos_node_type_t                        type,       
                 const char                              *name,       
                 int                                      name_len,   
                 mode_t                                   mode,       
                 const fat_file_fd_t                     *link_fd)    
{                                                                     
ffc1c1a0:	93 a1 00 c4 	stw     r29,196(r1)                            
ffc1c1a4:	7c dd 33 78 	mr      r29,r6                                 
ffc1c1a8:	93 c1 00 c8 	stw     r30,200(r1)                            
ffc1c1ac:	7c 7e 1b 78 	mr      r30,r3                                 
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc1c1b0:	38 61 00 08 	addi    r3,r1,8                                
                 msdos_node_type_t                        type,       
                 const char                              *name,       
                 int                                      name_len,   
                 mode_t                                   mode,       
                 const fat_file_fd_t                     *link_fd)    
{                                                                     
ffc1c1b4:	93 e1 00 cc 	stw     r31,204(r1)                            
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
    fat_file_fd_t    *fat_fd = NULL;                                  
ffc1c1b8:	3b e0 00 00 	li      r31,0                                  
                 msdos_node_type_t                        type,       
                 const char                              *name,       
                 int                                      name_len,   
                 mode_t                                   mode,       
                 const fat_file_fd_t                     *link_fd)    
{                                                                     
ffc1c1bc:	92 e1 00 ac 	stw     r23,172(r1)                            
ffc1c1c0:	7d 17 43 78 	mr      r23,r8                                 
ffc1c1c4:	93 01 00 b0 	stw     r24,176(r1)                            
ffc1c1c8:	93 61 00 bc 	stw     r27,188(r1)                            
ffc1c1cc:	93 21 00 b4 	stw     r25,180(r1)                            
    int               rc = RC_OK;                                     
    ssize_t           ret = 0;                                        
    msdos_fs_info_t  *fs_info = parent_loc->mt_entry->fs_info;        
ffc1c1d0:	83 6a 00 08 	lwz     r27,8(r10)                             
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
ffc1c1d4:	83 1e 00 08 	lwz     r24,8(r30)                             
    fat_file_fd_t    *fat_fd = NULL;                                  
ffc1c1d8:	93 e1 00 98 	stw     r31,152(r1)                            
    time_t            time_ret = 0;                                   
    uint16_t          time_val = 0;                                   
ffc1c1dc:	b3 e1 00 9e 	sth     r31,158(r1)                            
    uint16_t          date = 0;                                       
ffc1c1e0:	b3 e1 00 9c 	sth     r31,156(r1)                            
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1c1e4:	93 e1 00 88 	stw     r31,136(r1)                            
  dir_pos->sname.ofs = 0;                                             
ffc1c1e8:	93 e1 00 8c 	stw     r31,140(r1)                            
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1c1ec:	91 21 00 90 	stw     r9,144(r1)                             
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1c1f0:	91 21 00 94 	stw     r9,148(r1)                             
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
ffc1c1f4:	93 e1 00 68 	stw     r31,104(r1)                            
ffc1c1f8:	93 e1 00 6c 	stw     r31,108(r1)                            
ffc1c1fc:	93 e1 00 70 	stw     r31,112(r1)                            
ffc1c200:	93 e1 00 74 	stw     r31,116(r1)                            
ffc1c204:	93 e1 00 78 	stw     r31,120(r1)                            
ffc1c208:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc1c20c:	93 e1 00 80 	stw     r31,128(r1)                            
ffc1c210:	93 e1 00 84 	stw     r31,132(r1)                            
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
ffc1c214:	48 00 52 5d 	bl      ffc21470 <memset>                      
                                                                      
    if (name_len > MSDOS_NAME_MAX_LFN_WITH_DOT) {                     
ffc1c218:	2f 9d 01 04 	cmpwi   cr7,r29,260                            
ffc1c21c:	41 9d 03 f8 	bgt-    cr7,ffc1c614 <msdos_creat_node+0x4a0>  <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENAMETOOLONG);           
    }                                                                 
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
ffc1c220:	7f 83 e3 78 	mr      r3,r28                                 
ffc1c224:	7f a4 eb 78 	mr      r4,r29                                 
ffc1c228:	38 a1 00 68 	addi    r5,r1,104                              
ffc1c22c:	38 c0 00 0b 	li      r6,11                                  
ffc1c230:	48 00 05 79 	bl      ffc1c7a8 <msdos_long_to_short>         
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
    if (name_type == MSDOS_NAME_INVALID) {                            
ffc1c234:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1c238:	41 82 03 f0 	beq-    ffc1c628 <msdos_creat_node+0x4b4>      <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
ffc1c23c:	39 20 00 00 	li      r9,0                                   
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
ffc1c240:	38 60 00 00 	li      r3,0                                   
    if (name_type == MSDOS_NAME_INVALID) {                            
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
ffc1c244:	99 21 00 74 	stb     r9,116(r1)                             
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
ffc1c248:	48 00 90 09 	bl      ffc25250 <time>                        
    if ( time_ret == -1 )                                             
ffc1c24c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc1c250:	41 9e 03 ec 	beq-    cr7,ffc1c63c <msdos_creat_node+0x4c8>  <== NEVER TAKEN
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
ffc1c254:	38 81 00 9c 	addi    r4,r1,156                              
ffc1c258:	38 a1 00 9e 	addi    r5,r1,158                              
ffc1c25c:	48 00 32 51 	bl      ffc1f4ac <msdos_date_unix2dos>         
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
ffc1c260:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
    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);              
ffc1c264:	a1 21 00 9e 	lhz     r9,158(r1)                             
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1c268:	a0 c1 00 9c 	lhz     r6,156(r1)                             
    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);              
ffc1c26c:	55 28 c2 3e 	rlwinm  r8,r9,24,8,31                          
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
ffc1c270:	93 e1 00 84 	stw     r31,132(r1)                            
    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);              
ffc1c274:	55 2a 44 2e 	rlwinm  r10,r9,8,16,23                         
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1c278:	54 c7 c2 3e 	rlwinm  r7,r6,24,8,31                          
ffc1c27c:	54 c9 44 2e 	rlwinm  r9,r6,8,16,23                          
ffc1c280:	7d 29 3b 78 	or      r9,r9,r7                               
    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);              
ffc1c284:	7d 4a 43 78 	or      r10,r10,r8                             
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
ffc1c288:	b1 21 00 78 	sth     r9,120(r1)                             
    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);              
ffc1c28c:	b1 41 00 76 	sth     r10,118(r1)                            
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
ffc1c290:	b1 41 00 7e 	sth     r10,126(r1)                            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
ffc1c294:	b1 21 00 80 	sth     r9,128(r1)                             
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
ffc1c298:	b1 21 00 7a 	sth     r9,122(r1)                             
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
ffc1c29c:	41 9e 00 74 	beq-    cr7,ffc1c310 <msdos_creat_node+0x19c>  
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
ffc1c2a0:	2f 9a 00 02 	cmpwi   cr7,r26,2                              
ffc1c2a4:	41 9e 02 a0 	beq-    cr7,ffc1c544 <msdos_creat_node+0x3d0>  <== NEVER TAKEN
       * 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;            
ffc1c2a8:	89 21 00 73 	lbz     r9,115(r1)                             
ffc1c2ac:	61 29 00 20 	ori     r9,r9,32                               
ffc1c2b0:	99 21 00 73 	stb     r9,115(r1)                             
                                                                      
    /*                                                                
     * 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,        
ffc1c2b4:	7f c3 f3 78 	mr      r3,r30                                 
ffc1c2b8:	38 80 00 01 	li      r4,1                                   
ffc1c2bc:	7f 85 e3 78 	mr      r5,r28                                 
ffc1c2c0:	7f a6 eb 78 	mr      r6,r29                                 
ffc1c2c4:	7f 27 cb 78 	mr      r7,r25                                 
ffc1c2c8:	39 01 00 88 	addi    r8,r1,136                              
ffc1c2cc:	39 21 00 68 	addi    r9,r1,104                              
ffc1c2d0:	48 00 1d 1d 	bl      ffc1dfec <msdos_get_name_node>         
ffc1c2d4:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
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;                                                        
}                                                                     
ffc1c2d8:	80 01 00 d4 	lwz     r0,212(r1)                             
ffc1c2dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c2e0:	82 e1 00 ac 	lwz     r23,172(r1)                            
ffc1c2e4:	7c 08 03 a6 	mtlr    r0                                     
ffc1c2e8:	83 01 00 b0 	lwz     r24,176(r1)                            
ffc1c2ec:	83 21 00 b4 	lwz     r25,180(r1)                            
ffc1c2f0:	83 41 00 b8 	lwz     r26,184(r1)                            
ffc1c2f4:	83 61 00 bc 	lwz     r27,188(r1)                            
ffc1c2f8:	83 81 00 c0 	lwz     r28,192(r1)                            
ffc1c2fc:	83 a1 00 c4 	lwz     r29,196(r1)                            
ffc1c300:	83 c1 00 c8 	lwz     r30,200(r1)                            
ffc1c304:	83 e1 00 cc 	lwz     r31,204(r1)                            
ffc1c308:	38 21 00 d0 	addi    r1,r1,208                              
ffc1c30c:	4e 80 00 20 	blr                                            
                                                                      
    /* 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;            
ffc1c310:	89 41 00 73 	lbz     r10,115(r1)                            
                                                                      
    /*                                                                
     * 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,        
ffc1c314:	7f c3 f3 78 	mr      r3,r30                                 
ffc1c318:	38 80 00 01 	li      r4,1                                   
                                                                      
    /* 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;            
ffc1c31c:	61 4a 00 10 	ori     r10,r10,16                             
                                                                      
    /*                                                                
     * 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,        
ffc1c320:	7f 85 e3 78 	mr      r5,r28                                 
                                                                      
    /* 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;            
ffc1c324:	99 41 00 73 	stb     r10,115(r1)                            
                                                                      
    /*                                                                
     * 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,        
ffc1c328:	7f a6 eb 78 	mr      r6,r29                                 
ffc1c32c:	7f 27 cb 78 	mr      r7,r25                                 
ffc1c330:	39 01 00 88 	addi    r8,r1,136                              
ffc1c334:	39 21 00 68 	addi    r9,r1,104                              
ffc1c338:	48 00 1c b5 	bl      ffc1dfec <msdos_get_name_node>         
                             name_type, &dir_pos, short_node);        
    if ( rc != RC_OK )                                                
ffc1c33c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1c340:	40 a2 ff 98 	bne-    ffc1c2d8 <msdos_creat_node+0x164>      <== NEVER TAKEN
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
    {                                                                 
        /* open new directory as fat-file */                          
        rc = fat_file_open(&fs_info->fat, &dir_pos, &fat_fd);         
ffc1c344:	7f 63 db 78 	mr      r3,r27                                 
ffc1c348:	38 81 00 88 	addi    r4,r1,136                              
ffc1c34c:	38 a1 00 98 	addi    r5,r1,152                              
ffc1c350:	4b ff 9b 45 	bl      ffc15e94 <fat_file_open>               
        if (rc != RC_OK)                                              
ffc1c354:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1c358:	40 82 01 a4 	bne-    ffc1c4fc <msdos_creat_node+0x388>      <== NEVER TAKEN
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc1c35c:	80 81 00 98 	lwz     r4,152(r1)                             
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc1c360:	3d 20 00 20 	lis     r9,32                                  
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
ffc1c364:	93 e4 00 18 	stw     r31,24(r4)                             
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
ffc1c368:	93 e4 00 10 	stw     r31,16(r4)                             
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
ffc1c36c:	91 24 00 14 	stw     r9,20(r4)                              
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc1c370:	81 21 00 84 	lwz     r9,132(r1)                             
ffc1c374:	80 e1 00 78 	lwz     r7,120(r1)                             
ffc1c378:	81 01 00 7c 	lwz     r8,124(r1)                             
ffc1c37c:	81 41 00 80 	lwz     r10,128(r1)                            
ffc1c380:	81 61 00 68 	lwz     r11,104(r1)                            
ffc1c384:	80 61 00 6c 	lwz     r3,108(r1)                             
ffc1c388:	80 a1 00 70 	lwz     r5,112(r1)                             
ffc1c38c:	80 c1 00 74 	lwz     r6,116(r1)                             
ffc1c390:	91 21 00 24 	stw     r9,36(r1)                              
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc1c394:	91 21 00 44 	stw     r9,68(r1)                              
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
ffc1c398:	3d 20 00 00 	lis     r9,0                                   
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
ffc1c39c:	91 61 00 08 	stw     r11,8(r1)                              
ffc1c3a0:	90 61 00 0c 	stw     r3,12(r1)                              
ffc1c3a4:	90 a1 00 10 	stw     r5,16(r1)                              
ffc1c3a8:	90 c1 00 14 	stw     r6,20(r1)                              
ffc1c3ac:	90 e1 00 18 	stw     r7,24(r1)                              
ffc1c3b0:	91 01 00 1c 	stw     r8,28(r1)                              
ffc1c3b4:	91 41 00 20 	stw     r10,32(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
ffc1c3b8:	91 61 00 28 	stw     r11,40(r1)                             
ffc1c3bc:	90 61 00 2c 	stw     r3,44(r1)                              
ffc1c3c0:	90 a1 00 30 	stw     r5,48(r1)                              
ffc1c3c4:	90 c1 00 34 	stw     r6,52(r1)                              
ffc1c3c8:	90 e1 00 38 	stw     r7,56(r1)                              
ffc1c3cc:	91 01 00 3c 	stw     r8,60(r1)                              
ffc1c3d0:	91 41 00 40 	stw     r10,64(r1)                             
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
ffc1c3d4:	81 29 27 a4 	lwz     r9,10148(r9)                           
ffc1c3d8:	80 e9 00 04 	lwz     r7,4(r9)                               
ffc1c3dc:	a1 09 00 08 	lhz     r8,8(r9)                               
ffc1c3e0:	89 49 00 0a 	lbz     r10,10(r9)                             
ffc1c3e4:	81 29 00 00 	lwz     r9,0(r9)                               
ffc1c3e8:	91 21 00 08 	stw     r9,8(r1)                               
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
ffc1c3ec:	3d 20 00 00 	lis     r9,0                                   
         */                                                           
        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,
ffc1c3f0:	90 e1 00 0c 	stw     r7,12(r1)                              
ffc1c3f4:	b1 01 00 10 	sth     r8,16(r1)                              
ffc1c3f8:	99 41 00 12 	stb     r10,18(r1)                             
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
ffc1c3fc:	81 29 27 a0 	lwz     r9,10144(r9)                           
ffc1c400:	80 e9 00 00 	lwz     r7,0(r9)                               
ffc1c404:	81 09 00 04 	lwz     r8,4(r9)                               
ffc1c408:	a1 49 00 08 	lhz     r10,8(r9)                              
ffc1c40c:	89 29 00 0a 	lbz     r9,10(r9)                              
ffc1c410:	90 e1 00 28 	stw     r7,40(r1)                              
ffc1c414:	91 01 00 2c 	stw     r8,44(r1)                              
ffc1c418:	b1 41 00 30 	sth     r10,48(r1)                             
ffc1c41c:	99 21 00 32 	stb     r9,50(r1)                              
        /*                                                            
         * 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)) &&                    
ffc1c420:	81 38 00 20 	lwz     r9,32(r24)                             
ffc1c424:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1c428:	41 9e 01 c4 	beq-    cr7,ffc1c5ec <msdos_creat_node+0x478>  
            *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));
ffc1c42c:	81 38 00 1c 	lwz     r9,28(r24)                             
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc1c430:	55 2a 84 3e 	rlwinm  r10,r9,16,16,31                        
            *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));
ffc1c434:	55 27 42 2e 	rlwinm  r7,r9,8,8,23                           
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
ffc1c438:	55 48 40 2e 	rlwinm  r8,r10,8,0,23                          
            *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)) = 
ffc1c43c:	55 29 c6 3e 	rlwinm  r9,r9,24,24,31                         
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1c440:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
            *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)) = 
ffc1c444:	7c e9 4b 78 	or      r9,r7,r9                               
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1c448:	7d 0a 53 78 	or      r10,r8,r10                             
            *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)) = 
ffc1c44c:	b1 21 00 42 	sth     r9,66(r1)                              
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
ffc1c450:	b1 41 00 3c 	sth     r10,60(r1)                             
        /*                                                            
         * 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,                
ffc1c454:	7f 63 db 78 	mr      r3,r27                                 
ffc1c458:	38 a0 00 00 	li      r5,0                                   
ffc1c45c:	38 c0 00 40 	li      r6,64                                  
ffc1c460:	38 e1 00 08 	addi    r7,r1,8                                
ffc1c464:	4b ff a5 91 	bl      ffc169f4 <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
ffc1c468:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c46c:	41 9c 00 80 	blt-    cr7,ffc1c4ec <msdos_creat_node+0x378>  <== NEVER TAKEN
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1c470:	80 81 00 98 	lwz     r4,152(r1)                             
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
ffc1c474:	7f 63 db 78 	mr      r3,r27                                 
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1c478:	a1 1b 00 06 	lhz     r8,6(r27)                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
ffc1c47c:	38 a0 00 00 	li      r5,0                                   
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1c480:	81 44 00 18 	lwz     r10,24(r4)                             
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
ffc1c484:	38 c0 00 20 	li      r6,32                                  
        /* 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));    
ffc1c488:	81 24 00 1c 	lwz     r9,28(r4)                              
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1c48c:	7d 0a 42 14 	add     r8,r10,r8                              
                                                                      
        /* 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)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
ffc1c490:	55 2a 84 3e 	rlwinm  r10,r9,16,16,31                        
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
ffc1c494:	91 04 00 18 	stw     r8,24(r4)                              
                                                                      
        /* 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));    
ffc1c498:	55 27 42 2e 	rlwinm  r7,r9,8,8,23                           
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
ffc1c49c:	55 48 40 2e 	rlwinm  r8,r10,8,0,23                          
                                                                      
        /* 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)) =        
ffc1c4a0:	55 29 c6 3e 	rlwinm  r9,r9,24,24,31                         
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1c4a4:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
                                                                      
        /* 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)) =        
ffc1c4a8:	7c e9 4b 78 	or      r9,r7,r9                               
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1c4ac:	7d 0a 53 78 	or      r10,r8,r10                             
                                                                      
        /* 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)) =        
ffc1c4b0:	b1 21 00 22 	sth     r9,34(r1)                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
ffc1c4b4:	38 e1 00 08 	addi    r7,r1,8                                
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
ffc1c4b8:	b1 41 00 1c 	sth     r10,28(r1)                             
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
ffc1c4bc:	4b ff a5 39 	bl      ffc169f4 <fat_file_write>              
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
ffc1c4c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c4c4:	41 9c 00 28 	blt-    cr7,ffc1c4ec <msdos_creat_node+0x378>  <== NEVER TAKEN
            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);
ffc1c4c8:	80 7e 00 14 	lwz     r3,20(r30)                             
ffc1c4cc:	80 81 00 98 	lwz     r4,152(r1)                             
ffc1c4d0:	48 00 06 71 	bl      ffc1cb40 <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc1c4d4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1c4d8:	40 a2 00 18 	bne+    ffc1c4f0 <msdos_creat_node+0x37c>      <== NEVER TAKEN
            goto error;                                               
                                                                      
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc1c4dc:	80 81 00 98 	lwz     r4,152(r1)                             
ffc1c4e0:	7f 63 db 78 	mr      r3,r27                                 
ffc1c4e4:	4b ff a0 7d 	bl      ffc16560 <fat_file_close>              
ffc1c4e8:	4b ff fd f0 	b       ffc1c2d8 <msdos_creat_node+0x164>      
        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;                                                  
ffc1c4ec:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
        fat_file_close(&fs_info->fat, fat_fd);                        
    }                                                                 
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(&fs_info->fat, fat_fd);                            
ffc1c4f0:	80 81 00 98 	lwz     r4,152(r1)                             <== NOT EXECUTED
ffc1c4f4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1c4f8:	4b ff a0 69 	bl      ffc16560 <fat_file_close>              <== 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);
ffc1c4fc:	80 7e 00 14 	lwz     r3,20(r30)                             <== NOT EXECUTED
ffc1c500:	38 81 00 88 	addi    r4,r1,136                              <== NOT EXECUTED
ffc1c504:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
ffc1c508:	48 00 07 f1 	bl      ffc1ccf8 <msdos_set_first_char4file_name><== NOT EXECUTED
    return rc;                                                        
}                                                                     
ffc1c50c:	80 01 00 d4 	lwz     r0,212(r1)                             <== NOT EXECUTED
ffc1c510:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c514:	82 e1 00 ac 	lwz     r23,172(r1)                            <== NOT EXECUTED
ffc1c518:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1c51c:	83 01 00 b0 	lwz     r24,176(r1)                            <== NOT EXECUTED
ffc1c520:	83 21 00 b4 	lwz     r25,180(r1)                            <== NOT EXECUTED
ffc1c524:	83 41 00 b8 	lwz     r26,184(r1)                            <== NOT EXECUTED
ffc1c528:	83 61 00 bc 	lwz     r27,188(r1)                            <== NOT EXECUTED
ffc1c52c:	83 81 00 c0 	lwz     r28,192(r1)                            <== NOT EXECUTED
ffc1c530:	83 a1 00 c4 	lwz     r29,196(r1)                            <== NOT EXECUTED
ffc1c534:	83 c1 00 c8 	lwz     r30,200(r1)                            <== NOT EXECUTED
ffc1c538:	83 e1 00 cc 	lwz     r31,204(r1)                            <== NOT EXECUTED
ffc1c53c:	38 21 00 d0 	addi    r1,r1,208                              <== NOT EXECUTED
ffc1c540:	4e 80 00 20 	blr                                            <== NOT EXECUTED
       * node to the newly created                                    
       */                                                             
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(&fs_info->fat,              
ffc1c544:	81 37 00 20 	lwz     r9,32(r23)                             <== 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)) )
ffc1c548:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1c54c:	40 9e 00 10 	bne-    cr7,ffc1c55c <msdos_creat_node+0x3e8>  <== NOT EXECUTED
ffc1c550:	89 5b 00 0e 	lbz     r10,14(r27)                            <== NOT EXECUTED
ffc1c554:	71 48 00 03 	andi.   r8,r10,3                               <== NOT EXECUTED
ffc1c558:	40 82 00 8c 	bne-    ffc1c5e4 <msdos_creat_node+0x470>      <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1c55c:	89 1b 00 05 	lbz     r8,5(r27)                              <== NOT EXECUTED
ffc1c560:	38 89 ff fe 	addi    r4,r9,-2                               <== NOT EXECUTED
ffc1c564:	81 5b 00 34 	lwz     r10,52(r27)                            <== NOT EXECUTED
ffc1c568:	7c 84 40 30 	slw     r4,r4,r8                               <== NOT EXECUTED
ffc1c56c:	7c 84 52 14 	add     r4,r4,r10                              <== NOT EXECUTED
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
ffc1c570:	81 37 00 24 	lwz     r9,36(r23)                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
                                                                      
      ret = _fat_block_read(&fs_info->fat,                            
ffc1c574:	7f 63 db 78 	mr      r3,r27                                 <== 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);
ffc1c578:	89 5b 00 02 	lbz     r10,2(r27)                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
                                                                      
      ret = _fat_block_read(&fs_info->fat,                            
ffc1c57c:	38 c0 00 20 	li      r6,32                                  <== 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);
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
ffc1c580:	a0 bb 00 00 	lhz     r5,0(r27)                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(&fs_info->fat,                            
ffc1c584:	38 e1 00 48 	addi    r7,r1,72                               <== 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);
ffc1c588:	7d 2a 54 30 	srw     r10,r9,r10                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
ffc1c58c:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(&fs_info->fat,                            
ffc1c590:	7c 84 52 14 	add     r4,r4,r10                              <== NOT EXECUTED
ffc1c594:	7c a5 48 38 	and     r5,r5,r9                               <== NOT EXECUTED
ffc1c598:	4b ff ac 05 	bl      ffc1719c <_fat_block_read>             <== NOT EXECUTED
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
ffc1c59c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1c5a0:	41 9c 00 9c 	blt-    cr7,ffc1c63c <msdos_creat_node+0x4c8>  <== 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);
ffc1c5a4:	89 21 00 55 	lbz     r9,85(r1)                              <== NOT EXECUTED
          return -1;                                                  
      }                                                               
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
ffc1c5a8:	89 41 00 53 	lbz     r10,83(r1)                             <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
ffc1c5ac:	99 21 00 75 	stb     r9,117(r1)                             <== 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;              
ffc1c5b0:	61 4a 00 20 	ori     r10,r10,32                             <== 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);
ffc1c5b4:	a1 21 00 56 	lhz     r9,86(r1)                              <== 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;              
ffc1c5b8:	99 41 00 73 	stb     r10,115(r1)                            <== 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);
ffc1c5bc:	b1 21 00 76 	sth     r9,118(r1)                             <== NOT EXECUTED
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
ffc1c5c0:	a1 21 00 58 	lhz     r9,88(r1)                              <== NOT EXECUTED
ffc1c5c4:	b1 21 00 78 	sth     r9,120(r1)                             <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
ffc1c5c8:	81 21 00 64 	lwz     r9,100(r1)                             <== NOT EXECUTED
ffc1c5cc:	91 21 00 84 	stw     r9,132(r1)                             <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
ffc1c5d0:	a1 21 00 62 	lhz     r9,98(r1)                              <== NOT EXECUTED
ffc1c5d4:	b1 21 00 82 	sth     r9,130(r1)                             <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
ffc1c5d8:	a1 21 00 5c 	lhz     r9,92(r1)                              <== NOT EXECUTED
ffc1c5dc:	b1 21 00 7c 	sth     r9,124(r1)                             <== NOT EXECUTED
ffc1c5e0:	4b ff fc d4 	b       ffc1c2b4 <msdos_creat_node+0x140>      <== 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;                                 
ffc1c5e4:	80 9b 00 20 	lwz     r4,32(r27)                             <== NOT EXECUTED
ffc1c5e8:	4b ff ff 88 	b       ffc1c570 <msdos_creat_node+0x3fc>      <== 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)) &&                    
ffc1c5ec:	81 38 00 24 	lwz     r9,36(r24)                             
ffc1c5f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1c5f4:	40 be fe 38 	bne-    cr7,ffc1c42c <msdos_creat_node+0x2b8>  <== NEVER TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
ffc1c5f8:	89 5b 00 0e 	lbz     r10,14(r27)                            
        /*                                                            
         * 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)) &&                    
ffc1c5fc:	55 4a 07 7a 	rlwinm  r10,r10,0,29,29                        
ffc1c600:	71 48 00 ff 	andi.   r8,r10,255                             
ffc1c604:	41 a2 fe 28 	beq-    ffc1c42c <msdos_creat_node+0x2b8>      <== ALWAYS TAKEN
            (fs_info->fat.vol.type & FAT_FAT32))                      
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
ffc1c608:	b1 21 00 42 	sth     r9,66(r1)                              <== NOT EXECUTED
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
ffc1c60c:	b1 21 00 3c 	sth     r9,60(r1)                              <== NOT EXECUTED
ffc1c610:	4b ff fe 44 	b       ffc1c454 <msdos_creat_node+0x2e0>      <== 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);           
ffc1c614:	48 00 40 89 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1c618:	39 20 00 5b 	li      r9,91                                  <== NOT EXECUTED
ffc1c61c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1c620:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1c624:	4b ff fc b4 	b       ffc1c2d8 <msdos_creat_node+0x164>      <== 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);                 
ffc1c628:	48 00 40 75 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1c62c:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc1c630:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1c634:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1c638:	4b ff fc a0 	b       ffc1c2d8 <msdos_creat_node+0x164>      <== 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;                                                    
ffc1c63c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1c640:	4b ff fc 98 	b       ffc1c2d8 <msdos_creat_node+0x164>      <== NOT EXECUTED
                                                                      

ffc1f620 <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) {
ffc1f620:	3c c0 00 00 	lis     r6,0                                   
ffc1f624:	38 c6 2a 74 	addi    r6,r6,10868                            
ffc1f628:	a1 26 00 0c 	lhz     r9,12(r6)                              
	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;   
ffc1f62c:	54 88 ae fe 	rlwinm  r8,r4,21,27,31                         
	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  
ffc1f630:	54 8a de be 	rlwinm  r10,r4,27,26,31                        
	    + ((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) {                                             
ffc1f634:	7f 89 18 00 	cmpw    cr7,r9,r3                              
	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;   
ffc1f638:	1d 08 07 08 	mulli   r8,r8,1800                             
	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  
ffc1f63c:	1d 4a 00 1e 	mulli   r10,r10,30                             
	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)
ffc1f640:	54 84 06 fe 	clrlwi  r4,r4,27                               
	    + ((dt & MSDOS_DT_MINUTES_MASK) >> MSDOS_DT_MINUTES_SHIFT) * 60  
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
ffc1f644:	7d 48 52 14 	add     r10,r8,r10                             
ffc1f648:	7c 8a 22 14 	add     r4,r10,r4                              
	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)
ffc1f64c:	54 84 08 3c 	rlwinm  r4,r4,1,0,30                           
	    + ((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) {                                             
ffc1f650:	41 9e 00 d0 	beq-    cr7,ffc1f720 <msdos_date_dos2unix+0x100>
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1f654:	54 67 be 7f 	rlwinm. r7,r3,23,25,31                         
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
ffc1f658:	b0 66 00 0c 	sth     r3,12(r6)                              
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1f65c:	39 20 00 00 	li      r9,0                                   
ffc1f660:	39 40 00 00 	li      r10,0                                  
ffc1f664:	39 00 01 6e 	li      r8,366                                 
ffc1f668:	41 82 00 c4 	beq-    ffc1f72c <msdos_date_dos2unix+0x10c>   <== NEVER TAKEN
ffc1f66c:	7c e9 03 a6 	mtctr   r7                                     
ffc1f670:	48 00 00 10 	b       ffc1f680 <msdos_date_dos2unix+0x60>    
			days += y & 0x03 ? 365 : 366;                                      
ffc1f674:	7d 00 00 26 	mfcr    r8                                     
ffc1f678:	55 08 1f fe 	rlwinm  r8,r8,3,31,31                          
ffc1f67c:	39 08 01 6d 	addi    r8,r8,365                              
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1f680:	39 4a 00 01 	addi    r10,r10,1                              
			days += y & 0x03 ? 365 : 366;                                      
ffc1f684:	7d 29 42 14 	add     r9,r9,r8                               
ffc1f688:	71 48 00 03 	andi.   r8,r10,3                               
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
ffc1f68c:	42 00 ff e8 	bdnz+   ffc1f674 <msdos_date_dos2unix+0x54>    
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
ffc1f690:	3c e0 00 00 	lis     r7,0                                   
ffc1f694:	38 e7 22 60 	addi    r7,r7,8800                             
ffc1f698:	41 82 00 78 	beq-    ffc1f710 <msdos_date_dos2unix+0xf0>    <== ALWAYS TAKEN
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
ffc1f69c:	54 6a df 3f 	rlwinm. r10,r3,27,28,31                        <== NOT EXECUTED
ffc1f6a0:	41 82 00 34 	beq-    ffc1f6d4 <msdos_date_dos2unix+0xb4>    <== NOT EXECUTED
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc1f6a4:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc1f6a8:	41 9e 00 2c 	beq-    cr7,ffc1f6d4 <msdos_date_dos2unix+0xb4><== ALWAYS TAKEN
 * 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)                 
ffc1f6ac:	55 48 08 3c 	rlwinm  r8,r10,1,0,30                          <== NOT EXECUTED
ffc1f6b0:	39 08 ff fc 	addi    r8,r8,-4                               <== NOT EXECUTED
ffc1f6b4:	55 08 f8 7e 	rlwinm  r8,r8,31,1,31                          <== NOT EXECUTED
ffc1f6b8:	39 08 00 01 	addi    r8,r8,1                                <== NOT EXECUTED
ffc1f6bc:	7d 09 03 a6 	mtctr   r8                                     <== NOT EXECUTED
ffc1f6c0:	39 40 00 00 	li      r10,0                                  <== 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];                                                 
ffc1f6c4:	7d 07 52 2e 	lhzx    r8,r7,r10                              <== NOT EXECUTED
ffc1f6c8:	39 4a 00 02 	addi    r10,r10,2                              <== NOT EXECUTED
ffc1f6cc:	7d 29 42 14 	add     r9,r9,r8                               <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
ffc1f6d0:	42 00 ff f4 	bdnz+   ffc1f6c4 <msdos_date_dos2unix+0xa4>    <== NOT EXECUTED
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
ffc1f6d4:	54 63 06 fe 	clrlwi  r3,r3,27                               
ffc1f6d8:	38 63 ff ff 	addi    r3,r3,-1                               
ffc1f6dc:	7d 23 4a 14 	add     r9,r3,r9                               
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
ffc1f6e0:	55 2a 38 30 	rlwinm  r10,r9,7,0,24                          
ffc1f6e4:	55 29 48 2c 	rlwinm  r9,r9,9,0,22                           
ffc1f6e8:	7d 2a 48 50 	subf    r9,r10,r9                              
ffc1f6ec:	55 2a 20 36 	rlwinm  r10,r9,4,0,27                          
ffc1f6f0:	7d 29 50 50 	subf    r9,r9,r10                              
ffc1f6f4:	55 2a 20 36 	rlwinm  r10,r9,4,0,27                          
ffc1f6f8:	7d 29 50 50 	subf    r9,r9,r10                              
ffc1f6fc:	3d 29 12 cf 	addis   r9,r9,4815                             
ffc1f700:	38 69 a6 00 	addi    r3,r9,-23040                           
ffc1f704:	90 66 00 10 	stw     r3,16(r6)                              
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
ffc1f708:	7c 63 22 14 	add     r3,r3,r4                               
ffc1f70c:	4e 80 00 20 	blr                                            
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
ffc1f710:	54 6a df 3f 	rlwinm. r10,r3,27,28,31                        
		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;                          
ffc1f714:	38 e7 00 18 	addi    r7,r7,24                               
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
ffc1f718:	41 a2 ff bc 	beq-    ffc1f6d4 <msdos_date_dos2unix+0xb4>    <== NEVER TAKEN
ffc1f71c:	4b ff ff 88 	b       ffc1f6a4 <msdos_date_dos2unix+0x84>    
ffc1f720:	80 66 00 10 	lwz     r3,16(r6)                              
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
ffc1f724:	7c 63 22 14 	add     r3,r3,r4                               
ffc1f728:	4e 80 00 20 	blr                                            
		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;                          
ffc1f72c:	3c e0 00 00 	lis     r7,0                                   <== NOT EXECUTED
ffc1f730:	38 e7 22 60 	addi    r7,r7,8800                             <== NOT EXECUTED
ffc1f734:	38 e7 00 18 	addi    r7,r7,24                               <== NOT EXECUTED
ffc1f738:	4b ff ff 64 	b       ffc1f69c <msdos_date_dos2unix+0x7c>    <== NOT EXECUTED
                                                                      

ffc1f4ac <msdos_date_unix2dos>: /* * If the time from the last conversion is the same as now, then * skip the computations and use the saved result. */ if (lasttime != t) {
ffc1f4ac:	3d 20 00 00 	lis     r9,0                                   
ffc1f4b0:	81 49 2a 74 	lwz     r10,10868(r9)                          
ffc1f4b4:	39 69 2a 74 	addi    r11,r9,10868                           
ffc1f4b8:	7f 8a 18 00 	cmpw    cr7,r10,r3                             
ffc1f4bc:	41 9e 01 40 	beq-    cr7,ffc1f5fc <msdos_date_unix2dos+0x150>
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f4c0:	3c e0 88 88 	lis     r7,-30584                              
	/*                                                                   
	 * 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;                                                       
ffc1f4c4:	90 69 2a 74 	stw     r3,10868(r9)                           
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f4c8:	3d 00 91 a2 	lis     r8,-28254                              
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f4cc:	60 e7 88 89 	ori     r7,r7,34953                            
		 * 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);                                         
		if (days != lastday) {                                              
ffc1f4d0:	80 cb 00 08 	lwz     r6,8(r11)                              
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f4d4:	61 08 b3 c5 	ori     r8,r8,46021                            
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f4d8:	7d 43 38 16 	mulhwu  r10,r3,r7                              
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f4dc:	7d 03 40 16 	mulhwu  r8,r3,r8                               
ffc1f4e0:	3d 80 aa aa 	lis     r12,-21846                             
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f4e4:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f4e8:	55 08 aa fe 	rlwinm  r8,r8,21,11,31                         
ffc1f4ec:	61 8c aa ab 	ori     r12,r12,43691                          
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f4f0:	7c ea 38 16 	mulhwu  r7,r10,r7                              
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f4f4:	7d 88 60 16 	mulhwu  r12,r8,r12                             
		/*                                                                  
		 * 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);                                         
ffc1f4f8:	3d 20 c2 2e 	lis     r9,-15826                              
ffc1f4fc:	61 29 45 07 	ori     r9,r9,17671                            
ffc1f500:	7d 23 48 16 	mulhwu  r9,r3,r9                               
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f504:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f508:	55 8c e1 3e 	rlwinm  r12,r12,28,4,31                        
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f50c:	1c e7 00 3c 	mulli   r7,r7,60                               
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f510:	1d 8c 00 18 	mulli   r12,r12,24                             
	 * 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)            
ffc1f514:	1c 0a 00 3c 	mulli   r0,r10,60                              
		/*                                                                  
		 * 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);                                         
ffc1f518:	55 29 84 3e 	rlwinm  r9,r9,16,16,31                         
	 * skip the computations and use the saved result.                   
	 */                                                                  
	if (lasttime != t) {                                                 
		lasttime = t;                                                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
ffc1f51c:	7d 47 50 50 	subf    r10,r7,r10                             
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
ffc1f520:	7d 0c 40 50 	subf    r8,r12,r8                              
		 * 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);                                         
		if (days != lastday) {                                              
ffc1f524:	7f 89 30 00 	cmpw    cr7,r9,r6                              
	 * 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)            
ffc1f528:	55 4a 28 34 	rlwinm  r10,r10,5,0,26                         
ffc1f52c:	55 08 58 28 	rlwinm  r8,r8,11,0,20                          
ffc1f530:	7c 60 18 50 	subf    r3,r0,r3                               
ffc1f534:	7d 4a 42 14 	add     r10,r10,r8                             
ffc1f538:	54 63 f8 7e 	rlwinm  r3,r3,31,1,31                          
ffc1f53c:	7c 6a 1a 14 	add     r3,r10,r3                              
ffc1f540:	54 63 04 3e 	clrlwi  r3,r3,16                               
ffc1f544:	b0 6b 00 04 	sth     r3,4(r11)                              
		 * 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);                                         
		if (days != lastday) {                                              
ffc1f548:	41 9e 00 c8 	beq-    cr7,ffc1f610 <msdos_date_unix2dos+0x164>
			lastday = days;                                                    
ffc1f54c:	91 2b 00 08 	stw     r9,8(r11)                              
			for (year = 1970;; year++) {                                       
ffc1f550:	39 40 07 b2 	li      r10,1970                               
ffc1f554:	48 00 00 0c 	b       ffc1f560 <msdos_date_unix2dos+0xb4>    
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
ffc1f558:	7d 28 48 50 	subf    r9,r8,r9                               
		 * and month stuff.                                                 
		 */                                                                 
		days = t / (SECONDSPERDAY);                                         
		if (days != lastday) {                                              
			lastday = days;                                                    
			for (year = 1970;; year++) {                                       
ffc1f55c:	39 4a 00 01 	addi    r10,r10,1                              
				inc = year & 0x03 ? 365 : 366;                                    
ffc1f560:	71 48 00 03 	andi.   r8,r10,3                               
ffc1f564:	7d 00 00 26 	mfcr    r8                                     
ffc1f568:	55 08 1f fe 	rlwinm  r8,r8,3,31,31                          
ffc1f56c:	39 08 01 6d 	addi    r8,r8,365                              
				if (days < inc)                                                   
ffc1f570:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc1f574:	40 9c ff e4 	bge+    cr7,ffc1f558 <msdos_date_unix2dos+0xac>
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
ffc1f578:	3c e0 00 00 	lis     r7,0                                   
ffc1f57c:	38 e7 22 60 	addi    r7,r7,8800                             
ffc1f580:	41 82 00 64 	beq-    ffc1f5e4 <msdos_date_unix2dos+0x138>   <== ALWAYS TAKEN
			for (month = 0; month < 12; month++) {                             
ffc1f584:	39 00 00 0c 	li      r8,12                                  
ffc1f588:	7d 09 03 a6 	mtctr   r8                                     
/*                                                                    
 * 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,                    
ffc1f58c:	38 e7 ff fe 	addi    r7,r7,-2                               
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
ffc1f590:	38 c0 00 00 	li      r6,0                                   
				if (days < months[month])                                         
ffc1f594:	a5 07 00 02 	lhzu    r8,2(r7)                               
ffc1f598:	7f 88 48 40 	cmplw   cr7,r8,r9                              
ffc1f59c:	41 9d 00 50 	bgt-    cr7,ffc1f5ec <msdos_date_unix2dos+0x140><== ALWAYS TAKEN
					break;                                                           
				days -= months[month];                                            
ffc1f5a0:	7d 28 48 50 	subf    r9,r8,r9                               <== NOT EXECUTED
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
ffc1f5a4:	38 c6 00 01 	addi    r6,r6,1                                <== NOT EXECUTED
ffc1f5a8:	42 00 ff ec 	bdnz+   ffc1f594 <msdos_date_unix2dos+0xe8>    <== NOT EXECUTED
ffc1f5ac:	39 00 01 a0 	li      r8,416                                 <== NOT EXECUTED
			 * 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)                                                   
ffc1f5b0:	2b 8a 07 bc 	cmplwi  cr7,r10,1980                           
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
					break;                                                           
				days -= months[month];                                            
			}                                                                  
			lastddate = ((days + 1) << MSDOS_DD_DAY_SHIFT)                     
ffc1f5b4:	39 08 00 01 	addi    r8,r8,1                                
ffc1f5b8:	7d 28 4a 14 	add     r9,r8,r9                               
ffc1f5bc:	55 29 04 3e 	clrlwi  r9,r9,16                               
			 * 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)                                                   
ffc1f5c0:	40 9d 00 14 	ble-    cr7,ffc1f5d4 <msdos_date_unix2dos+0x128><== NEVER TAKEN
				lastddate += (year - 1980) <<                                     
ffc1f5c4:	39 4a f8 44 	addi    r10,r10,-1980                          
ffc1f5c8:	55 4a 48 2c 	rlwinm  r10,r10,9,0,22                         
ffc1f5cc:	7d 29 52 14 	add     r9,r9,r10                              
ffc1f5d0:	55 29 04 3e 	clrlwi  r9,r9,16                               
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc1f5d4:	b0 65 00 00 	sth     r3,0(r5)                               
			 * 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) <<                                     
ffc1f5d8:	b1 2b 00 06 	sth     r9,6(r11)                              
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
	*ddp = lastddate;                                                    
ffc1f5dc:	b1 24 00 00 	sth     r9,0(r4)                               
ffc1f5e0:	4e 80 00 20 	blr                                            
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
ffc1f5e4:	38 e7 00 18 	addi    r7,r7,24                               
ffc1f5e8:	4b ff ff 9c 	b       ffc1f584 <msdos_date_unix2dos+0xd8>    
ffc1f5ec:	54 c8 04 3e 	clrlwi  r8,r6,16                               
ffc1f5f0:	39 08 00 01 	addi    r8,r8,1                                
ffc1f5f4:	55 08 2c 34 	rlwinm  r8,r8,5,16,26                          
ffc1f5f8:	4b ff ff b8 	b       ffc1f5b0 <msdos_date_unix2dos+0x104>   
ffc1f5fc:	a0 6b 00 04 	lhz     r3,4(r11)                              
ffc1f600:	a1 2b 00 06 	lhz     r9,6(r11)                              
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc1f604:	b0 65 00 00 	sth     r3,0(r5)                               
	*ddp = lastddate;                                                    
ffc1f608:	b1 24 00 00 	sth     r9,0(r4)                               
ffc1f60c:	4e 80 00 20 	blr                                            
ffc1f610:	a1 2b 00 06 	lhz     r9,6(r11)                              
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
ffc1f614:	b0 65 00 00 	sth     r3,0(r5)                               
	*ddp = lastddate;                                                    
ffc1f618:	b1 24 00 00 	sth     r9,0(r4)                               
ffc1f61c:	4e 80 00 20 	blr                                            
                                                                      

ffc1cec8 <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 ) {
ffc1cec8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1cecc:	7c 08 02 a6 	mflr    r0                                     
    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;                                                 
ffc1ced0:	39 20 00 00 	li      r9,0                                   
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1ced4:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1ced8:	93 61 00 24 	stw     r27,36(r1)                             
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1cedc:	83 63 00 08 	lwz     r27,8(r3)                              
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1cee0:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc1cee4:	7c 95 23 78 	mr      r21,r4                                 
ffc1cee8:	92 c1 00 10 	stw     r22,16(r1)                             
ffc1ceec:	7c b6 2b 78 	mr      r22,r5                                 
ffc1cef0:	92 e1 00 14 	stw     r23,20(r1)                             
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1cef4:	3e e0 ff c3 	lis     r23,-61                                
ffc1cef8:	3a f7 10 08 	addi    r23,r23,4104                           
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1cefc:	93 01 00 18 	stw     r24,24(r1)                             
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
ffc1cf00:	3b 00 00 00 	li      r24,0                                  
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1cf04:	93 21 00 1c 	stw     r25,28(r1)                             
             */                                                       
            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,     
ffc1cf08:	3f 20 ff c3 	lis     r25,-61                                
ffc1cf0c:	3b 39 0f fc 	addi    r25,r25,4092                           
msdos_dir_is_empty(                                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd,                     
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
ffc1cf10:	93 41 00 20 	stw     r26,32(r1)                             
ffc1cf14:	93 81 00 28 	stw     r28,40(r1)                             
ffc1cf18:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1cf1c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1cf20:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1cf24:	a3 9b 00 00 	lhz     r28,0(r27)                             
    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;                                                 
ffc1cf28:	99 25 00 00 	stb     r9,0(r5)                               
ffc1cf2c:	83 5b 00 a0 	lwz     r26,160(r27)                           
                                                                      
    while ((ret = fat_file_read(&fs_info->fat, fat_fd, j * fs_info->fat.vol.bps,
ffc1cf30:	7c bc c1 d6 	mullw   r5,r28,r24                             
ffc1cf34:	7f 63 db 78 	mr      r3,r27                                 
ffc1cf38:	7e a4 ab 78 	mr      r4,r21                                 
ffc1cf3c:	7f 86 e3 78 	mr      r6,r28                                 
ffc1cf40:	7f 47 d3 78 	mr      r7,r26                                 
ffc1cf44:	4b ff 92 69 	bl      ffc161ac <fat_file_read>               
ffc1cf48:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1cf4c:	41 82 00 e8 	beq-    ffc1d034 <msdos_dir_is_empty+0x16c>    <== NEVER TAKEN
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1cf50:	2f 83 00 1f 	cmpwi   cr7,r3,31                              
ffc1cf54:	40 9d 00 f0 	ble-    cr7,ffc1d044 <msdos_dir_is_empty+0x17c><== NEVER TAKEN
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1cf58:	a3 9b 00 00 	lhz     r28,0(r27)                             
ffc1cf5c:	7f 9c 18 00 	cmpw    cr7,r28,r3                             
ffc1cf60:	40 9e 00 ec 	bne-    cr7,ffc1d04c <msdos_dir_is_empty+0x184><== NEVER TAKEN
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1cf64:	41 82 00 c4 	beq-    ffc1d028 <msdos_dir_is_empty+0x160>    <== NEVER TAKEN
ffc1cf68:	83 5b 00 a0 	lwz     r26,160(r27)                           
ffc1cf6c:	3b c0 00 00 	li      r30,0                                  
ffc1cf70:	7f 5f d3 78 	mr      r31,r26                                
             * 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)) ==                    
ffc1cf74:	8b bf 00 00 	lbz     r29,0(r31)                             
ffc1cf78:	2f 9d 00 e5 	cmpwi   cr7,r29,229                            
ffc1cf7c:	41 9e 00 94 	beq-    cr7,ffc1d010 <msdos_dir_is_empty+0x148><== NEVER TAKEN
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
ffc1cf80:	89 3f 00 0b 	lbz     r9,11(r31)                             
             *                                                        
             * 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) ||                       
ffc1cf84:	55 29 06 be 	clrlwi  r9,r9,26                               
ffc1cf88:	2f 89 00 0f 	cmpwi   cr7,r9,15                              
ffc1cf8c:	41 9e 00 84 	beq-    cr7,ffc1d010 <msdos_dir_is_empty+0x148><== NEVER TAKEN
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
ffc1cf90:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cf94:	7f 24 cb 78 	mr      r4,r25                                 
ffc1cf98:	38 a0 00 0b 	li      r5,11                                  
ffc1cf9c:	48 00 56 e9 	bl      ffc22684 <strncmp>                     
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
ffc1cfa0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cfa4:	41 9e 00 6c 	beq-    cr7,ffc1d010 <msdos_dir_is_empty+0x148>
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
ffc1cfa8:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cfac:	7e e4 bb 78 	mr      r4,r23                                 
ffc1cfb0:	38 a0 00 0b 	li      r5,11                                  
ffc1cfb4:	48 00 56 d1 	bl      ffc22684 <strncmp>                     
            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) ||               
ffc1cfb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cfbc:	41 9e 00 54 	beq-    cr7,ffc1d010 <msdos_dir_is_empty+0x148>
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1cfc0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
            }                                                         
                                                                      
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
ffc1cfc4:	38 60 00 00 	li      r3,0                                   
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
ffc1cfc8:	40 9e 00 0c 	bne-    cr7,ffc1cfd4 <msdos_dir_is_empty+0x10c>
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                *ret_val = true;                                      
ffc1cfcc:	39 20 00 01 	li      r9,1                                   
ffc1cfd0:	99 36 00 00 	stb     r9,0(r22)                              
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
    return RC_OK;                                                     
}                                                                     
ffc1cfd4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1cfd8:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc1cfdc:	7c 08 03 a6 	mtlr    r0                                     
ffc1cfe0:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc1cfe4:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc1cfe8:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1cfec:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1cff0:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1cff4:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1cff8:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1cffc:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1d000:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1d004:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1d008:	38 21 00 38 	addi    r1,r1,56                               
ffc1d00c:	4e 80 00 20 	blr                                            
        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)                  
ffc1d010:	3b de 00 20 	addi    r30,r30,32                             
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
ffc1d014:	7f 9e e0 40 	cmplw   cr7,r30,r28                            
ffc1d018:	3b ff 00 20 	addi    r31,r31,32                             
ffc1d01c:	41 9c ff 58 	blt+    cr7,ffc1cf74 <msdos_dir_is_empty+0xac> <== ALWAYS TAKEN
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
ffc1d020:	3b 18 00 01 	addi    r24,r24,1                              <== NOT EXECUTED
ffc1d024:	4b ff ff 0c 	b       ffc1cf30 <msdos_dir_is_empty+0x68>     <== NOT EXECUTED
ffc1d028:	83 5b 00 a0 	lwz     r26,160(r27)                           <== NOT EXECUTED
ffc1d02c:	3b 18 00 01 	addi    r24,r24,1                              <== NOT EXECUTED
ffc1d030:	4b ff ff 00 	b       ffc1cf30 <msdos_dir_is_empty+0x68>     <== NOT EXECUTED
    }                                                                 
    *ret_val = true;                                                  
ffc1d034:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc1d038:	99 36 00 00 	stb     r9,0(r22)                              <== NOT EXECUTED
    return RC_OK;                                                     
ffc1d03c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1d040:	4b ff ff 94 	b       ffc1cfd4 <msdos_dir_is_empty+0x10c>    <== NOT EXECUTED
    while ((ret = fat_file_read(&fs_info->fat, fat_fd, j * fs_info->fat.vol.bps,
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            return -1;                                                
ffc1d044:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1d048:	4b ff ff 8c 	b       ffc1cfd4 <msdos_dir_is_empty+0x10c>    <== NOT EXECUTED
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
ffc1d04c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1d050:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1d054:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1d058:	38 63 0f 94 	addi    r3,r3,3988                             <== NOT EXECUTED
ffc1d05c:	38 80 03 65 	li      r4,869                                 <== NOT EXECUTED
ffc1d060:	38 a5 0f 1c 	addi    r5,r5,3868                             <== NOT EXECUTED
ffc1d064:	38 c6 0f e0 	addi    r6,r6,4064                             <== NOT EXECUTED
ffc1d068:	4b fe 94 c5 	bl      ffc0652c <__assert_func>               <== NOT EXECUTED
                                                                      

ffc1f91c <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) {
ffc1f91c:	94 21 fe 70 	stwu    r1,-400(r1)                            <== NOT EXECUTED
ffc1f920:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc1f924:	7d 80 00 26 	mfcr    r12                                    <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
ffc1f928:	39 20 00 00 	li      r9,0                                   <== 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)        
{                                                                     
ffc1f92c:	90 01 01 94 	stw     r0,404(r1)                             <== 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);                      
ffc1f930:	38 c0 01 18 	li      r6,280                                 <== 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)        
{                                                                     
ffc1f934:	93 81 01 80 	stw     r28,384(r1)                            <== NOT EXECUTED
ffc1f938:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1f93c:	81 43 00 28 	lwz     r10,40(r3)                             <== 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)        
{                                                                     
ffc1f940:	92 e1 01 6c 	stw     r23,364(r1)                            <== NOT EXECUTED
ffc1f944:	7c 97 23 78 	mr      r23,r4                                 <== NOT EXECUTED
ffc1f948:	93 01 01 70 	stw     r24,368(r1)                            <== 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);                      
ffc1f94c:	80 9c 00 0c 	lwz     r4,12(r28)                             <== NOT EXECUTED
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;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc1f950:	83 03 00 1c 	lwz     r24,28(r3)                             <== 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);                      
ffc1f954:	80 63 00 08 	lwz     r3,8(r3)                               <== 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)        
{                                                                     
ffc1f958:	93 e1 01 8c 	stw     r31,396(r1)                            <== NOT EXECUTED
ffc1f95c:	7c bf 2b 78 	mr      r31,r5                                 <== 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);                      
ffc1f960:	38 a0 00 00 	li      r5,0                                   <== 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)        
{                                                                     
ffc1f964:	91 c1 01 48 	stw     r14,328(r1)                            <== 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);  
ffc1f968:	57 ff e8 fe 	rlwinm  r31,r31,29,3,31                        <== 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)        
{                                                                     
ffc1f96c:	92 01 01 50 	stw     r16,336(r1)                            <== NOT EXECUTED
ffc1f970:	93 a1 01 84 	stw     r29,388(r1)                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1f974:	81 ca 00 08 	lwz     r14,8(r10)                             <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
ffc1f978:	91 21 01 34 	stw     r9,308(r1)                             <== NOT EXECUTED
    uint32_t           start = 0;                                     
    ssize_t            ret = 0;                                       
    uint32_t           cmpltd = 0;                                    
    uint32_t           j = 0, i = 0;                                  
    uint32_t           bts2rd = 0;                                    
    uint32_t           cur_cln = 0;                                   
ffc1f97c:	91 21 01 30 	stw     r9,304(r1)                             <== 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)        
{                                                                     
ffc1f980:	91 e1 01 4c 	stw     r15,332(r1)                            <== NOT EXECUTED
ffc1f984:	92 21 01 54 	stw     r17,340(r1)                            <== NOT EXECUTED
ffc1f988:	92 41 01 58 	stw     r18,344(r1)                            <== NOT EXECUTED
ffc1f98c:	92 61 01 5c 	stw     r19,348(r1)                            <== NOT EXECUTED
ffc1f990:	92 81 01 60 	stw     r20,352(r1)                            <== NOT EXECUTED
ffc1f994:	92 a1 01 64 	stw     r21,356(r1)                            <== NOT EXECUTED
ffc1f998:	92 c1 01 68 	stw     r22,360(r1)                            <== NOT EXECUTED
ffc1f99c:	93 21 01 74 	stw     r25,372(r1)                            <== NOT EXECUTED
ffc1f9a0:	93 41 01 78 	stw     r26,376(r1)                            <== NOT EXECUTED
ffc1f9a4:	93 61 01 7c 	stw     r27,380(r1)                            <== NOT EXECUTED
ffc1f9a8:	93 c1 01 88 	stw     r30,392(r1)                            <== NOT EXECUTED
ffc1f9ac:	91 81 01 44 	stw     r12,324(r1)                            <== 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);                      
ffc1f9b0:	4b fe 18 81 	bl      ffc01230 <__divdi3>                    <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
ffc1f9b4:	3d 40 0e a0 	lis     r10,3744                               <== 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                              :     
ffc1f9b8:	81 38 00 20 	lwz     r9,32(r24)                             <== 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);  
ffc1f9bc:	61 4a ea 0f 	ori     r10,r10,59919                          <== NOT EXECUTED
ffc1f9c0:	7f bf 50 16 	mulhwu  r29,r31,r10                            <== 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                              :     
ffc1f9c4:	2f 89 00 01 	cmpwi   cr7,r9,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);  
ffc1f9c8:	57 bd f8 7e 	rlwinm  r29,r29,31,1,31                        <== 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);                      
ffc1f9cc:	7c 90 23 78 	mr      r16,r4                                 <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
ffc1f9d0:	1f bd 01 18 	mulli   r29,r29,280                            <== 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                              :     
ffc1f9d4:	41 9e 03 d4 	beq-    cr7,ffc1fda8 <msdos_dir_read+0x48c>    <== NOT EXECUTED
ffc1f9d8:	a2 8e 00 06 	lhz     r20,6(r14)                             <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1f9dc:	80 6e 00 9c 	lwz     r3,156(r14)                            <== NOT EXECUTED
ffc1f9e0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1f9e4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc1f9e8:	4b fe c1 ed 	bl      ffc0bbd4 <rtems_semaphore_obtain>      <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1f9ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1f9f0:	40 9e 04 68 	bne-    cr7,ffc1fe58 <msdos_dir_read+0x53c>    <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    while (count > 0)                                                 
ffc1f9f4:	2e 1d 00 00 	cmpwi   cr4,r29,0                              <== NOT EXECUTED
ffc1f9f8:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1f9fc:	41 92 00 d0 	beq-    cr4,ffc1facc <msdos_dir_read+0x1b0>    <== NOT EXECUTED
ffc1fa00:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc1fa04:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc1fa08:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
ffc1fa0c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1fa10:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
                 */                                                   
                if ((lfn_entries != (*MSDOS_DIR_ENTRY_TYPE(entry) &   
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
ffc1fa14:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
                     * 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);    
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
ffc1fa18:	3a 61 00 1c 	addi    r19,r1,28                              <== 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);          
ffc1fa1c:	3a c0 01 18 	li      r22,280                                <== 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),      
ffc1fa20:	80 ee 00 a0 	lwz     r7,160(r14)                            <== NOT EXECUTED
ffc1fa24:	7d c3 73 78 	mr      r3,r14                                 <== NOT EXECUTED
ffc1fa28:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1fa2c:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc1fa30:	7e 86 a3 78 	mr      r6,r20                                 <== NOT EXECUTED
ffc1fa34:	4b ff 67 79 	bl      ffc161ac <fat_file_read>               <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1fa38:	2f 83 00 1f 	cmpwi   cr7,r3,31                              <== 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),      
ffc1fa3c:	7c 71 1b 78 	mr      r17,r3                                 <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
ffc1fa40:	40 9d 04 10 	ble-    cr7,ffc1fe50 <msdos_dir_read+0x534>    <== 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;                
ffc1fa44:	82 4e 00 a0 	lwz     r18,160(r14)                           <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1fa48:	89 52 00 00 	lbz     r10,0(r18)                             <== NOT EXECUTED
ffc1fa4c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc1fa50:	41 9e 02 e8 	beq-    cr7,ffc1fd38 <msdos_dir_read+0x41c>    <== NOT EXECUTED
ffc1fa54:	39 e0 00 00 	li      r15,0                                  <== NOT EXECUTED
ffc1fa58:	48 00 00 28 	b       ffc1fa80 <msdos_dir_read+0x164>        <== NOT EXECUTED
            /* Is the directory entry empty */                        
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) == MSDOS_THIS_DIR_ENTRY_EMPTY)
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
ffc1fa5c:	41 9e 00 84 	beq-    cr7,ffc1fae0 <msdos_dir_read+0x1c4>    <== 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)  
ffc1fa60:	39 ef 00 20 	addi    r15,r15,32                             <== NOT EXECUTED
ffc1fa64:	7f 8f 88 40 	cmplw   cr7,r15,r17                            <== NOT EXECUTED
ffc1fa68:	40 9c 00 58 	bge-    cr7,ffc1fac0 <msdos_dir_read+0x1a4>    <== NOT EXECUTED
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
ffc1fa6c:	80 ee 00 a0 	lwz     r7,160(r14)                            <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1fa70:	7d 47 78 ae 	lbzx    r10,r7,r15                             <== 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;                
ffc1fa74:	7e 47 7a 14 	add     r18,r7,r15                             <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
ffc1fa78:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc1fa7c:	41 9e 02 bc 	beq-    cr7,ffc1fd38 <msdos_dir_read+0x41c>    <== 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)
ffc1fa80:	2f 8a 00 e5 	cmpwi   cr7,r10,229                            <== NOT EXECUTED
ffc1fa84:	41 be ff dc 	beq-    cr7,ffc1fa60 <msdos_dir_read+0x144>    <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
ffc1fa88:	88 f2 00 0b 	lbz     r7,11(r18)                             <== NOT EXECUTED
ffc1fa8c:	54 e6 07 38 	rlwinm  r6,r7,0,28,28                          <== NOT EXECUTED
ffc1fa90:	70 c9 00 ff 	andi.   r9,r6,255                              <== NOT EXECUTED
ffc1fa94:	54 e7 06 be 	clrlwi  r7,r7,26                               <== NOT EXECUTED
ffc1fa98:	2f 87 00 0f 	cmpwi   cr7,r7,15                              <== NOT EXECUTED
ffc1fa9c:	40 a2 ff c0 	bne-    ffc1fa5c <msdos_dir_read+0x140>        <== 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) ==     
ffc1faa0:	41 9e 00 40 	beq-    cr7,ffc1fae0 <msdos_dir_read+0x1c4>    <== NOT EXECUTED
                fat_dir_pos_t dir_pos;                                
                                                                      
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
ffc1faa4:	2f 90 00 00 	cmpwi   cr7,r16,0                              <== NOT EXECUTED
ffc1faa8:	41 9e 00 d4 	beq-    cr7,ffc1fb7c <msdos_dir_read+0x260>    <== 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)  
ffc1faac:	39 ef 00 20 	addi    r15,r15,32                             <== NOT EXECUTED
ffc1fab0:	7f 8f 88 40 	cmplw   cr7,r15,r17                            <== NOT EXECUTED
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
                    start--;                                          
ffc1fab4:	3a 10 ff ff 	addi    r16,r16,-1                             <== NOT EXECUTED
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
ffc1fab8:	3b e0 ff ff 	li      r31,-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)  
ffc1fabc:	41 9c ff b0 	blt+    cr7,ffc1fa6c <msdos_dir_read+0x150>    <== NOT EXECUTED
ffc1fac0:	7f 5a a2 14 	add     r26,r26,r20                            <== 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)                                                 
ffc1fac4:	40 92 ff 5c 	bne+    cr4,ffc1fa20 <msdos_dir_read+0x104>    <== NOT EXECUTED
ffc1fac8:	7f ca f3 78 	mr      r10,r30                                <== NOT EXECUTED
                break;                                                
        }                                                             
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1facc:	80 6e 00 9c 	lwz     r3,156(r14)                            <== NOT EXECUTED
ffc1fad0:	91 41 01 38 	stw     r10,312(r1)                            <== NOT EXECUTED
ffc1fad4:	4b fe c2 a1 	bl      ffc0bd74 <rtems_semaphore_release>     <== NOT EXECUTED
ffc1fad8:	81 41 01 38 	lwz     r10,312(r1)                            <== NOT EXECUTED
ffc1fadc:	48 00 02 68 	b       ffc1fd44 <msdos_dir_read+0x428>        <== NOT EXECUTED
                int   q;                                              
                                                                      
                /*                                                    
                 * Is this is the first entry of a LFN ?              
                 */                                                   
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
ffc1fae0:	2f 9f ff ff 	cmpwi   cr7,r31,-1                             <== NOT EXECUTED
ffc1fae4:	41 9e 02 24 	beq-    cr7,ffc1fd08 <msdos_dir_read+0x3ec>    <== 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) &   
ffc1fae8:	89 52 00 00 	lbz     r10,0(r18)                             <== NOT EXECUTED
ffc1faec:	55 4a 06 be 	clrlwi  r10,r10,26                             <== NOT EXECUTED
ffc1faf0:	7f 8a d8 00 	cmpw    cr7,r10,r27                            <== NOT EXECUTED
ffc1faf4:	41 9e 00 0c 	beq-    cr7,ffc1fb00 <msdos_dir_read+0x1e4>    <== NOT EXECUTED
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
ffc1faf8:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1fafc:	4b ff ff 64 	b       ffc1fa60 <msdos_dir_read+0x144>        <== NOT EXECUTED
                 * be orphaned entries depending on the history of the
                 * disk.                                              
                 */                                                   
                if ((lfn_entries != (*MSDOS_DIR_ENTRY_TYPE(entry) &   
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
ffc1fb00:	88 72 00 0d 	lbz     r3,13(r18)                             <== 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)) ||  
ffc1fb04:	7f 83 a8 00 	cmpw    cr7,r3,r21                             <== NOT EXECUTED
ffc1fb08:	40 9e ff f0 	bne+    cr7,ffc1faf8 <msdos_dir_read+0x1dc>    <== 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--;                                        
ffc1fb0c:	3b 7b ff ff 	addi    r27,r27,-1                             <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc1fb10:	1c 1b 00 0d 	mulli   r0,r27,13                              <== NOT EXECUTED
ffc1fb14:	2b 80 00 ff 	cmplwi  cr7,r0,255                             <== 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)        
ffc1fb18:	21 20 01 00 	subfic  r9,r0,256                              <== 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;                                        
ffc1fb1c:	39 72 00 01 	addi    r11,r18,1                              <== NOT EXECUTED
 * RETURNS:                                                           
 *     the number of bytes read on success, or -1 if error occured (errno
 *     set apropriately).                                             
 */                                                                   
ssize_t                                                               
msdos_dir_read(rtems_libio_t *iop, void *buffer, size_t count)        
ffc1fb20:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
                 * fit in the directory entry name field.             
                 */                                                   
                                                                      
                lfn_entries--;                                        
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
ffc1fb24:	7c 0a 03 78 	mr      r10,r0                                 <== NOT EXECUTED
ffc1fb28:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1fb2c:	41 9d 03 b0 	bgt-    cr7,ffc1fedc <msdos_dir_read+0x5c0>    <== 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)        
ffc1fb30:	7c e0 50 50 	subf    r7,r0,r10                              <== NOT EXECUTED
ffc1fb34:	39 21 00 08 	addi    r9,r1,8                                <== NOT EXECUTED
ffc1fb38:	7c a9 52 14 	add     r5,r9,r10                              <== 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++)         
ffc1fb3c:	2f 06 00 0d 	cmpwi   cr6,r6,13                              <== NOT EXECUTED
                    tmp_dirent.d_name[o++] = *p;                      
                                                                      
                    if (*p == '\0')                                   
                        break;                                        
                                                                      
                    switch (q)                                        
ffc1fb40:	2f 87 00 04 	cmpwi   cr7,r7,4                               <== NOT EXECUTED
ffc1fb44:	2c 87 00 0a 	cmpwi   cr1,r7,10                              <== NOT EXECUTED
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
                {                                                     
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
ffc1fb48:	39 4a 00 01 	addi    r10,r10,1                              <== 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))         
ffc1fb4c:	42 40 02 7c 	bdz-    ffc1fdc8 <msdos_dir_read+0x4ac>        <== NOT EXECUTED
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
ffc1fb50:	88 8b 00 00 	lbz     r4,0(r11)                              <== NOT EXECUTED
ffc1fb54:	98 85 00 14 	stb     r4,20(r5)                              <== NOT EXECUTED
                                                                      
                    if (*p == '\0')                                   
ffc1fb58:	88 ab 00 00 	lbz     r5,0(r11)                              <== NOT EXECUTED
ffc1fb5c:	2c 05 00 00 	cmpwi   r5,0                                   <== NOT EXECUTED
ffc1fb60:	41 82 02 68 	beq-    ffc1fdc8 <msdos_dir_read+0x4ac>        <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
ffc1fb64:	41 9e 02 7c 	beq-    cr7,ffc1fde0 <msdos_dir_read+0x4c4>    <== NOT EXECUTED
ffc1fb68:	41 86 02 6c 	beq-    cr1,ffc1fdd4 <msdos_dir_read+0x4b8>    <== NOT EXECUTED
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
                            break;                                    
                        default:                                      
                            p += 2;                                   
ffc1fb6c:	39 6b 00 02 	addi    r11,r11,2                              <== 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++)         
ffc1fb70:	41 9a 02 58 	beq-    cr6,ffc1fdc8 <msdos_dir_read+0x4ac>    <== NOT EXECUTED
ffc1fb74:	38 c6 00 01 	addi    r6,r6,1                                <== NOT EXECUTED
ffc1fb78:	4b ff ff b8 	b       ffc1fb30 <msdos_dir_read+0x214>        <== 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, 
ffc1fb7c:	7d c3 73 78 	mr      r3,r14                                 <== NOT EXECUTED
ffc1fb80:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc1fb84:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1fb88:	7f 46 d3 78 	mr      r6,r26                                 <== NOT EXECUTED
ffc1fb8c:	38 e1 01 30 	addi    r7,r1,304                              <== NOT EXECUTED
ffc1fb90:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1fb94:	4b ff 6a d1 	bl      ffc16664 <fat_file_ioctl>              <== NOT EXECUTED
                                    j * bts2rd, &cur_cln);            
                if (rc != RC_OK)                                      
ffc1fb98:	7c 6a 1b 79 	mr.     r10,r3                                 <== NOT EXECUTED
ffc1fb9c:	40 a2 ff 30 	bne-    ffc1facc <msdos_dir_read+0x1b0>        <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
ffc1fba0:	81 41 01 30 	lwz     r10,304(r1)                            <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
                rc = fat_file_open(&fs_info->fat, &dir_pos, &tmp_fat_fd);
ffc1fba4:	7d c3 73 78 	mr      r3,r14                                 <== NOT EXECUTED
ffc1fba8:	38 81 01 20 	addi    r4,r1,288                              <== 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;                           
ffc1fbac:	93 21 01 28 	stw     r25,296(r1)                            <== NOT EXECUTED
ffc1fbb0:	38 a1 01 34 	addi    r5,r1,308                              <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
ffc1fbb4:	91 41 01 20 	stw     r10,288(r1)                            <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1fbb8:	93 21 01 2c 	stw     r25,300(r1)                            <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
ffc1fbbc:	91 e1 01 24 	stw     r15,292(r1)                            <== NOT EXECUTED
                rc = fat_file_open(&fs_info->fat, &dir_pos, &tmp_fat_fd);
ffc1fbc0:	4b ff 62 d5 	bl      ffc15e94 <fat_file_open>               <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc1fbc4:	7c 6a 1b 79 	mr.     r10,r3                                 <== NOT EXECUTED
ffc1fbc8:	40 a2 ff 04 	bne-    ffc1facc <msdos_dir_read+0x1b0>        <== 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)                 
ffc1fbcc:	2f 9f ff ff 	cmpwi   cr7,r31,-1                             <== NOT EXECUTED
                                                                      
                /* fill in dirent structure */                        
                /* XXX: from what and in what d_off should be computed ?! */
                tmp_dirent.d_off = start + cmpltd;                    
                tmp_dirent.d_reclen = sizeof(struct dirent);          
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc1fbd0:	81 41 01 34 	lwz     r10,308(r1)                            <== 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;                    
ffc1fbd4:	93 c1 00 14 	stw     r30,20(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc1fbd8:	81 4a 00 0c 	lwz     r10,12(r10)                            <== 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;                    
ffc1fbdc:	92 01 00 10 	stw     r16,16(r1)                             <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
ffc1fbe0:	b2 c1 00 18 	sth     r22,24(r1)                             <== NOT EXECUTED
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
ffc1fbe4:	91 41 00 08 	stw     r10,8(r1)                              <== 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)                 
ffc1fbe8:	41 9e 00 6c 	beq-    cr7,ffc1fc54 <msdos_dir_read+0x338>    <== 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;  
ffc1fbec:	39 20 00 0b 	li      r9,11                                  <== NOT EXECUTED
ffc1fbf0:	7d 29 03 a6 	mtctr   r9                                     <== 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)        
ffc1fbf4:	38 d2 ff ff 	addi    r6,r18,-1                              <== NOT EXECUTED
ffc1fbf8:	39 40 00 00 	li      r10,0                                  <== 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;  
ffc1fbfc:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc1fc00:	8c a6 00 01 	lbzu    r5,1(r6)                               <== NOT EXECUTED
ffc1fc04:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        <== NOT EXECUTED
ffc1fc08:	7d 45 52 14 	add     r10,r5,r10                             <== NOT EXECUTED
ffc1fc0c:	7d 4a 3a 14 	add     r10,r10,r7                             <== NOT EXECUTED
ffc1fc10:	55 4a 06 3e 	clrlwi  r10,r10,24                             <== NOT EXECUTED
ffc1fc14:	71 49 00 01 	andi.   r9,r10,1                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc1fc18:	42 40 00 2c 	bdz-    ffc1fc44 <msdos_dir_read+0x328>        <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
ffc1fc1c:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc1fc20:	41 a2 ff e0 	beq-    ffc1fc00 <msdos_dir_read+0x2e4>        <== NOT EXECUTED
ffc1fc24:	8c a6 00 01 	lbzu    r5,1(r6)                               <== NOT EXECUTED
ffc1fc28:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        <== NOT EXECUTED
ffc1fc2c:	38 e0 00 80 	li      r7,128                                 <== NOT EXECUTED
ffc1fc30:	7d 45 52 14 	add     r10,r5,r10                             <== NOT EXECUTED
ffc1fc34:	7d 4a 3a 14 	add     r10,r10,r7                             <== NOT EXECUTED
ffc1fc38:	55 4a 06 3e 	clrlwi  r10,r10,24                             <== NOT EXECUTED
ffc1fc3c:	71 49 00 01 	andi.   r9,r10,1                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
ffc1fc40:	42 00 ff dc 	bdnz+   ffc1fc1c <msdos_dir_read+0x300>        <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
ffc1fc44:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc1fc48:	40 9e 00 0c 	bne-    cr7,ffc1fc54 <msdos_dir_read+0x338>    <== NOT EXECUTED
ffc1fc4c:	7f 8a a8 00 	cmpw    cr7,r10,r21                            <== NOT EXECUTED
ffc1fc50:	41 9e 01 9c 	beq-    cr7,ffc1fdec <msdos_dir_read+0x4d0>    <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc1fc54:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc1fc58:	7c 89 03 a6 	mtctr   r4                                     <== NOT EXECUTED
	src_tmp = src + MSDOS_SHORT_BASE_LEN-1);                             
ffc1fc5c:	38 72 00 07 	addi    r3,r18,7                               <== 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)        
ffc1fc60:	39 52 00 08 	addi    r10,r18,8                              <== 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) &&                                                    
ffc1fc64:	8c ea ff ff 	lbzu    r7,-1(r10)                             <== NOT EXECUTED
ffc1fc68:	2f 87 00 20 	cmpwi   cr7,r7,32                              <== NOT EXECUTED
ffc1fc6c:	40 9e 01 90 	bne-    cr7,ffc1fdfc <msdos_dir_read+0x4e0>    <== NOT EXECUTED
	(*src_tmp == ' '));                                                  
       i--,src_tmp--)                                                 
ffc1fc70:	38 84 ff ff 	addi    r4,r4,-1                               <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
ffc1fc74:	42 00 ff f0 	bdnz+   ffc1fc64 <msdos_dir_read+0x348>        <== 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(
ffc1fc78:	7e 6a 9b 78 	mr      r10,r19                                <== 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) &&                                                    
ffc1fc7c:	88 f2 00 0a 	lbz     r7,10(r18)                             <== NOT EXECUTED
ffc1fc80:	2f 87 00 20 	cmpwi   cr7,r7,32                              <== NOT EXECUTED
ffc1fc84:	40 9e 02 50 	bne-    cr7,ffc1fed4 <msdos_dir_read+0x5b8>    <== NOT EXECUTED
ffc1fc88:	88 f2 00 09 	lbz     r7,9(r18)                              <== NOT EXECUTED
ffc1fc8c:	2f 87 00 20 	cmpwi   cr7,r7,32                              <== NOT EXECUTED
ffc1fc90:	40 9e 01 dc 	bne-    cr7,ffc1fe6c <msdos_dir_read+0x550>    <== NOT EXECUTED
ffc1fc94:	88 f2 00 08 	lbz     r7,8(r18)                              <== NOT EXECUTED
ffc1fc98:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc1fc9c:	2f 87 00 20 	cmpwi   cr7,r7,32                              <== NOT EXECUTED
ffc1fca0:	40 9e 01 d0 	bne-    cr7,ffc1fe70 <msdos_dir_read+0x554>    <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
ffc1fca4:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1fca8:	99 2a 00 00 	stb     r9,0(r10)                              <== 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(
ffc1fcac:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc1fcb0:	b0 81 00 1a 	sth     r4,26(r1)                              <== NOT EXECUTED
                else                                                  
                {                                                     
                    tmp_dirent.d_namlen = strlen(tmp_dirent.d_name);  
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
ffc1fcb4:	7c 77 f2 14 	add     r3,r23,r30                             <== NOT EXECUTED
ffc1fcb8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1fcbc:	38 a0 01 18 	li      r5,280                                 <== NOT EXECUTED
ffc1fcc0:	48 00 16 bd 	bl      ffc2137c <memcpy>                      <== NOT EXECUTED
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
ffc1fcc4:	81 5c 00 08 	lwz     r10,8(r28)                             <== NOT EXECUTED
ffc1fcc8:	81 7c 00 0c 	lwz     r11,12(r28)                            <== 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);       
ffc1fccc:	7d c3 73 78 	mr      r3,r14                                 <== NOT EXECUTED
ffc1fcd0:	80 81 01 34 	lwz     r4,308(r1)                             <== NOT EXECUTED
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
                cmpltd += (sizeof(struct dirent));                    
ffc1fcd4:	3b de 01 18 	addi    r30,r30,280                            <== 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);    
ffc1fcd8:	31 6b 01 18 	addic   r11,r11,280                            <== NOT EXECUTED
ffc1fcdc:	7d 4a 01 94 	addze   r10,r10                                <== NOT EXECUTED
ffc1fce0:	91 5c 00 08 	stw     r10,8(r28)                             <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
ffc1fce4:	3b bd fe e8 	addi    r29,r29,-280                           <== 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);    
ffc1fce8:	91 7c 00 0c 	stw     r11,12(r28)                            <== 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);       
ffc1fcec:	4b ff 68 75 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
                if (rc != RC_OK)                                      
ffc1fcf0:	7c 6a 1b 79 	mr.     r10,r3                                 <== NOT EXECUTED
ffc1fcf4:	40 a2 fd d8 	bne-    ffc1facc <msdos_dir_read+0x1b0>        <== NOT EXECUTED
ffc1fcf8:	2e 1d 00 00 	cmpwi   cr4,r29,0                              <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
ffc1fcfc:	40 92 fd 64 	bne+    cr4,ffc1fa60 <msdos_dir_read+0x144>    <== NOT EXECUTED
ffc1fd00:	7f ca f3 78 	mr      r10,r30                                <== NOT EXECUTED
ffc1fd04:	4b ff fd c8 	b       ffc1facc <msdos_dir_read+0x1b0>        <== 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) &               
ffc1fd08:	55 47 06 72 	rlwinm  r7,r10,0,25,25                         <== NOT EXECUTED
ffc1fd0c:	70 e9 00 ff 	andi.   r9,r7,255                              <== NOT EXECUTED
ffc1fd10:	41 82 fd 50 	beq+    ffc1fa60 <msdos_dir_read+0x144>        <== 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)        
ffc1fd14:	7f ef d2 14 	add     r31,r15,r26                            <== 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);    
ffc1fd18:	8a b2 00 0d 	lbz     r21,13(r18)                            <== NOT EXECUTED
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
ffc1fd1c:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc1fd20:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1fd24:	38 a0 01 00 	li      r5,256                                 <== NOT EXECUTED
                        continue;                                     
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
ffc1fd28:	57 ff d9 7e 	rlwinm  r31,r31,27,5,31                        <== 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) &     
ffc1fd2c:	55 5b 06 be 	clrlwi  r27,r10,26                             <== NOT EXECUTED
                                   MSDOS_LAST_LONG_ENTRY_MASK);       
                    lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);    
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
ffc1fd30:	48 00 17 41 	bl      ffc21470 <memset>                      <== NOT EXECUTED
ffc1fd34:	4b ff fd b4 	b       ffc1fae8 <msdos_dir_read+0x1cc>        <== 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);           
ffc1fd38:	80 6e 00 9c 	lwz     r3,156(r14)                            <== NOT EXECUTED
ffc1fd3c:	4b fe c0 39 	bl      ffc0bd74 <rtems_semaphore_release>     <== NOT EXECUTED
                return cmpltd;                                        
ffc1fd40:	7f ca f3 78 	mr      r10,r30                                <== NOT EXECUTED
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return cmpltd;                                                    
}                                                                     
ffc1fd44:	80 01 01 94 	lwz     r0,404(r1)                             <== NOT EXECUTED
ffc1fd48:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc1fd4c:	81 81 01 44 	lwz     r12,324(r1)                            <== NOT EXECUTED
ffc1fd50:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fd54:	81 c1 01 48 	lwz     r14,328(r1)                            <== NOT EXECUTED
ffc1fd58:	81 e1 01 4c 	lwz     r15,332(r1)                            <== NOT EXECUTED
ffc1fd5c:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc1fd60:	82 01 01 50 	lwz     r16,336(r1)                            <== NOT EXECUTED
ffc1fd64:	82 21 01 54 	lwz     r17,340(r1)                            <== NOT EXECUTED
ffc1fd68:	82 41 01 58 	lwz     r18,344(r1)                            <== NOT EXECUTED
ffc1fd6c:	82 61 01 5c 	lwz     r19,348(r1)                            <== NOT EXECUTED
ffc1fd70:	82 81 01 60 	lwz     r20,352(r1)                            <== NOT EXECUTED
ffc1fd74:	82 a1 01 64 	lwz     r21,356(r1)                            <== NOT EXECUTED
ffc1fd78:	82 c1 01 68 	lwz     r22,360(r1)                            <== NOT EXECUTED
ffc1fd7c:	82 e1 01 6c 	lwz     r23,364(r1)                            <== NOT EXECUTED
ffc1fd80:	83 01 01 70 	lwz     r24,368(r1)                            <== NOT EXECUTED
ffc1fd84:	83 21 01 74 	lwz     r25,372(r1)                            <== NOT EXECUTED
ffc1fd88:	83 41 01 78 	lwz     r26,376(r1)                            <== NOT EXECUTED
ffc1fd8c:	83 61 01 7c 	lwz     r27,380(r1)                            <== NOT EXECUTED
ffc1fd90:	83 81 01 80 	lwz     r28,384(r1)                            <== NOT EXECUTED
ffc1fd94:	83 a1 01 84 	lwz     r29,388(r1)                            <== NOT EXECUTED
ffc1fd98:	83 c1 01 88 	lwz     r30,392(r1)                            <== NOT EXECUTED
ffc1fd9c:	83 e1 01 8c 	lwz     r31,396(r1)                            <== NOT EXECUTED
ffc1fda0:	38 21 01 90 	addi    r1,r1,400                              <== NOT EXECUTED
ffc1fda4:	4e 80 00 20 	blr                                            <== 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) &&                           
ffc1fda8:	81 38 00 24 	lwz     r9,36(r24)                             <== NOT EXECUTED
ffc1fdac:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1fdb0:	40 be fc 28 	bne-    cr7,ffc1f9d8 <msdos_dir_read+0xbc>     <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
ffc1fdb4:	89 2e 00 0e 	lbz     r9,14(r14)                             <== 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) &&                           
ffc1fdb8:	71 2a 00 03 	andi.   r10,r9,3                               <== NOT EXECUTED
ffc1fdbc:	41 a2 fc 1c 	beq-    ffc1f9d8 <msdos_dir_read+0xbc>         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
ffc1fdc0:	82 98 00 18 	lwz     r20,24(r24)                            <== NOT EXECUTED
ffc1fdc4:	4b ff fc 18 	b       ffc1f9dc <msdos_dir_read+0xc0>         <== NOT EXECUTED
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
                                                                      
                    if (*p == '\0')                                   
ffc1fdc8:	7c 75 1b 78 	mr      r21,r3                                 <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
ffc1fdcc:	40 92 fc 94 	bne+    cr4,ffc1fa60 <msdos_dir_read+0x144>    <== NOT EXECUTED
ffc1fdd0:	4b ff ff 30 	b       ffc1fd00 <msdos_dir_read+0x3e4>        <== NOT EXECUTED
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
ffc1fdd4:	39 6b 00 04 	addi    r11,r11,4                              <== NOT EXECUTED
ffc1fdd8:	38 c6 00 01 	addi    r6,r6,1                                <== NOT EXECUTED
ffc1fddc:	4b ff fd 54 	b       ffc1fb30 <msdos_dir_read+0x214>        <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
ffc1fde0:	39 6b 00 05 	addi    r11,r11,5                              <== NOT EXECUTED
ffc1fde4:	38 c6 00 01 	addi    r6,r6,1                                <== NOT EXECUTED
ffc1fde8:	4b ff fd 48 	b       ffc1fb30 <msdos_dir_read+0x214>        <== 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);  
ffc1fdec:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc1fdf0:	48 00 27 f9 	bl      ffc225e8 <strlen>                      <== NOT EXECUTED
ffc1fdf4:	b0 61 00 1a 	sth     r3,26(r1)                              <== NOT EXECUTED
ffc1fdf8:	4b ff fe bc 	b       ffc1fcb4 <msdos_dir_read+0x398>        <== 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)        
ffc1fdfc:	39 41 00 08 	addi    r10,r1,8                               <== NOT EXECUTED
ffc1fe00:	38 e4 00 14 	addi    r7,r4,20                               <== NOT EXECUTED
ffc1fe04:	7c ea 3a 14 	add     r7,r10,r7                              <== NOT EXECUTED
ffc1fe08:	3d 20 00 00 	lis     r9,0                                   <== 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(
ffc1fe0c:	7c f3 38 50 	subf    r7,r19,r7                              <== NOT EXECUTED
ffc1fe10:	80 09 27 a8 	lwz     r0,10152(r9)                           <== 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)        
ffc1fe14:	38 d2 ff ff 	addi    r6,r18,-1                              <== 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(
ffc1fe18:	7c e9 03 a6 	mtctr   r7                                     <== NOT EXECUTED
ffc1fe1c:	7e 6a 9b 78 	mr      r10,r19                                <== NOT EXECUTED
ffc1fe20:	48 00 00 10 	b       ffc1fe30 <msdos_dir_read+0x514>        <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1fe24:	98 ea 00 00 	stb     r7,0(r10)                              <== NOT EXECUTED
ffc1fe28:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
ffc1fe2c:	42 40 fe 50 	bdz+    ffc1fc7c <msdos_dir_read+0x360>        <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
ffc1fe30:	8c e6 00 01 	lbzu    r7,1(r6)                               <== NOT EXECUTED
ffc1fe34:	7c a0 3a 14 	add     r5,r0,r7                               <== NOT EXECUTED
ffc1fe38:	88 a5 00 01 	lbz     r5,1(r5)                               <== NOT EXECUTED
ffc1fe3c:	54 a5 07 be 	clrlwi  r5,r5,30                               <== NOT EXECUTED
ffc1fe40:	2f 85 00 01 	cmpwi   cr7,r5,1                               <== NOT EXECUTED
ffc1fe44:	40 9e ff e0 	bne+    cr7,ffc1fe24 <msdos_dir_read+0x508>    <== NOT EXECUTED
ffc1fe48:	38 e7 00 20 	addi    r7,r7,32                               <== NOT EXECUTED
ffc1fe4c:	4b ff ff d8 	b       ffc1fe24 <msdos_dir_read+0x508>        <== 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);               
ffc1fe50:	80 6e 00 9c 	lwz     r3,156(r14)                            <== NOT EXECUTED
ffc1fe54:	4b fe bf 21 	bl      ffc0bd74 <rtems_semaphore_release>     <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
ffc1fe58:	48 00 08 45 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1fe5c:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1fe60:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1fe64:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
ffc1fe68:	4b ff fe dc 	b       ffc1fd44 <msdos_dir_read+0x428>        <== NOT EXECUTED
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
	src_tmp = src + MSDOS_SHORT_BASE_LEN+MSDOS_SHORT_EXT_LEN-1);         
       ((i > 0) &&                                                    
	(*src_tmp == ' '));                                                  
       i--,src_tmp--)                                                 
ffc1fe6c:	38 a0 00 02 	li      r5,2                                   <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1fe70:	39 20 00 2e 	li      r9,46                                  <== 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)        
ffc1fe74:	7c a9 03 a6 	mtctr   r5                                     <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
ffc1fe78:	38 e5 00 01 	addi    r7,r5,1                                <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
ffc1fe7c:	99 2a 00 00 	stb     r9,0(r10)                              <== NOT EXECUTED
ffc1fe80:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc1fe84:	38 0a 00 01 	addi    r0,r10,1                               <== NOT EXECUTED
ffc1fe88:	80 c9 27 a8 	lwz     r6,10152(r9)                           <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
ffc1fe8c:	7c 84 3a 14 	add     r4,r4,r7                               <== NOT EXECUTED
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc1fe90:	39 65 ff ff 	addi    r11,r5,-1                              <== NOT EXECUTED
ffc1fe94:	48 00 00 0c 	b       ffc1fea0 <msdos_dir_read+0x584>        <== NOT EXECUTED
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1fe98:	9c ea 00 01 	stbu    r7,1(r10)                              <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc1fe9c:	42 40 00 28 	bdz-    ffc1fec4 <msdos_dir_read+0x5a8>        <== NOT EXECUTED
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
ffc1fea0:	8c e3 00 01 	lbzu    r7,1(r3)                               <== NOT EXECUTED
ffc1fea4:	7f e6 3a 14 	add     r31,r6,r7                              <== NOT EXECUTED
ffc1fea8:	8b ff 00 01 	lbz     r31,1(r31)                             <== NOT EXECUTED
ffc1feac:	57 ff 07 be 	clrlwi  r31,r31,30                             <== NOT EXECUTED
ffc1feb0:	2f 9f 00 01 	cmpwi   cr7,r31,1                              <== NOT EXECUTED
ffc1feb4:	40 9e ff e4 	bne+    cr7,ffc1fe98 <msdos_dir_read+0x57c>    <== NOT EXECUTED
ffc1feb8:	38 e7 00 20 	addi    r7,r7,32                               <== NOT EXECUTED
ffc1febc:	9c ea 00 01 	stbu    r7,1(r10)                              <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
ffc1fec0:	42 00 ff e0 	bdnz+   ffc1fea0 <msdos_dir_read+0x584>        <== 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)        
ffc1fec4:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc1fec8:	7d 40 2a 14 	add     r10,r0,r5                              <== NOT EXECUTED
ffc1fecc:	7c 84 5a 14 	add     r4,r4,r11                              <== NOT EXECUTED
ffc1fed0:	4b ff fd d4 	b       ffc1fca4 <msdos_dir_read+0x388>        <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
  }                                                                   
  /*                                                                  
   * find last non-blank character of extension                       
   */                                                                 
  for ((i       =                            MSDOS_SHORT_EXT_LEN  ,   
ffc1fed4:	38 a0 00 03 	li      r5,3                                   <== NOT EXECUTED
ffc1fed8:	4b ff ff 98 	b       ffc1fe70 <msdos_dir_read+0x554>        <== NOT EXECUTED
ffc1fedc:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc1fee0:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc1fee4:	4b ff fc 4c 	b       ffc1fb30 <msdos_dir_read+0x214>        <== NOT EXECUTED
                                                                      

ffc1fee8 <msdos_dir_stat>: int msdos_dir_stat( const rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc1fee8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1feec:	7c 08 02 a6 	mflr    r0                                     
ffc1fef0:	7c 69 1b 78 	mr      r9,r3                                  
ffc1fef4:	90 01 00 1c 	stw     r0,28(r1)                              
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1fef8:	38 a0 00 00 	li      r5,0                                   
    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;              
ffc1fefc:	81 43 00 14 	lwz     r10,20(r3)                             
int                                                                   
msdos_dir_stat(                                                       
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc1ff00:	93 c1 00 10 	stw     r30,16(r1)                             
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
ffc1ff04:	83 ca 00 08 	lwz     r30,8(r10)                             
int                                                                   
msdos_dir_stat(                                                       
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc1ff08:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1ff0c:	7c 9f 23 78 	mr      r31,r4                                 
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ff10:	38 80 00 00 	li      r4,0                                   
ffc1ff14:	80 7e 00 9c 	lwz     r3,156(r30)                            
int                                                                   
msdos_dir_stat(                                                       
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc1ff18:	93 a1 00 0c 	stw     r29,12(r1)                             
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
ffc1ff1c:	83 a9 00 08 	lwz     r29,8(r9)                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1ff20:	4b fe bc b5 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1ff24:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1ff28:	40 82 00 84 	bne-    ffc1ffac <msdos_dir_stat+0xc4>         <== NEVER TAKEN
    buf->st_blksize = fs_info->fat.vol.bps;                           
    buf->st_mtime = fat_fd->mtime;                                    
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
}                                                                     
ffc1ff2c:	81 5e 00 64 	lwz     r10,100(r30)                           
        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;            
    buf->st_rdev = 0ll;                                               
ffc1ff30:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc1ff34:	81 3d 00 18 	lwz     r9,24(r29)                             
    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);
ffc1ff38:	80 ca 00 00 	lwz     r6,0(r10)                              
ffc1ff3c:	80 ea 00 04 	lwz     r7,4(r10)                              
    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;     
ffc1ff40:	55 24 ba 7e 	rlwinm  r4,r9,23,9,31                          
                                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;                                        
ffc1ff44:	81 5d 00 0c 	lwz     r10,12(r29)                            
    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;                           
ffc1ff48:	a0 be 00 00 	lhz     r5,0(r30)                              
    buf->st_mtime = fat_fd->mtime;                                    
ffc1ff4c:	81 1d 00 40 	lwz     r8,64(r29)                             
                                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;                                        
ffc1ff50:	91 5f 00 08 	stw     r10,8(r31)                             
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc1ff54:	39 40 41 ff 	li      r10,16895                              
ffc1ff58:	91 5f 00 0c 	stw     r10,12(r31)                            
    buf->st_rdev = 0ll;                                               
ffc1ff5c:	39 40 00 00 	li      r10,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc1ff60:	90 7f 00 20 	stw     r3,32(r31)                             
    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);
ffc1ff64:	90 df 00 00 	stw     r6,0(r31)                              
ffc1ff68:	90 ff 00 04 	stw     r7,4(r31)                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc1ff6c:	91 5f 00 18 	stw     r10,24(r31)                            
ffc1ff70:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
ffc1ff74:	91 3f 00 24 	stw     r9,36(r31)                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
ffc1ff78:	90 9f 00 44 	stw     r4,68(r31)                             
    buf->st_blksize = fs_info->fat.vol.bps;                           
ffc1ff7c:	90 bf 00 40 	stw     r5,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc1ff80:	91 1f 00 30 	stw     r8,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1ff84:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc1ff88:	4b fe bd ed 	bl      ffc0bd74 <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc1ff8c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1ff90:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1ff94:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1ff98:	7c 08 03 a6 	mtlr    r0                                     
ffc1ff9c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc1ffa0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1ffa4:	38 21 00 18 	addi    r1,r1,24                               
ffc1ffa8:	4e 80 00 20 	blr                                            
    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);                    
ffc1ffac:	48 00 06 f1 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1ffb0:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1ffb4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1ffb8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1ffbc:	4b ff ff d4 	b       ffc1ff90 <msdos_dir_stat+0xa8>         <== NOT EXECUTED
                                                                      

ffc1c658 <msdos_eval_token>:
ffc1c658:	2f 86 00 01 	cmpwi   cr7,r6,1                               
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
ffc1c65c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1c660:	7c 08 02 a6 	mflr    r0                                     
ffc1c664:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1c668:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1c66c:	90 01 00 14 	stw     r0,20(r1)                              
ffc1c670:	41 9e 00 60 	beq-    cr7,ffc1c6d0 <msdos_eval_token+0x78>   
    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);            
ffc1c674:	7c a4 2b 78 	mr      r4,r5                                  
ffc1c678:	38 7f 00 18 	addi    r3,r31,24                              
ffc1c67c:	7c c5 33 78 	mr      r5,r6                                  
ffc1c680:	48 00 1a a1 	bl      ffc1e120 <msdos_find_name>             
                                                                      
    if (rc == RC_OK) {                                                
ffc1c684:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1c688:	40 82 00 64 	bne-    ffc1c6ec <msdos_eval_token+0x94>       
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)                       
ffc1c68c:	81 5f 00 20 	lwz     r10,32(r31)                            
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc1c690:	81 3f 00 2c 	lwz     r9,44(r31)                             
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
ffc1c694:	81 4a 00 10 	lwz     r10,16(r10)                            
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
ffc1c698:	81 29 00 08 	lwz     r9,8(r9)                               
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
ffc1c69c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
ffc1c6a0:	90 7f 00 0c 	stw     r3,12(r31)                             
ffc1c6a4:	40 9e 00 78 	bne-    cr7,ffc1c71c <msdos_eval_token+0xc4>   
        loc->handlers = fs_info->directory_handlers;                  
ffc1c6a8:	81 29 00 94 	lwz     r9,148(r9)                             
ffc1c6ac:	91 3f 00 28 	stw     r9,40(r31)                             
      rtems_filesystem_eval_path_error(ctx, 0);                       
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc1c6b0:	80 01 00 14 	lwz     r0,20(r1)                              
    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)) {                 
ffc1c6b4:	80 7f 00 04 	lwz     r3,4(r31)                              
      rtems_filesystem_eval_path_error(ctx, 0);                       
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc1c6b8:	7c 08 03 a6 	mtlr    r0                                     
ffc1c6bc:	83 e1 00 0c 	lwz     r31,12(r1)                             
    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)) {                 
ffc1c6c0:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc1c6c4:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
      rtems_filesystem_eval_path_error(ctx, 0);                       
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc1c6c8:	38 21 00 10 	addi    r1,r1,16                               
ffc1c6cc:	4e 80 00 20 	blr                                            
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc1c6d0:	89 25 00 00 	lbz     r9,0(r5)                               
ffc1c6d4:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1c6d8:	40 9e ff 9c 	bne+    cr7,ffc1c674 <msdos_eval_token+0x1c>   
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
ffc1c6dc:	39 20 00 00 	li      r9,0                                   
ffc1c6e0:	91 23 00 0c 	stw     r9,12(r3)                              
  rtems_filesystem_eval_path_generic_status status =                  
    RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;                          
                                                                      
  if (rtems_filesystem_is_current_directory(token, tokenlen)) {       
    rtems_filesystem_eval_path_clear_token(ctx);                      
    status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;             
ffc1c6e4:	38 60 00 00 	li      r3,0                                   
ffc1c6e8:	48 00 00 20 	b       ffc1c708 <msdos_eval_token+0xb0>       
      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) {                      
ffc1c6ec:	2f 83 7d 01 	cmpwi   cr7,r3,32001                           
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
ffc1c6f0:	38 60 00 02 	li      r3,2                                   
      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) {                      
ffc1c6f4:	41 be 00 14 	beq+    cr7,ffc1c708 <msdos_eval_token+0xb0>   <== ALWAYS TAKEN
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, 0);                       
ffc1c6f8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1c6fc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1c700:	4b fe b6 71 	bl      ffc07d70 <rtems_filesystem_eval_path_error><== NOT EXECUTED
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc1c704:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
      rtems_filesystem_eval_path_error(ctx, 0);                       
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc1c708:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1c70c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1c710:	7c 08 03 a6 	mtlr    r0                                     
ffc1c714:	38 21 00 10 	addi    r1,r1,16                               
ffc1c718:	4e 80 00 20 	blr                                            
    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;                       
ffc1c71c:	81 29 00 98 	lwz     r9,152(r9)                             
ffc1c720:	91 3f 00 28 	stw     r9,40(r31)                             
ffc1c724:	4b ff ff 8c 	b       ffc1c6b0 <msdos_eval_token+0x58>       
                                                                      

ffc2004c <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) {
ffc2004c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc20050:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20054:	38 80 00 00 	li      r4,0                                   
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc20058:	90 01 00 14 	stw     r0,20(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc2005c:	38 a0 00 00 	li      r5,0                                   
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;     
ffc20060:	81 23 00 28 	lwz     r9,40(r3)                              
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc20064:	93 c1 00 08 	stw     r30,8(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc20068:	83 c9 00 08 	lwz     r30,8(r9)                              
 *     RC_OK, if file closed successfully, or -1 if error occured (errno set
 *     appropriately)                                                 
 */                                                                   
int                                                                   
msdos_file_close(rtems_libio_t *iop)                                  
{                                                                     
ffc2006c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc20070:	7c 7f 1b 78 	mr      r31,r3                                 
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20074:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20078:	4b fe bb 5d 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc2007c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20080:	40 9e 00 38 	bne-    cr7,ffc200b8 <msdos_file_close+0x6c>   <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = msdos_file_update(iop);                                      
ffc20084:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc20088:	38 9f 00 28 	addi    r4,r31,40                              
ffc2008c:	4b ff ff 35 	bl      ffc1ffc0 <msdos_file_update.isra.1>    
ffc20090:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc20094:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20098:	4b fe bc dd 	bl      ffc0bd74 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc2009c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc200a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc200a4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc200a8:	7c 08 03 a6 	mtlr    r0                                     
ffc200ac:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc200b0:	38 21 00 10 	addi    r1,r1,16                               
ffc200b4:	4e 80 00 20 	blr                                            
    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);                    
ffc200b8:	48 00 05 e5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc200bc:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc200c0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc200c4:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc200c8:	4b ff ff d4 	b       ffc2009c <msdos_file_close+0x50>       <== NOT EXECUTED
                                                                      

ffc203b4 <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) {
ffc203b4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc203b8:	7c 08 02 a6 	mflr    r0                                     
ffc203bc:	7c 69 1b 78 	mr      r9,r3                                  
ffc203c0:	90 01 00 34 	stw     r0,52(r1)                              
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    uint32_t old_length;                                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc203c4:	38 80 00 00 	li      r4,0                                   
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;     
ffc203c8:	81 43 00 28 	lwz     r10,40(r3)                             
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, off_t length)                
{                                                                     
ffc203cc:	93 e1 00 2c 	stw     r31,44(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc203d0:	83 ea 00 08 	lwz     r31,8(r10)                             
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, off_t length)                
{                                                                     
ffc203d4:	93 61 00 1c 	stw     r27,28(r1)                             
ffc203d8:	7c bb 2b 78 	mr      r27,r5                                 
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    uint32_t old_length;                                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc203dc:	38 a0 00 00 	li      r5,0                                   
ffc203e0:	80 7f 00 9c 	lwz     r3,156(r31)                            
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately).
 */                                                                   
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, off_t length)                
{                                                                     
ffc203e4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc203e8:	7c dd 33 78 	mr      r29,r6                                 
ffc203ec:	93 c1 00 28 	stw     r30,40(r1)                             
ffc203f0:	93 41 00 18 	stw     r26,24(r1)                             
ffc203f4:	93 81 00 20 	stw     r28,32(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc203f8:	83 c9 00 1c 	lwz     r30,28(r9)                             
    uint32_t old_length;                                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc203fc:	4b fe b7 d9 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc20400:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20404:	40 82 00 c8 	bne-    ffc204cc <msdos_file_ftruncate+0x118>  <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    old_length = fat_fd->fat_file_size;                               
    if (length < old_length) {                                        
ffc20408:	7f 83 d8 00 	cmpw    cr7,r3,r27                             
    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);                    
                                                                      
    old_length = fat_fd->fat_file_size;                               
ffc2040c:	83 5e 00 18 	lwz     r26,24(r30)                            
    if (length < old_length) {                                        
ffc20410:	41 9d 00 90 	bgt-    cr7,ffc204a0 <msdos_file_ftruncate+0xec><== NEVER TAKEN
ffc20414:	40 9e 00 0c 	bne-    cr7,ffc20420 <msdos_file_ftruncate+0x6c><== NEVER TAKEN
ffc20418:	7f 9a e8 40 	cmplw   cr7,r26,r29                            
ffc2041c:	41 9d 00 84 	bgt-    cr7,ffc204a0 <msdos_file_ftruncate+0xec>
        rc = fat_file_truncate(&fs_info->fat, fat_fd, length);        
    } else {                                                          
        uint32_t new_length;                                          
                                                                      
        rc = fat_file_extend(&fs_info->fat,                           
ffc20420:	7f e3 fb 78 	mr      r3,r31                                 
ffc20424:	7f c4 f3 78 	mr      r4,r30                                 
ffc20428:	38 a0 00 01 	li      r5,1                                   
ffc2042c:	7f a6 eb 78 	mr      r6,r29                                 
ffc20430:	38 e1 00 08 	addi    r7,r1,8                                
ffc20434:	4b ff 63 31 	bl      ffc16764 <fat_file_extend>             
                             fat_fd,                                  
                             true,                                    
                             length,                                  
                             &new_length);                            
        if (rc == RC_OK && length != new_length) {                    
ffc20438:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2043c:	40 82 00 78 	bne-    ffc204b4 <msdos_file_ftruncate+0x100>  <== NEVER TAKEN
ffc20440:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc20444:	81 21 00 08 	lwz     r9,8(r1)                               
ffc20448:	41 9e 00 78 	beq-    cr7,ffc204c0 <msdos_file_ftruncate+0x10c><== ALWAYS TAKEN
            fat_file_truncate(&fs_info->fat, fat_fd, old_length);     
ffc2044c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc20450:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc20454:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc20458:	4b ff 5f d5 	bl      ffc1642c <fat_file_truncate>           <== NOT EXECUTED
            errno = ENOSPC;                                           
            rc = -1;                                                  
ffc2045c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
                             true,                                    
                             length,                                  
                             &new_length);                            
        if (rc == RC_OK && length != new_length) {                    
            fat_file_truncate(&fs_info->fat, fat_fd, old_length);     
            errno = ENOSPC;                                           
ffc20460:	48 00 02 3d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc20464:	39 20 00 1c 	li      r9,28                                  <== NOT EXECUTED
ffc20468:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
                                                                      
    if (rc == RC_OK) {                                                
        fat_fd->fat_file_size = length;                               
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc2046c:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc20470:	4b fe b9 05 	bl      ffc0bd74 <rtems_semaphore_release>     
                                                                      
    return rc;                                                        
}                                                                     
ffc20474:	80 01 00 34 	lwz     r0,52(r1)                              
ffc20478:	7f 83 e3 78 	mr      r3,r28                                 
ffc2047c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc20480:	7c 08 03 a6 	mtlr    r0                                     
ffc20484:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc20488:	83 81 00 20 	lwz     r28,32(r1)                             
ffc2048c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc20490:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc20494:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc20498:	38 21 00 30 	addi    r1,r1,48                               
ffc2049c:	4e 80 00 20 	blr                                            
    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);        
ffc204a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc204a4:	7f c4 f3 78 	mr      r4,r30                                 
ffc204a8:	7f a5 eb 78 	mr      r5,r29                                 
ffc204ac:	4b ff 5f 81 	bl      ffc1642c <fat_file_truncate>           
ffc204b0:	7c 7c 1b 79 	mr.     r28,r3                                 
            errno = ENOSPC;                                           
            rc = -1;                                                  
        }                                                             
    }                                                                 
                                                                      
    if (rc == RC_OK) {                                                
ffc204b4:	40 a2 ff b8 	bne-    ffc2046c <msdos_file_ftruncate+0xb8>   <== NEVER TAKEN
        fat_fd->fat_file_size = length;                               
ffc204b8:	93 be 00 18 	stw     r29,24(r30)                            
ffc204bc:	4b ff ff b0 	b       ffc2046c <msdos_file_ftruncate+0xb8>   
        rc = fat_file_extend(&fs_info->fat,                           
                             fat_fd,                                  
                             true,                                    
                             length,                                  
                             &new_length);                            
        if (rc == RC_OK && length != new_length) {                    
ffc204c0:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc204c4:	40 be ff 88 	bne-    cr7,ffc2044c <msdos_file_ftruncate+0x98><== NEVER TAKEN
ffc204c8:	4b ff ff f0 	b       ffc204b8 <msdos_file_ftruncate+0x104>  
    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);                    
ffc204cc:	48 00 01 d1 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc204d0:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc204d4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc204d8:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc204dc:	4b ff ff 98 	b       ffc20474 <msdos_file_ftruncate+0xc0>   <== NOT EXECUTED
                                                                      

ffc200cc <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) {
ffc200cc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc200d0:	7c 08 02 a6 	mflr    r0                                     
ffc200d4:	90 01 00 24 	stw     r0,36(r1)                              
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc200d8:	81 23 00 28 	lwz     r9,40(r3)                              
 *     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)       
{                                                                     
ffc200dc:	93 c1 00 18 	stw     r30,24(r1)                             
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc200e0:	83 c9 00 08 	lwz     r30,8(r9)                              
 *     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)       
{                                                                     
ffc200e4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc200e8:	7c 7f 1b 78 	mr      r31,r3                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc200ec:	80 7e 00 9c 	lwz     r3,156(r30)                            
 *     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)       
{                                                                     
ffc200f0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc200f4:	7c bb 2b 78 	mr      r27,r5                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc200f8:	38 a0 00 00 	li      r5,0                                   
 *     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)       
{                                                                     
ffc200fc:	93 81 00 10 	stw     r28,16(r1)                             
ffc20100:	7c 9c 23 78 	mr      r28,r4                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20104:	38 80 00 00 	li      r4,0                                   
 *     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)       
{                                                                     
ffc20108:	93 a1 00 14 	stw     r29,20(r1)                             
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc2010c:	83 bf 00 1c 	lwz     r29,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20110:	4b fe ba c5 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc20114:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20118:	40 9e 00 74 	bne-    cr7,ffc2018c <msdos_file_read+0xc0>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    ret = fat_file_read(&fs_info->fat, fat_fd, iop->offset, count,    
ffc2011c:	80 bf 00 0c 	lwz     r5,12(r31)                             
ffc20120:	7f a4 eb 78 	mr      r4,r29                                 
ffc20124:	7f c3 f3 78 	mr      r3,r30                                 
ffc20128:	7f 66 db 78 	mr      r6,r27                                 
ffc2012c:	7f 87 e3 78 	mr      r7,r28                                 
ffc20130:	4b ff 60 7d 	bl      ffc161ac <fat_file_read>               
                        buffer);                                      
    if (ret > 0)                                                      
ffc20134:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc20138:	40 81 00 24 	ble-    ffc2015c <msdos_file_read+0x90>        
        iop->offset += ret;                                           
ffc2013c:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc20140:	7f ab eb 78 	mr      r11,r29                                
ffc20144:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc20148:	7f aa fe 70 	srawi   r10,r29,31                             
ffc2014c:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc20150:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc20154:	91 5f 00 08 	stw     r10,8(r31)                             
ffc20158:	91 7f 00 0c 	stw     r11,12(r31)                            
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc2015c:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20160:	4b fe bc 15 	bl      ffc0bd74 <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc20164:	80 01 00 24 	lwz     r0,36(r1)                              
ffc20168:	7f a3 eb 78 	mr      r3,r29                                 
ffc2016c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc20170:	7c 08 03 a6 	mtlr    r0                                     
ffc20174:	83 81 00 10 	lwz     r28,16(r1)                             
ffc20178:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2017c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc20180:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc20184:	38 21 00 20 	addi    r1,r1,32                               
ffc20188:	4e 80 00 20 	blr                                            
    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);                    
ffc2018c:	48 00 05 11 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc20190:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc20194:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc20198:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc2019c:	4b ff ff c8 	b       ffc20164 <msdos_file_read+0x98>        <== NOT EXECUTED
                                                                      

ffc202c0 <msdos_file_stat>: int msdos_file_stat( const rtems_filesystem_location_info_t *loc, struct stat *buf ) {
ffc202c0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc202c4:	7c 08 02 a6 	mflr    r0                                     
ffc202c8:	7c 69 1b 78 	mr      r9,r3                                  
ffc202cc:	90 01 00 1c 	stw     r0,28(r1)                              
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc202d0:	38 a0 00 00 	li      r5,0                                   
    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;              
ffc202d4:	81 43 00 14 	lwz     r10,20(r3)                             
int                                                                   
msdos_file_stat(                                                      
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc202d8:	93 c1 00 10 	stw     r30,16(r1)                             
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
ffc202dc:	83 ca 00 08 	lwz     r30,8(r10)                             
int                                                                   
msdos_file_stat(                                                      
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc202e0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc202e4:	7c 9f 23 78 	mr      r31,r4                                 
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc202e8:	38 80 00 00 	li      r4,0                                   
ffc202ec:	80 7e 00 9c 	lwz     r3,156(r30)                            
int                                                                   
msdos_file_stat(                                                      
    const rtems_filesystem_location_info_t *loc,                      
    struct stat *buf                                                  
)                                                                     
{                                                                     
ffc202f0:	93 81 00 08 	stw     r28,8(r1)                              
ffc202f4:	93 a1 00 0c 	stw     r29,12(r1)                             
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
ffc202f8:	a3 9e 00 06 	lhz     r28,6(r30)                             
    struct stat *buf                                                  
)                                                                     
{                                                                     
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
ffc202fc:	83 a9 00 08 	lwz     r29,8(r9)                              
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20300:	4b fe b8 d5 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc20304:	2c 03 00 00 	cmpwi   r3,0                                   
)                                                                     
{                                                                     
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = loc->mt_entry->fs_info;              
    fat_file_fd_t     *fat_fd = loc->node_access;                     
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
ffc20308:	3b 9c ff ff 	addi    r28,r28,-1                             
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc2030c:	40 82 00 94 	bne-    ffc203a0 <msdos_file_stat+0xe0>        <== NEVER TAKEN
                                                                      
    rc = fat_sync(&fs_info->fat);                                     
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return RC_OK;                                                     
}                                                                     
ffc20310:	81 5e 00 64 	lwz     r10,100(r30)                           
        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;            
    buf->st_rdev = 0ll;                                               
ffc20314:	39 60 00 00 	li      r11,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc20318:	81 3d 00 18 	lwz     r9,24(r29)                             
    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);
ffc2031c:	80 ca 00 00 	lwz     r6,0(r10)                              
ffc20320:	80 ea 00 04 	lwz     r7,4(r10)                              
    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 + cl_mask) & ~cl_mask)   
ffc20324:	7d 1c 4a 14 	add     r8,r28,r9                              
                                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;                                        
ffc20328:	81 5d 00 0c 	lwz     r10,12(r29)                            
    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 + cl_mask) & ~cl_mask)   
ffc2032c:	7d 1c e0 78 	andc    r28,r8,r28                             
      >> FAT_SECTOR512_BITS;                                          
    buf->st_blksize = fs_info->fat.vol.bpc;                           
ffc20330:	a0 be 00 06 	lhz     r5,6(r30)                              
    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 + cl_mask) & ~cl_mask)   
      >> FAT_SECTOR512_BITS;                                          
ffc20334:	57 9c ba 7e 	rlwinm  r28,r28,23,9,31                        
    buf->st_blksize = fs_info->fat.vol.bpc;                           
    buf->st_mtime = fat_fd->mtime;                                    
ffc20338:	81 1d 00 40 	lwz     r8,64(r29)                             
                                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;                                        
ffc2033c:	91 5f 00 08 	stw     r10,8(r31)                             
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
ffc20340:	39 40 00 00 	li      r10,0                                  
ffc20344:	61 4a 81 ff 	ori     r10,r10,33279                          
ffc20348:	91 5f 00 0c 	stw     r10,12(r31)                            
    buf->st_rdev = 0ll;                                               
ffc2034c:	39 40 00 00 	li      r10,0                                  
    buf->st_size = fat_fd->fat_file_size;                             
ffc20350:	90 7f 00 20 	stw     r3,32(r31)                             
    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);
ffc20354:	90 df 00 00 	stw     r6,0(r31)                              
ffc20358:	90 ff 00 04 	stw     r7,4(r31)                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
ffc2035c:	91 5f 00 18 	stw     r10,24(r31)                            
ffc20360:	91 7f 00 1c 	stw     r11,28(r31)                            
    buf->st_size = fat_fd->fat_file_size;                             
ffc20364:	91 3f 00 24 	stw     r9,36(r31)                             
    buf->st_blocks = ((fat_fd->fat_file_size + cl_mask) & ~cl_mask)   
ffc20368:	93 9f 00 44 	stw     r28,68(r31)                            
      >> FAT_SECTOR512_BITS;                                          
    buf->st_blksize = fs_info->fat.vol.bpc;                           
ffc2036c:	90 bf 00 40 	stw     r5,64(r31)                             
    buf->st_mtime = fat_fd->mtime;                                    
ffc20370:	91 1f 00 30 	stw     r8,48(r31)                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc20374:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20378:	4b fe b9 fd 	bl      ffc0bd74 <rtems_semaphore_release>     
    return RC_OK;                                                     
ffc2037c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc20380:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc20384:	83 81 00 08 	lwz     r28,8(r1)                              
ffc20388:	7c 08 03 a6 	mtlr    r0                                     
ffc2038c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc20390:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc20394:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc20398:	38 21 00 18 	addi    r1,r1,24                               
ffc2039c:	4e 80 00 20 	blr                                            
    uint32_t           cl_mask = fs_info->fat.vol.bpc - 1;            
                                                                      
    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);                    
ffc203a0:	48 00 02 fd 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc203a4:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc203a8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc203ac:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc203b0:	4b ff ff d0 	b       ffc20380 <msdos_file_stat+0xc0>        <== NOT EXECUTED
                                                                      

ffc204e0 <msdos_file_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_sync(rtems_libio_t *iop) {
ffc204e0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc204e4:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc204e8:	38 80 00 00 	li      r4,0                                   
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc204ec:	90 01 00 14 	stw     r0,20(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc204f0:	38 a0 00 00 	li      r5,0                                   
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;     
ffc204f4:	81 23 00 28 	lwz     r9,40(r3)                              
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc204f8:	93 c1 00 08 	stw     r30,8(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc204fc:	83 c9 00 08 	lwz     r30,8(r9)                              
 * RETURNS:                                                           
 *     RC_OK on success, or -1 if error occured (errno set appropriately)
 */                                                                   
int                                                                   
msdos_file_sync(rtems_libio_t *iop)                                   
{                                                                     
ffc20500:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc20504:	7c 7f 1b 78 	mr      r31,r3                                 
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc20508:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc2050c:	4b fe b6 c9 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc20510:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20514:	40 9e 00 44 	bne-    cr7,ffc20558 <msdos_file_sync+0x78>    <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = msdos_file_update(iop);                                      
ffc20518:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc2051c:	38 9f 00 28 	addi    r4,r31,40                              
ffc20520:	4b ff fa a1 	bl      ffc1ffc0 <msdos_file_update.isra.1>    
    if (rc != RC_OK)                                                  
ffc20524:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc20528:	40 82 00 0c 	bne-    ffc20534 <msdos_file_sync+0x54>        <== NEVER TAKEN
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    rc = fat_sync(&fs_info->fat);                                     
ffc2052c:	7f c3 f3 78 	mr      r3,r30                                 
ffc20530:	4b ff 7a b1 	bl      ffc17fe0 <fat_sync>                    
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc20534:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20538:	4b fe b8 3d 	bl      ffc0bd74 <rtems_semaphore_release>     
    return RC_OK;                                                     
}                                                                     
ffc2053c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc20540:	7f e3 fb 78 	mr      r3,r31                                 
ffc20544:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc20548:	7c 08 03 a6 	mtlr    r0                                     
ffc2054c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc20550:	38 21 00 10 	addi    r1,r1,16                               
ffc20554:	4e 80 00 20 	blr                                            
    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);                    
ffc20558:	48 00 01 45 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc2055c:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc20560:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc20564:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc20568:	4b ff ff d4 	b       ffc2053c <msdos_file_sync+0x5c>        <== NOT EXECUTED
                                                                      

ffc1ffc0 <msdos_file_update.isra.1>: #include "fat_file.h" #include "msdos.h" static int msdos_file_update(rtems_libio_t *iop)
ffc1ffc0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1ffc4:	7c 08 02 a6 	mflr    r0                                     
ffc1ffc8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1ffcc:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1ffd0:	90 01 00 14 	stw     r0,20(r1)                              
ffc1ffd4:	93 c1 00 08 	stw     r30,8(r1)                              
                                                                      
    /*                                                                
     * 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))                                 
ffc1ffd8:	89 23 00 30 	lbz     r9,48(r3)                              
#include "msdos.h"                                                    
                                                                      
static int                                                            
msdos_file_update(rtems_libio_t *iop)                                 
{                                                                     
    int              rc = RC_OK;                                      
ffc1ffdc:	38 60 00 00 	li      r3,0                                   
                                                                      
    /*                                                                
     * 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))                                 
ffc1ffe0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc1ffe4:	41 82 00 1c 	beq-    ffc20000 <msdos_file_update.isra.1+0x40><== ALWAYS TAKEN
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1ffe8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc1ffec:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc1fff0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fff4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1fff8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1fffc:	4e 80 00 20 	blr                                            <== 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);
ffc20000:	80 64 00 00 	lwz     r3,0(r4)                               
ffc20004:	7c 9e 23 78 	mr      r30,r4                                 
ffc20008:	7f e4 fb 78 	mr      r4,r31                                 
ffc2000c:	4b ff cb 35 	bl      ffc1cb40 <msdos_set_first_cluster_num> 
        if (rc != RC_OK)                                              
ffc20010:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20014:	40 82 ff d4 	bne+    ffc1ffe8 <msdos_file_update.isra.1+0x28><== NEVER TAKEN
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
ffc20018:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc2001c:	7f e4 fb 78 	mr      r4,r31                                 
ffc20020:	4b ff cc 39 	bl      ffc1cc58 <msdos_set_file_size>         
        if (rc != RC_OK)                                              
ffc20024:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20028:	40 82 ff c0 	bne+    ffc1ffe8 <msdos_file_update.isra.1+0x28><== NEVER TAKEN
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc2002c:	80 01 00 14 	lwz     r0,20(r1)                              
        if (rc != RC_OK)                                              
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
ffc20030:	7f e4 fb 78 	mr      r4,r31                                 
ffc20034:	80 7e 00 00 	lwz     r3,0(r30)                              
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc20038:	7c 08 03 a6 	mtlr    r0                                     
ffc2003c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc20040:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc20044:	38 21 00 10 	addi    r1,r1,16                               
        if (rc != RC_OK)                                              
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
ffc20048:	4b ff c9 b0 	b       ffc1c9f8 <msdos_set_dir_wrt_time_and_date>
                                                                      

ffc201a0 <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) {
ffc201a0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc201a4:	7c 08 02 a6 	mflr    r0                                     
ffc201a8:	90 01 00 24 	stw     r0,36(r1)                              
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc201ac:	81 23 00 28 	lwz     r9,40(r3)                              
 *     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) 
{                                                                     
ffc201b0:	93 c1 00 18 	stw     r30,24(r1)                             
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc201b4:	83 c9 00 08 	lwz     r30,8(r9)                              
 *     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) 
{                                                                     
ffc201b8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc201bc:	7c 7f 1b 78 	mr      r31,r3                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc201c0:	80 7e 00 9c 	lwz     r3,156(r30)                            
 *     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) 
{                                                                     
ffc201c4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc201c8:	7c bb 2b 78 	mr      r27,r5                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc201cc:	38 a0 00 00 	li      r5,0                                   
 *     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) 
{                                                                     
ffc201d0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc201d4:	7c 9d 23 78 	mr      r29,r4                                 
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc201d8:	38 80 00 00 	li      r4,0                                   
 *     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) 
{                                                                     
ffc201dc:	93 81 00 10 	stw     r28,16(r1)                             
    ssize_t            ret = 0;                                       
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
ffc201e0:	83 9f 00 1c 	lwz     r28,28(r31)                            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc201e4:	4b fe b9 f1 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc201e8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc201ec:	40 82 00 b0 	bne-    ffc2029c <msdos_file_write+0xfc>       <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if ((iop->flags & LIBIO_FLAGS_APPEND) != 0)                       
ffc201f0:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc201f4:	71 2a 02 00 	andi.   r10,r9,512                             
ffc201f8:	40 82 00 8c 	bne-    ffc20284 <msdos_file_write+0xe4>       
ffc201fc:	80 bf 00 0c 	lwz     r5,12(r31)                             
        iop->offset = fat_fd->fat_file_size;                          
                                                                      
    ret = fat_file_write(&fs_info->fat, fat_fd, iop->offset, count,   
ffc20200:	7f a7 eb 78 	mr      r7,r29                                 
ffc20204:	7f c3 f3 78 	mr      r3,r30                                 
ffc20208:	7f 84 e3 78 	mr      r4,r28                                 
ffc2020c:	7f 66 db 78 	mr      r6,r27                                 
ffc20210:	4b ff 67 e5 	bl      ffc169f4 <fat_file_write>              
                         buffer);                                     
    if (ret < 0)                                                      
ffc20214:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc20218:	41 80 00 98 	blt-    ffc202b0 <msdos_file_write+0x110>      <== NEVER TAKEN
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    iop->offset += ret;                                               
ffc2021c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc20220:	7f ab eb 78 	mr      r11,r29                                
ffc20224:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc20228:	7f aa fe 70 	srawi   r10,r29,31                             
ffc2022c:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc20230:	7d 4a 41 14 	adde    r10,r10,r8                             
    if (iop->offset > fat_fd->fat_file_size)                          
ffc20234:	81 3c 00 18 	lwz     r9,24(r28)                             
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    iop->offset += ret;                                               
ffc20238:	91 5f 00 08 	stw     r10,8(r31)                             
    if (iop->offset > fat_fd->fat_file_size)                          
ffc2023c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    iop->offset += ret;                                               
ffc20240:	91 7f 00 0c 	stw     r11,12(r31)                            
    if (iop->offset > fat_fd->fat_file_size)                          
ffc20244:	41 9d 00 50 	bgt-    cr7,ffc20294 <msdos_file_write+0xf4>   <== NEVER TAKEN
ffc20248:	40 9e 00 0c 	bne-    cr7,ffc20254 <msdos_file_write+0xb4>   <== NEVER TAKEN
ffc2024c:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
ffc20250:	41 9d 00 44 	bgt-    cr7,ffc20294 <msdos_file_write+0xf4>   
        fat_fd->fat_file_size = iop->offset;                          
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc20254:	80 7e 00 9c 	lwz     r3,156(r30)                            
ffc20258:	4b fe bb 1d 	bl      ffc0bd74 <rtems_semaphore_release>     
    return ret;                                                       
}                                                                     
ffc2025c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc20260:	7f a3 eb 78 	mr      r3,r29                                 
ffc20264:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc20268:	7c 08 03 a6 	mtlr    r0                                     
ffc2026c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc20270:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc20274:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc20278:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc2027c:	38 21 00 20 	addi    r1,r1,32                               
ffc20280:	4e 80 00 20 	blr                                            
                                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;                          
ffc20284:	80 bc 00 18 	lwz     r5,24(r28)                             
ffc20288:	90 7f 00 08 	stw     r3,8(r31)                              
ffc2028c:	90 bf 00 0c 	stw     r5,12(r31)                             
ffc20290:	4b ff ff 70 	b       ffc20200 <msdos_file_write+0x60>       
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    iop->offset += ret;                                               
    if (iop->offset > fat_fd->fat_file_size)                          
        fat_fd->fat_file_size = iop->offset;                          
ffc20294:	91 7c 00 18 	stw     r11,24(r28)                            
ffc20298:	4b ff ff bc 	b       ffc20254 <msdos_file_write+0xb4>       
    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);                    
ffc2029c:	48 00 04 01 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc202a0:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc202a4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc202a8:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc202ac:	4b ff ff b0 	b       ffc2025c <msdos_file_write+0xbc>       <== 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);                   
ffc202b0:	80 7e 00 9c 	lwz     r3,156(r30)                            <== NOT EXECUTED
        return -1;                                                    
ffc202b4:	3b a0 ff ff 	li      r29,-1                                 <== 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);                   
ffc202b8:	4b fe ba bd 	bl      ffc0bd74 <rtems_semaphore_release>     <== NOT EXECUTED
        return -1;                                                    
ffc202bc:	4b ff ff a0 	b       ffc2025c <msdos_file_write+0xbc>       <== NOT EXECUTED
                                                                      

ffc1f73c <msdos_filename_unix2dos>: /* * Fill the dos filename string with blanks. These are DOS's pad * characters. */ for (i = 0; i <= 10; i++) dn[i] = ' ';
ffc1f73c:	39 00 00 0b 	li      r8,11                                  
ffc1f740:	7d 09 03 a6 	mtctr   r8                                     
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
ffc1f744:	39 20 00 00 	li      r9,0                                   
		dn[i] = ' ';                                                        
ffc1f748:	39 40 00 20 	li      r10,32                                 
ffc1f74c:	7d 45 49 ae 	stbx    r10,r5,r9                              
                                                                      
	/*                                                                   
	 * Fill the dos filename string with blanks. These are DOS's pad     
	 * characters.                                                       
	 */                                                                  
	for (i = 0; i <= 10; i++)                                            
ffc1f750:	39 29 00 01 	addi    r9,r9,1                                
ffc1f754:	42 00 ff f8 	bdnz+   ffc1f74c <msdos_filename_unix2dos+0x10>
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
ffc1f758:	89 23 00 00 	lbz     r9,0(r3)                               
ffc1f75c:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1f760:	41 9e 01 54 	beq-    cr7,ffc1f8b4 <msdos_filename_unix2dos+0x178><== NEVER TAKEN
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc1f764:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1f768:	41 9e 00 84 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
	 * 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++) {         
ffc1f76c:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc1f770:	41 9a 00 7c 	beq-    cr6,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc1f774:	3c e0 ff c3 	lis     r7,-61                                 
ffc1f778:	38 e7 10 34 	addi    r7,r7,4148                             
ffc1f77c:	7d 47 48 ae 	lbzx    r10,r7,r9                              
ffc1f780:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1f784:	41 9e 01 84 	beq-    cr7,ffc1f908 <msdos_filename_unix2dos+0x1cc>
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
		unlen--;                                                            
ffc1f788:	38 84 ff ff 	addi    r4,r4,-1                               
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
ffc1f78c:	99 45 00 00 	stb     r10,0(r5)                              
	 * 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++) {         
ffc1f790:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc1f794:	39 43 00 01 	addi    r10,r3,1                               
/*                                                                    
 * Convert a unix filename to a DOS filename. Return -1 if wrong name is
 * supplied.                                                          
 */                                                                   
int                                                                   
msdos_filename_unix2dos(const char *un, int unlen, char *dn)          
ffc1f798:	39 20 00 07 	li      r9,7                                   
ffc1f79c:	7c a6 2b 78 	mr      r6,r5                                  
ffc1f7a0:	7d 29 03 a6 	mtctr   r9                                     
ffc1f7a4:	38 63 00 08 	addi    r3,r3,8                                
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc1f7a8:	39 6a 00 01 	addi    r11,r10,1                              
	 * 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++) {         
ffc1f7ac:	41 9e 00 40 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0>
ffc1f7b0:	89 2a 00 00 	lbz     r9,0(r10)                              
ffc1f7b4:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc1f7b8:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1f7bc:	41 9a 00 30 	beq-    cr6,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f7c0:	41 9e 00 50 	beq-    cr7,ffc1f810 <msdos_filename_unix2dos+0xd4>
    if (msdos_map[c] == 0)                                            
ffc1f7c4:	7d 07 48 ae 	lbzx    r8,r7,r9                               
ffc1f7c8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1f7cc:	41 9e 00 3c 	beq-    cr7,ffc1f808 <msdos_filename_unix2dos+0xcc>
      break;                                                          
		dn[i] = msdos_map[c];                                               
ffc1f7d0:	9d 06 00 01 	stbu    r8,1(r6)                               
		un++;                                                               
		unlen--;                                                            
ffc1f7d4:	38 84 ff ff 	addi    r4,r4,-1                               
	 * 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++) {         
ffc1f7d8:	42 40 00 1c 	bdz-    ffc1f7f4 <msdos_filename_unix2dos+0xb8>
ffc1f7dc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc1f7e0:	7d 6a 5b 78 	mr      r10,r11                                
ffc1f7e4:	39 6a 00 01 	addi    r11,r10,1                              
	 * 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++) {         
ffc1f7e8:	40 9e ff c8 	bne+    cr7,ffc1f7b0 <msdos_filename_unix2dos+0x74>
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc1f7ec:	38 60 00 00 	li      r3,0                                   
ffc1f7f0:	4e 80 00 20 	blr                                            
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1f7f4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1f7f8:	41 be ff f4 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f7fc:	89 2a 00 01 	lbz     r9,1(r10)                              
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
ffc1f800:	7c 6a 1b 78 	mr      r10,r3                                 
ffc1f804:	2f 09 00 00 	cmpwi   cr6,r9,0                               
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1f808:	41 ba ff e4 	beq-    cr6,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f80c:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
		un++;                                                               
ffc1f810:	39 2a 00 01 	addi    r9,r10,1                               
		unlen--;                                                            
ffc1f814:	39 04 ff ff 	addi    r8,r4,-1                               
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc1f818:	41 9e 00 28 	beq-    cr7,ffc1f840 <msdos_filename_unix2dos+0x104>
ffc1f81c:	7c 89 03 a6 	mtctr   r4                                     
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1f820:	42 40 ff cc 	bdz+    ffc1f7ec <msdos_filename_unix2dos+0xb0>
ffc1f824:	89 49 00 00 	lbz     r10,0(r9)                              
		un++;                                                               
		unlen--;                                                            
ffc1f828:	39 08 ff ff 	addi    r8,r8,-1                               
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
		un++;                                                               
ffc1f82c:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1f830:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc1f834:	2f 0a 00 2e 	cmpwi   cr6,r10,46                             
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
ffc1f838:	41 be ff b4 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
ffc1f83c:	40 9a ff e4 	bne+    cr6,ffc1f820 <msdos_filename_unix2dos+0xe4><== ALWAYS TAKEN
	/*                                                                   
	 * 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++) {                    
ffc1f840:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1f844:	41 be ff a8 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f848:	89 49 00 00 	lbz     r10,0(r9)                              
ffc1f84c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1f850:	41 be ff 9c 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc1f854:	7d 47 50 ae 	lbzx    r10,r7,r10                             
ffc1f858:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1f85c:	41 be ff 90 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0>
	/*                                                                   
	 * 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++) {                    
ffc1f860:	2f 88 00 01 	cmpwi   cr7,r8,1                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc1f864:	99 45 00 08 	stb     r10,8(r5)                              
	/*                                                                   
	 * 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++) {                    
ffc1f868:	41 be ff 84 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f86c:	89 49 00 01 	lbz     r10,1(r9)                              
ffc1f870:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1f874:	41 be ff 78 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc1f878:	7d 47 50 ae 	lbzx    r10,r7,r10                             
ffc1f87c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1f880:	41 be ff 6c 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
	/*                                                                   
	 * 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++) {                    
ffc1f884:	2f 88 00 02 	cmpwi   cr7,r8,2                               
    if (msdos_map[c] == 0)                                            
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc1f888:	99 45 00 09 	stb     r10,9(r5)                              
	/*                                                                   
	 * 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++) {                    
ffc1f88c:	41 be ff 60 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
ffc1f890:	89 29 00 02 	lbz     r9,2(r9)                               
ffc1f894:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1f898:	41 be ff 54 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
    if (msdos_map[c] == 0)                                            
ffc1f89c:	7d 27 48 ae 	lbzx    r9,r7,r9                               
ffc1f8a0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1f8a4:	41 be ff 48 	beq-    cr7,ffc1f7ec <msdos_filename_unix2dos+0xb0><== NEVER TAKEN
      break;                                                          
    dn[i] = msdos_map[c];                                             
ffc1f8a8:	99 25 00 0a 	stb     r9,10(r5)                              
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc1f8ac:	38 60 00 00 	li      r3,0                                   
ffc1f8b0:	4e 80 00 20 	blr                                            
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
ffc1f8b4:	2f 84 00 01 	cmpwi   cr7,r4,1                               <== NOT EXECUTED
ffc1f8b8:	41 9e 00 48 	beq-    cr7,ffc1f900 <msdos_filename_unix2dos+0x1c4><== NOT EXECUTED
		dn[0] = '.';                                                        
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
ffc1f8bc:	89 23 00 01 	lbz     r9,1(r3)                               <== NOT EXECUTED
ffc1f8c0:	2f 89 00 2e 	cmpwi   cr7,r9,46                              <== NOT EXECUTED
ffc1f8c4:	40 be 00 0c 	bne+    cr7,ffc1f8d0 <msdos_filename_unix2dos+0x194><== NOT EXECUTED
ffc1f8c8:	2f 84 00 02 	cmpwi   cr7,r4,2                               <== NOT EXECUTED
ffc1f8cc:	41 9e 00 44 	beq-    cr7,ffc1f910 <msdos_filename_unix2dos+0x1d4><== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc1f8d0:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
ffc1f8d4:	7c 89 03 a6 	mtctr   r4                                     <== NOT EXECUTED
ffc1f8d8:	40 be 00 14 	bne+    cr7,ffc1f8ec <msdos_filename_unix2dos+0x1b0><== NOT EXECUTED
ffc1f8dc:	4b ff ff 10 	b       ffc1f7ec <msdos_filename_unix2dos+0xb0><== NOT EXECUTED
ffc1f8e0:	89 23 00 00 	lbz     r9,0(r3)                               <== NOT EXECUTED
ffc1f8e4:	2f 89 00 2e 	cmpwi   cr7,r9,46                              <== NOT EXECUTED
ffc1f8e8:	40 be fe 84 	bne-    cr7,ffc1f76c <msdos_filename_unix2dos+0x30><== NOT EXECUTED
		un++;                                                               
ffc1f8ec:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
		unlen--;                                                            
ffc1f8f0:	38 84 ff ff 	addi    r4,r4,-1                               <== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
ffc1f8f4:	42 00 ff ec 	bdnz+   ffc1f8e0 <msdos_filename_unix2dos+0x1a4><== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
ffc1f8f8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1f8fc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
		dn[0] = '.';                                                        
ffc1f900:	99 25 00 00 	stb     r9,0(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc1f904:	4b ff fe e8 	b       ffc1f7ec <msdos_filename_unix2dos+0xb0><== NOT EXECUTED
	 * of string, a '.', or 8 characters. Whichever happens first stops  
	 * us. This forms the name portion of the dos filename. Fold to      
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
ffc1f908:	7c 6a 1b 78 	mr      r10,r3                                 
ffc1f90c:	4b ff fe fc 	b       ffc1f808 <msdos_filename_unix2dos+0xcc>
	if (un[0] == '.' && unlen == 1) {                                    
		dn[0] = '.';                                                        
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
		dn[0] = '.';                                                        
ffc1f910:	99 25 00 00 	stb     r9,0(r5)                               <== NOT EXECUTED
		dn[1] = '.';                                                        
ffc1f914:	99 25 00 01 	stb     r9,1(r5)                               <== NOT EXECUTED
		return 0;                                                           
ffc1f918:	4b ff fe d4 	b       ffc1f7ec <msdos_filename_unix2dos+0xb0><== NOT EXECUTED
                                                                      

ffc1e120 <msdos_find_name>: msdos_find_name( rtems_filesystem_location_info_t *parent_loc, const char *name, int name_len ) {
ffc1e120:	94 21 ff a8 	stwu    r1,-88(r1)                             
ffc1e124:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc1e128:	39 20 00 00 	li      r9,0                                   
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1e12c:	90 01 00 5c 	stw     r0,92(r1)                              
    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,                            
ffc1e130:	38 c0 00 0b 	li      r6,11                                  
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
ffc1e134:	81 43 00 14 	lwz     r10,20(r3)                             
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1e138:	93 a1 00 4c 	stw     r29,76(r1)                             
ffc1e13c:	7c 9d 23 78 	mr      r29,r4                                 
    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,                            
ffc1e140:	7c a4 2b 78 	mr      r4,r5                                  
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1e144:	93 c1 00 50 	stw     r30,80(r1)                             
ffc1e148:	7c be 2b 78 	mr      r30,r5                                 
    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,                            
ffc1e14c:	38 a1 00 08 	addi    r5,r1,8                                
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1e150:	93 e1 00 54 	stw     r31,84(r1)                             
ffc1e154:	7c 7f 1b 78 	mr      r31,r3                                 
    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,                            
ffc1e158:	7f a3 eb 78 	mr      r3,r29                                 
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
ffc1e15c:	93 81 00 48 	stw     r28,72(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc1e160:	91 21 00 38 	stw     r9,56(r1)                              
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
ffc1e164:	83 8a 00 08 	lwz     r28,8(r10)                             
    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);         
ffc1e168:	91 21 00 08 	stw     r9,8(r1)                               
ffc1e16c:	91 21 00 0c 	stw     r9,12(r1)                              
ffc1e170:	91 21 00 10 	stw     r9,16(r1)                              
ffc1e174:	91 21 00 14 	stw     r9,20(r1)                              
ffc1e178:	91 21 00 18 	stw     r9,24(r1)                              
ffc1e17c:	91 21 00 1c 	stw     r9,28(r1)                              
ffc1e180:	91 21 00 20 	stw     r9,32(r1)                              
ffc1e184:	91 21 00 24 	stw     r9,36(r1)                              
                                                                      
    name_type = msdos_long_to_short (name,                            
ffc1e188:	4b ff e6 21 	bl      ffc1c7a8 <msdos_long_to_short>         
ffc1e18c:	7c 67 1b 78 	mr      r7,r3                                  
                                                                      
    /*                                                                
     * 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,
ffc1e190:	7f c6 f3 78 	mr      r6,r30                                 
ffc1e194:	38 80 00 00 	li      r4,0                                   
ffc1e198:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e19c:	7f a5 eb 78 	mr      r5,r29                                 
ffc1e1a0:	39 01 00 28 	addi    r8,r1,40                               
ffc1e1a4:	39 21 00 08 	addi    r9,r1,8                                
ffc1e1a8:	4b ff fe 45 	bl      ffc1dfec <msdos_get_name_node>         
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
ffc1e1ac:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1e1b0:	40 82 00 18 	bne-    ffc1e1c8 <msdos_find_name+0xa8>        
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
ffc1e1b4:	89 21 00 13 	lbz     r9,19(r1)                              
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
        return MSDOS_NAME_NOT_FOUND_ERR;                              
ffc1e1b8:	3b c0 7d 01 	li      r30,32001                              
    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) ||     
ffc1e1bc:	55 2a 07 38 	rlwinm  r10,r9,0,28,28                         
ffc1e1c0:	71 48 00 ff 	andi.   r8,r10,255                             
ffc1e1c4:	41 82 00 28 	beq-    ffc1e1ec <msdos_find_name+0xcc>        <== ALWAYS TAKEN
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1e1c8:	80 01 00 5c 	lwz     r0,92(r1)                              
ffc1e1cc:	7f c3 f3 78 	mr      r3,r30                                 
ffc1e1d0:	83 81 00 48 	lwz     r28,72(r1)                             
ffc1e1d4:	7c 08 03 a6 	mtlr    r0                                     
ffc1e1d8:	83 a1 00 4c 	lwz     r29,76(r1)                             
ffc1e1dc:	83 c1 00 50 	lwz     r30,80(r1)                             
ffc1e1e0:	83 e1 00 54 	lwz     r31,84(r1)                             
ffc1e1e4:	38 21 00 58 	addi    r1,r1,88                               
ffc1e1e8:	4e 80 00 20 	blr                                            
    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) ||     
ffc1e1ec:	55 29 06 be 	clrlwi  r9,r9,26                               
ffc1e1f0:	2f 89 00 0f 	cmpwi   cr7,r9,15                              
ffc1e1f4:	41 9e ff d4 	beq+    cr7,ffc1e1c8 <msdos_find_name+0xa8>    <== NEVER TAKEN
        ((*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);             
ffc1e1f8:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e1fc:	38 81 00 28 	addi    r4,r1,40                               
ffc1e200:	38 a1 00 38 	addi    r5,r1,56                               
ffc1e204:	4b ff 7c 91 	bl      ffc15e94 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc1e208:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1e20c:	40 a2 ff bc 	bne-    ffc1e1c8 <msdos_find_name+0xa8>        <== NEVER TAKEN
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
ffc1e210:	83 a1 00 38 	lwz     r29,56(r1)                             
     * 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)                                       
ffc1e214:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc1e218:	2f 89 00 01 	cmpwi   cr7,r9,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;                                        
ffc1e21c:	81 21 00 28 	lwz     r9,40(r1)                              
ffc1e220:	91 3d 00 20 	stw     r9,32(r29)                             
ffc1e224:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc1e228:	91 3d 00 24 	stw     r9,36(r29)                             
ffc1e22c:	81 21 00 30 	lwz     r9,48(r1)                              
ffc1e230:	91 3d 00 28 	stw     r9,40(r29)                             
ffc1e234:	81 21 00 34 	lwz     r9,52(r1)                              
ffc1e238:	91 3d 00 2c 	stw     r9,44(r29)                             
     * 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)                                       
ffc1e23c:	41 9e 00 24 	beq-    cr7,ffc1e260 <msdos_find_name+0x140>   
            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);      
ffc1e240:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc1e244:	7f 83 e3 78 	mr      r3,r28                                 
ffc1e248:	4b ff 83 19 	bl      ffc16560 <fat_file_close>              
    if (rc != RC_OK)                                                  
ffc1e24c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1e250:	40 82 00 cc 	bne-    ffc1e31c <msdos_find_name+0x1fc>       <== NEVER TAKEN
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
ffc1e254:	81 21 00 38 	lwz     r9,56(r1)                              
ffc1e258:	91 3f 00 08 	stw     r9,8(r31)                              
ffc1e25c:	4b ff ff 6c 	b       ffc1e1c8 <msdos_find_name+0xa8>        
     * 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);          
ffc1e260:	a1 41 00 1c 	lhz     r10,28(r1)                             
ffc1e264:	a1 21 00 22 	lhz     r9,34(r1)                              
ffc1e268:	55 47 c2 3e 	rlwinm  r7,r10,24,8,31                         
ffc1e26c:	55 4a 44 2e 	rlwinm  r10,r10,8,16,23                        
ffc1e270:	55 26 c2 3e 	rlwinm  r6,r9,24,8,31                          
ffc1e274:	7c e7 53 78 	or      r7,r7,r10                              
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
        date = *MSDOS_DIR_WRITE_DATE(node_entry);                     
ffc1e278:	a1 41 00 20 	lhz     r10,32(r1)                             
     * 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);          
ffc1e27c:	55 28 44 2e 	rlwinm  r8,r9,8,16,23                          
                                                                      
        time_val = *MSDOS_DIR_WRITE_TIME(node_entry);                 
ffc1e280:	a1 21 00 1e 	lhz     r9,30(r1)                              
     * 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);          
ffc1e284:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc1e288:	7c c8 43 78 	or      r8,r6,r8                               
ffc1e28c:	7c e8 43 78 	or      r8,r7,r8                               
                                                                      
        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));
ffc1e290:	55 43 c2 3e 	rlwinm  r3,r10,24,8,31                         
     * 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);          
ffc1e294:	91 1d 00 1c 	stw     r8,28(r29)                             
                                                                      
        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));
ffc1e298:	55 4a 44 2e 	rlwinm  r10,r10,8,16,23                        
ffc1e29c:	55 24 c2 3e 	rlwinm  r4,r9,24,8,31                          
ffc1e2a0:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1e2a4:	7c 63 53 78 	or      r3,r3,r10                              
ffc1e2a8:	7c 84 4b 78 	or      r4,r4,r9                               
ffc1e2ac:	48 00 13 75 	bl      ffc1f620 <msdos_date_dos2unix>         
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc1e2b0:	89 21 00 13 	lbz     r9,19(r1)                              
        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));
ffc1e2b4:	90 7d 00 40 	stw     r3,64(r29)                             
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
ffc1e2b8:	55 29 06 f6 	rlwinm  r9,r9,0,27,27                          
ffc1e2bc:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc1e2c0:	40 82 00 78 	bne-    ffc1e338 <msdos_find_name+0x218>       
ffc1e2c4:	81 01 00 24 	lwz     r8,36(r1)                              
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
ffc1e2c8:	81 21 00 38 	lwz     r9,56(r1)                              
ffc1e2cc:	51 0a 46 3e 	rlwimi  r10,r8,8,24,31                         
ffc1e2d0:	51 0a c4 2e 	rlwimi  r10,r8,24,16,23                        
ffc1e2d4:	51 0a 42 1e 	rlwimi  r10,r8,8,8,15                          
ffc1e2d8:	51 0a c0 0e 	rlwimi  r10,r8,24,0,7                          
            fat_fd->fat_file_type = FAT_FILE;                         
ffc1e2dc:	39 00 00 04 	li      r8,4                                   
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
ffc1e2e0:	91 49 00 18 	stw     r10,24(r9)                             
            fat_fd->fat_file_type = FAT_FILE;                         
ffc1e2e4:	91 09 00 10 	stw     r8,16(r9)                              
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
ffc1e2e8:	39 00 ff ff 	li      r8,-1                                  
ffc1e2ec:	91 09 00 14 	stw     r8,20(r9)                              
                                                                      
        /* 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) &&                           
ffc1e2f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
        }                                                             
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
        fat_fd->map.disk_cln = fat_fd->cln;                           
ffc1e2f4:	81 09 00 1c 	lwz     r8,28(r9)                              
            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;                                     
ffc1e2f8:	38 e0 00 00 	li      r7,0                                   
ffc1e2fc:	90 e9 00 34 	stw     r7,52(r9)                              
        fat_fd->map.disk_cln = fat_fd->cln;                           
ffc1e300:	91 09 00 38 	stw     r8,56(r9)                              
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
ffc1e304:	41 9e 00 28 	beq-    cr7,ffc1e32c <msdos_find_name+0x20c>   
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
ffc1e308:	a0 fc 00 06 	lhz     r7,6(r28)                              
                                                                      
        /* 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) &&                           
ffc1e30c:	7f 87 50 40 	cmplw   cr7,r7,r10                             
ffc1e310:	41 9c 00 1c 	blt-    cr7,ffc1e32c <msdos_find_name+0x20c>   
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
ffc1e314:	91 09 00 3c 	stw     r8,60(r9)                              
ffc1e318:	4b ff ff 28 	b       ffc1e240 <msdos_find_name+0x120>       
                                                                      
    /* 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);                        
ffc1e31c:	80 81 00 38 	lwz     r4,56(r1)                              <== NOT EXECUTED
ffc1e320:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1e324:	4b ff 82 3d 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
ffc1e328:	4b ff fe a0 	b       ffc1e1c8 <msdos_find_name+0xa8>        <== NOT EXECUTED
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
        }                                                             
        else                                                          
        {                                                             
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
ffc1e32c:	39 40 ff ff 	li      r10,-1                                 
ffc1e330:	91 49 00 3c 	stw     r10,60(r9)                             
ffc1e334:	4b ff ff 0c 	b       ffc1e240 <msdos_find_name+0x120>       
                                                                      
        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;                    
ffc1e338:	80 81 00 38 	lwz     r4,56(r1)                              
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc1e33c:	3d 20 00 20 	lis     r9,32                                  
                                                                      
            rc = fat_file_size(&fs_info->fat, fat_fd);                
ffc1e340:	7f 83 e3 78 	mr      r3,r28                                 
                                                                      
        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;                    
ffc1e344:	93 c4 00 10 	stw     r30,16(r4)                             
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
ffc1e348:	91 24 00 14 	stw     r9,20(r4)                              
                                                                      
            rc = fat_file_size(&fs_info->fat, fat_fd);                
ffc1e34c:	4b ff 8a 71 	bl      ffc16dbc <fat_file_size>               
            if (rc != RC_OK)                                          
ffc1e350:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1e354:	40 a2 ff c8 	bne-    ffc1e31c <msdos_find_name+0x1fc>       <== NEVER TAKEN
ffc1e358:	81 21 00 38 	lwz     r9,56(r1)                              
ffc1e35c:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1e360:	4b ff ff 90 	b       ffc1e2f0 <msdos_find_name+0x1d0>       
                                                                      

ffc1d06c <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 ) {
ffc1d06c:	7d 80 00 26 	mfcr    r12                                    
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
ffc1d070:	7c eb 3b 79 	mr.     r11,r7                                 
    int                                   name_len,                   
    msdos_name_type_t                     name_type,                  
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
ffc1d074:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc1d078:	7c 08 02 a6 	mflr    r0                                     
ffc1d07c:	90 01 00 84 	stw     r0,132(r1)                             
ffc1d080:	92 21 00 44 	stw     r17,68(r1)                             
ffc1d084:	91 c1 00 38 	stw     r14,56(r1)                             
ffc1d088:	91 e1 00 3c 	stw     r15,60(r1)                             
ffc1d08c:	92 01 00 40 	stw     r16,64(r1)                             
ffc1d090:	92 41 00 48 	stw     r18,72(r1)                             
ffc1d094:	92 61 00 4c 	stw     r19,76(r1)                             
ffc1d098:	92 81 00 50 	stw     r20,80(r1)                             
ffc1d09c:	92 a1 00 54 	stw     r21,84(r1)                             
ffc1d0a0:	92 c1 00 58 	stw     r22,88(r1)                             
ffc1d0a4:	92 e1 00 5c 	stw     r23,92(r1)                             
ffc1d0a8:	93 01 00 60 	stw     r24,96(r1)                             
ffc1d0ac:	93 21 00 64 	stw     r25,100(r1)                            
ffc1d0b0:	93 41 00 68 	stw     r26,104(r1)                            
ffc1d0b4:	93 61 00 6c 	stw     r27,108(r1)                            
ffc1d0b8:	93 81 00 70 	stw     r28,112(r1)                            
ffc1d0bc:	93 a1 00 74 	stw     r29,116(r1)                            
ffc1d0c0:	93 c1 00 78 	stw     r30,120(r1)                            
ffc1d0c4:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc1d0c8:	91 81 00 34 	stw     r12,52(r1)                             
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
ffc1d0cc:	91 61 00 1c 	stw     r11,28(r1)                             
    int                                   name_len,                   
    msdos_name_type_t                     name_type,                  
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
ffc1d0d0:	90 c1 00 24 	stw     r6,36(r1)                              
ffc1d0d4:	91 01 00 20 	stw     r8,32(r1)                              
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1d0d8:	82 23 00 08 	lwz     r17,8(r3)                              
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
ffc1d0dc:	40 81 09 7c 	ble-    ffc1da58 <msdos_find_name_in_fat_file+0x9ec><== NEVER TAKEN
     * 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))               
ffc1d0e0:	2e 05 00 00 	cmpwi   cr4,r5,0                               
ffc1d0e4:	7d 35 4b 78 	mr      r21,r9                                 
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1d0e8:	39 00 00 00 	li      r8,0                                   
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1d0ec:	39 20 ff ff 	li      r9,-1                                  
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
ffc1d0f0:	91 15 00 00 	stw     r8,0(r21)                              
ffc1d0f4:	7c 98 23 78 	mr      r24,r4                                 
ffc1d0f8:	7d 56 53 78 	mr      r22,r10                                
  dir_pos->sname.ofs = 0;                                             
ffc1d0fc:	91 15 00 04 	stw     r8,4(r21)                              
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1d100:	91 35 00 08 	stw     r9,8(r21)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1d104:	91 35 00 0c 	stw     r9,12(r21)                             
                                                                      
    assert(name_len > 0);                                             
                                                                      
    fat_dir_pos_init(dir_pos);                                        
                                                                      
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1d108:	91 21 00 0c 	stw     r9,12(r1)                              
ffc1d10c:	91 21 00 08 	stw     r9,8(r1)                               
     * 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))               
ffc1d110:	41 92 00 18 	beq-    cr4,ffc1d128 <msdos_find_name_in_fat_file+0xbc>
ffc1d114:	81 61 00 20 	lwz     r11,32(r1)                             
      lfn_entries = 0;                                                
ffc1d118:	39 20 00 00 	li      r9,0                                   
ffc1d11c:	91 21 00 18 	stw     r9,24(r1)                              
     * 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))               
ffc1d120:	2f 8b 00 01 	cmpwi   cr7,r11,1                              
ffc1d124:	41 9e 00 28 	beq-    cr7,ffc1d14c <msdos_find_name_in_fat_file+0xe0>
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
ffc1d128:	81 61 00 1c 	lwz     r11,28(r1)                             
     * test this make this test always fail, ie add "0 &&".           
     */                                                               
    if (create_node && (name_type == MSDOS_NAME_SHORT))               
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
ffc1d12c:	3e 80 4e c4 	lis     r20,20164                              
ffc1d130:	62 94 ec 4f 	ori     r20,r20,60495                          
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
ffc1d134:	39 2b 00 0c 	addi    r9,r11,12                              
     * test this make this test always fail, ie add "0 &&".           
     */                                                               
    if (create_node && (name_type == MSDOS_NAME_SHORT))               
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
ffc1d138:	7e 89 a0 96 	mulhw   r20,r9,r20                             
ffc1d13c:	7d 29 fe 70 	srawi   r9,r9,31                               
ffc1d140:	7e 94 16 70 	srawi   r20,r20,2                              
ffc1d144:	7d 29 a0 50 	subf    r9,r9,r20                              
ffc1d148:	91 21 00 18 	stw     r9,24(r1)                              
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
ffc1d14c:	81 38 00 20 	lwz     r9,32(r24)                             
ffc1d150:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1d154:	41 9e 05 b0 	beq-    cr7,ffc1d704 <msdos_find_name_in_fat_file+0x698>
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc1d158:	a3 91 00 06 	lhz     r28,6(r17)                             
                     * 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 ||                                
ffc1d15c:	81 61 00 20 	lwz     r11,32(r1)                             
    /*                                                                
     * 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),
ffc1d160:	3a e0 00 00 	li      r23,0                                  
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1d164:	81 21 00 18 	lwz     r9,24(r1)                              
    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;                       
ffc1d168:	3a 40 00 00 	li      r18,0                                  
                     * 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 ||                                
ffc1d16c:	2d 8b 00 01 	cmpwi   cr3,r11,1                              
ffc1d170:	80 f1 00 a0 	lwz     r7,160(r17)                            
    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;                           
ffc1d174:	3b a0 00 00 	li      r29,0                                  
    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;                           
ffc1d178:	3b 60 00 00 	li      r27,0                                  
    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;                          
ffc1d17c:	39 e0 00 00 	li      r15,0                                  
    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;                                   
ffc1d180:	39 c0 00 00 	li      r14,0                                  
    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;                                
ffc1d184:	3a 80 00 00 	li      r20,0                                  
    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;                             
ffc1d188:	3a 60 00 00 	li      r19,0                                  
    char                                 *name_dir_entry              
                                )                                     
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         dir_offset = 0;                                  
ffc1d18c:	3a 00 00 00 	li      r16,0                                  
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1d190:	3b 40 ff ff 	li      r26,-1                                 
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1d194:	3b 29 00 01 	addi    r25,r9,1                               
    /*                                                                
     * 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),
ffc1d198:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d19c:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d1a0:	7e e5 bb 78 	mr      r5,r23                                 
ffc1d1a4:	7f 86 e3 78 	mr      r6,r28                                 
ffc1d1a8:	4b ff 90 05 	bl      ffc161ac <fat_file_read>               
ffc1d1ac:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d1b0:	41 82 08 f0 	beq-    ffc1daa0 <msdos_find_name_in_fat_file+0xa34>
        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)                  
ffc1d1b4:	2f 83 00 1f 	cmpwi   cr7,r3,31                              
ffc1d1b8:	40 9d 07 50 	ble-    cr7,ffc1d908 <msdos_find_name_in_fat_file+0x89c><== NEVER TAKEN
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
ffc1d1bc:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc1d1c0:	40 9e 08 bc 	bne-    cr7,ffc1da7c <msdos_find_name_in_fat_file+0xa10><== NEVER TAKEN
ffc1d1c4:	80 f1 00 a0 	lwz     r7,160(r17)                            
ffc1d1c8:	3b c0 00 00 	li      r30,0                                  
ffc1d1cc:	7c ff 3b 78 	mr      r31,r7                                 
             * 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)                               
ffc1d1d0:	2c 1d 00 00 	cmpwi   r29,0                                  
                                                                      
            /*                                                        
             * See if the entry is empty or the remainder of the directory is
             * empty ? Localise to make the code read better.         
             */                                                       
            bool entry_empty = (*MSDOS_DIR_ENTRY_TYPE(entry) ==       
ffc1d1d4:	89 7f 00 00 	lbz     r11,0(r31)                             
             * 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)                               
ffc1d1d8:	40 82 00 0c 	bne-    ffc1d1e4 <msdos_find_name_in_fat_file+0x178>
ffc1d1dc:	7f db f3 78 	mr      r27,r30                                
ffc1d1e0:	7e 0f 83 78 	mr      r15,r16                                
            {                                                         
                empty_space_entry = dir_entry;                        
                empty_space_offset = dir_offset;                      
            }                                                         
                                                                      
            if (remainder_empty)                                      
ffc1d1e4:	2f 8b 00 00 	cmpwi   cr7,r11,0                              
ffc1d1e8:	41 9e 03 68 	beq-    cr7,ffc1d550 <msdos_find_name_in_fat_file+0x4e4>
                  printf ("MSFS:[3.2] esf:%i esc%i\n", empty_space_found, empty_space_count);
#endif                                                                
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
ffc1d1ec:	2f 8b 00 e5 	cmpwi   cr7,r11,229                            
ffc1d1f0:	41 9e 00 b8 	beq-    cr7,ffc1d2a8 <msdos_find_name_in_fat_file+0x23c>
                 * 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)                
ffc1d1f4:	41 92 00 14 	beq-    cr4,ffc1d208 <msdos_find_name_in_fat_file+0x19c>
ffc1d1f8:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc1d1fc:	40 9e 00 0c 	bne-    cr7,ffc1d208 <msdos_find_name_in_fat_file+0x19c><== NEVER TAKEN
                {                                                     
                    empty_space_entry = 0;                            
                    empty_space_count = 0;                            
ffc1d200:	3b a0 00 00 	li      r29,0                                  
                 * If empty space has not been found we need to start the
                 * count again.                                       
                 */                                                   
                if (create_node && !empty_space_found)                
                {                                                     
                    empty_space_entry = 0;                            
ffc1d204:	3b 60 00 00 	li      r27,0                                  
                                                                      
                /*                                                    
                 * Check the attribute to see if the entry is for a long
                 * file name.                                         
                 */                                                   
                if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) == 
ffc1d208:	88 df 00 0b 	lbz     r6,11(r31)                             
ffc1d20c:	54 c6 06 be 	clrlwi  r6,r6,26                               
ffc1d210:	2f 86 00 0f 	cmpwi   cr7,r6,15                              
ffc1d214:	41 9e 01 e4 	beq-    cr7,ffc1d3f8 <msdos_find_name_in_fat_file+0x38c>
                     * 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)                                  
ffc1d218:	2f 93 00 00 	cmpwi   cr7,r19,0                              
ffc1d21c:	41 9e 00 64 	beq-    cr7,ffc1d280 <msdos_find_name_in_fat_file+0x214>
                        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;
ffc1d220:	39 20 00 0b 	li      r9,11                                  
ffc1d224:	7d 29 03 a6 	mtctr   r9                                     
 *     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(                                      
ffc1d228:	38 00 00 00 	li      r0,0                                   
                        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;
ffc1d22c:	38 c0 00 00 	li      r6,0                                   
ffc1d230:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc1d234:	7d 66 5a 14 	add     r11,r6,r11                             
ffc1d238:	7c 00 5a 14 	add     r0,r0,r11                              
 *     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(                                      
ffc1d23c:	7f e5 fb 78 	mr      r5,r31                                 
                        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;
ffc1d240:	54 00 06 3e 	clrlwi  r0,r0,24                               
                    {                                                 
                        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++)
ffc1d244:	42 40 00 2c 	bdz-    ffc1d270 <msdos_find_name_in_fat_file+0x204>
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
ffc1d248:	70 0a 00 01 	andi.   r10,r0,1                               
ffc1d24c:	38 c0 00 00 	li      r6,0                                   
ffc1d250:	41 82 00 08 	beq-    ffc1d258 <msdos_find_name_in_fat_file+0x1ec>
ffc1d254:	38 c0 00 80 	li      r6,128                                 
ffc1d258:	8d 65 00 01 	lbzu    r11,1(r5)                              
ffc1d25c:	54 00 f8 7e 	rlwinm  r0,r0,31,1,31                          
ffc1d260:	7d 66 5a 14 	add     r11,r6,r11                             
ffc1d264:	7c 00 5a 14 	add     r0,r0,r11                              
ffc1d268:	54 00 06 3e 	clrlwi  r0,r0,24                               
                    {                                                 
                        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++)
ffc1d26c:	42 00 ff dc 	bdnz+   ffc1d248 <msdos_find_name_in_fat_file+0x1dc>
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
                                                                      
                        if (lfn_entry || (lfn_checksum != cs))        
ffc1d270:	2f 8e 00 00 	cmpwi   cr7,r14,0                              
ffc1d274:	40 9e 00 0c 	bne-    cr7,ffc1d280 <msdos_find_name_in_fat_file+0x214><== NEVER TAKEN
ffc1d278:	7f 80 a0 00 	cmpw    cr7,r0,r20                             
ffc1d27c:	41 9e 00 70 	beq-    cr7,ffc1d2ec <msdos_find_name_in_fat_file+0x280><== ALWAYS TAKEN
                     * 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 ||                                
ffc1d280:	41 8e 00 40 	beq-    cr3,ffc1d2c0 <msdos_find_name_in_fat_file+0x254>
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
ffc1d284:	93 41 00 08 	stw     r26,8(r1)                              
                    lfn_matched = false;                              
ffc1d288:	3a 60 00 00 	li      r19,0                                  
ffc1d28c:	3b de 00 20 	addi    r30,r30,32                             
            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;                                           
ffc1d290:	7f 9c f0 40 	cmplw   cr7,r28,r30                            
ffc1d294:	3b ff 00 20 	addi    r31,r31,32                             
ffc1d298:	41 9d ff 38 	bgt+    cr7,ffc1d1d0 <msdos_find_name_in_fat_file+0x164>
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
ffc1d29c:	3a 10 00 01 	addi    r16,r16,1                              
ffc1d2a0:	7e f7 e2 14 	add     r23,r23,r28                            
ffc1d2a4:	4b ff fe f4 	b       ffc1d198 <msdos_find_name_in_fat_file+0x12c>
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
            {                                                         
                if (create_node)                                      
ffc1d2a8:	41 b2 ff e4 	beq-    cr4,ffc1d28c <msdos_find_name_in_fat_file+0x220>
                {                                                     
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
ffc1d2ac:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
ffc1d2b0:	7f 99 e8 00 	cmpw    cr7,r25,r29                            
ffc1d2b4:	40 9e ff d8 	bne+    cr7,ffc1d28c <msdos_find_name_in_fat_file+0x220>
                    empty_space_found = true;                         
ffc1d2b8:	3a 40 00 01 	li      r18,1                                  
ffc1d2bc:	4b ff ff d0 	b       ffc1d28c <msdos_find_name_in_fat_file+0x220>
                     * 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) &&           
ffc1d2c0:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc1d2c4:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1d2c8:	40 9e ff bc 	bne+    cr7,ffc1d284 <msdos_find_name_in_fat_file+0x218><== NEVER TAKEN
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
                         (memcmp(MSDOS_DIR_NAME(entry),               
ffc1d2cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d2d0:	90 e1 00 28 	stw     r7,40(r1)                              
ffc1d2d4:	7e c4 b3 78 	mr      r4,r22                                 
ffc1d2d8:	38 a0 00 0b 	li      r5,11                                  
ffc1d2dc:	48 00 40 1d 	bl      ffc212f8 <memcmp>                      
                     * 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) &&    
ffc1d2e0:	80 e1 00 28 	lwz     r7,40(r1)                              
ffc1d2e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d2e8:	40 9e ff 9c 	bne+    cr7,ffc1d284 <msdos_find_name_in_fat_file+0x218>
#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,
ffc1d2ec:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d2f0:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d2f4:	38 a0 00 01 	li      r5,1                                   
ffc1d2f8:	7e e6 bb 78 	mr      r6,r23                                 
ffc1d2fc:	7e a7 ab 78 	mr      r7,r21                                 
ffc1d300:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1d304:	4b ff 93 61 	bl      ffc16664 <fat_file_ioctl>              
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
ffc1d308:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1d30c:	40 82 00 88 	bne-    ffc1d394 <msdos_find_name_in_fat_file+0x328><== NEVER TAKEN
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1d310:	80 c1 00 08 	lwz     r6,8(r1)                               
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
ffc1d314:	93 d5 00 04 	stw     r30,4(r21)                             
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1d318:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1d31c:	41 9e 05 e4 	beq-    cr7,ffc1d900 <msdos_find_name_in_fat_file+0x894>
                        {                                             
                          rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
ffc1d320:	7c dc 31 d6 	mullw   r6,r28,r6                              
ffc1d324:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d328:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d32c:	38 a0 00 01 	li      r5,1                                   
ffc1d330:	38 e1 00 08 	addi    r7,r1,8                                
ffc1d334:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1d338:	4b ff 93 2d 	bl      ffc16664 <fat_file_ioctl>              
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
ffc1d33c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d340:	40 82 05 b8 	bne-    ffc1d8f8 <msdos_find_name_in_fat_file+0x88c><== NEVER TAKEN
ffc1d344:	81 21 00 08 	lwz     r9,8(r1)                               
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
ffc1d348:	91 35 00 08 	stw     r9,8(r21)                              
                        dir_pos->lname.ofs = lfn_start.ofs;           
ffc1d34c:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1d350:	91 35 00 0c 	stw     r9,12(r21)                             
                                                                      
                        memcpy(name_dir_entry, entry,                 
ffc1d354:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1d358:	80 ff 00 04 	lwz     r7,4(r31)                              
ffc1d35c:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc1d360:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc1d364:	91 36 00 00 	stw     r9,0(r22)                              
ffc1d368:	90 f6 00 04 	stw     r7,4(r22)                              
ffc1d36c:	91 16 00 08 	stw     r8,8(r22)                              
ffc1d370:	91 56 00 0c 	stw     r10,12(r22)                            
ffc1d374:	80 ff 00 10 	lwz     r7,16(r31)                             
ffc1d378:	81 1f 00 14 	lwz     r8,20(r31)                             
ffc1d37c:	81 5f 00 18 	lwz     r10,24(r31)                            
ffc1d380:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1d384:	90 f6 00 10 	stw     r7,16(r22)                             
ffc1d388:	91 16 00 14 	stw     r8,20(r22)                             
ffc1d38c:	91 56 00 18 	stw     r10,24(r22)                            
ffc1d390:	91 36 00 1c 	stw     r9,28(r22)                             
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
}                                                                     
ffc1d394:	80 01 00 84 	lwz     r0,132(r1)                             
ffc1d398:	7f a3 eb 78 	mr      r3,r29                                 
ffc1d39c:	81 81 00 34 	lwz     r12,52(r1)                             
ffc1d3a0:	7c 08 03 a6 	mtlr    r0                                     
ffc1d3a4:	81 c1 00 38 	lwz     r14,56(r1)                             
ffc1d3a8:	81 e1 00 3c 	lwz     r15,60(r1)                             
ffc1d3ac:	7d 81 81 20 	mtcrf   24,r12                                 
ffc1d3b0:	82 01 00 40 	lwz     r16,64(r1)                             
ffc1d3b4:	82 21 00 44 	lwz     r17,68(r1)                             
ffc1d3b8:	82 41 00 48 	lwz     r18,72(r1)                             
ffc1d3bc:	82 61 00 4c 	lwz     r19,76(r1)                             
ffc1d3c0:	82 81 00 50 	lwz     r20,80(r1)                             
ffc1d3c4:	82 a1 00 54 	lwz     r21,84(r1)                             
ffc1d3c8:	82 c1 00 58 	lwz     r22,88(r1)                             
ffc1d3cc:	82 e1 00 5c 	lwz     r23,92(r1)                             
ffc1d3d0:	83 01 00 60 	lwz     r24,96(r1)                             
ffc1d3d4:	83 21 00 64 	lwz     r25,100(r1)                            
ffc1d3d8:	83 41 00 68 	lwz     r26,104(r1)                            
ffc1d3dc:	83 61 00 6c 	lwz     r27,108(r1)                            
ffc1d3e0:	83 81 00 70 	lwz     r28,112(r1)                            
ffc1d3e4:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc1d3e8:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc1d3ec:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc1d3f0:	38 21 00 80 	addi    r1,r1,128                              
ffc1d3f4:	4e 80 00 20 	blr                                            
#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)         
ffc1d3f8:	80 c1 00 08 	lwz     r6,8(r1)                               
ffc1d3fc:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1d400:	41 9e 01 00 	beq-    cr7,ffc1d500 <msdos_find_name_in_fat_file+0x494>
                     * 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) & 
ffc1d404:	55 6b 06 be 	clrlwi  r11,r11,26                             
ffc1d408:	7f 8b 70 00 	cmpw    cr7,r11,r14                            
ffc1d40c:	41 9e 00 0c 	beq-    cr7,ffc1d418 <msdos_find_name_in_fat_file+0x3ac><== ALWAYS TAKEN
                        (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;          
ffc1d410:	93 41 00 08 	stw     r26,8(r1)                              <== NOT EXECUTED
                        continue;                                     
ffc1d414:	4b ff fe 78 	b       ffc1d28c <msdos_find_name_in_fat_file+0x220><== NOT EXECUTED
                     * could be orphaned entries depending on the history
                     * of the disk.                                   
                     */                                               
                    if ((lfn_entry != (*MSDOS_DIR_ENTRY_TYPE(entry) & 
                                       MSDOS_LAST_LONG_ENTRY_MASK)) ||
                        (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry)))
ffc1d418:	89 9f 00 0d 	lbz     r12,13(r31)                            
                     * 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)) ||
ffc1d41c:	7f 8c a0 00 	cmpw    cr7,r12,r20                            
ffc1d420:	40 9e ff f0 	bne+    cr7,ffc1d410 <msdos_find_name_in_fat_file+0x3a4><== NEVER TAKEN
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
ffc1d424:	39 ce ff ff 	addi    r14,r14,-1                             
ffc1d428:	81 41 00 1c 	lwz     r10,28(r1)                             
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
ffc1d42c:	1d 2e 00 0d 	mulli   r9,r14,13                              
ffc1d430:	7f 89 50 00 	cmpw    cr7,r9,r10                             
 *     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(                                      
ffc1d434:	81 41 00 24 	lwz     r10,36(r1)                             
ffc1d438:	38 c9 ff ff 	addi    r6,r9,-1                               
ffc1d43c:	7c 6a 32 14 	add     r3,r10,r6                              
ffc1d440:	81 41 00 1c 	lwz     r10,28(r1)                             
ffc1d444:	38 bf 00 01 	addi    r5,r31,1                               
ffc1d448:	7d 46 50 50 	subf    r10,r6,r10                             
ffc1d44c:	39 00 00 01 	li      r8,1                                   
ffc1d450:	7d 49 03 a6 	mtctr   r10                                    
ffc1d454:	41 9d 05 d8 	bgt-    cr7,ffc1da2c <msdos_find_name_in_fat_file+0x9c0><== NEVER TAKEN
ffc1d458:	81 41 00 1c 	lwz     r10,28(r1)                             
ffc1d45c:	3c c0 80 00 	lis     r6,-32768                              
ffc1d460:	7f 8a 30 00 	cmpw    cr7,r10,r6                             
ffc1d464:	41 9e 05 c8 	beq-    cr7,ffc1da2c <msdos_find_name_in_fat_file+0x9c0><== NEVER TAKEN
                    {                                                 
#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')                               
ffc1d468:	88 c5 00 00 	lbz     r6,0(r5)                               
 *     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(                                      
ffc1d46c:	38 88 ff ff 	addi    r4,r8,-1                               
                    {                                                 
#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')                               
ffc1d470:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1d474:	41 9e 00 44 	beq-    cr7,ffc1d4b8 <msdos_find_name_in_fat_file+0x44c><== NEVER TAKEN
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
ffc1d478:	42 40 00 5c 	bdz-    ffc1d4d4 <msdos_find_name_in_fat_file+0x468>
ffc1d47c:	8c 03 00 01 	lbzu    r0,1(r3)                               
ffc1d480:	7f 80 30 00 	cmpw    cr7,r0,r6                              
ffc1d484:	40 9e 00 50 	bne-    cr7,ffc1d4d4 <msdos_find_name_in_fat_file+0x468>
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
                            break;                                    
                        }                                             
                                                                      
                        switch (i)                                    
ffc1d488:	2f 84 00 04 	cmpwi   cr7,r4,4                               
ffc1d48c:	41 9e 00 b8 	beq-    cr7,ffc1d544 <msdos_find_name_in_fat_file+0x4d8>
ffc1d490:	2f 84 00 0a 	cmpwi   cr7,r4,10                              
ffc1d494:	41 9e 00 a4 	beq-    cr7,ffc1d538 <msdos_find_name_in_fat_file+0x4cc>
                    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++)     
ffc1d498:	2f 88 00 0d 	cmpwi   cr7,r8,13                              
                                break;                                
                            case 10:                                  
                                p += 4;                               
                                break;                                
                            default:                                  
                                p += 2;                               
ffc1d49c:	38 a5 00 02 	addi    r5,r5,2                                
                    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++)     
ffc1d4a0:	41 9e 00 38 	beq-    cr7,ffc1d4d8 <msdos_find_name_in_fat_file+0x46c>
ffc1d4a4:	39 08 00 01 	addi    r8,r8,1                                
                    {                                                 
#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')                               
ffc1d4a8:	88 c5 00 00 	lbz     r6,0(r5)                               
 *     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(                                      
ffc1d4ac:	38 88 ff ff 	addi    r4,r8,-1                               
                    {                                                 
#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')                               
ffc1d4b0:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc1d4b4:	40 9e ff c4 	bne+    cr7,ffc1d478 <msdos_find_name_in_fat_file+0x40c>
                            /*                                        
                             * 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) &&   
ffc1d4b8:	81 41 00 18 	lwz     r10,24(r1)                             
ffc1d4bc:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc1d4c0:	40 be 00 18 	bne+    cr7,ffc1d4d8 <msdos_find_name_in_fat_file+0x46c><== NEVER TAKEN
ffc1d4c4:	81 61 00 1c 	lwz     r11,28(r1)                             
                                ((o + i) != name_len))                
ffc1d4c8:	7c 89 22 14 	add     r4,r9,r4                               
                            /*                                        
                             * 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) &&   
ffc1d4cc:	7f 84 58 00 	cmpw    cr7,r4,r11                             
ffc1d4d0:	41 9e 00 08 	beq-    cr7,ffc1d4d8 <msdos_find_name_in_fat_file+0x46c><== ALWAYS TAKEN
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
ffc1d4d4:	93 41 00 08 	stw     r26,8(r1)                              
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
ffc1d4d8:	2f 8e 00 00 	cmpwi   cr7,r14,0                              
ffc1d4dc:	3a 60 00 00 	li      r19,0                                  
ffc1d4e0:	40 9e 00 18 	bne-    cr7,ffc1d4f8 <msdos_find_name_in_fat_file+0x48c>
ffc1d4e4:	81 01 00 08 	lwz     r8,8(r1)                               
ffc1d4e8:	38 08 00 01 	addi    r0,r8,1                                
ffc1d4ec:	7c 00 00 34 	cntlzw  r0,r0                                  
ffc1d4f0:	54 00 d9 7e 	rlwinm  r0,r0,27,5,31                          
ffc1d4f4:	68 13 00 01 	xori    r19,r0,1                               
                     * 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;                          
ffc1d4f8:	7d 94 63 78 	mr      r20,r12                                
ffc1d4fc:	4b ff fd 90 	b       ffc1d28c <msdos_find_name_in_fat_file+0x220>
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1d500:	55 66 06 72 	rlwinm  r6,r11,0,25,25                         
ffc1d504:	70 c9 00 ff 	andi.   r9,r6,255                              
                     * 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;                          
ffc1d508:	3a 60 00 00 	li      r19,0                                  
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
ffc1d50c:	41 a2 fd 80 	beq-    ffc1d28c <msdos_find_name_in_fat_file+0x220>
                         * 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) &
ffc1d510:	81 41 00 18 	lwz     r10,24(r1)                             
ffc1d514:	55 6b 06 be 	clrlwi  r11,r11,26                             
ffc1d518:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
ffc1d51c:	40 9e fd 70 	bne+    cr7,ffc1d28c <msdos_find_name_in_fat_file+0x220>
                            continue;                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
ffc1d520:	92 01 00 08 	stw     r16,8(r1)                              
                        lfn_start.ofs = dir_entry;                    
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1d524:	7d 4e 53 78 	mr      r14,r10                                
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
                        lfn_start.ofs = dir_entry;                    
ffc1d528:	93 c1 00 0c 	stw     r30,12(r1)                             
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
ffc1d52c:	8a 9f 00 0d 	lbz     r20,13(r31)                            
ffc1d530:	89 7f 00 00 	lbz     r11,0(r31)                             
ffc1d534:	4b ff fe d0 	b       ffc1d404 <msdos_find_name_in_fat_file+0x398>
                        {                                             
                            case 4:                                   
                                p += 5;                               
                                break;                                
                            case 10:                                  
                                p += 4;                               
ffc1d538:	38 a5 00 04 	addi    r5,r5,4                                
ffc1d53c:	39 08 00 01 	addi    r8,r8,1                                
ffc1d540:	4b ff ff 68 	b       ffc1d4a8 <msdos_find_name_in_fat_file+0x43c>
                        }                                             
                                                                      
                        switch (i)                                    
                        {                                             
                            case 4:                                   
                                p += 5;                               
ffc1d544:	38 a5 00 05 	addi    r5,r5,5                                
ffc1d548:	39 08 00 01 	addi    r8,r8,1                                
ffc1d54c:	4b ff ff 5c 	b       ffc1d4a8 <msdos_find_name_in_fat_file+0x43c>
#endif                                                                
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
ffc1d550:	41 92 04 28 	beq-    cr4,ffc1d978 <msdos_find_name_in_fat_file+0x90c>
                 * 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)                               
ffc1d554:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc1d558:	40 9e 00 14 	bne-    cr7,ffc1d56c <msdos_find_name_in_fat_file+0x500>
        (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;   
ffc1d55c:	57 89 d9 7e 	rlwinm  r9,r28,27,5,31                         
                 * 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);
ffc1d560:	7f bd 4a 14 	add     r29,r29,r9                             
ffc1d564:	57 de d9 7e 	rlwinm  r30,r30,27,5,31                        
ffc1d568:	7d 5e e8 51 	subf.   r10,r30,r29                            
     * 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)                                 
ffc1d56c:	81 61 00 20 	lwz     r11,32(r1)                             
ffc1d570:	2f 8b 00 02 	cmpwi   cr7,r11,2                              
ffc1d574:	41 9e 04 34 	beq-    cr7,ffc1d9a8 <msdos_find_name_in_fat_file+0x93c>
        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)                                                  
ffc1d578:	81 21 00 18 	lwz     r9,24(r1)                              
     * If a long file name calculate the checksum of the short file name
     * 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;                                                 
ffc1d57c:	3b 40 00 00 	li      r26,0                                  
        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)                                                  
ffc1d580:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1d584:	41 9e 00 58 	beq-    cr7,ffc1d5dc <msdos_find_name_in_fat_file+0x570>
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
            lfn_checksum =                                            
ffc1d588:	39 40 00 0b 	li      r10,11                                 
ffc1d58c:	7d 49 03 a6 	mtctr   r10                                    
 *     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(                                      
ffc1d590:	39 16 ff ff 	addi    r8,r22,-1                              
    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 =                                            
ffc1d594:	39 20 00 00 	li      r9,0                                   
ffc1d598:	8c e8 00 01 	lbzu    r7,1(r8)                               
ffc1d59c:	57 5a f8 7e 	rlwinm  r26,r26,31,1,31                        
ffc1d5a0:	7c e7 d2 14 	add     r7,r7,r26                              
ffc1d5a4:	7d 27 4a 14 	add     r9,r7,r9                               
ffc1d5a8:	55 3a 06 3e 	clrlwi  r26,r9,24                              
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1d5ac:	42 40 00 30 	bdz-    ffc1d5dc <msdos_find_name_in_fat_file+0x570>
            lfn_checksum =                                            
ffc1d5b0:	57 4b 07 fe 	clrlwi  r11,r26,31                             
ffc1d5b4:	2f 0b 00 00 	cmpwi   cr6,r11,0                              
ffc1d5b8:	39 20 00 00 	li      r9,0                                   
ffc1d5bc:	41 ba ff dc 	beq-    cr6,ffc1d598 <msdos_find_name_in_fat_file+0x52c>
ffc1d5c0:	8c e8 00 01 	lbzu    r7,1(r8)                               
ffc1d5c4:	57 5a f8 7e 	rlwinm  r26,r26,31,1,31                        
ffc1d5c8:	39 20 00 80 	li      r9,128                                 
ffc1d5cc:	7c e7 d2 14 	add     r7,r7,r26                              
ffc1d5d0:	7d 27 4a 14 	add     r9,r7,r9                               
ffc1d5d4:	55 3a 06 3e 	clrlwi  r26,r9,24                              
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
ffc1d5d8:	42 00 ff d8 	bdnz+   ffc1d5b0 <msdos_find_name_in_fat_file+0x544>
     * 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)                                       
ffc1d5dc:	41 82 03 40 	beq-    ffc1d91c <msdos_find_name_in_fat_file+0x8b0>
    }                                                                 
                                                                      
    /*                                                                
     * Have we read past the empty block ? If so go back and read it again.
     */                                                               
    if (dir_offset != empty_space_offset)                             
ffc1d5e0:	7f 10 78 00 	cmpw    cr6,r16,r15                            
        read_cluster = true;                                          
ffc1d5e4:	39 20 00 01 	li      r9,1                                   
    }                                                                 
                                                                      
    /*                                                                
     * Have we read past the empty block ? If so go back and read it again.
     */                                                               
    if (dir_offset != empty_space_offset)                             
ffc1d5e8:	41 9a 03 b0 	beq-    cr6,ffc1d998 <msdos_find_name_in_fat_file+0x92c><== ALWAYS TAKEN
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
ffc1d5ec:	39 00 ff ff 	li      r8,-1                                  
ffc1d5f0:	91 01 00 0c 	stw     r8,12(r1)                              
ffc1d5f4:	91 01 00 08 	stw     r8,8(r1)                               
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1d5f8:	41 9c 03 a8 	blt-    cr7,ffc1d9a0 <msdos_find_name_in_fat_file+0x934><== NEVER TAKEN
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
ffc1d5fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1d600:	7f ef e1 d6 	mullw   r31,r15,r28                            
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
    lfn_entry = 0;                                                    
ffc1d604:	3b 20 00 00 	li      r25,0                                  
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
ffc1d608:	40 9e 02 54 	bne-    cr7,ffc1d85c <msdos_find_name_in_fat_file+0x7f0>
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d60c:	7f 9c d8 40 	cmplw   cr7,r28,r27                            
ffc1d610:	40 9d 03 7c 	ble-    cr7,ffc1d98c <msdos_find_name_in_fat_file+0x920><== NEVER TAKEN
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d614:	81 21 00 18 	lwz     r9,24(r1)                              
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc1d618:	3b b9 00 01 	addi    r29,r25,1                              
                                                                      
        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;  
ffc1d61c:	83 d1 00 a0 	lwz     r30,160(r17)                           
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d620:	38 09 00 01 	addi    r0,r9,1                                
ffc1d624:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
                                                                      
        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;  
ffc1d628:	7f de da 14 	add     r30,r30,r27                            
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d62c:	41 9e 03 54 	beq-    cr7,ffc1d980 <msdos_find_name_in_fat_file+0x914>
 *     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(                                      
ffc1d630:	81 41 00 18 	lwz     r10,24(r1)                             
ffc1d634:	7f 25 c8 f8 	not     r5,r25                                 
ffc1d638:	81 61 00 24 	lwz     r11,36(r1)                             
ffc1d63c:	7f 79 db 78 	mr      r25,r27                                
ffc1d640:	7c a5 52 14 	add     r5,r5,r10                              
ffc1d644:	1c a5 00 0d 	mulli   r5,r5,13                               
ffc1d648:	3a 6a 00 01 	addi    r19,r10,1                              
ffc1d64c:	56 73 06 3e 	clrlwi  r19,r19,24                             
ffc1d650:	7c ab 2a 14 	add     r5,r11,r5                              
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc1d654:	3a e0 00 20 	li      r23,32                                 
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1d658:	38 c0 00 00 	li      r6,0                                   
             * 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)                 
ffc1d65c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1d660:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1d664:	41 9e 02 d4 	beq-    cr7,ffc1d938 <msdos_find_name_in_fat_file+0x8cc>
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1d668:	90 de 00 0c 	stw     r6,12(r30)                             
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
ffc1d66c:	7c a3 2b 78 	mr      r3,r5                                  
ffc1d670:	39 00 00 01 	li      r8,1                                   
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1d674:	90 de 00 00 	stw     r6,0(r30)                              
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
ffc1d678:	39 3e 00 01 	addi    r9,r30,1                               
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
ffc1d67c:	39 60 00 00 	li      r11,0                                  
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1d680:	90 de 00 04 	stw     r6,4(r30)                              
 *     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(                                      
ffc1d684:	38 e8 ff ff 	addi    r7,r8,-1                               
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
ffc1d688:	90 de 00 08 	stw     r6,8(r30)                              
ffc1d68c:	90 de 00 10 	stw     r6,16(r30)                             
ffc1d690:	90 de 00 14 	stw     r6,20(r30)                             
ffc1d694:	90 de 00 18 	stw     r6,24(r30)                             
ffc1d698:	90 de 00 1c 	stw     r6,28(r30)                             
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
ffc1d69c:	9b 5e 00 0d 	stb     r26,13(r30)                            
            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)                                          
ffc1d6a0:	88 83 00 00 	lbz     r4,0(r3)                               
ffc1d6a4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1d6a8:	41 9e 00 3c 	beq-    cr7,ffc1d6e4 <msdos_find_name_in_fat_file+0x678><== NEVER TAKEN
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1d6ac:	2f 87 00 04 	cmpwi   cr7,r7,4                               
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
                {                                                     
                    *p = *n;                                          
ffc1d6b0:	98 89 00 00 	stb     r4,0(r9)                               
                    n++;                                              
ffc1d6b4:	38 63 00 01 	addi    r3,r3,1                                
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1d6b8:	41 9e 00 40 	beq-    cr7,ffc1d6f8 <msdos_find_name_in_fat_file+0x68c>
ffc1d6bc:	2f 87 00 0a 	cmpwi   cr7,r7,10                              
ffc1d6c0:	41 9e 02 6c 	beq-    cr7,ffc1d92c <msdos_find_name_in_fat_file+0x8c0>
            *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++)             
ffc1d6c4:	2f 88 00 0d 	cmpwi   cr7,r8,13                              
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
                        break;                                        
                    default:                                          
                        p += 2;                                       
ffc1d6c8:	39 29 00 02 	addi    r9,r9,2                                
            *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++)             
ffc1d6cc:	41 9e 00 58 	beq-    cr7,ffc1d724 <msdos_find_name_in_fat_file+0x6b8>
ffc1d6d0:	39 08 00 01 	addi    r8,r8,1                                
            {                                                         
                if (*n != 0)                                          
ffc1d6d4:	88 83 00 00 	lbz     r4,0(r3)                               
 *     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(                                      
ffc1d6d8:	38 e8 ff ff 	addi    r7,r8,-1                               
            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)                                          
ffc1d6dc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1d6e0:	40 be ff cc 	bne-    cr7,ffc1d6ac <msdos_find_name_in_fat_file+0x640>
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
ffc1d6e4:	2f 87 00 04 	cmpwi   cr7,r7,4                               
                    *p = *n;                                          
                    n++;                                              
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
ffc1d6e8:	99 69 00 00 	stb     r11,0(r9)                              
                    p [1] = fill;                                     
ffc1d6ec:	99 69 00 01 	stb     r11,1(r9)                              
                    fill = 0xff;                                      
ffc1d6f0:	39 60 00 ff 	li      r11,255                                
                }                                                     
                                                                      
                switch (i)                                            
ffc1d6f4:	40 9e ff c8 	bne+    cr7,ffc1d6bc <msdos_find_name_in_fat_file+0x650>
                {                                                     
                    case 4:                                           
                        p += 5;                                       
ffc1d6f8:	39 29 00 05 	addi    r9,r9,5                                
ffc1d6fc:	39 08 00 01 	addi    r8,r8,1                                
ffc1d700:	4b ff ff d4 	b       ffc1d6d4 <msdos_find_name_in_fat_file+0x668>
      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) &&                                 
ffc1d704:	81 38 00 24 	lwz     r9,36(r24)                             
ffc1d708:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1d70c:	40 be fa 4c 	bne-    cr7,ffc1d158 <msdos_find_name_in_fat_file+0xec><== NEVER TAKEN
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
ffc1d710:	89 31 00 0e 	lbz     r9,14(r17)                             
      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) &&                                 
ffc1d714:	71 2a 00 03 	andi.   r10,r9,3                               
ffc1d718:	41 a2 fa 40 	beq-    ffc1d158 <msdos_find_name_in_fat_file+0xec>
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
ffc1d71c:	83 98 00 18 	lwz     r28,24(r24)                            
ffc1d720:	4b ff fa 3c 	b       ffc1d15c <msdos_find_name_in_fat_file+0xf0>
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
ffc1d724:	2f 9d 00 01 	cmpwi   cr7,r29,1                              
 *     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(                                      
ffc1d728:	7d 3d 98 50 	subf    r9,r29,r19                             
ffc1d72c:	55 29 06 3e 	clrlwi  r9,r9,24                               
                        p += 2;                                       
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
ffc1d730:	99 3e 00 00 	stb     r9,0(r30)                              
            if (lfn_entry == 1)                                       
ffc1d734:	41 9e 02 10 	beq-    cr7,ffc1d944 <msdos_find_name_in_fat_file+0x8d8>
        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)          
ffc1d738:	3b 39 00 20 	addi    r25,r25,32                             
            }                                                         
                                                                      
            *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;                 
ffc1d73c:	89 3e 00 0b 	lbz     r9,11(r30)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d740:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
            }                                                         
                                                                      
            *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;                 
ffc1d744:	61 29 00 0f 	ori     r9,r9,15                               
ffc1d748:	99 3e 00 0b 	stb     r9,11(r30)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d74c:	40 9d 02 18 	ble-    cr7,ffc1d964 <msdos_find_name_in_fat_file+0x8f8><== NEVER TAKEN
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc1d750:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
        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;  
ffc1d754:	83 d1 00 a0 	lwz     r30,160(r17)                           
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d758:	7f 80 e8 00 	cmpw    cr7,r0,r29                             
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc1d75c:	3a f7 00 20 	addi    r23,r23,32                             
                                                                      
        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;  
ffc1d760:	7f de ca 14 	add     r30,r30,r25                            
ffc1d764:	38 a5 ff f3 	addi    r5,r5,-13                              
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d768:	40 9e fe f4 	bne+    cr7,ffc1d65c <msdos_find_name_in_fat_file+0x5f0>
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
ffc1d76c:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d770:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d774:	38 a0 00 01 	li      r5,1                                   
ffc1d778:	7f e6 fb 78 	mr      r6,r31                                 
ffc1d77c:	7e a7 ab 78 	mr      r7,r21                                 
ffc1d780:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1d784:	4b ff 8e e1 	bl      ffc16664 <fat_file_ioctl>              
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
ffc1d788:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d78c:	40 82 01 6c 	bne-    ffc1d8f8 <msdos_find_name_in_fat_file+0x88c><== NEVER TAKEN
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc1d790:	80 c1 00 08 	lwz     r6,8(r1)                               
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
ffc1d794:	93 35 00 04 	stw     r25,4(r21)                             
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc1d798:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1d79c:	41 9e 01 d4 	beq-    cr7,ffc1d970 <msdos_find_name_in_fat_file+0x904>
                {                                                     
                  rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
ffc1d7a0:	7c dc 31 d6 	mullw   r6,r28,r6                              
ffc1d7a4:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d7a8:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d7ac:	38 a0 00 01 	li      r5,1                                   
ffc1d7b0:	38 e1 00 08 	addi    r7,r1,8                                
ffc1d7b4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1d7b8:	4b ff 8e ad 	bl      ffc16664 <fat_file_ioctl>              
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
ffc1d7bc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d7c0:	40 82 01 38 	bne-    ffc1d8f8 <msdos_find_name_in_fat_file+0x88c><== NEVER TAKEN
ffc1d7c4:	81 21 00 08 	lwz     r9,8(r1)                               
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
ffc1d7c8:	91 35 00 08 	stw     r9,8(r21)                              
ffc1d7cc:	7e e6 bb 78 	mr      r6,r23                                 
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
ffc1d7d0:	7f b9 eb 78 	mr      r25,r29                                
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
                dir_pos->lname.ofs = lfn_start.ofs;                   
ffc1d7d4:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1d7d8:	91 35 00 0c 	stw     r9,12(r21)                             
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
ffc1d7dc:	81 36 00 00 	lwz     r9,0(r22)                              
ffc1d7e0:	80 b6 00 04 	lwz     r5,4(r22)                              
ffc1d7e4:	80 f6 00 08 	lwz     r7,8(r22)                              
ffc1d7e8:	81 16 00 0c 	lwz     r8,12(r22)                             
ffc1d7ec:	91 3e 00 00 	stw     r9,0(r30)                              
ffc1d7f0:	90 be 00 04 	stw     r5,4(r30)                              
ffc1d7f4:	90 fe 00 08 	stw     r7,8(r30)                              
ffc1d7f8:	91 1e 00 0c 	stw     r8,12(r30)                             
ffc1d7fc:	81 36 00 10 	lwz     r9,16(r22)                             
ffc1d800:	80 b6 00 14 	lwz     r5,20(r22)                             
ffc1d804:	80 f6 00 18 	lwz     r7,24(r22)                             
ffc1d808:	81 16 00 1c 	lwz     r8,28(r22)                             
ffc1d80c:	91 3e 00 10 	stw     r9,16(r30)                             
ffc1d810:	90 be 00 14 	stw     r5,20(r30)                             
ffc1d814:	90 fe 00 18 	stw     r7,24(r30)                             
ffc1d818:	91 1e 00 1c 	stw     r8,28(r30)                             
            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,                   
ffc1d81c:	80 f1 00 a0 	lwz     r7,160(r17)                            
ffc1d820:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d824:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d828:	7c bf da 14 	add     r5,r31,r27                             
ffc1d82c:	7c e7 da 14 	add     r7,r7,r27                              
ffc1d830:	4b ff 91 c5 	bl      ffc169f4 <fat_file_write>              
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
ffc1d834:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc1d838:	41 9e 02 18 	beq-    cr7,ffc1da50 <msdos_find_name_in_fat_file+0x9e4><== NEVER TAKEN
            return ret;                                               
        else if (ret != length)                                       
ffc1d83c:	7f 83 b8 00 	cmpw    cr7,r3,r23                             
ffc1d840:	40 9e 00 c8 	bne-    cr7,ffc1d908 <msdos_find_name_in_fat_file+0x89c><== NEVER TAKEN
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1d844:	81 21 00 18 	lwz     r9,24(r1)                              
        if (ret == -1)                                                
            return ret;                                               
        else if (ret != length)                                       
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        empty_space_offset++;                                         
ffc1d848:	39 ef 00 01 	addi    r15,r15,1                              
ffc1d84c:	7f ff e2 14 	add     r31,r31,r28                            
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1d850:	7f 89 c8 00 	cmpw    cr7,r9,r25                             
            return ret;                                               
        else if (ret != length)                                       
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
ffc1d854:	3b 60 00 00 	li      r27,0                                  
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
ffc1d858:	41 9c 01 48 	blt-    cr7,ffc1d9a0 <msdos_find_name_in_fat_file+0x934><== ALWAYS TAKEN
        {                                                             
          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,                  
ffc1d85c:	80 f1 00 a0 	lwz     r7,160(r17)                            
ffc1d860:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d864:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d868:	7f e5 fb 78 	mr      r5,r31                                 
ffc1d86c:	7f 86 e3 78 	mr      r6,r28                                 
ffc1d870:	4b ff 89 3d 	bl      ffc161ac <fat_file_read>               
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
ffc1d874:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc1d878:	41 be fd 94 	beq-    cr7,ffc1d60c <msdos_find_name_in_fat_file+0x5a0><== NEVER TAKEN
          {                                                           
            if (ret != FAT_EOF)                                       
ffc1d87c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d880:	40 9e 00 68 	bne-    cr7,ffc1d8e8 <msdos_find_name_in_fat_file+0x87c><== NEVER TAKEN
              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,      
ffc1d884:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d888:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d88c:	38 a0 00 00 	li      r5,0                                   
ffc1d890:	7f e6 fb 78 	mr      r6,r31                                 
ffc1d894:	38 e1 00 10 	addi    r7,r1,16                               
ffc1d898:	4b ff 8e cd 	bl      ffc16764 <fat_file_extend>             
                                   empty_space_offset * bts2rd, &new_length);
                                                                      
            if (ret != RC_OK)                                         
ffc1d89c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1d8a0:	40 82 00 58 	bne-    ffc1d8f8 <msdos_find_name_in_fat_file+0x88c><== NEVER TAKEN
              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))          
ffc1d8a4:	81 21 00 10 	lwz     r9,16(r1)                              
ffc1d8a8:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc1d8ac:	40 9e 00 3c 	bne-    cr7,ffc1d8e8 <msdos_find_name_in_fat_file+0x87c><== NEVER TAKEN
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
            memset(fs_info->cl_buf, 0, bts2rd);                       
ffc1d8b0:	80 71 00 a0 	lwz     r3,160(r17)                            
ffc1d8b4:	38 80 00 00 	li      r4,0                                   
ffc1d8b8:	7f 85 e3 78 	mr      r5,r28                                 
ffc1d8bc:	48 00 3b b5 	bl      ffc21470 <memset>                      
                                                                      
            ret = fat_file_write(&fs_info->fat, fat_fd,               
ffc1d8c0:	80 f1 00 a0 	lwz     r7,160(r17)                            
ffc1d8c4:	7e 23 8b 78 	mr      r3,r17                                 
ffc1d8c8:	7f 04 c3 78 	mr      r4,r24                                 
ffc1d8cc:	7f e5 fb 78 	mr      r5,r31                                 
ffc1d8d0:	7f 86 e3 78 	mr      r6,r28                                 
ffc1d8d4:	4b ff 91 21 	bl      ffc169f4 <fat_file_write>              
                                 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)                                            
ffc1d8d8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
ffc1d8dc:	41 9e 00 1c 	beq-    cr7,ffc1d8f8 <msdos_find_name_in_fat_file+0x88c><== ALWAYS TAKEN
              return ret;                                             
            else if (ret != bts2rd)                                   
ffc1d8e0:	7f 83 e0 00 	cmpw    cr7,r3,r28                             <== NOT EXECUTED
ffc1d8e4:	41 9e fd 28 	beq+    cr7,ffc1d60c <msdos_find_name_in_fat_file+0x5a0><== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
ffc1d8e8:	48 00 2d b5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1d8ec:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1d8f0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1d8f4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
                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)                                    
ffc1d8f8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1d8fc:	4b ff fa 98 	b       ffc1d394 <msdos_find_name_in_fat_file+0x328>
                        if (rc != RC_OK)                              
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
ffc1d900:	39 20 ff ff 	li      r9,-1                                  
ffc1d904:	4b ff fa 44 	b       ffc1d348 <msdos_find_name_in_fat_file+0x2dc>
                             (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);                
ffc1d908:	48 00 2d 95 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1d90c:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1d910:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1d914:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1d918:	4b ff fa 7c 	b       ffc1d394 <msdos_find_name_in_fat_file+0x328><== NOT EXECUTED
     * 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)                                       
ffc1d91c:	7e 0f 83 78 	mr      r15,r16                                
    {                                                                 
        read_cluster = true;                                          
ffc1d920:	39 20 00 01 	li      r9,1                                   
        empty_space_offset = dir_offset;                              
        empty_space_entry = 0;                                        
ffc1d924:	3b 60 00 00 	li      r27,0                                  
ffc1d928:	4b ff fc c4 	b       ffc1d5ec <msdos_find_name_in_fat_file+0x580>
                {                                                     
                    case 4:                                           
                        p += 5;                                       
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
ffc1d92c:	39 29 00 04 	addi    r9,r9,4                                
ffc1d930:	39 08 00 01 	addi    r8,r8,1                                
ffc1d934:	4b ff fd a0 	b       ffc1d6d4 <msdos_find_name_in_fat_file+0x668>
             * first entry written and if so remember the             
             * the location of the long file name.                    
             */                                                       
            if (lfn_start.cln == FAT_FILE_SHORT_NAME)                 
            {                                                         
              lfn_start.cln = empty_space_offset;                     
ffc1d938:	91 e1 00 08 	stw     r15,8(r1)                              
              lfn_start.ofs = dir_entry;                              
ffc1d93c:	93 21 00 0c 	stw     r25,12(r1)                             
ffc1d940:	4b ff fd 28 	b       ffc1d668 <msdos_find_name_in_fat_file+0x5fc>
        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)          
ffc1d944:	3b 39 00 20 	addi    r25,r25,32                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d948:	7f 9c c8 40 	cmplw   cr7,r28,r25                            
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
ffc1d94c:	61 29 00 40 	ori     r9,r9,64                               
ffc1d950:	99 3e 00 00 	stb     r9,0(r30)                              
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
ffc1d954:	89 3e 00 0b 	lbz     r9,11(r30)                             
ffc1d958:	61 29 00 0f 	ori     r9,r9,15                               
ffc1d95c:	99 3e 00 0b 	stb     r9,11(r30)                             
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d960:	41 9d fd f0 	bgt+    cr7,ffc1d750 <msdos_find_name_in_fat_file+0x6e4><== ALWAYS TAKEN
ffc1d964:	7e e6 bb 78 	mr      r6,r23                                 <== NOT EXECUTED
ffc1d968:	7f b9 eb 78 	mr      r25,r29                                <== NOT EXECUTED
ffc1d96c:	4b ff fe b0 	b       ffc1d81c <msdos_find_name_in_fat_file+0x7b0><== NOT EXECUTED
                if (rc != RC_OK)                                      
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
ffc1d970:	39 20 ff ff 	li      r9,-1                                  
ffc1d974:	4b ff fe 54 	b       ffc1d7c8 <msdos_find_name_in_fat_file+0x75c>
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
      return MSDOS_NAME_NOT_FOUND_ERR;                                
ffc1d978:	3b a0 7d 01 	li      r29,32001                              
ffc1d97c:	4b ff fa 18 	b       ffc1d394 <msdos_find_name_in_fat_file+0x328>
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
ffc1d980:	7f 79 db 78 	mr      r25,r27                                
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
ffc1d984:	3a e0 00 20 	li      r23,32                                 
ffc1d988:	4b ff fd e4 	b       ffc1d76c <msdos_find_name_in_fat_file+0x700>
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
ffc1d98c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc1d990:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc1d994:	4b ff fe 88 	b       ffc1d81c <msdos_find_name_in_fat_file+0x7b0><== 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;                            
ffc1d998:	39 20 00 00 	li      r9,0                                   
ffc1d99c:	4b ff fc 50 	b       ffc1d5ec <msdos_find_name_in_fat_file+0x580>
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
ffc1d9a0:	3b a0 00 00 	li      r29,0                                  
ffc1d9a4:	4b ff f9 f0 	b       ffc1d394 <msdos_find_name_in_fat_file+0x328>
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1d9a8:	89 36 00 00 	lbz     r9,0(r22)                              
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1d9ac:	7d 0f e1 d6 	mullw   r8,r15,r28                             
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1d9b0:	81 41 00 18 	lwz     r10,24(r1)                             
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1d9b4:	2f 89 00 20 	cmpwi   cr7,r9,32                              
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1d9b8:	7d 08 da 14 	add     r8,r8,r27                              
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1d9bc:	38 ca 00 01 	addi    r6,r10,1                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
ffc1d9c0:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
                         MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE) + lfn_entries + 1;
ffc1d9c4:	7c c6 42 14 	add     r6,r6,r8                               
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
ffc1d9c8:	41 9e 00 7c 	beq-    cr7,ffc1da44 <msdos_find_name_in_fat_file+0x9d8>
ffc1d9cc:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1d9d0:	41 9e 00 74 	beq-    cr7,ffc1da44 <msdos_find_name_in_fat_file+0x9d8><== NEVER TAKEN
ffc1d9d4:	89 36 00 01 	lbz     r9,1(r22)                              
ffc1d9d8:	2f 89 00 20 	cmpwi   cr7,r9,32                              
ffc1d9dc:	41 9e 00 5c 	beq-    cr7,ffc1da38 <msdos_find_name_in_fat_file+0x9cc>
ffc1d9e0:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1d9e4:	41 9e 00 54 	beq-    cr7,ffc1da38 <msdos_find_name_in_fat_file+0x9cc><== NEVER TAKEN
ffc1d9e8:	39 60 00 04 	li      r11,4                                  
ffc1d9ec:	7d 69 03 a6 	mtctr   r11                                    
ffc1d9f0:	3c e0 ff c3 	lis     r7,-61                                 
 *     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(                                      
ffc1d9f4:	39 16 00 01 	addi    r8,r22,1                               
ffc1d9f8:	39 20 00 0c 	li      r9,12                                  
ffc1d9fc:	38 e7 09 98 	addi    r7,r7,2456                             
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
ffc1da00:	7c c5 4e 30 	sraw    r5,r6,r9                               
ffc1da04:	54 a5 07 3e 	clrlwi  r5,r5,28                               
ffc1da08:	7c a7 28 ae 	lbzx    r5,r7,r5                               
ffc1da0c:	39 29 ff fc 	addi    r9,r9,-4                               
ffc1da10:	9c a8 00 01 	stbu    r5,1(r8)                               
    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++)                                      
ffc1da14:	42 00 ff ec 	bdnz+   ffc1da00 <msdos_find_name_in_fat_file+0x994>
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
    *c++ = '~';                                                       
ffc1da18:	39 20 00 7e 	li      r9,126                                 
ffc1da1c:	99 36 00 06 	stb     r9,6(r22)                              
    *c++ = '1';                                                       
ffc1da20:	39 20 00 31 	li      r9,49                                  
ffc1da24:	99 36 00 07 	stb     r9,7(r22)                              
ffc1da28:	4b ff fb 50 	b       ffc1d578 <msdos_find_name_in_fat_file+0x50c>
ffc1da2c:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc1da30:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
ffc1da34:	4b ff fa 34 	b       ffc1d468 <msdos_find_name_in_fat_file+0x3fc><== NOT EXECUTED
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
ffc1da38:	39 20 00 5f 	li      r9,95                                  
ffc1da3c:	99 36 00 01 	stb     r9,1(r22)                              
ffc1da40:	4b ff ff a8 	b       ffc1d9e8 <msdos_find_name_in_fat_file+0x97c>
ffc1da44:	39 20 00 5f 	li      r9,95                                  
ffc1da48:	99 36 00 00 	stb     r9,0(r22)                              
ffc1da4c:	4b ff ff 88 	b       ffc1d9d4 <msdos_find_name_in_fat_file+0x968>
        }                                                             
                                                                      
        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)                                                
ffc1da50:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc1da54:	4b ff f9 40 	b       ffc1d394 <msdos_find_name_in_fat_file+0x328><== 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);                                             
ffc1da58:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1da5c:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1da60:	38 a5 0f 1c 	addi    r5,r5,3868                             <== NOT EXECUTED
ffc1da64:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1da68:	38 63 0f 94 	addi    r3,r3,3988                             <== NOT EXECUTED
ffc1da6c:	38 80 03 c9 	li      r4,969                                 <== NOT EXECUTED
ffc1da70:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc1da74:	38 c6 10 14 	addi    r6,r6,4116                             <== NOT EXECUTED
ffc1da78:	4b fe 8a b5 	bl      ffc0652c <__assert_func>               <== NOT EXECUTED
#endif                                                                
                                                                      
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
ffc1da7c:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1da80:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1da84:	38 a5 0f 1c 	addi    r5,r5,3868                             <== NOT EXECUTED
ffc1da88:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1da8c:	38 63 0f 94 	addi    r3,r3,3988                             <== NOT EXECUTED
ffc1da90:	38 80 03 f9 	li      r4,1017                                <== NOT EXECUTED
ffc1da94:	38 a5 00 14 	addi    r5,r5,20                               <== NOT EXECUTED
ffc1da98:	38 c6 10 24 	addi    r6,r6,4132                             <== NOT EXECUTED
ffc1da9c:	4b fe 8a 91 	bl      ffc0652c <__assert_func>               <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
ffc1daa0:	41 92 fe d8 	beq+    cr4,ffc1d978 <msdos_find_name_in_fat_file+0x90c>
ffc1daa4:	2c 1d 00 00 	cmpwi   r29,0                                  
ffc1daa8:	4b ff fa c4 	b       ffc1d56c <msdos_find_name_in_fat_file+0x500>
                                                                      

ffc1daac <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 ) {
ffc1daac:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1dab0:	7c 08 02 a6 	mflr    r0                                     
ffc1dab4:	90 01 00 34 	stw     r0,52(r1)                              
    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) &&                                 
ffc1dab8:	81 24 00 20 	lwz     r9,32(r4)                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              cl4find,                    
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1dabc:	93 01 00 10 	stw     r24,16(r1)                             
ffc1dac0:	7c 98 23 78 	mr      r24,r4                                 
    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) &&                                 
ffc1dac4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              cl4find,                    
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1dac8:	93 21 00 14 	stw     r25,20(r1)                             
ffc1dacc:	93 41 00 18 	stw     r26,24(r1)                             
ffc1dad0:	7c ba 2b 78 	mr      r26,r5                                 
ffc1dad4:	93 81 00 20 	stw     r28,32(r1)                             
ffc1dad8:	7c dc 33 78 	mr      r28,r6                                 
ffc1dadc:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1dae0:	7c fd 3b 78 	mr      r29,r7                                 
ffc1dae4:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc1dae8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1daec:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1daf0:	93 e1 00 2c 	stw     r31,44(r1)                             
    int              rc = RC_OK;                                      
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1daf4:	83 23 00 08 	lwz     r25,8(r3)                              
    uint32_t         bts2rd = 0;                                      
    uint32_t         i = 0, j = 0;                                    
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
ffc1daf8:	41 9e 00 dc 	beq-    cr7,ffc1dbd4 <msdos_find_node_by_cluster_num_in_fat_file+0x128><== NEVER TAKEN
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
ffc1dafc:	a3 79 00 06 	lhz     r27,6(r25)                             
ffc1db00:	80 f9 00 a0 	lwz     r7,160(r25)                            
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
ffc1db04:	3a e0 00 00 	li      r23,0                                  
       (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,
ffc1db08:	7f 23 cb 78 	mr      r3,r25                                 
ffc1db0c:	7f 04 c3 78 	mr      r4,r24                                 
ffc1db10:	7e e5 bb 78 	mr      r5,r23                                 
ffc1db14:	7f 66 db 78 	mr      r6,r27                                 
ffc1db18:	4b ff 86 95 	bl      ffc161ac <fat_file_read>               
ffc1db1c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1db20:	41 82 00 7c 	beq-    ffc1db9c <msdos_find_node_by_cluster_num_in_fat_file+0xf0><== NEVER TAKEN
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
ffc1db24:	2f 83 00 1f 	cmpwi   cr7,r3,31                              
ffc1db28:	40 9d 01 74 	ble-    cr7,ffc1dc9c <msdos_find_node_by_cluster_num_in_fat_file+0x1f0><== NEVER TAKEN
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
ffc1db2c:	7f 83 d8 00 	cmpw    cr7,r3,r27                             
ffc1db30:	40 9e 01 80 	bne-    cr7,ffc1dcb0 <msdos_find_node_by_cluster_num_in_fat_file+0x204><== NEVER TAKEN
ffc1db34:	80 f9 00 a0 	lwz     r7,160(r25)                            
ffc1db38:	3b c0 00 00 	li      r30,0                                  
ffc1db3c:	7c ff 3b 78 	mr      r31,r7                                 
        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)) ==                     
ffc1db40:	89 3f 00 00 	lbz     r9,0(r31)                              
ffc1db44:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1db48:	41 9e 00 54 	beq-    cr7,ffc1db9c <msdos_find_node_by_cluster_num_in_fat_file+0xf0><== NEVER TAKEN
                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)) ==                     
ffc1db4c:	2f 89 00 e5 	cmpwi   cr7,r9,229                             
ffc1db50:	41 9e 00 34 	beq-    cr7,ffc1db84 <msdos_find_node_by_cluster_num_in_fat_file+0xd8><== NEVER TAKEN
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
ffc1db54:	a1 5f 00 14 	lhz     r10,20(r31)                            
ffc1db58:	a1 3f 00 1a 	lhz     r9,26(r31)                             
ffc1db5c:	55 48 c2 3e 	rlwinm  r8,r10,24,8,31                         
ffc1db60:	55 4a 44 2e 	rlwinm  r10,r10,8,16,23                        
ffc1db64:	7d 0a 53 78 	or      r10,r8,r10                             
ffc1db68:	55 28 c2 3e 	rlwinm  r8,r9,24,8,31                          
ffc1db6c:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1db70:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc1db74:	7d 09 4b 78 	or      r9,r8,r9                               
ffc1db78:	7d 49 4b 78 	or      r9,r10,r9                              
ffc1db7c:	7f 89 d0 00 	cmpw    cr7,r9,r26                             
ffc1db80:	41 9e 00 74 	beq-    cr7,ffc1dbf4 <msdos_find_node_by_cluster_num_in_fat_file+0x148>
        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)
ffc1db84:	3b de 00 20 	addi    r30,r30,32                             
ffc1db88:	7f 9e d8 40 	cmplw   cr7,r30,r27                            
ffc1db8c:	3b ff 00 20 	addi    r31,r31,32                             
ffc1db90:	41 9c ff b0 	blt+    cr7,ffc1db40 <msdos_find_node_by_cluster_num_in_fat_file+0x94><== ALWAYS TAKEN
ffc1db94:	7e f7 da 14 	add     r23,r23,r27                            <== NOT EXECUTED
ffc1db98:	4b ff ff 70 	b       ffc1db08 <msdos_find_node_by_cluster_num_in_fat_file+0x5c><== 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;                      
ffc1db9c:	38 60 7d 01 	li      r3,32001                               <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc1dba0:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc1dba4:	82 e1 00 0c 	lwz     r23,12(r1)                             <== NOT EXECUTED
ffc1dba8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1dbac:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc1dbb0:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc1dbb4:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc1dbb8:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc1dbbc:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc1dbc0:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc1dbc4:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc1dbc8:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc1dbcc:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc1dbd0:	4e 80 00 20 	blr                                            <== 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) &&                                 
ffc1dbd4:	81 24 00 24 	lwz     r9,36(r4)                              <== NOT EXECUTED
ffc1dbd8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1dbdc:	40 be ff 20 	bne-    cr7,ffc1dafc <msdos_find_node_by_cluster_num_in_fat_file+0x50><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
ffc1dbe0:	89 39 00 0e 	lbz     r9,14(r25)                             <== 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) &&                                 
ffc1dbe4:	71 2a 00 03 	andi.   r10,r9,3                               <== NOT EXECUTED
ffc1dbe8:	41 a2 ff 14 	beq-    ffc1dafc <msdos_find_node_by_cluster_num_in_fat_file+0x50><== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
ffc1dbec:	83 64 00 18 	lwz     r27,24(r4)                             <== NOT EXECUTED
ffc1dbf0:	4b ff ff 10 	b       ffc1db00 <msdos_find_node_by_cluster_num_in_fat_file+0x54><== 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,
ffc1dbf4:	7f 23 cb 78 	mr      r3,r25                                 
ffc1dbf8:	7f 04 c3 78 	mr      r4,r24                                 
ffc1dbfc:	38 a0 00 01 	li      r5,1                                   
ffc1dc00:	7e e6 bb 78 	mr      r6,r23                                 
ffc1dc04:	7f 87 e3 78 	mr      r7,r28                                 
ffc1dc08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1dc0c:	4b ff 8a 59 	bl      ffc16664 <fat_file_ioctl>              
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
ffc1dc10:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1dc14:	40 82 ff 8c 	bne+    ffc1dba0 <msdos_find_node_by_cluster_num_in_fat_file+0xf4><== NEVER TAKEN
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc1dc18:	39 20 ff ff 	li      r9,-1                                  
                rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM, j * bts2rd,
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
ffc1dc1c:	93 dc 00 04 	stw     r30,4(r28)                             
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
ffc1dc20:	91 3c 00 08 	stw     r9,8(r28)                              
                dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;             
ffc1dc24:	91 3c 00 0c 	stw     r9,12(r28)                             
                                                                      
                memcpy(dir_entry, entry,                              
ffc1dc28:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1dc2c:	80 ff 00 04 	lwz     r7,4(r31)                              
ffc1dc30:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc1dc34:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc1dc38:	91 3d 00 00 	stw     r9,0(r29)                              
ffc1dc3c:	90 fd 00 04 	stw     r7,4(r29)                              
ffc1dc40:	91 1d 00 08 	stw     r8,8(r29)                              
ffc1dc44:	91 5d 00 0c 	stw     r10,12(r29)                            
ffc1dc48:	80 ff 00 10 	lwz     r7,16(r31)                             
ffc1dc4c:	81 1f 00 14 	lwz     r8,20(r31)                             
ffc1dc50:	81 5f 00 18 	lwz     r10,24(r31)                            
ffc1dc54:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc1dc58:	90 fd 00 10 	stw     r7,16(r29)                             
ffc1dc5c:	91 1d 00 14 	stw     r8,20(r29)                             
ffc1dc60:	91 5d 00 18 	stw     r10,24(r29)                            
ffc1dc64:	91 3d 00 1c 	stw     r9,28(r29)                             
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
ffc1dc68:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1dc6c:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc1dc70:	7c 08 03 a6 	mtlr    r0                                     
ffc1dc74:	83 01 00 10 	lwz     r24,16(r1)                             
ffc1dc78:	83 21 00 14 	lwz     r25,20(r1)                             
ffc1dc7c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc1dc80:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1dc84:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1dc88:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1dc8c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1dc90:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1dc94:	38 21 00 30 	addi    r1,r1,48                               
ffc1dc98:	4e 80 00 20 	blr                                            
                                                                      
    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 );              
ffc1dc9c:	48 00 2a 01 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1dca0:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1dca4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1dca8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1dcac:	4b ff fe f4 	b       ffc1dba0 <msdos_find_node_by_cluster_num_in_fat_file+0xf4><== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
ffc1dcb0:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1dcb4:	3c 60 ff c3 	lis     r3,-61                                 <== NOT EXECUTED
ffc1dcb8:	38 a5 0f 1c 	addi    r5,r5,3868                             <== NOT EXECUTED
ffc1dcbc:	3c c0 ff c3 	lis     r6,-61                                 <== NOT EXECUTED
ffc1dcc0:	38 63 0f 94 	addi    r3,r3,3988                             <== NOT EXECUTED
ffc1dcc4:	38 80 06 4e 	li      r4,1614                                <== NOT EXECUTED
ffc1dcc8:	38 a5 00 30 	addi    r5,r5,48                               <== NOT EXECUTED
ffc1dccc:	38 c6 10 24 	addi    r6,r6,4132                             <== NOT EXECUTED
ffc1dcd0:	4b fe 88 5d 	bl      ffc0652c <__assert_func>               <== NOT EXECUTED
                                                                      

ffc10510 <msdos_format>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc10510:	94 21 fd 10 	stwu    r1,-752(r1)                            
ffc10514:	7d 80 00 26 	mfcr    r12                                    
ffc10518:	7c 08 02 a6 	mflr    r0                                     
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc1051c:	3c a0 ff c3 	lis     r5,-61                                 
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc10520:	93 a1 02 e4 	stw     r29,740(r1)                            
ffc10524:	7c 9d 23 78 	mr      r29,r4                                 
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc10528:	38 a5 0a 7c 	addi    r5,r5,2684                             
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc1052c:	93 e1 02 ec 	stw     r31,748(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc10530:	38 80 00 02 	li      r4,2                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc10534:	7c 7f 1b 78 	mr      r31,r3                                 
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc10538:	7f a3 eb 78 	mr      r3,r29                                 
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc1053c:	90 01 02 f4 	stw     r0,756(r1)                             
ffc10540:	93 81 02 e0 	stw     r28,736(r1)                            
ffc10544:	91 81 02 ac 	stw     r12,684(r1)                            
ffc10548:	92 01 02 b0 	stw     r16,688(r1)                            
ffc1054c:	92 21 02 b4 	stw     r17,692(r1)                            
ffc10550:	92 41 02 b8 	stw     r18,696(r1)                            
ffc10554:	92 61 02 bc 	stw     r19,700(r1)                            
ffc10558:	92 81 02 c0 	stw     r20,704(r1)                            
ffc1055c:	92 a1 02 c4 	stw     r21,708(r1)                            
ffc10560:	92 c1 02 c8 	stw     r22,712(r1)                            
ffc10564:	92 e1 02 cc 	stw     r23,716(r1)                            
ffc10568:	93 01 02 d0 	stw     r24,720(r1)                            
ffc1056c:	93 21 02 d4 	stw     r25,724(r1)                            
ffc10570:	93 41 02 d8 	stw     r26,728(r1)                            
ffc10574:	93 61 02 dc 	stw     r27,732(r1)                            
ffc10578:	93 c1 02 e8 	stw     r30,744(r1)                            
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
ffc1057c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10580:	4b ff fb 81 	bl      ffc10100 <msdos_format_printf>         
  fd = open(devname, O_RDWR);                                         
ffc10584:	7f e3 fb 78 	mr      r3,r31                                 
ffc10588:	38 80 00 02 	li      r4,2                                   
ffc1058c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10590:	4b ff 71 f9 	bl      ffc07788 <open>                        
  if (fd == -1) {                                                     
ffc10594:	2e 03 ff ff 	cmpwi   cr4,r3,-1                              
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
  fd = open(devname, O_RDWR);                                         
ffc10598:	7c 7c 1b 78 	mr      r28,r3                                 
  if (fd == -1) {                                                     
ffc1059c:	41 92 01 58 	beq-    cr4,ffc106f4 <msdos_format+0x1e4>      <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc105a0:	3c a0 ff c3 	lis     r5,-61                                 
ffc105a4:	38 a5 0b 48 	addi    r5,r5,2888                             
ffc105a8:	7f e6 fb 78 	mr      r6,r31                                 
ffc105ac:	38 80 00 02 	li      r4,2                                   
ffc105b0:	7f a3 eb 78 	mr      r3,r29                                 
ffc105b4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc105b8:	4b ff fb 49 	bl      ffc10100 <msdos_format_printf>         
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    ret_val = fstat(fd, &stat_buf);                                   
ffc105bc:	38 81 02 60 	addi    r4,r1,608                              
ffc105c0:	7f 83 e3 78 	mr      r3,r28                                 
ffc105c4:	4b ff 62 39 	bl      ffc067fc <fstat>                       
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc105c8:	3c a0 ff c3 	lis     r5,-61                                 
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    ret_val = fstat(fd, &stat_buf);                                   
ffc105cc:	7c 7e 1b 78 	mr      r30,r3                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc105d0:	38 80 00 01 	li      r4,1                                   
ffc105d4:	7f a3 eb 78 	mr      r3,r29                                 
ffc105d8:	38 a5 0b 58 	addi    r5,r5,2904                             
ffc105dc:	7f e6 fb 78 	mr      r6,r31                                 
ffc105e0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc105e4:	4b ff fb 1d 	bl      ffc10100 <msdos_format_printf>         
                       "formating: %s\n", devname);                   
  /* rtems feature: no block devices, all are character devices */    
  if ((ret_val == 0) && (!S_ISBLK(stat_buf.st_mode))) {               
ffc105e8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc105ec:	40 9e 00 24 	bne-    cr7,ffc10610 <msdos_format+0x100>      <== NEVER TAKEN
ffc105f0:	81 21 02 6c 	lwz     r9,620(r1)                             
ffc105f4:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
ffc105f8:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc105fc:	41 9e 00 b4 	beq-    cr7,ffc106b0 <msdos_format+0x1a0>      <== ALWAYS TAKEN
    errno = ENOTTY;                                                   
ffc10600:	48 01 00 9d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc10604:	39 20 00 19 	li      r9,25                                  <== NOT EXECUTED
ffc10608:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    ret_val = -1;                                                     
ffc1060c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
ffc10610:	40 92 00 94 	bne-    cr4,ffc106a4 <msdos_format+0x194>      <== ALWAYS TAKEN
    close(fd);                                                        
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc10614:	80 01 02 f4 	lwz     r0,756(r1)                             
ffc10618:	7f c3 f3 78 	mr      r3,r30                                 
ffc1061c:	81 81 02 ac 	lwz     r12,684(r1)                            
ffc10620:	7c 08 03 a6 	mtlr    r0                                     
ffc10624:	82 01 02 b0 	lwz     r16,688(r1)                            
ffc10628:	82 21 02 b4 	lwz     r17,692(r1)                            
ffc1062c:	7d 83 81 20 	mtcrf   56,r12                                 
ffc10630:	82 41 02 b8 	lwz     r18,696(r1)                            
ffc10634:	82 61 02 bc 	lwz     r19,700(r1)                            
ffc10638:	82 81 02 c0 	lwz     r20,704(r1)                            
ffc1063c:	82 a1 02 c4 	lwz     r21,708(r1)                            
ffc10640:	82 c1 02 c8 	lwz     r22,712(r1)                            
ffc10644:	82 e1 02 cc 	lwz     r23,716(r1)                            
ffc10648:	83 01 02 d0 	lwz     r24,720(r1)                            
ffc1064c:	83 21 02 d4 	lwz     r25,724(r1)                            
ffc10650:	83 41 02 d8 	lwz     r26,728(r1)                            
ffc10654:	83 61 02 dc 	lwz     r27,732(r1)                            
ffc10658:	83 81 02 e0 	lwz     r28,736(r1)                            
ffc1065c:	83 a1 02 e4 	lwz     r29,740(r1)                            
ffc10660:	83 c1 02 e8 	lwz     r30,744(r1)                            
ffc10664:	83 e1 02 ec 	lwz     r31,748(r1)                            
ffc10668:	38 21 02 f0 	addi    r1,r1,752                              
ffc1066c:	4e 80 00 20 	blr                                            
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
ffc10670:	7f fe fb 78 	mr      r30,r31                                <== NOT EXECUTED
         fmt_params.bytes_per_sector,                                 
         tmp_sec);                                                    
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0 && rqdata != NULL && rqdata->sync_device) {        
ffc10674:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10678:	40 9e 00 2c 	bne-    cr7,ffc106a4 <msdos_format+0x194>      <== NEVER TAKEN
ffc1067c:	41 8e 00 28 	beq-    cr3,ffc106a4 <msdos_format+0x194>      
ffc10680:	89 3d 00 17 	lbz     r9,23(r29)                             
ffc10684:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10688:	41 be 00 1c 	beq+    cr7,ffc106a4 <msdos_format+0x194>      
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
}                                                                     
                                                                      
static inline int rtems_disk_fd_sync(int fd)                          
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_SYNCDEV);                              
ffc1068c:	3c 80 20 00 	lis     r4,8192                                
ffc10690:	7f 83 e3 78 	mr      r3,r28                                 
ffc10694:	60 84 42 06 	ori     r4,r4,16902                            
ffc10698:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1069c:	48 00 8b 95 	bl      ffc19230 <ioctl>                       
ffc106a0:	7c 7e 1b 78 	mr      r30,r3                                 
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
    close(fd);                                                        
ffc106a4:	7f 83 e3 78 	mr      r3,r28                                 
ffc106a8:	4b ff 5f d1 	bl      ffc06678 <close>                       
ffc106ac:	4b ff ff 68 	b       ffc10614 <msdos_format+0x104>          
  uint64_t total_size = 0;                                            
  uint32_t data_clusters_cnt;                                         
  uint8_t  iteration_cnt = 0;                                         
  uint8_t  fat_type = UINT8_MAX;                                      
                                                                      
  memset(fmt_params,0,sizeof(*fmt_params));                           
ffc106b0:	38 80 00 00 	li      r4,0                                   
ffc106b4:	38 a0 00 54 	li      r5,84                                  
ffc106b8:	38 61 02 08 	addi    r3,r1,520                              
ffc106bc:	48 01 0d b5 	bl      ffc21470 <memset>                      
static inline int rtems_disk_fd_get_media_block_size(                 
  int fd,                                                             
  uint32_t *media_block_size                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETMEDIABLKSIZE, media_block_size);    
ffc106c0:	3c 80 40 04 	lis     r4,16388                               
ffc106c4:	7f 83 e3 78 	mr      r3,r28                                 
ffc106c8:	60 84 42 02 	ori     r4,r4,16898                            
ffc106cc:	38 a1 02 08 	addi    r5,r1,520                              
ffc106d0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc106d4:	48 00 8b 5d 	bl      ffc19230 <ioctl>                       
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = rtems_disk_fd_get_media_block_size(fd, &fmt_params->bytes_per_sector);
  }                                                                   
  if (ret_val == 0) {                                                 
ffc106d8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc106dc:	41 82 00 58 	beq-    ffc10734 <msdos_format+0x224>          <== ALWAYS TAKEN
ffc106e0:	80 a1 02 0c 	lwz     r5,524(r1)                             
      }                                                               
                                                                      
      ++iteration_cnt;                                                
    }                                                                 
  }                                                                   
  if ( fmt_params->totl_sector_cnt == 0 )                             
ffc106e4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc106e8:	41 9e 01 38 	beq-    cr7,ffc10820 <msdos_format+0x310>      <== NEVER TAKEN
ffc106ec:	7c 7e 1b 78 	mr      r30,r3                                 
ffc106f0:	48 00 01 40 	b       ffc10830 <msdos_format+0x320>          
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc106f4:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc106f8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc106fc:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc10700:	38 a5 0b 48 	addi    r5,r5,2888                             <== NOT EXECUTED
ffc10704:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc10708:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1070c:	4b ff f9 f5 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    ret_val = fstat(fd, &stat_buf);                                   
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
ffc10710:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc10714:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc10718:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc1071c:	38 a5 0b 58 	addi    r5,r5,2904                             <== NOT EXECUTED
ffc10720:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc10724:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10728:	4b ff f9 d9 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
ffc1072c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc10730:	4b ff fe e4 	b       ffc10614 <msdos_format+0x104>          <== NOT EXECUTED
static inline int rtems_disk_fd_get_block_count(                      
  int fd,                                                             
  rtems_blkdev_bnum *block_count                                      
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETSIZE, block_count);                 
ffc10734:	3c 80 40 04 	lis     r4,16388                               
ffc10738:	7f 83 e3 78 	mr      r3,r28                                 
ffc1073c:	60 84 42 05 	ori     r4,r4,16901                            
ffc10740:	38 a1 02 0c 	addi    r5,r1,524                              
ffc10744:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10748:	48 00 8a e9 	bl      ffc19230 <ioctl>                       
    ret_val = rtems_disk_fd_get_media_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) {                                                 
ffc1074c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10750:	40 a2 ff 90 	bne-    ffc106e0 <msdos_format+0x1d0>          <== NEVER TAKEN
    total_size = fmt_params->bytes_per_sector * fmt_params->totl_sector_cnt;
ffc10754:	80 c1 02 08 	lwz     r6,520(r1)                             
                                                                      
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc10758:	2d 9d 00 00 	cmpwi   cr3,r29,0                              
  }                                                                   
  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;
ffc1075c:	80 e1 02 0c 	lwz     r7,524(r1)                             
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10760:	3c a0 ff c3 	lis     r5,-61                                 
ffc10764:	7f a3 eb 78 	mr      r3,r29                                 
  }                                                                   
  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;
ffc10768:	7f e7 31 d6 	mullw   r31,r7,r6                              
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc1076c:	38 80 00 02 	li      r4,2                                   
ffc10770:	38 a5 0a 8c 	addi    r5,r5,2700                             
ffc10774:	39 20 00 00 	li      r9,0                                   
ffc10778:	7f ea fb 78 	mr      r10,r31                                
ffc1077c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10780:	4b ff f9 81 	bl      ffc10100 <msdos_format_printf>         
                                                                      
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc10784:	41 8e 0b f0 	beq-    cr3,ffc11374 <msdos_format+0xe64>      
	(rqdata->fat_num == 0)) {                                            
ffc10788:	81 3d 00 0c 	lwz     r9,12(r29)                             
                                                                      
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
ffc1078c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10790:	41 9e 05 64 	beq-    cr7,ffc10cf4 <msdos_format+0x7e4>      
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
ffc10794:	2b 89 00 06 	cmplwi  cr7,r9,6                               
ffc10798:	41 9d 09 44 	bgt-    cr7,ffc110dc <msdos_format+0xbcc>      
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc1079c:	3c a0 ff c3 	lis     r5,-61                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
      fmt_params->fat_num = rqdata->fat_num;                          
ffc107a0:	99 21 02 38 	stb     r9,568(r1)                             
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc107a4:	7f a3 eb 78 	mr      r3,r29                                 
ffc107a8:	38 80 00 02 	li      r4,2                                   
ffc107ac:	38 a5 0a c8 	addi    r5,r5,2760                             
ffc107b0:	7d 26 4b 78 	mr      r6,r9                                  
ffc107b4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc107b8:	4b ff f9 49 	bl      ffc10100 <msdos_format_printf>         
ffc107bc:	48 00 05 5c 	b       ffc10d18 <msdos_format+0x808>          
  else {                                                              
    #define ONE_GB ( 1024L * 1024L * 1024L )                          
    uint32_t gigs = ( total_size + ONE_GB ) / ONE_GB;                 
    int b;                                                            
    /* scale with the size of disk... */                              
    for ( b = 31; b > 0; b-- ) {                                      
ffc107c0:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
      if ( (gigs & ( 1 << b) ) != 0 )                                 
        break;                                                        
    }                                                                 
    fmt_params->sectors_per_cluster = 1 << b;                         
ffc107c4:	91 41 02 14 	stw     r10,532(r1)                            
            data_clusters_cnt );                                      
          /* Correct sectors per cluster to the fat type specific default value */
          if (fat_type != fmt_params->fattype) {                      
            msdos_set_default_sectors_per_cluster_for_fattype( fmt_params,
                                                               total_size );
            ret_val = msdos_set_sectors_per_cluster_from_request( rqdata,
ffc107c8:	38 a1 02 14 	addi    r5,r1,532                              
ffc107cc:	7f a3 eb 78 	mr      r3,r29                                 
ffc107d0:	38 81 02 08 	addi    r4,r1,520                              
ffc107d4:	4b ff fc a9 	bl      ffc1047c <msdos_set_sectors_per_cluster_from_request.isra.1>
                                                                  fmt_params );
          }                                                           
        }                                                             
        if (fat_type != fmt_params->fattype && 1 < iteration_cnt) {   
ffc107d8:	89 21 02 3a 	lbz     r9,570(r1)                             
          --fmt_params->totl_sector_cnt;                              
ffc107dc:	80 a1 02 0c 	lwz     r5,524(r1)                             
                                                               total_size );
            ret_val = msdos_set_sectors_per_cluster_from_request( rqdata,
                                                                  fmt_params );
          }                                                           
        }                                                             
        if (fat_type != fmt_params->fattype && 1 < iteration_cnt) {   
ffc107e0:	55 2a 06 3e 	clrlwi  r10,r9,24                              
ffc107e4:	7f 8a 90 00 	cmpw    cr7,r10,r18                            
ffc107e8:	41 9e 00 14 	beq-    cr7,ffc107fc <msdos_format+0x2ec>      <== NEVER TAKEN
ffc107ec:	2b 93 00 01 	cmplwi  cr7,r19,1                              
ffc107f0:	40 9d 00 0c 	ble-    cr7,ffc107fc <msdos_format+0x2ec>      
          --fmt_params->totl_sector_cnt;                              
ffc107f4:	38 a5 ff ff 	addi    r5,r5,-1                               
ffc107f8:	90 a1 02 0c 	stw     r5,524(r1)                             
    if (ret_val == 0) {                                               
      data_clusters_cnt =                                             
        fmt_params->totl_sector_cnt / fmt_params->sectors_per_cluster;
    }                                                                 
                                                                      
    while(   ret_val == 0                                             
ffc107fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
          --fmt_params->totl_sector_cnt;                              
        }                                                             
                                                                      
      }                                                               
                                                                      
      ++iteration_cnt;                                                
ffc10800:	3a 73 00 01 	addi    r19,r19,1                              
ffc10804:	56 73 06 3e 	clrlwi  r19,r19,24                             
    if (ret_val == 0) {                                               
      data_clusters_cnt =                                             
        fmt_params->totl_sector_cnt / fmt_params->sectors_per_cluster;
    }                                                                 
                                                                      
    while(   ret_val == 0                                             
ffc10808:	40 be fe dc 	bne-    cr7,ffc106e4 <msdos_format+0x1d4>      <== NEVER TAKEN
          && fmt_params->fattype != fat_type                          
ffc1080c:	55 29 06 3e 	clrlwi  r9,r9,24                               
ffc10810:	7f 89 90 00 	cmpw    cr7,r9,r18                             
ffc10814:	41 9e 0b 98 	beq-    cr7,ffc113ac <msdos_format+0xe9c>      <== NEVER TAKEN
          && fmt_params->totl_sector_cnt > 0 ) {                      
ffc10818:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1081c:	40 be 05 ac 	bne+    cr7,ffc10dc8 <msdos_format+0x8b8>      <== ALWAYS TAKEN
      ++iteration_cnt;                                                
    }                                                                 
  }                                                                   
  if ( fmt_params->totl_sector_cnt == 0 )                             
  {                                                                   
    errno = EINVAL;                                                   
ffc10820:	48 00 fe 7d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc10824:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc10828:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    ret_val = -1;                                                     
ffc1082c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc10830:	2d 1e 00 00 	cmpwi   cr2,r30,0                              
ffc10834:	83 e1 02 10 	lwz     r31,528(r1)                            
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
ffc10838:	81 21 02 24 	lwz     r9,548(r1)                             
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
ffc1083c:	89 41 02 38 	lbz     r10,568(r1)                            
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
ffc10840:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10844:	41 9e 04 6c 	beq-    cr7,ffc10cb0 <msdos_format+0x7a0>      
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->root_dir_sectors;  
ffc10848:	91 21 02 2c 	stw     r9,556(r1)                             
   * 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);           
ffc1084c:	81 21 02 18 	lwz     r9,536(r1)                             
ffc10850:	7d 2a 49 d6 	mullw   r9,r10,r9                              
ffc10854:	7f ff 4a 14 	add     r31,r31,r9                             
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
    fmt_params->root_dir_start_sec =                                  
ffc10858:	93 e1 02 28 	stw     r31,552(r1)                            
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
  }                                                                   
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
ffc1085c:	40 aa fd b4 	bne-    cr2,ffc10610 <msdos_format+0x100>      
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
ffc10860:	2d 9d 00 00 	cmpwi   cr3,r29,0                              
ffc10864:	41 8e 0a 68 	beq-    cr3,ffc112cc <msdos_format+0xdbc>      
	(rqdata->OEMName != NULL)) {                                         
ffc10868:	81 1d 00 00 	lwz     r8,0(r29)                              
  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) &&                                           
ffc1086c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc10870:	41 9e 0a 5c 	beq-    cr7,ffc112cc <msdos_format+0xdbc>      
ffc10874:	3d 20 00 00 	lis     r9,0                                   
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc10878:	39 40 00 08 	li      r10,8                                  
ffc1087c:	80 c9 27 a8 	lwz     r6,10152(r9)                           
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc10880:	38 80 ff 97 	li      r4,-105                                
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc10884:	7d 49 03 a6 	mtctr   r10                                    
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
ffc10888:	39 21 02 3b 	addi    r9,r1,571                              
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc1088c:	38 60 00 20 	li      r3,32                                  
      }                                                               
      *to = '\0';                                                     
ffc10890:	38 a0 00 00 	li      r5,0                                   
ffc10894:	48 00 00 18 	b       ffc108ac <msdos_format+0x39c>          
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
ffc10898:	99 49 00 00 	stb     r10,0(r9)                              
ffc1089c:	39 29 00 01 	addi    r9,r9,1                                
ffc108a0:	39 08 00 01 	addi    r8,r8,1                                
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc108a4:	98 a9 00 00 	stb     r5,0(r9)                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
ffc108a8:	42 40 00 28 	bdz-    ffc108d0 <msdos_format+0x3c0>          
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc108ac:	89 48 00 00 	lbz     r10,0(r8)                              
ffc108b0:	7c e6 52 14 	add     r7,r6,r10                              
ffc108b4:	88 e7 00 01 	lbz     r7,1(r7)                               
ffc108b8:	7c eb 20 39 	and.    r11,r7,r4                              
ffc108bc:	40 a2 ff dc 	bne-    ffc10898 <msdos_format+0x388>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc108c0:	98 69 00 00 	stb     r3,0(r9)                               
ffc108c4:	39 29 00 01 	addi    r9,r9,1                                
      }                                                               
      *to = '\0';                                                     
ffc108c8:	98 a9 00 00 	stb     r5,0(r9)                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
ffc108cc:	42 00 ff e0 	bdnz+   ffc108ac <msdos_format+0x39c>          
  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) &&                                           
ffc108d0:	41 8e 0a 08 	beq-    cr3,ffc112d8 <msdos_format+0xdc8>      
	(rqdata->VolLabel != NULL)) {                                        
ffc108d4:	81 1d 00 04 	lwz     r8,4(r29)                              
  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) &&                                           
ffc108d8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc108dc:	41 9e 09 fc 	beq-    cr7,ffc112d8 <msdos_format+0xdc8>      
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
ffc108e0:	39 20 00 01 	li      r9,1                                   
ffc108e4:	99 21 02 50 	stb     r9,592(r1)                             
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc108e8:	39 60 00 0b 	li      r11,11                                 
  /*                                                                  
   * determine usable Volume Label                                    
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
ffc108ec:	39 21 02 44 	addi    r9,r1,580                              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc108f0:	7d 69 03 a6 	mtctr   r11                                    
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc108f4:	38 80 ff 97 	li      r4,-105                                
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc108f8:	38 60 00 20 	li      r3,32                                  
      }                                                               
      *to = '\0';                                                     
ffc108fc:	38 a0 00 00 	li      r5,0                                   
ffc10900:	48 00 00 18 	b       ffc10918 <msdos_format+0x408>          
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
ffc10904:	99 49 00 00 	stb     r10,0(r9)                              
ffc10908:	39 29 00 01 	addi    r9,r9,1                                
ffc1090c:	39 08 00 01 	addi    r8,r8,1                                
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
ffc10910:	98 a9 00 00 	stb     r5,0(r9)                               
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
ffc10914:	42 40 00 28 	bdz-    ffc1093c <msdos_format+0x42c>          
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
ffc10918:	89 48 00 00 	lbz     r10,0(r8)                              
ffc1091c:	7c e6 52 14 	add     r7,r6,r10                              
ffc10920:	88 e7 00 01 	lbz     r7,1(r7)                               
ffc10924:	7c eb 20 39 	and.    r11,r7,r4                              
ffc10928:	40 a2 ff dc 	bne-    ffc10904 <msdos_format+0x3f4>          
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
ffc1092c:	98 69 00 00 	stb     r3,0(r9)                               
ffc10930:	39 29 00 01 	addi    r9,r9,1                                
      }                                                               
      *to = '\0';                                                     
ffc10934:	98 a9 00 00 	stb     r5,0(r9)                               
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
ffc10938:	42 00 ff e0 	bdnz+   ffc10918 <msdos_format+0x408>          
{                                                                     
  int ret_val = 0;                                                    
  int rc;                                                             
  struct timeval time_value;                                          
                                                                      
  rc = rtems_clock_get_tod_timeval(&time_value);                      
ffc1093c:	38 61 00 08 	addi    r3,r1,8                                
ffc10940:	48 00 95 7d 	bl      ffc19ebc <rtems_clock_get_tod_timeval> 
  if (rc == RTEMS_SUCCESSFUL) {                                       
ffc10944:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10948:	40 9e 09 34 	bne-    cr7,ffc1127c <msdos_format+0xd6c>      <== ALWAYS TAKEN
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
ffc1094c:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc10950:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           <== NOT EXECUTED
ffc10954:	91 21 02 54 	stw     r9,596(r1)                             <== 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) &&                                               
ffc10958:	41 8e 00 10 	beq-    cr3,ffc10968 <msdos_format+0x458>      
      (rqdata != NULL) &&                                             
ffc1095c:	89 3d 00 15 	lbz     r9,21(r29)                             
ffc10960:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10964:	41 9e 03 68 	beq-    cr7,ffc10ccc <msdos_format+0x7bc>      
   */                                                                 
  if (ret_val == 0) {                                                 
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10968:	3c a0 ff c3 	lis     r5,-61                                 
ffc1096c:	7f a3 eb 78 	mr      r3,r29                                 
ffc10970:	38 80 00 02 	li      r4,2                                   
ffc10974:	38 a5 0a f8 	addi    r5,r5,2808                             
ffc10978:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1097c:	4b ff f7 85 	bl      ffc10100 <msdos_format_printf>         
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc10980:	7f 83 e3 78 	mr      r3,r28                                 
ffc10984:	38 a0 00 00 	li      r5,0                                   
    /*                                                                
     * 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,                               
ffc10988:	83 e1 02 08 	lwz     r31,520(r1)                            
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc1098c:	38 c0 00 00 	li      r6,0                                   
ffc10990:	38 e0 00 00 	li      r7,0                                   
ffc10994:	48 00 89 29 	bl      ffc192bc <lseek>                       
ffc10998:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1099c:	41 9c 03 0c 	blt-    cr7,ffc10ca8 <msdos_format+0x798>      <== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
ffc109a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc109a4:	38 81 00 08 	addi    r4,r1,8                                
ffc109a8:	7f e5 fb 78 	mr      r5,r31                                 
ffc109ac:	48 00 8d 79 	bl      ffc19724 <read>                        
ffc109b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc109b4:	41 9c 02 f4 	blt-    cr7,ffc10ca8 <msdos_format+0x798>      <== NEVER TAKEN
    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,       
ffc109b8:	3c a0 ff c3 	lis     r5,-61                                 
ffc109bc:	7f a3 eb 78 	mr      r3,r29                                 
ffc109c0:	38 80 00 02 	li      r4,2                                   
ffc109c4:	38 a5 0b 68 	addi    r5,r5,2920                             
ffc109c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc109cc:	4b ff f7 35 	bl      ffc10100 <msdos_format_printf>         
{                                                                     
  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) {                        
ffc109d0:	81 21 02 0c 	lwz     r9,524(r1)                             
ffc109d4:	2b 89 ff ff 	cmplwi  cr7,r9,65535                           
ffc109d8:	41 9d 06 d4 	bgt-    cr7,ffc110ac <msdos_format+0xb9c>      
ffc109dc:	55 3f 06 3e 	clrlwi  r31,r9,24                              
ffc109e0:	55 3e c6 3e 	rlwinm  r30,r9,24,24,31                        
ffc109e4:	3b 60 00 00 	li      r27,0                                  
ffc109e8:	3b 40 00 00 	li      r26,0                                  
ffc109ec:	3b 20 00 00 	li      r25,0                                  
ffc109f0:	3b 00 00 00 	li      r24,0                                  
   * 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);                     
ffc109f4:	38 80 00 00 	li      r4,0                                   
ffc109f8:	38 a0 01 be 	li      r5,446                                 
ffc109fc:	38 61 00 08 	addi    r3,r1,8                                
ffc10a00:	48 01 0a 71 	bl      ffc21470 <memset>                      
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc10a04:	81 21 02 3f 	lwz     r9,575(r1)                             
  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) {                             
ffc10a08:	88 c1 02 3a 	lbz     r6,570(r1)                             
   * 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,
ffc10a0c:	38 a0 00 00 	li      r5,0                                   
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc10a10:	91 21 00 0f 	stw     r9,15(r1)                              
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
ffc10a14:	38 60 00 02 	li      r3,2                                   
  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) {                             
ffc10a18:	2f 86 00 04 	cmpwi   cr7,r6,4                               
   */                                                                 
  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);
ffc10a1c:	81 21 02 14 	lwz     r9,532(r1)                             
  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... */
ffc10a20:	38 80 00 01 	li      r4,1                                   
   * 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); 
ffc10a24:	80 e1 02 08 	lwz     r7,520(r1)                             
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
ffc10a28:	99 21 00 15 	stb     r9,21(r1)                              
   * 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); 
ffc10a2c:	54 f6 c2 3e 	rlwinm  r22,r7,24,8,31                         
                                                                      
  /* 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);       
ffc10a30:	89 21 02 39 	lbz     r9,569(r1)                             
  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);  
ffc10a34:	81 01 02 10 	lwz     r8,528(r1)                             
                                                                      
  /* 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);
ffc10a38:	81 41 02 20 	lwz     r10,544(r1)                            
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc10a3c:	81 61 02 3b 	lwz     r11,571(r1)                            
	 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);  
ffc10a40:	55 17 c2 3e 	rlwinm  r23,r8,24,8,31                         
                                                                      
  /* 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);       
ffc10a44:	99 21 00 1d 	stb     r9,29(r1)                              
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
ffc10a48:	39 20 ff ff 	li      r9,-1                                  
  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);
ffc10a4c:	55 40 c2 3e 	rlwinm  r0,r10,24,8,31                         
  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... */
ffc10a50:	99 21 00 20 	stb     r9,32(r1)                              
  FAT_SET_BR_NUMBER_OF_HEADS(mbr     , 6);   /* only needed for INT13... */
ffc10a54:	39 20 00 06 	li      r9,6                                   
   * 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,
ffc10a58:	b0 a1 02 06 	sth     r5,518(r1)                             
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
ffc10a5c:	91 61 00 0b 	stw     r11,11(r1)                             
	 fmt_params->OEMName,                                                
	 FAT_BR_OEMNAME_SIZE);                                               
  FAT_SET_BR_BYTES_PER_SECTOR(mbr    , fmt_params->bytes_per_sector); 
ffc10a60:	98 e1 00 13 	stb     r7,19(r1)                              
ffc10a64:	9a c1 00 14 	stb     r22,20(r1)                             
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
ffc10a68:	99 01 00 16 	stb     r8,22(r1)                              
ffc10a6c:	9a e1 00 17 	stb     r23,23(r1)                             
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
ffc10a70:	98 61 00 18 	stb     r3,24(r1)                              
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
ffc10a74:	99 41 00 19 	stb     r10,25(r1)                             
ffc10a78:	98 01 00 1a 	stb     r0,26(r1)                              
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
ffc10a7c:	9b e1 00 1b 	stb     r31,27(r1)                             
ffc10a80:	9b c1 00 1c 	stb     r30,28(r1)                             
  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... */
ffc10a84:	99 21 00 22 	stb     r9,34(r1)                              
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
ffc10a88:	98 81 00 24 	stb     r4,36(r1)                              
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
ffc10a8c:	9b 01 00 28 	stb     r24,40(r1)                             
ffc10a90:	9b 21 00 29 	stb     r25,41(r1)                             
ffc10a94:	9b 41 00 2a 	stb     r26,42(r1)                             
ffc10a98:	9b 61 00 2b 	stb     r27,43(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
ffc10a9c:	41 9e 08 48 	beq-    cr7,ffc112e4 <msdos_format+0xdd4>      
    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),                           
ffc10aa0:	2f 86 00 01 	cmpwi   cr7,r6,1                               
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc10aa4:	81 21 02 54 	lwz     r9,596(r1)                             
  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);   
ffc10aa8:	81 41 02 18 	lwz     r10,536(r1)                            
    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 */
ffc10aac:	55 2b c6 3e 	rlwinm  r11,r9,24,24,31                        
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc10ab0:	80 a1 02 48 	lwz     r5,584(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc10ab4:	55 23 84 3e 	rlwinm  r3,r9,16,16,31                         
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc10ab8:	a0 e1 02 4c 	lhz     r7,588(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc10abc:	55 24 46 3e 	rlwinm  r4,r9,8,24,31                          
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc10ac0:	89 01 02 4e 	lbz     r8,590(r1)                             
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
    FAT_SET_BR_DRVNUM(mbr            , 0); /* only needed for INT13... */
    FAT_SET_BR_RSVD1(mbr             , 0); /* fill with zero */       
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc10ac4:	99 21 00 2f 	stb     r9,47(r1)                              
  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);   
ffc10ac8:	55 40 c2 3e 	rlwinm  r0,r10,24,8,31                         
    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 */
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc10acc:	81 21 02 44 	lwz     r9,580(r1)                             
  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);   
ffc10ad0:	99 41 00 1e 	stb     r10,30(r1)                             
    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);           
ffc10ad4:	39 40 00 29 	li      r10,41                                 
  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);   
ffc10ad8:	98 01 00 1f 	stb     r0,31(r1)                              
    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);           
ffc10adc:	99 41 00 2e 	stb     r10,46(r1)                             
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
ffc10ae0:	99 61 00 30 	stb     r11,48(r1)                             
ffc10ae4:	98 61 00 31 	stb     r3,49(r1)                              
ffc10ae8:	98 81 00 32 	stb     r4,50(r1)                              
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
ffc10aec:	91 21 00 33 	stw     r9,51(r1)                              
ffc10af0:	90 a1 00 37 	stw     r5,55(r1)                              
ffc10af4:	b0 e1 00 3b 	sth     r7,59(r1)                              
ffc10af8:	99 01 00 3d 	stb     r8,61(r1)                              
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
ffc10afc:	41 9e 05 f4 	beq-    cr7,ffc110f0 <msdos_format+0xbe0>      
ffc10b00:	3d 20 ff c3 	lis     r9,-61                                 
ffc10b04:	39 29 0a 68 	addi    r9,r9,2664                             
ffc10b08:	81 49 00 00 	lwz     r10,0(r9)                              
ffc10b0c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc10b10:	91 41 00 3e 	stw     r10,62(r1)                             
ffc10b14:	91 21 00 42 	stw     r9,66(r1)                              
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc10b18:	39 20 00 55 	li      r9,85                                  
ffc10b1c:	99 21 02 06 	stb     r9,518(r1)                             
ffc10b20:	39 20 ff aa 	li      r9,-86                                 
    /*                                                                
     * 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,       
ffc10b24:	3c a0 ff c3 	lis     r5,-61                                 
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
ffc10b28:	99 21 02 07 	stb     r9,519(r1)                             
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
ffc10b2c:	39 20 ff eb 	li      r9,-21                                 
    /*                                                                
     * 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,       
ffc10b30:	38 80 00 02 	li      r4,2                                   
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
ffc10b34:	99 21 00 08 	stb     r9,8(r1)                               
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc10b38:	39 20 00 3c 	li      r9,60                                  
    /*                                                                
     * 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,       
ffc10b3c:	38 a5 0b 18 	addi    r5,r5,2840                             
ffc10b40:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
  FAT_SET_VAL8(mbr,1,0x3c);                                           
ffc10b44:	99 21 00 09 	stb     r9,9(r1)                               
  FAT_SET_VAL8(mbr,2,0x90);                                           
ffc10b48:	39 20 ff 90 	li      r9,-112                                
ffc10b4c:	99 21 00 0a 	stb     r9,10(r1)                              
    /*                                                                
     * 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,       
ffc10b50:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10b54:	4b ff f5 ad 	bl      ffc10100 <msdos_format_printf>         
                           "write MRB sector\n");                     
      ret_val = msdos_format_write_sec(fd,                            
ffc10b58:	7f 83 e3 78 	mr      r3,r28                                 
ffc10b5c:	80 a1 02 08 	lwz     r5,520(r1)                             
ffc10b60:	38 80 00 00 	li      r4,0                                   
ffc10b64:	38 c1 00 08 	addi    r6,r1,8                                
ffc10b68:	4b ff f6 4d 	bl      ffc101b4 <msdos_format_write_sec>      
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
ffc10b6c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10b70:	40 a2 fa a0 	bne-    ffc10610 <msdos_format+0x100>          <== NEVER TAKEN
ffc10b74:	81 21 02 30 	lwz     r9,560(r1)                             
ffc10b78:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10b7c:	40 9e 07 18 	bne-    cr7,ffc11294 <msdos_format+0xd84>      
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
ffc10b80:	83 e1 02 34 	lwz     r31,564(r1)                            
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc10b84:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10b88:	40 9e 05 74 	bne-    cr7,ffc110fc <msdos_format+0xbec>      
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
ffc10b8c:	88 c1 02 38 	lbz     r6,568(r1)                             
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
ffc10b90:	7f a3 eb 78 	mr      r3,r29                                 
ffc10b94:	81 21 02 18 	lwz     r9,536(r1)                             
ffc10b98:	7f 84 e3 78 	mr      r4,r28                                 
ffc10b9c:	80 a1 02 10 	lwz     r5,528(r1)                             
ffc10ba0:	39 00 00 00 	li      r8,0                                   
ffc10ba4:	7c c6 49 d6 	mullw   r6,r6,r9                               
ffc10ba8:	80 e1 02 08 	lwz     r7,520(r1)                             
ffc10bac:	4b ff f6 95 	bl      ffc10240 <msdos_format_fill_sectors>   
  }                                                                   
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
ffc10bb0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10bb4:	40 a2 fa 5c 	bne-    ffc10610 <msdos_format+0x100>          <== NEVER TAKEN
    ret_val = msdos_format_fill_sectors                               
ffc10bb8:	80 a1 02 28 	lwz     r5,552(r1)                             
ffc10bbc:	7f a3 eb 78 	mr      r3,r29                                 
ffc10bc0:	80 c1 02 2c 	lwz     r6,556(r1)                             
ffc10bc4:	7f 84 e3 78 	mr      r4,r28                                 
ffc10bc8:	80 e1 02 08 	lwz     r7,520(r1)                             
ffc10bcc:	39 00 00 00 	li      r8,0                                   
ffc10bd0:	4b ff f6 71 	bl      ffc10240 <msdos_format_fill_sectors>   
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
ffc10bd4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10bd8:	40 82 08 bc 	bne-    ffc11494 <msdos_format+0xf84>          <== NEVER TAKEN
ffc10bdc:	89 21 02 50 	lbz     r9,592(r1)                             
ffc10be0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10be4:	40 9e 05 ac 	bne-    cr7,ffc11190 <msdos_format+0xc80>      
    uint32_t start_sector;                                            
                                                                      
    /*                                                                
     * empty sector: all clusters are free/do not link further on     
     */                                                               
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc10be8:	38 61 00 08 	addi    r3,r1,8                                
ffc10bec:	38 80 00 00 	li      r4,0                                   
ffc10bf0:	38 a0 02 00 	li      r5,512                                 
ffc10bf4:	48 01 08 7d 	bl      ffc21470 <memset>                      
                                                                      
    switch(fmt_params.fattype) {                                      
ffc10bf8:	89 21 02 3a 	lbz     r9,570(r1)                             
ffc10bfc:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc10c00:	41 9e 06 5c 	beq-    cr7,ffc1125c <msdos_format+0xd4c>      
ffc10c04:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc10c08:	41 9e 05 e8 	beq-    cr7,ffc111f0 <msdos_format+0xce0>      
ffc10c0c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc10c10:	41 9e 06 30 	beq-    cr7,ffc11240 <msdos_format+0xd30>      <== ALWAYS TAKEN
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
ffc10c14:	48 00 fa 89 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc10c18:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc10c1c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
ffc10c20:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
      errno = EINVAL;                                                 
    }                                                                 
    if (fmt_params.fattype == FAT_FAT32) {                            
ffc10c24:	89 21 02 3a 	lbz     r9,570(r1)                             <== NOT EXECUTED
ffc10c28:	2f 89 00 04 	cmpwi   cr7,r9,4                               <== NOT EXECUTED
ffc10c2c:	41 9e 05 f4 	beq-    cr7,ffc11220 <msdos_format+0xd10>      <== NOT EXECUTED
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc10c30:	89 21 02 58 	lbz     r9,600(r1)                             
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
ffc10c34:	83 61 02 10 	lwz     r27,528(r1)                            
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc10c38:	2f 89 00 00 	cmpwi   cr7,r9,0                               
       * mark this in every copy of the FAT                           
       */                                                             
      FAT_SET_VAL32(tmp_sec,8,FAT_FAT32_EOC);                         
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
ffc10c3c:	81 41 02 14 	lwz     r10,532(r1)                            
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc10c40:	40 9e 00 14 	bne-    cr7,ffc10c54 <msdos_format+0x744>      
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10c44:	7f 7b 52 14 	add     r27,r27,r10                            
ffc10c48:	3b 7b ff ff 	addi    r27,r27,-1                             
ffc10c4c:	7d 4a 00 d0 	neg     r10,r10                                
ffc10c50:	7f 7b 50 38 	and     r27,r27,r10                            
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
ffc10c54:	89 21 02 38 	lbz     r9,568(r1)                             
ffc10c58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10c5c:	41 be fa 14 	beq-    cr7,ffc10670 <msdos_format+0x160>      <== NEVER TAKEN
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc10c60:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10c64:	41 be 00 0c 	beq+    cr7,ffc10c70 <msdos_format+0x760>      <== ALWAYS TAKEN
ffc10c68:	48 00 07 04 	b       ffc1136c <msdos_format+0xe5c>          <== NOT EXECUTED
ffc10c6c:	40 be fa 38 	bne-    cr7,ffc106a4 <msdos_format+0x194>      <== NEVER TAKEN
ffc10c70:	80 81 02 18 	lwz     r4,536(r1)                             
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc10c74:	7f 83 e3 78 	mr      r3,r28                                 
ffc10c78:	80 a1 02 08 	lwz     r5,520(r1)                             
ffc10c7c:	38 c1 00 08 	addi    r6,r1,8                                
        (fd,                                                          
         start_sector                                                 
         + (i * fmt_params.sectors_per_fat),                          
ffc10c80:	7c 84 f9 d6 	mullw   r4,r4,r31                              
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
ffc10c84:	3b ff 00 01 	addi    r31,r31,1                              
      ret_val = msdos_format_write_sec                                
ffc10c88:	7c 84 da 14 	add     r4,r4,r27                              
ffc10c8c:	4b ff f5 29 	bl      ffc101b4 <msdos_format_write_sec>      
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc10c90:	89 21 02 38 	lbz     r9,568(r1)                             
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
ffc10c94:	7c 7e 1b 78 	mr      r30,r3                                 
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
ffc10c98:	7f 09 f8 00 	cmpw    cr6,r9,r31                             
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc10c9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
ffc10ca0:	41 99 ff cc 	bgt+    cr6,ffc10c6c <msdos_format+0x75c>      
ffc10ca4:	4b ff f9 d0 	b       ffc10674 <msdos_format+0x164>          
      }                                                               
                                                                      
      ++iteration_cnt;                                                
    }                                                                 
  }                                                                   
  if ( fmt_params->totl_sector_cnt == 0 )                             
ffc10ca8:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc10cac:	4b ff f9 64 	b       ffc10610 <msdos_format+0x100>          <== 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);           
ffc10cb0:	81 21 02 18 	lwz     r9,536(r1)                             
ffc10cb4:	7d 4a 49 d6 	mullw   r10,r10,r9                             
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
ffc10cb8:	81 21 02 14 	lwz     r9,532(r1)                             
ffc10cbc:	91 21 02 2c 	stw     r9,556(r1)                             
    /*                                                                
     * 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);           
ffc10cc0:	7f ff 52 14 	add     r31,r31,r10                            
  }                                                                   
  else {                                                              
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
ffc10cc4:	93 e1 02 28 	stw     r31,552(r1)                            
ffc10cc8:	4b ff fb 94 	b       ffc1085c <msdos_format+0x34c>          
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
      (rqdata != NULL) &&                                             
      !(rqdata->quick_format)) {                                      
    ret_val = msdos_format_fill_sectors                               
ffc10ccc:	80 c1 02 0c 	lwz     r6,524(r1)                             
ffc10cd0:	7f a3 eb 78 	mr      r3,r29                                 
ffc10cd4:	80 e1 02 08 	lwz     r7,520(r1)                             
ffc10cd8:	7f 84 e3 78 	mr      r4,r28                                 
ffc10cdc:	38 a0 00 00 	li      r5,0                                   
ffc10ce0:	39 00 00 e5 	li      r8,229                                 
ffc10ce4:	4b ff f5 5d 	bl      ffc10240 <msdos_format_fill_sectors>   
  }                                                                   
                                                                      
  /*                                                                  
   * create master boot record                                        
   */                                                                 
  if (ret_val == 0) {                                                 
ffc10ce8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc10cec:	40 82 f9 24 	bne+    ffc10610 <msdos_format+0x100>          <== NEVER TAKEN
ffc10cf0:	4b ff fc 78 	b       ffc10968 <msdos_format+0x458>          
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10cf4:	3c a0 ff c3 	lis     r5,-61                                 
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc10cf8:	39 20 00 02 	li      r9,2                                   
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10cfc:	7f a3 eb 78 	mr      r3,r29                                 
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc10d00:	99 21 02 38 	stb     r9,568(r1)                             
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc10d04:	38 80 00 02 	li      r4,2                                   
ffc10d08:	38 a5 0a c8 	addi    r5,r5,2760                             
ffc10d0c:	38 c0 00 02 	li      r6,2                                   
ffc10d10:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10d14:	4b ff f3 ed 	bl      ffc10100 <msdos_format_printf>         
     * 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) {         
ffc10d18:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc10d1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10d20:	41 9e 03 80 	beq-    cr7,ffc110a0 <msdos_format+0xb90>      
ffc10d24:	1d 09 0f f5 	mulli   r8,r9,4085                             
      fat12_sect_per_clust = rqdata->sectors_per_cluster;             
      fat16_sect_per_clust = rqdata->sectors_per_cluster;             
    }                                                                 
                                                                      
    if (fmt_params->totl_sector_cnt < FAT_FAT12_MAX_CLN * fat12_sect_per_clust) {
ffc10d28:	81 41 02 0c 	lwz     r10,524(r1)                            
ffc10d2c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc10d30:	40 9c 03 00 	bge-    cr7,ffc11030 <msdos_format+0xb20>      
      fmt_params->fattype = FAT_FAT12;                                
ffc10d34:	39 20 00 01 	li      r9,1                                   
ffc10d38:	99 21 02 3a 	stb     r9,570(r1)                             
      /* start trying with small clusters */                          
      fmt_params->sectors_per_cluster = 2;                            
ffc10d3c:	39 20 00 02 	li      r9,2                                   
ffc10d40:	91 21 02 14 	stw     r9,532(r1)                             
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fmt_params->sectors_per_cluster = 1 << b;                       
    }                                                                 
                                                                      
    ret_val = msdos_set_sectors_per_cluster_from_request( rqdata, fmt_params );
ffc10d44:	7f a3 eb 78 	mr      r3,r29                                 
ffc10d48:	38 81 02 08 	addi    r4,r1,520                              
ffc10d4c:	38 a1 02 14 	addi    r5,r1,532                              
ffc10d50:	4b ff f7 2d 	bl      ffc1047c <msdos_set_sectors_per_cluster_from_request.isra.1>
    if (ret_val == 0) {                                               
      data_clusters_cnt =                                             
        fmt_params->totl_sector_cnt / fmt_params->sectors_per_cluster;
    }                                                                 
                                                                      
    while(   ret_val == 0                                             
ffc10d54:	2d 03 00 00 	cmpwi   cr2,r3,0                               
ffc10d58:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10d5c:	40 8a 06 48 	bne-    cr2,ffc113a4 <msdos_format+0xe94>      <== NEVER TAKEN
          && fmt_params->fattype != fat_type                          
ffc10d60:	89 21 02 3a 	lbz     r9,570(r1)                             
ffc10d64:	80 a1 02 0c 	lwz     r5,524(r1)                             
ffc10d68:	2f 89 00 ff 	cmpwi   cr7,r9,255                             
ffc10d6c:	41 9e 06 40 	beq-    cr7,ffc113ac <msdos_format+0xe9c>      <== NEVER TAKEN
          && fmt_params->totl_sector_cnt > 0 ) {                      
ffc10d70:	81 21 02 0c 	lwz     r9,524(r1)                             
ffc10d74:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10d78:	41 be fa a8 	beq-    cr7,ffc10820 <msdos_format+0x310>      <== NEVER TAKEN
    /* 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;                 
ffc10d7c:	3d 5f 40 00 	addis   r10,r31,16384                          
ffc10d80:	7d 3f 50 10 	subfc   r9,r31,r10                             
ffc10d84:	7d 29 49 10 	subfe   r9,r9,r9                               
ffc10d88:	7d 29 00 d0 	neg     r9,r9                                  
ffc10d8c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc10d90:	55 4a 17 be 	rlwinm  r10,r10,2,30,31                        
ffc10d94:	3f 60 ff c3 	lis     r27,-61                                
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10d98:	3b 20 00 00 	li      r25,0                                  
                    const uint32_t sectors_per_cluster,               
                    const uint32_t number_of_clusters )               
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
ffc10d9c:	3a 80 00 00 	li      r20,0                                  
    /* 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;                 
ffc10da0:	7d 3a 53 78 	or      r26,r9,r10                             
ffc10da4:	3a 60 00 00 	li      r19,0                                  
ffc10da8:	3b 7b 0a dc 	addi    r27,r27,2780                           
          fmt_params->fsinfo_sec = 1;                                 
                                                                      
        }                                                             
        else {                                                        
          /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
          fmt_params->rsvd_sector_cnt = 1;                            
ffc10dac:	3b e0 00 01 	li      r31,1                                  
        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;                           
ffc10db0:	3a c0 00 20 	li      r22,32                                 
          /* for FAT32, always set files per root directory 0 */      
          fmt_params->files_per_root_dir = 0;                         
ffc10db4:	3a e0 00 00 	li      r23,0                                  
          /* location of copy of MBR */                               
          fmt_params->mbr_copy_sec = 6;                               
ffc10db8:	3b 00 00 06 	li      r24,6                                  
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10dbc:	63 39 80 00 	ori     r25,r25,32768                          
                    const uint32_t sectors_per_cluster,               
                    const uint32_t number_of_clusters )               
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
ffc10dc0:	62 94 80 01 	ori     r20,r20,32769                          
static uint8_t                                                        
msdos_get_fat_type( const uint32_t bytes_per_sector,                  
                    const uint32_t sectors_per_cluster,               
                    const uint32_t number_of_clusters )               
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
ffc10dc4:	3a a0 10 01 	li      r21,4097                               
          && fmt_params->fattype != fat_type                          
          && fmt_params->totl_sector_cnt > 0 ) {                      
      /*                                                              
       * Skip aligning structures or d align them                     
       */                                                             
      if (ret_val == 0 && rqdata != NULL)                             
ffc10dc8:	41 8e 00 0c 	beq-    cr3,ffc10dd4 <msdos_format+0x8c4>      
        fmt_params->skip_alignment = rqdata->skip_alignment;          
ffc10dcc:	89 3d 00 16 	lbz     r9,22(r29)                             
ffc10dd0:	99 21 02 58 	stb     r9,600(r1)                             
                                                                      
      if (ret_val == 0) {                                             
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,     
ffc10dd4:	80 c1 02 14 	lwz     r6,532(r1)                             
ffc10dd8:	7f a3 eb 78 	mr      r3,r29                                 
ffc10ddc:	38 80 00 02 	li      r4,2                                   
ffc10de0:	7f 65 db 78 	mr      r5,r27                                 
ffc10de4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10de8:	4b ff f3 19 	bl      ffc10100 <msdos_format_printf>         
                             "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
        if (fmt_params->fattype == FAT_FAT32) {                       
ffc10dec:	8a 41 02 3a 	lbz     r18,570(r1)                            
ffc10df0:	2f 92 00 04 	cmpwi   cr7,r18,4                              
ffc10df4:	41 9e 02 0c 	beq-    cr7,ffc11000 <msdos_format+0xaf0>      
          fmt_params->fsinfo_sec = 1;                                 
                                                                      
        }                                                             
        else {                                                        
          /* recommended: for FAT12/FAT16, always set reserved sector count to 1 */
          fmt_params->rsvd_sector_cnt = 1;                            
ffc10df8:	93 e1 02 10 	stw     r31,528(r1)                            
          /* 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) &&                                     
ffc10dfc:	41 8e 01 ec 	beq-    cr3,ffc10fe8 <msdos_format+0xad8>      
              (rqdata->files_per_root_dir > 0)) {                     
ffc10e00:	81 5d 00 10 	lwz     r10,16(r29)                            
          /* 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) &&                                     
ffc10e04:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc10e08:	41 9e 01 e0 	beq-    cr7,ffc10fe8 <msdos_format+0xad8>      
ffc10e0c:	39 4a ff ff 	addi    r10,r10,-1                             
            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/
ffc10e10:	80 e1 02 08 	lwz     r7,520(r1)                             
                                           FAT_DIRENTRY_SIZE-1));     
          fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
ffc10e14:	39 60 00 01 	li      r11,1                                  
            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/
ffc10e18:	54 e9 e1 7e 	rlwinm  r9,r7,28,5,31                          
            }                                                         
            else {                                                    
              fmt_params->files_per_root_dir = 64;                    
            }                                                         
          }                                                           
          fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
ffc10e1c:	7d 4a 4a 14 	add     r10,r10,r9                             
                                           (2*fmt_params->bytes_per_sector/
                                           FAT_DIRENTRY_SIZE-1));     
          fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
ffc10e20:	7d 4a 4b 96 	divwu   r10,r10,r9                             
ffc10e24:	7d 2a 49 d6 	mullw   r9,r10,r9                              
ffc10e28:	91 21 02 20 	stw     r9,544(r1)                             
ffc10e2c:	55 2c 28 34 	rlwinm  r12,r9,5,0,26                          
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10e30:	7d 59 3b 96 	divwu   r10,r25,r7                             
      if (ret_val == 0) {                                             
        /*                                                            
         * check values to get legal arrangement of FAT type and cluster count
         */                                                           
                                                                      
        ret_val = msdos_format_eval_sectors_per_cluster(fmt_params->fattype,
ffc10e34:	81 21 02 14 	lwz     r9,532(r1)                             
ffc10e38:	80 a1 02 0c 	lwz     r5,524(r1)                             
ffc10e3c:	88 81 02 38 	lbz     r4,568(r1)                             
ffc10e40:	89 01 02 58 	lbz     r8,600(r1)                             
                                            /FAT_DIRENTRY_SIZE));     
                                                                      
        }                                                             
        fmt_params->root_dir_sectors =                                
          (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)      
            + fmt_params->bytes_per_sector - 1)                       
ffc10e44:	38 67 ff ff 	addi    r3,r7,-1                               
ffc10e48:	7d 83 62 14 	add     r12,r3,r12                             
           / fmt_params->bytes_per_sector);                           
ffc10e4c:	7d 8c 3b 96 	divwu   r12,r12,r7                             
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10e50:	7f 89 50 40 	cmplw   cr7,r9,r10                             
          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 =                                
ffc10e54:	91 81 02 24 	stw     r12,548(r1)                            
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10e58:	40 9d 00 10 	ble-    cr7,ffc10e68 <msdos_format+0x958>      <== ALWAYS TAKEN
    sectors_per_cluster /= 2;                                         
ffc10e5c:	55 29 f8 7e 	rlwinm  r9,r9,31,1,31                          <== NOT EXECUTED
  uint32_t fatdata_sect_cnt;                                          
  uint32_t fat_sectors_cnt;                                           
  /*                                                                  
   * ensure, that maximum cluster size (32KByte) is not exceeded      
   */                                                                 
  while (MS_BYTES_PER_CLUSTER_LIMIT / bytes_per_sector < sectors_per_cluster) {
ffc10e60:	7f 89 50 40 	cmplw   cr7,r9,r10                             <== NOT EXECUTED
ffc10e64:	41 9d ff f8 	bgt+    cr7,ffc10e5c <msdos_format+0x94c>      <== NOT EXECUTED
ffc10e68:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc10e6c:	2f 12 00 01 	cmpwi   cr6,r18,1                              
      fatdata_sect_cnt    = fatdata_sect_cnt                          
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 3 / 2;              
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc10e70:	2c 92 00 02 	cmpwi   cr1,r18,2                              
     * 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_sect_cnt = total_sector_cnt                               
ffc10e74:	7e 2b 28 50 	subf    r17,r11,r5                             
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10e78:	38 0c ff ff 	addi    r0,r12,-1                              
ffc10e7c:	39 6b ff ff 	addi    r11,r11,-1                             
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc10e80:	41 9e 00 18 	beq-    cr7,ffc10e98 <msdos_format+0x988>      
     * 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_sect_cnt = total_sector_cnt                               
ffc10e84:	7e 28 8b 78 	mr      r8,r17                                 
      - loc_align_object (rsvd_sector_cnt, sectors_per_cluster, skip_alignment);
    if (fattype == FAT_FAT12) {                                       
ffc10e88:	41 9a 06 14 	beq-    cr6,ffc1149c <msdos_format+0xf8c>      
      fatdata_sect_cnt    = fatdata_sect_cnt                          
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 3 / 2;              
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc10e8c:	40 a6 00 24 	bne+    cr1,ffc10eb0 <msdos_format+0x9a0>      <== NEVER TAKEN
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
  else                                                                
    return sectors;                                                   
ffc10e90:	7d 8a 63 78 	mr      r10,r12                                
ffc10e94:	48 00 01 44 	b       ffc10fd8 <msdos_format+0xac8>          
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10e98:	7d 49 00 d0 	neg     r10,r9                                 
ffc10e9c:	7d 0b 4a 14 	add     r8,r11,r9                              
ffc10ea0:	7d 48 40 38 	and     r8,r10,r8                              
     * 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_sect_cnt = total_sector_cnt                               
ffc10ea4:	7d 08 28 50 	subf    r8,r8,r5                               
      - loc_align_object (rsvd_sector_cnt, sectors_per_cluster, skip_alignment);
    if (fattype == FAT_FAT12) {                                       
ffc10ea8:	41 9a 01 0c 	beq-    cr6,ffc10fb4 <msdos_format+0xaa4>      
      fatdata_sect_cnt    = fatdata_sect_cnt                          
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 3 / 2;              
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
ffc10eac:	41 86 01 24 	beq-    cr1,ffc10fd0 <msdos_format+0xac0>      
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 2;                  
    }                                                                 
    else { /* FAT32 */                                                
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
ffc10eb0:	7d 08 4b 96 	divwu   r8,r8,r9                               
      fat_capacity        = fatdata_cluster_cnt * 4;                  
ffc10eb4:	55 0a 10 3a 	rlwinm  r10,r8,2,0,29                          
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
ffc10eb8:	7d 4a 1a 14 	add     r10,r10,r3                             
    else { /* FAT32 */                                                
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 4;                  
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
ffc10ebc:	7d 4a 3b 96 	divwu   r10,r10,r7                             
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10ec0:	38 c9 ff ff 	addi    r6,r9,-1                               
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    fat_sectors_cnt = loc_align_object (sectors_per_fat * fat_num,    
ffc10ec4:	7d 4a 21 d6 	mullw   r10,r10,r4                             
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc10ec8:	40 9e 00 10 	bne-    cr7,ffc10ed8 <msdos_format+0x9c8>      
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10ecc:	7d 4a 32 14 	add     r10,r10,r6                             
ffc10ed0:	7e 09 00 d0 	neg     r16,r9                                 
ffc10ed4:	7d 4a 80 38 	and     r10,r10,r16                            
                                        sectors_per_cluster,          
                                        skip_alignment);              
                                                                      
    *data_cluster_cnt = (fatdata_cluster_cnt -                        
			((fat_sectors_cnt                                                  
			  + (sectors_per_cluster - 1))                                     
ffc10ed8:	7c c6 52 14 	add     r6,r6,r10                              
			 / sectors_per_cluster));                                          
ffc10edc:	7c c6 4b 96 	divwu   r6,r6,r9                               
                                                                      
    fat_sectors_cnt = loc_align_object (sectors_per_fat * fat_num,    
                                        sectors_per_cluster,          
                                        skip_alignment);              
                                                                      
    *data_cluster_cnt = (fatdata_cluster_cnt -                        
ffc10ee0:	7c c6 40 50 	subf    r6,r6,r8                               
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? Then make clusters bigger          
     */                                                               
    if (((fattype == FAT_FAT12) && (*data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc10ee4:	41 9a 00 90 	beq-    cr6,ffc10f74 <msdos_format+0xa64>      
        ((fattype == FAT_FAT16) && (*data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc10ee8:	39 00 00 01 	li      r8,1                                   
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? Then make clusters bigger          
     */                                                               
    if (((fattype == FAT_FAT12) && (*data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc10eec:	41 86 00 b4 	beq-    cr1,ffc10fa0 <msdos_format+0xa90>      
     */                                                               
    if (fattype == FAT_FAT12) {                                       
      if (MS_BYTES_PER_CLUSTER_LIMIT_FAT12 < (sectors_per_cluster * bytes_per_sector)) {
        finished = true;                                              
      }                                                               
    } else if ((sectors_per_cluster * bytes_per_sector)               
ffc10ef0:	7e 09 39 d6 	mullw   r16,r9,r7                              
ffc10ef4:	28 10 80 00 	cmplwi  r16,32768                              
ffc10ef8:	40 81 00 9c 	ble-    ffc10f94 <msdos_format+0xa84>          
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  *sectors_per_cluster_adj = sectors_per_cluster;                     
  *sectors_per_fat_ptr     = fat_sectors_cnt / fat_num;               
ffc10efc:	7d 4a 23 96 	divwu   r10,r10,r4                             
                                                        fmt_params->sectors_per_cluster,
                                                        fmt_params->skip_alignment,
                                                        §ors_per_cluster_adj,
                                                        &fmt_params->sectors_per_fat,
                                                        &data_clusters_cnt);
        fmt_params->sectors_per_cluster = sectors_per_cluster_adj;    
ffc10f00:	91 21 02 14 	stw     r9,532(r1)                             
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
ffc10f04:	2b 86 0f f4 	cmplwi  cr7,r6,4084                            
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  *sectors_per_cluster_adj = sectors_per_cluster;                     
  *sectors_per_fat_ptr     = fat_sectors_cnt / fat_num;               
ffc10f08:	91 41 02 18 	stw     r10,536(r1)                            
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
ffc10f0c:	41 9d 01 14 	bgt-    cr7,ffc11020 <msdos_format+0xb10>      
static uint8_t                                                        
msdos_get_fat_type( const uint32_t bytes_per_sector,                  
                    const uint32_t sectors_per_cluster,               
                    const uint32_t number_of_clusters )               
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
ffc10f10:	7d 55 3b 96 	divwu   r10,r21,r7                             
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
      && sectors_per_cluster <= ms_sectors_per_cluster_limit_FAT12 ) {
ffc10f14:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
    fattype = FAT_FAT12;                                              
ffc10f18:	39 40 00 01 	li      r10,1                                  
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
      && sectors_per_cluster <= ms_sectors_per_cluster_limit_FAT12 ) {
ffc10f1c:	40 9c 00 1c 	bge-    cr7,ffc10f38 <msdos_format+0xa28>      
                    const uint32_t sectors_per_cluster,               
                    const uint32_t number_of_clusters )               
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
ffc10f20:	7c f4 3b 96 	divwu   r7,r20,r7                              
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
ffc10f24:	7d 29 38 10 	subfc   r9,r9,r7                               
ffc10f28:	7d 29 49 10 	subfe   r9,r9,r9                               
ffc10f2c:	7d 29 4b b8 	nand    r9,r9,r9                               
ffc10f30:	55 2a 00 3c 	rlwinm  r10,r9,0,0,30                          
ffc10f34:	39 4a 00 04 	addi    r10,r10,4                              
          fmt_params->fattype = msdos_get_fat_type(                   
            fmt_params->bytes_per_sector,                             
            fmt_params->sectors_per_cluster,                          
            data_clusters_cnt );                                      
          /* Correct sectors per cluster to the fat type specific default value */
          if (fat_type != fmt_params->fattype) {                      
ffc10f38:	7f 92 50 00 	cmpw    cr7,r18,r10                            
        fmt_params->sectors_per_cluster = sectors_per_cluster_adj;    
        fat_type = fmt_params->fattype;                               
                                                                      
        /* Correct the FAT type according to the new data cluster count */
        if ( ret_val == 0 ) {                                         
          fmt_params->fattype = msdos_get_fat_type(                   
ffc10f3c:	99 41 02 3a 	stb     r10,570(r1)                            
            fmt_params->bytes_per_sector,                             
            fmt_params->sectors_per_cluster,                          
            data_clusters_cnt );                                      
          /* Correct sectors per cluster to the fat type specific default value */
          if (fat_type != fmt_params->fattype) {                      
ffc10f40:	41 9e 04 6c 	beq-    cr7,ffc113ac <msdos_format+0xe9c>      
static void                                                           
msdos_set_default_sectors_per_cluster_for_fattype(                    
  msdos_format_param_t *fmt_params,                                   
  const uint64_t        total_size )                                  
{                                                                     
  if (   fmt_params->fattype == FAT_FAT12                             
ffc10f44:	39 4a ff ff 	addi    r10,r10,-1                             
ffc10f48:	2b 8a 00 01 	cmplwi  cr7,r10,1                              
ffc10f4c:	39 20 00 1f 	li      r9,31                                  
    #define ONE_GB ( 1024L * 1024L * 1024L )                          
    uint32_t gigs = ( total_size + ONE_GB ) / ONE_GB;                 
    int b;                                                            
    /* scale with the size of disk... */                              
    for ( b = 31; b > 0; b-- ) {                                      
      if ( (gigs & ( 1 << b) ) != 0 )                                 
ffc10f50:	7d 29 03 a6 	mtctr   r9                                     
static void                                                           
msdos_set_default_sectors_per_cluster_for_fattype(                    
  msdos_format_param_t *fmt_params,                                   
  const uint64_t        total_size )                                  
{                                                                     
  if (   fmt_params->fattype == FAT_FAT12                             
ffc10f54:	41 bd 00 0c 	bgt+    cr7,ffc10f60 <msdos_format+0xa50>      
ffc10f58:	48 00 03 30 	b       ffc11288 <msdos_format+0xd78>          
  else {                                                              
    #define ONE_GB ( 1024L * 1024L * 1024L )                          
    uint32_t gigs = ( total_size + ONE_GB ) / ONE_GB;                 
    int b;                                                            
    /* scale with the size of disk... */                              
    for ( b = 31; b > 0; b-- ) {                                      
ffc10f5c:	42 40 f8 64 	bdz+    ffc107c0 <msdos_format+0x2b0>          
      if ( (gigs & ( 1 << b) ) != 0 )                                 
ffc10f60:	7f ea 48 30 	slw     r10,r31,r9                             
ffc10f64:	7d 4b d0 39 	and.    r11,r10,r26                            
  else {                                                              
    #define ONE_GB ( 1024L * 1024L * 1024L )                          
    uint32_t gigs = ( total_size + ONE_GB ) / ONE_GB;                 
    int b;                                                            
    /* scale with the size of disk... */                              
    for ( b = 31; b > 0; b-- ) {                                      
ffc10f68:	39 29 ff ff 	addi    r9,r9,-1                               
      if ( (gigs & ( 1 << b) ) != 0 )                                 
ffc10f6c:	41 82 ff f0 	beq+    ffc10f5c <msdos_format+0xa4c>          
ffc10f70:	4b ff f8 54 	b       ffc107c4 <msdos_format+0x2b4>          
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? Then make clusters bigger          
     */                                                               
    if (((fattype == FAT_FAT12) && (*data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc10f74:	28 06 0f f5 	cmplwi  r6,4085                                
        ((fattype == FAT_FAT16) && (*data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
    }                                                                 
    else {                                                            
      finished = true;                                                
ffc10f78:	39 00 00 01 	li      r8,1                                   
			  + (sectors_per_cluster - 1))                                     
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? Then make clusters bigger          
     */                                                               
    if (((fattype == FAT_FAT12) && (*data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
ffc10f7c:	40 81 00 0c 	ble-    ffc10f88 <msdos_format+0xa78>          
        ((fattype == FAT_FAT16) && (*data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
ffc10f80:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
ffc10f84:	39 00 00 00 	li      r8,0                                   
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if (fattype == FAT_FAT12) {                                       
      if (MS_BYTES_PER_CLUSTER_LIMIT_FAT12 < (sectors_per_cluster * bytes_per_sector)) {
ffc10f88:	7e 09 39 d6 	mullw   r16,r9,r7                              
ffc10f8c:	28 10 10 00 	cmplwi  r16,4096                               
ffc10f90:	41 a1 ff 6c 	bgt-    ffc10efc <msdos_format+0x9ec>          
      }                                                               
    } else if ((sectors_per_cluster * bytes_per_sector)               
	> MS_BYTES_PER_CLUSTER_LIMIT) {                                      
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
ffc10f94:	2c 08 00 00 	cmpwi   r8,0                                   
ffc10f98:	41 82 fe e8 	beq+    ffc10e80 <msdos_format+0x970>          
ffc10f9c:	4b ff ff 60 	b       ffc10efc <msdos_format+0x9ec>          
			 / sectors_per_cluster));                                          
    /*                                                                
     * data cluster count too big? Then make clusters bigger          
     */                                                               
    if (((fattype == FAT_FAT12) && (*data_cluster_cnt > FAT_FAT12_MAX_CLN)) ||
        ((fattype == FAT_FAT16) && (*data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
ffc10fa0:	28 06 ff f5 	cmplwi  r6,65525                               
ffc10fa4:	40 a1 ff 4c 	ble-    ffc10ef0 <msdos_format+0x9e0>          
      sectors_per_cluster *= 2;                                       
ffc10fa8:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
ffc10fac:	39 00 00 00 	li      r8,0                                   
ffc10fb0:	4b ff ff 40 	b       ffc10ef0 <msdos_format+0x9e0>          
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10fb4:	7c c0 4a 14 	add     r6,r0,r9                               
ffc10fb8:	7c ca 50 38 	and     r10,r6,r10                             
     * - subtract from total cluster count                            
     */                                                               
    fatdata_sect_cnt = total_sector_cnt                               
      - loc_align_object (rsvd_sector_cnt, sectors_per_cluster, skip_alignment);
    if (fattype == FAT_FAT12) {                                       
      fatdata_sect_cnt    = fatdata_sect_cnt                          
ffc10fbc:	7d 0a 40 50 	subf    r8,r10,r8                              
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
ffc10fc0:	7d 08 4b 96 	divwu   r8,r8,r9                               
      fat_capacity        = fatdata_cluster_cnt * 3 / 2;              
ffc10fc4:	1d 48 00 03 	mulli   r10,r8,3                               
ffc10fc8:	55 4a f8 7e 	rlwinm  r10,r10,31,1,31                        
ffc10fcc:	4b ff fe ec 	b       ffc10eb8 <msdos_format+0x9a8>          
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc10fd0:	7c c0 4a 14 	add     r6,r0,r9                               
ffc10fd4:	7d 4a 30 38 	and     r10,r10,r6                             
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
      fat_capacity        = fatdata_cluster_cnt * 3 / 2;              
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
      fatdata_sect_cnt    = fatdata_sect_cnt                          
ffc10fd8:	7d 0a 40 50 	subf    r8,r10,r8                              
        - loc_align_object (root_dir_sector_cnt, sectors_per_cluster, skip_alignment);
      fatdata_cluster_cnt = fatdata_sect_cnt/sectors_per_cluster;     
ffc10fdc:	7d 08 4b 96 	divwu   r8,r8,r9                               
      fat_capacity        = fatdata_cluster_cnt * 2;                  
ffc10fe0:	55 0a 08 3c 	rlwinm  r10,r8,1,0,30                          
ffc10fe4:	4b ff fe d4 	b       ffc10eb8 <msdos_format+0x9a8>          
          if ((rqdata != NULL) &&                                     
              (rqdata->files_per_root_dir > 0)) {                     
            fmt_params->files_per_root_dir = rqdata->files_per_root_dir;
          }                                                           
          else {                                                      
            if (fmt_params->fattype == FAT_FAT16) {                   
ffc10fe8:	6a 4a 00 02 	xori    r10,r18,2                              
ffc10fec:	31 4a ff ff 	addic   r10,r10,-1                             
ffc10ff0:	7d 4a 51 10 	subfe   r10,r10,r10                            
ffc10ff4:	55 4a 05 f2 	rlwinm  r10,r10,0,23,25                        
ffc10ff8:	39 4a 00 3f 	addi    r10,r10,63                             
ffc10ffc:	4b ff fe 14 	b       ffc10e10 <msdos_format+0x900>          
        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;                           
ffc11000:	92 c1 02 10 	stw     r22,528(r1)                            
          /* 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;                               
          /* location of fsinfo sector */                             
          fmt_params->fsinfo_sec = 1;                                 
ffc11004:	39 60 00 20 	li      r11,32                                 
ffc11008:	39 80 00 00 	li      r12,0                                  
                                                                      
        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;                         
ffc1100c:	92 e1 02 20 	stw     r23,544(r1)                            
          /* location of copy of MBR */                               
          fmt_params->mbr_copy_sec = 6;                               
ffc11010:	93 01 02 30 	stw     r24,560(r1)                            
          /* location of fsinfo sector */                             
          fmt_params->fsinfo_sec = 1;                                 
ffc11014:	93 e1 02 34 	stw     r31,564(r1)                            
ffc11018:	80 e1 02 08 	lwz     r7,520(r1)                             
ffc1101c:	4b ff fe 14 	b       ffc10e30 <msdos_format+0x920>          
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
      && sectors_per_cluster <= ms_sectors_per_cluster_limit_FAT12 ) {
    fattype = FAT_FAT12;                                              
  }                                                                   
  else if (   number_of_clusters < FAT_FAT16_MAX_CLN                  
ffc11020:	2b 86 ff f4 	cmplwi  cr7,r6,65524                           
{                                                                     
  uint32_t ms_sectors_per_cluster_limit_FAT12 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT_FAT12 +1 ) / bytes_per_sector;       
  uint32_t ms_sectors_per_cluster_limit_FAT16 =                       
    ( MS_BYTES_PER_CLUSTER_LIMIT +1 ) / bytes_per_sector;             
  uint8_t fattype = FAT_FAT32;                                        
ffc11024:	39 40 00 04 	li      r10,4                                  
                                                                      
  if (   number_of_clusters < FAT_FAT12_MAX_CLN                       
      && sectors_per_cluster <= ms_sectors_per_cluster_limit_FAT12 ) {
    fattype = FAT_FAT12;                                              
  }                                                                   
  else if (   number_of_clusters < FAT_FAT16_MAX_CLN                  
ffc11028:	41 9d ff 10 	bgt+    cr7,ffc10f38 <msdos_format+0xa28>      
ffc1102c:	4b ff fe f4 	b       ffc10f20 <msdos_format+0xa10>          
    if (fmt_params->totl_sector_cnt < 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 < FAT_FAT16_MAX_CLN * fat16_sect_per_clust) {
ffc11030:	55 28 10 3a 	rlwinm  r8,r9,2,0,29                           
ffc11034:	55 27 70 22 	rlwinm  r7,r9,14,0,17                          
ffc11038:	7d 08 38 50 	subf    r8,r8,r7                               
ffc1103c:	7d 08 4a 14 	add     r8,r8,r9                               
ffc11040:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc11044:	7d 28 4a 14 	add     r9,r8,r9                               
ffc11048:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc1104c:	41 9c 00 7c 	blt-    cr7,ffc110c8 <msdos_format+0xbb8>      
      /* 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;                 
ffc11050:	3d 5f 40 00 	addis   r10,r31,16384                          
ffc11054:	7d 3f 50 10 	subfc   r9,r31,r10                             
ffc11058:	7d 29 49 10 	subfe   r9,r9,r9                               
ffc1105c:	7d 29 00 d0 	neg     r9,r9                                  
ffc11060:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc11064:	55 4a 17 be 	rlwinm  r10,r10,2,30,31                        
      int b;                                                          
      fmt_params->fattype = FAT_FAT32;                                
ffc11068:	39 00 00 04 	li      r8,4                                   
      /* 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;                 
ffc1106c:	7d 26 53 78 	or      r6,r9,r10                              
      int b;                                                          
      fmt_params->fattype = FAT_FAT32;                                
ffc11070:	99 01 02 3a 	stb     r8,570(r1)                             
      /* scale with the size of disk... */                            
      for (b = 31; b > 0; b--)                                        
ffc11074:	39 20 00 1f 	li      r9,31                                  
        if ((gigs & (1 << b)) != 0)                                   
ffc11078:	38 e0 00 01 	li      r7,1                                   
ffc1107c:	7d 29 03 a6 	mtctr   r9                                     
ffc11080:	48 00 00 08 	b       ffc11088 <msdos_format+0xb78>          
      #define ONE_GB (1024L * 1024L * 1024L)                          
      uint32_t gigs = (total_size + ONE_GB) / ONE_GB;                 
      int b;                                                          
      fmt_params->fattype = FAT_FAT32;                                
      /* scale with the size of disk... */                            
      for (b = 31; b > 0; b--)                                        
ffc11084:	42 40 02 dc 	bdz-    ffc11360 <msdos_format+0xe50>          
        if ((gigs & (1 << b)) != 0)                                   
ffc11088:	7c e8 48 30 	slw     r8,r7,r9                               
ffc1108c:	7d 0a 30 39 	and.    r10,r8,r6                              
      #define ONE_GB (1024L * 1024L * 1024L)                          
      uint32_t gigs = (total_size + ONE_GB) / ONE_GB;                 
      int b;                                                          
      fmt_params->fattype = FAT_FAT32;                                
      /* scale with the size of disk... */                            
      for (b = 31; b > 0; b--)                                        
ffc11090:	39 29 ff ff 	addi    r9,r9,-1                               
        if ((gigs & (1 << b)) != 0)                                   
ffc11094:	41 82 ff f0 	beq+    ffc11084 <msdos_format+0xb74>          
          break;                                                      
      fmt_params->sectors_per_cluster = 1 << b;                       
ffc11098:	91 01 02 14 	stw     r8,532(r1)                             
ffc1109c:	4b ff fc a8 	b       ffc10d44 <msdos_format+0x834>          
     * 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) {         
ffc110a0:	39 00 7f a8 	li      r8,32680                               
     * 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;                               
ffc110a4:	39 20 00 20 	li      r9,32                                  
ffc110a8:	4b ff fc 80 	b       ffc10d28 <msdos_format+0x818>          
ffc110ac:	55 38 06 3e 	clrlwi  r24,r9,24                              
ffc110b0:	55 39 c6 3e 	rlwinm  r25,r9,24,24,31                        
ffc110b4:	55 3a 86 3e 	rlwinm  r26,r9,16,24,31                        
ffc110b8:	55 3b 46 3e 	rlwinm  r27,r9,8,24,31                         
{                                                                     
  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) {                        
ffc110bc:	3b c0 00 00 	li      r30,0                                  
ffc110c0:	3b e0 00 00 	li      r31,0                                  
ffc110c4:	4b ff f9 30 	b       ffc109f4 <msdos_format+0x4e4>          
      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) {
      fmt_params->fattype = FAT_FAT16;                                
ffc110c8:	39 20 00 02 	li      r9,2                                   
ffc110cc:	99 21 02 3a 	stb     r9,570(r1)                             
      /* start trying with small clusters */                          
      fmt_params->sectors_per_cluster = 2;                            
ffc110d0:	39 20 00 02 	li      r9,2                                   
ffc110d4:	91 21 02 14 	stw     r9,532(r1)                             
ffc110d8:	4b ff fc 6c 	b       ffc10d44 <msdos_format+0x834>          
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
      fmt_params->fat_num = rqdata->fat_num;                          
    }                                                                 
    else {                                                            
      errno = EINVAL;                                                 
ffc110dc:	48 00 f5 c1 	bl      ffc2069c <__errno>                     
ffc110e0:	39 20 00 16 	li      r9,22                                  
ffc110e4:	91 23 00 00 	stw     r9,0(r3)                               
      ret_val = -1;                                                   
ffc110e8:	38 60 ff ff 	li      r3,-1                                  
ffc110ec:	4b ff f5 f4 	b       ffc106e0 <msdos_format+0x1d0>          
    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),                           
ffc110f0:	3d 20 ff c3 	lis     r9,-61                                 
ffc110f4:	39 29 0a 5c 	addi    r9,r9,2652                             
ffc110f8:	4b ff fa 10 	b       ffc10b08 <msdos_format+0x5f8>          
\*=========================================================================*/
{                                                                     
  /*                                                                  
   * clear fsinfo sector data                                         
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
ffc110fc:	38 80 00 00 	li      r4,0                                   
ffc11100:	38 a0 02 00 	li      r5,512                                 
ffc11104:	38 61 00 08 	addi    r3,r1,8                                
ffc11108:	48 01 03 69 	bl      ffc21470 <memset>                      
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc1110c:	39 40 00 61 	li      r10,97                                 
ffc11110:	99 41 00 0a 	stb     r10,10(r1)                             
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
ffc11114:	39 20 ff ff 	li      r9,-1                                  
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc11118:	39 60 00 52 	li      r11,82                                 
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc1111c:	99 41 01 ef 	stb     r10,495(r1)                            
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc11120:	39 40 00 55 	li      r10,85                                 
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc11124:	39 00 00 41 	li      r8,65                                  
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc11128:	80 a1 02 08 	lwz     r5,520(r1)                             
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc1112c:	38 e0 00 72 	li      r7,114                                 
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc11130:	99 41 02 06 	stb     r10,518(r1)                            
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc11134:	7f 83 e3 78 	mr      r3,r28                                 
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc11138:	39 40 ff aa 	li      r10,-86                                
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc1113c:	7f e4 fb 78 	mr      r4,r31                                 
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc11140:	99 61 00 08 	stb     r11,8(r1)                              
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc11144:	38 c1 00 08 	addi    r6,r1,8                                
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
ffc11148:	99 61 00 09 	stb     r11,9(r1)                              
ffc1114c:	99 01 00 0b 	stb     r8,11(r1)                              
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
ffc11150:	98 e1 01 ec 	stb     r7,492(r1)                             
ffc11154:	98 e1 01 ed 	stb     r7,493(r1)                             
ffc11158:	99 01 01 ee 	stb     r8,494(r1)                             
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
ffc1115c:	99 41 02 07 	stb     r10,519(r1)                            
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
ffc11160:	99 21 01 f0 	stb     r9,496(r1)                             
ffc11164:	99 21 01 f1 	stb     r9,497(r1)                             
ffc11168:	99 21 01 f2 	stb     r9,498(r1)                             
ffc1116c:	99 21 01 f3 	stb     r9,499(r1)                             
				    0xffffffff);                                                  
  FAT_SET_FSINFO_NEXT_FREE_CLUSTER (fsinfo+FAT_FSI_INFO,              
ffc11170:	99 21 01 f4 	stb     r9,500(r1)                             
ffc11174:	99 21 01 f5 	stb     r9,501(r1)                             
ffc11178:	99 21 01 f6 	stb     r9,502(r1)                             
ffc1117c:	99 21 01 f7 	stb     r9,503(r1)                             
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
ffc11180:	4b ff f0 35 	bl      ffc101b4 <msdos_format_write_sec>      
  }                                                                   
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
ffc11184:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc11188:	40 82 f4 88 	bne+    ffc10610 <msdos_format+0x100>          <== NEVER TAKEN
ffc1118c:	4b ff fa 00 	b       ffc10b8c <msdos_format+0x67c>          
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
    memset(tmp_sec,0,sizeof(tmp_sec));                                
ffc11190:	38 80 00 00 	li      r4,0                                   
ffc11194:	38 a0 02 00 	li      r5,512                                 
ffc11198:	38 61 00 08 	addi    r3,r1,8                                
ffc1119c:	48 01 02 d5 	bl      ffc21470 <memset>                      
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
ffc111a0:	89 21 02 4e 	lbz     r9,590(r1)                             
ffc111a4:	81 01 02 48 	lwz     r8,584(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc111a8:	7f 83 e3 78 	mr      r3,r28                                 
  /*                                                                  
   * 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);
ffc111ac:	a1 41 02 4c 	lhz     r10,588(r1)                            
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc111b0:	38 c1 00 08 	addi    r6,r1,8                                
  /*                                                                  
   * 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);
ffc111b4:	80 e1 02 44 	lwz     r7,580(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
ffc111b8:	80 81 02 28 	lwz     r4,552(r1)                             
ffc111bc:	80 a1 02 08 	lwz     r5,520(r1)                             
  /*                                                                  
   * 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);
ffc111c0:	99 21 00 12 	stb     r9,18(r1)                              
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc111c4:	39 20 00 08 	li      r9,8                                   
  /*                                                                  
   * 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);
ffc111c8:	90 e1 00 08 	stw     r7,8(r1)                               
ffc111cc:	91 01 00 0c 	stw     r8,12(r1)                              
ffc111d0:	b1 41 00 10 	sth     r10,16(r1)                             
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
ffc111d4:	99 21 00 13 	stb     r9,19(r1)                              
    ret_val = msdos_format_write_sec                                  
ffc111d8:	4b ff ef dd 	bl      ffc101b4 <msdos_format_write_sec>      
  /*                                                                  
   * 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) {                                                 
ffc111dc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc111e0:	41 a2 fa 08 	beq-    ffc10be8 <msdos_format+0x6d8>          <== ALWAYS TAKEN
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
    close(fd);                                                        
ffc111e4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc111e8:	4b ff 54 91 	bl      ffc06678 <close>                       <== NOT EXECUTED
ffc111ec:	4b ff f4 28 	b       ffc10614 <msdos_format+0x104>          <== NOT EXECUTED
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
      break;                                                          
                                                                      
    case FAT_FAT32:                                                   
      /* FAT entry 0: 0xffffff00|media_type */                        
      FAT_SET_VAL32(tmp_sec,0,0xffffff00|fmt_params.media_code);      
ffc111f0:	89 41 02 39 	lbz     r10,569(r1)                            
ffc111f4:	39 20 ff ff 	li      r9,-1                                  
ffc111f8:	99 21 00 09 	stb     r9,9(r1)                               
ffc111fc:	99 41 00 08 	stb     r10,8(r1)                              
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc11200:	39 40 ff f8 	li      r10,-8                                 
      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);      
ffc11204:	99 21 00 0a 	stb     r9,10(r1)                              
ffc11208:	99 21 00 0b 	stb     r9,11(r1)                              
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
ffc1120c:	99 21 00 0d 	stb     r9,13(r1)                              
ffc11210:	99 21 00 0e 	stb     r9,14(r1)                              
ffc11214:	39 20 00 0f 	li      r9,15                                  
ffc11218:	99 41 00 0c 	stb     r10,12(r1)                             
ffc1121c:	99 21 00 0f 	stb     r9,15(r1)                              
      /*                                                              
       * 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);                         
ffc11220:	39 20 ff ff 	li      r9,-1                                  
ffc11224:	39 40 ff f8 	li      r10,-8                                 
ffc11228:	99 21 00 11 	stb     r9,17(r1)                              
ffc1122c:	99 21 00 12 	stb     r9,18(r1)                              
ffc11230:	39 20 00 0f 	li      r9,15                                  
ffc11234:	99 41 00 10 	stb     r10,16(r1)                             
ffc11238:	99 21 00 13 	stb     r9,19(r1)                              
ffc1123c:	4b ff f9 f4 	b       ffc10c30 <msdos_format+0x720>          
    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));                
ffc11240:	89 21 02 39 	lbz     r9,569(r1)                             
ffc11244:	99 21 00 08 	stb     r9,8(r1)                               
      /* 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)));          
ffc11248:	39 20 ff 8f 	li      r9,-113                                
ffc1124c:	99 21 00 09 	stb     r9,9(r1)                               
      /* MSBits of FAT entry 1: MSBits of EOC */                      
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
ffc11250:	39 20 ff ff 	li      r9,-1                                  
ffc11254:	99 21 00 0a 	stb     r9,10(r1)                              
      break;                                                          
ffc11258:	4b ff f9 d8 	b       ffc10c30 <msdos_format+0x720>          
                                                                      
    case FAT_FAT16:                                                   
      /* FAT entry 0: 0xff00|media_type */                            
      FAT_SET_VAL8(tmp_sec,0,fmt_params.media_code);                  
ffc1125c:	89 41 02 39 	lbz     r10,569(r1)                            
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
ffc11260:	39 20 ff ff 	li      r9,-1                                  
ffc11264:	99 21 00 09 	stb     r9,9(r1)                               
      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);                  
ffc11268:	99 41 00 08 	stb     r10,8(r1)                              
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
ffc1126c:	39 40 ff f8 	li      r10,-8                                 
ffc11270:	99 41 00 0a 	stb     r10,10(r1)                             
ffc11274:	99 21 00 0b 	stb     r9,11(r1)                              
      break;                                                          
ffc11278:	4b ff f9 b8 	b       ffc10c30 <msdos_format+0x720>          
  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();                                              
ffc1127c:	48 01 0c fd 	bl      ffc21f78 <rand>                        
ffc11280:	90 61 02 54 	stw     r3,596(r1)                             
ffc11284:	4b ff f6 d4 	b       ffc10958 <msdos_format+0x448>          
  const uint64_t        total_size )                                  
{                                                                     
  if (   fmt_params->fattype == FAT_FAT12                             
      || fmt_params->fattype == FAT_FAT16 ) {                         
    /* start trying with small clusters */                            
    fmt_params->sectors_per_cluster = 2;                              
ffc11288:	39 20 00 02 	li      r9,2                                   
ffc1128c:	91 21 02 14 	stw     r9,532(r1)                             
ffc11290:	4b ff f5 38 	b       ffc107c8 <msdos_format+0x2b8>          
    if ((ret_val == 0) &&                                             
        (fmt_params.mbr_copy_sec != 0)) {                             
      /*                                                              
       * write copy of MBR                                            
       */                                                             
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
ffc11294:	3c a0 ff c3 	lis     r5,-61                                 
ffc11298:	38 80 00 02 	li      r4,2                                   
ffc1129c:	38 a5 0b 2c 	addi    r5,r5,2860                             
ffc112a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc112a4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc112a8:	4b ff ee 59 	bl      ffc10100 <msdos_format_printf>         
                           "write back up MRB sector\n");             
      ret_val = msdos_format_write_sec(fd,                            
ffc112ac:	80 81 02 30 	lwz     r4,560(r1)                             
ffc112b0:	80 a1 02 08 	lwz     r5,520(r1)                             
ffc112b4:	7f 83 e3 78 	mr      r3,r28                                 
ffc112b8:	38 c1 00 08 	addi    r6,r1,8                                
ffc112bc:	4b ff ee f9 	bl      ffc101b4 <msdos_format_write_sec>      
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
ffc112c0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc112c4:	41 82 f8 bc 	beq+    ffc10b80 <msdos_format+0x670>          <== ALWAYS TAKEN
ffc112c8:	4b ff f3 48 	b       ffc10610 <msdos_format+0x100>          <== 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 */     
ffc112cc:	3d 00 ff c3 	lis     r8,-61                                 
ffc112d0:	39 08 0a 74 	addi    r8,r8,2676                             
ffc112d4:	4b ff f5 a0 	b       ffc10874 <msdos_format+0x364>          
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
ffc112d8:	3d 00 ff c3 	lis     r8,-61                                 
ffc112dc:	39 08 06 8c 	addi    r8,r8,1676                             
ffc112e0:	4b ff f6 08 	b       ffc108e8 <msdos_format+0x3d8>          
    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),                     
ffc112e4:	3d 20 ff c3 	lis     r9,-61                                 
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc112e8:	81 41 02 18 	lwz     r10,536(r1)                            
    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 */
ffc112ec:	81 01 02 30 	lwz     r8,560(r1)                             
    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),                     
ffc112f0:	38 e9 0b 0c 	addi    r7,r9,2828                             
ffc112f4:	80 c9 0b 0c 	lwz     r6,2828(r9)                            
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc112f8:	55 5e c6 3e 	rlwinm  r30,r10,24,24,31                       
    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),                     
ffc112fc:	80 e7 00 04 	lwz     r7,4(r7)                               
    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 */
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
ffc11300:	39 20 00 00 	li      r9,0                                   
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc11304:	55 5f 84 3e 	rlwinm  r31,r10,16,16,31                       
ffc11308:	99 41 00 2c 	stb     r10,44(r1)                             
ffc1130c:	55 40 46 3e 	rlwinm  r0,r10,8,24,31                         
    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 */
ffc11310:	55 0b c2 3e 	rlwinm  r11,r8,24,8,31                         
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc11314:	9b c1 00 2d 	stb     r30,45(r1)                             
    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);      
ffc11318:	39 40 00 29 	li      r10,41                                 
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
ffc1131c:	9b e1 00 2e 	stb     r31,46(r1)                             
ffc11320:	98 01 00 2f 	stb     r0,47(r1)                              
    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 */
ffc11324:	98 61 00 34 	stb     r3,52(r1)                              
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
ffc11328:	98 81 00 38 	stb     r4,56(r1)                              
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
ffc1132c:	99 01 00 3a 	stb     r8,58(r1)                              
ffc11330:	99 61 00 3b 	stb     r11,59(r1)                             
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
ffc11334:	91 21 00 3c 	stw     r9,60(r1)                              
ffc11338:	91 21 00 40 	stw     r9,64(r1)                              
ffc1133c:	91 21 00 44 	stw     r9,68(r1)                              
                                                                      
    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);      
ffc11340:	99 41 00 4a 	stb     r10,74(r1)                             
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
ffc11344:	91 21 00 4f 	stw     r9,79(r1)                              
ffc11348:	91 21 00 53 	stw     r9,83(r1)                              
ffc1134c:	b1 21 00 57 	sth     r9,87(r1)                              
ffc11350:	98 a1 00 59 	stb     r5,89(r1)                              
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
ffc11354:	90 c1 00 5a 	stw     r6,90(r1)                              
ffc11358:	90 e1 00 5e 	stw     r7,94(r1)                              
ffc1135c:	4b ff f7 bc 	b       ffc10b18 <msdos_format+0x608>          
      #define ONE_GB (1024L * 1024L * 1024L)                          
      uint32_t gigs = (total_size + ONE_GB) / ONE_GB;                 
      int b;                                                          
      fmt_params->fattype = FAT_FAT32;                                
      /* scale with the size of disk... */                            
      for (b = 31; b > 0; b--)                                        
ffc11360:	39 00 00 01 	li      r8,1                                   
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fmt_params->sectors_per_cluster = 1 << b;                       
ffc11364:	91 01 02 14 	stw     r8,532(r1)                             
ffc11368:	4b ff f9 dc 	b       ffc10d44 <msdos_format+0x834>          
                                                                      
    start_sector = loc_align_object (fmt_params.rsvd_sector_cnt,      
                                     fmt_params.sectors_per_cluster,  
                                     fmt_params.skip_alignment);      
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
ffc1136c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc11370:	4b ff f3 34 	b       ffc106a4 <msdos_format+0x194>          <== NOT EXECUTED
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc11374:	3c a0 ff c3 	lis     r5,-61                                 
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc11378:	39 20 00 02 	li      r9,2                                   
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc1137c:	38 60 00 00 	li      r3,0                                   
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
ffc11380:	99 21 02 38 	stb     r9,568(r1)                             
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
ffc11384:	38 80 00 02 	li      r4,2                                   
ffc11388:	38 a5 0a c8 	addi    r5,r5,2760                             
ffc1138c:	38 c0 00 02 	li      r6,2                                   
ffc11390:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc11394:	4b ff ed 6d 	bl      ffc10100 <msdos_format_printf>         
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
ffc11398:	39 00 7f a8 	li      r8,32680                               
     * 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;                               
ffc1139c:	39 20 00 20 	li      r9,32                                  
ffc113a0:	4b ff f9 88 	b       ffc10d28 <msdos_format+0x818>          
ffc113a4:	80 a1 02 0c 	lwz     r5,524(r1)                             <== NOT EXECUTED
ffc113a8:	4b ff f3 3c 	b       ffc106e4 <msdos_format+0x1d4>          <== NOT EXECUTED
      }                                                               
                                                                      
      ++iteration_cnt;                                                
    }                                                                 
  }                                                                   
  if ( fmt_params->totl_sector_cnt == 0 )                             
ffc113ac:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc113b0:	41 be f4 70 	beq-    cr7,ffc10820 <msdos_format+0x310>      <== NEVER TAKEN
    ret_val = -1;                                                     
  }                                                                   
                                                                      
  if (0 == ret_val)                                                   
  {                                                                   
    if (FAT_FAT32 != fmt_params->fattype)                             
ffc113b4:	89 21 02 3a 	lbz     r9,570(r1)                             
    {                                                                 
      fmt_params->files_per_root_dir = loc_align_object (fmt_params->root_dir_sectors,
ffc113b8:	89 01 02 58 	lbz     r8,600(r1)                             
    ret_val = -1;                                                     
  }                                                                   
                                                                      
  if (0 == ret_val)                                                   
  {                                                                   
    if (FAT_FAT32 != fmt_params->fattype)                             
ffc113bc:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc113c0:	41 9e 00 ac 	beq-    cr7,ffc1146c <msdos_format+0xf5c>      
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc113c4:	2f 88 00 00 	cmpwi   cr7,r8,0                               
                                                                      
  if (0 == ret_val)                                                   
  {                                                                   
    if (FAT_FAT32 != fmt_params->fattype)                             
    {                                                                 
      fmt_params->files_per_root_dir = loc_align_object (fmt_params->root_dir_sectors,
ffc113c8:	81 41 02 24 	lwz     r10,548(r1)                            
ffc113cc:	81 21 02 14 	lwz     r9,532(r1)                             
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc113d0:	40 9e 00 14 	bne-    cr7,ffc113e4 <msdos_format+0xed4>      
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc113d4:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc113d8:	39 0a ff ff 	addi    r8,r10,-1                              
ffc113dc:	7d 49 00 d0 	neg     r10,r9                                 
ffc113e0:	7d 0a 50 38 	and     r10,r8,r10                             
    if (FAT_FAT32 != fmt_params->fattype)                             
    {                                                                 
      fmt_params->files_per_root_dir = loc_align_object (fmt_params->root_dir_sectors,
                                                         fmt_params->sectors_per_cluster,
                                                         fmt_params->skip_alignment)
                                       * (fmt_params->bytes_per_sector / FAT_DIRENTRY_SIZE);
ffc113e4:	81 01 02 08 	lwz     r8,520(r1)                             
ffc113e8:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc113ec:	7d 4a 41 d6 	mullw   r10,r10,r8                             
                                                                      
  if (0 == ret_val)                                                   
  {                                                                   
    if (FAT_FAT32 != fmt_params->fattype)                             
    {                                                                 
      fmt_params->files_per_root_dir = loc_align_object (fmt_params->root_dir_sectors,
ffc113f0:	91 41 02 20 	stw     r10,544(r1)                            
                                                         fmt_params->sectors_per_cluster,
                                                         fmt_params->skip_alignment)
                                       * (fmt_params->bytes_per_sector / FAT_DIRENTRY_SIZE);
    }                                                                 
                                                                      
    fmt_params->rsvd_sector_cnt = loc_align_object (fmt_params->rsvd_sector_cnt,
ffc113f4:	83 e1 02 10 	lwz     r31,528(r1)                            
static uint32_t                                                       
 loc_align_object (const uint32_t sectors,                            
                   const uint32_t clustersize,                        
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
ffc113f8:	40 9e 00 14 	bne-    cr7,ffc1140c <msdos_format+0xefc>      
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
ffc113fc:	3b ff ff ff 	addi    r31,r31,-1                             
ffc11400:	7f ff 4a 14 	add     r31,r31,r9                             
ffc11404:	7d 29 00 d0 	neg     r9,r9                                  
ffc11408:	7f ff 48 38 	and     r31,r31,r9                             
                                                         fmt_params->sectors_per_cluster,
                                                         fmt_params->skip_alignment)
                                       * (fmt_params->bytes_per_sector / FAT_DIRENTRY_SIZE);
    }                                                                 
                                                                      
    fmt_params->rsvd_sector_cnt = loc_align_object (fmt_params->rsvd_sector_cnt,
ffc1140c:	93 e1 02 10 	stw     r31,528(r1)                            
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
ffc11410:	41 8e 00 50 	beq-    cr3,ffc11460 <msdos_format+0xf50>      
	(rqdata->media != 0)) {                                              
ffc11414:	8b 7d 00 14 	lbz     r27,20(r29)                            
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
ffc11418:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1141c:	41 9e 00 44 	beq-    cr7,ffc11460 <msdos_format+0xf50>      
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc11420:	3d 40 ff c3 	lis     r10,-61                                
ffc11424:	39 2a 0a 24 	addi    r9,r10,2596                            
ffc11428:	81 0a 0a 24 	lwz     r8,2596(r10)                           
ffc1142c:	81 49 00 04 	lwz     r10,4(r9)                              
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc11430:	38 61 00 08 	addi    r3,r1,8                                
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc11434:	89 29 00 08 	lbz     r9,8(r9)                               
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc11438:	7f 64 db 78 	mr      r4,r27                                 
ffc1143c:	38 a0 00 09 	li      r5,9                                   
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
ffc11440:	91 01 00 08 	stw     r8,8(r1)                               
ffc11444:	91 41 00 0c 	stw     r10,12(r1)                             
ffc11448:	99 21 00 10 	stb     r9,16(r1)                              
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
ffc1144c:	48 00 fd c1 	bl      ffc2120c <memchr>                      
ffc11450:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11454:	41 9e 00 24 	beq-    cr7,ffc11478 <msdos_format+0xf68>      <== ALWAYS TAKEN
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
      }                                                               
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
ffc11458:	9b 61 02 39 	stb     r27,569(r1)                            <== NOT EXECUTED
ffc1145c:	4b ff f3 dc 	b       ffc10838 <msdos_format+0x328>          <== NOT EXECUTED
      }                                                               
    }                                                                 
    else {                                                            
      fmt_params->media_code = FAT_BR_MEDIA_FIXED;                    
ffc11460:	39 20 ff f8 	li      r9,-8                                  
ffc11464:	99 21 02 39 	stb     r9,569(r1)                             
ffc11468:	4b ff f3 d0 	b       ffc10838 <msdos_format+0x328>          
ffc1146c:	81 21 02 14 	lwz     r9,532(r1)                             
ffc11470:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc11474:	4b ff ff 80 	b       ffc113f4 <msdos_format+0xee4>          
	{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;                                                      
ffc11478:	48 00 f2 25 	bl      ffc2069c <__errno>                     
      const char valid_media_codes[] =                                
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
		       rqdata->media,                                               
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
ffc1147c:	3b c0 ff ff 	li      r30,-1                                 
	errno = EINVAL;                                                      
ffc11480:	39 20 00 16 	li      r9,22                                  
ffc11484:	83 e1 02 10 	lwz     r31,528(r1)                            
ffc11488:	91 23 00 00 	stw     r9,0(r3)                               
ffc1148c:	2d 1e 00 00 	cmpwi   cr2,r30,0                              
ffc11490:	4b ff f3 a8 	b       ffc10838 <msdos_format+0x328>          
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
ffc11494:	7f fe fb 78 	mr      r30,r31                                <== NOT EXECUTED
ffc11498:	4b ff f1 78 	b       ffc10610 <msdos_format+0x100>          <== NOT EXECUTED
                   const bool     skip_alignment)                     
{                                                                     
  if (! skip_alignment)                                               
    return (sectors + clustersize - 1) & ~(clustersize - 1);          
  else                                                                
    return sectors;                                                   
ffc1149c:	7d 8a 63 78 	mr      r10,r12                                
ffc114a0:	4b ff fb 1c 	b       ffc10fbc <msdos_format+0xaac>          
                                                                      

ffc10240 <msdos_format_fill_sectors>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc10240:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc10244:	7d 80 00 26 	mfcr    r12                                    
ffc10248:	7c 08 02 a6 	mflr    r0                                     
ffc1024c:	92 c1 00 10 	stw     r22,16(r1)                             
ffc10250:	7c 76 1b 78 	mr      r22,r3                                 
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc10254:	7c e3 3b 78 	mr      r3,r7                                  
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc10258:	92 e1 00 14 	stw     r23,20(r1)                             
ffc1025c:	7c 97 23 78 	mr      r23,r4                                 
ffc10260:	93 01 00 18 	stw     r24,24(r1)                             
ffc10264:	93 41 00 20 	stw     r26,32(r1)                             
ffc10268:	7c fa 3b 78 	mr      r26,r7                                 
ffc1026c:	93 61 00 24 	stw     r27,36(r1)                             
ffc10270:	7c db 33 78 	mr      r27,r6                                 
ffc10274:	93 c1 00 30 	stw     r30,48(r1)                             
ffc10278:	7d 1e 43 78 	mr      r30,r8                                 
ffc1027c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc10280:	7c bf 2b 78 	mr      r31,r5                                 
ffc10284:	90 01 00 3c 	stw     r0,60(r1)                              
ffc10288:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc1028c:	93 21 00 1c 	stw     r25,28(r1)                             
ffc10290:	93 81 00 28 	stw     r28,40(r1)                             
ffc10294:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc10298:	91 81 00 08 	stw     r12,8(r1)                              
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
ffc1029c:	4b ff 6b 01 	bl      ffc06d9c <malloc>                      
    if (fill_buffer == NULL) {                                        
ffc102a0:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc102a4:	7c 78 1b 78 	mr      r24,r3                                 
ffc102a8:	41 92 01 70 	beq-    cr4,ffc10418 <msdos_format_fill_sectors+0x1d8><== NEVER TAKEN
      errno = ENOMEM;                                                 
      ret_val = -1;                                                   
    }                                                                 
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
ffc102ac:	7f c4 f3 78 	mr      r4,r30                                 
ffc102b0:	7f 45 d3 78 	mr      r5,r26                                 
ffc102b4:	48 01 11 bd 	bl      ffc21470 <memset>                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc102b8:	3c a0 ff c3 	lis     r5,-61                                 
ffc102bc:	7e c3 b3 78 	mr      r3,r22                                 
ffc102c0:	38 80 00 02 	li      r4,2                                   
ffc102c4:	38 a5 0a 30 	addi    r5,r5,2608                             
ffc102c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc102cc:	4b ff fe 35 	bl      ffc10100 <msdos_format_printf>         
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc102d0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc102d4:	41 9e 01 24 	beq-    cr7,ffc103f8 <msdos_format_fill_sectors+0x1b8><== NEVER TAKEN
	 (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, ".");
ffc102d8:	3e a0 ff c3 	lis     r21,-61                                
ffc102dc:	1f bb 00 64 	mulli   r29,r27,100                            
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc102e0:	7f 7e db 78 	mr      r30,r27                                
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  char *fill_buffer = NULL;                                           
  uint32_t total_sectors = sector_cnt;                                
  int last_percent = -1;                                              
ffc102e4:	3b 80 ff ff 	li      r28,-1                                 
  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, ".");
ffc102e8:	3a b5 08 fc 	addi    r21,r21,2300                           
ffc102ec:	48 00 00 2c 	b       ffc10318 <msdos_format_fill_sectors+0xd8>
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc102f0:	7f e4 fb 78 	mr      r4,r31                                 
ffc102f4:	7e e3 bb 78 	mr      r3,r23                                 
ffc102f8:	7f 45 d3 78 	mr      r5,r26                                 
ffc102fc:	7f 06 c3 78 	mr      r6,r24                                 
ffc10300:	4b ff fe b5 	bl      ffc101b4 <msdos_format_write_sec>      
    start_sector++;                                                   
ffc10304:	3b ff 00 01 	addi    r31,r31,1                              
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc10308:	7c 79 1b 79 	mr.     r25,r3                                 
ffc1030c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10310:	40 82 00 60 	bne-    ffc10370 <msdos_format_fill_sectors+0x130><== NEVER TAKEN
ffc10314:	41 9e 00 e4 	beq-    cr7,ffc103f8 <msdos_format_fill_sectors+0x1b8>
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
ffc10318:	7d 3d db 96 	divwu   r9,r29,r27                             
    if (percent != last_percent) {                                    
ffc1031c:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
        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);
    start_sector++;                                                   
    sector_cnt--;                                                     
ffc10320:	3b de ff ff 	addi    r30,r30,-1                             
ffc10324:	3b bd ff 9c 	addi    r29,r29,-100                           
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
    if (percent != last_percent) {                                    
ffc10328:	41 be ff c8 	beq-    cr7,ffc102f0 <msdos_format_fill_sectors+0xb0>
      if ((percent & 1) == 0)                                         
ffc1032c:	7d 3c 4b 78 	mr      r28,r9                                 
ffc10330:	73 89 00 01 	andi.   r9,r28,1                               
ffc10334:	40 82 ff bc 	bne+    ffc102f0 <msdos_format_fill_sectors+0xb0>
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
ffc10338:	7e c3 b3 78 	mr      r3,r22                                 
ffc1033c:	38 80 00 02 	li      r4,2                                   
ffc10340:	7e a5 ab 78 	mr      r5,r21                                 
ffc10344:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10348:	4b ff fd b9 	bl      ffc10100 <msdos_format_printf>         
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
ffc1034c:	7f e4 fb 78 	mr      r4,r31                                 
ffc10350:	7e e3 bb 78 	mr      r3,r23                                 
ffc10354:	7f 45 d3 78 	mr      r5,r26                                 
ffc10358:	7f 06 c3 78 	mr      r6,r24                                 
ffc1035c:	4b ff fe 59 	bl      ffc101b4 <msdos_format_write_sec>      
    start_sector++;                                                   
ffc10360:	3b ff 00 01 	addi    r31,r31,1                              
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
ffc10364:	7c 79 1b 79 	mr.     r25,r3                                 
ffc10368:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1036c:	41 82 ff a8 	beq+    ffc10314 <msdos_format_fill_sectors+0xd4><== ALWAYS TAKEN
    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");    
ffc10370:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc10374:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc10378:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc1037c:	38 a5 fe 20 	addi    r5,r5,-480                             <== NOT EXECUTED
ffc10380:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10384:	4b ff fd 7d 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc10388:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc1038c:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc10390:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc10394:	38 a5 0a 3c 	addi    r5,r5,2620                             <== NOT EXECUTED
ffc10398:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc1039c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc103a0:	4b ff fd 61 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
ffc103a4:	41 92 00 0c 	beq-    cr4,ffc103b0 <msdos_format_fill_sectors+0x170><== NOT EXECUTED
    free(fill_buffer);                                                
ffc103a8:	7f 03 c3 78 	mr      r3,r24                                 
ffc103ac:	4b ff 63 65 	bl      ffc06710 <free>                        
    fill_buffer = NULL;                                               
  }                                                                   
  return ret_val;                                                     
}                                                                     
ffc103b0:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc103b4:	7f 23 cb 78 	mr      r3,r25                                 
ffc103b8:	81 81 00 08 	lwz     r12,8(r1)                              
ffc103bc:	7c 08 03 a6 	mtlr    r0                                     
ffc103c0:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc103c4:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc103c8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc103cc:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc103d0:	83 01 00 18 	lwz     r24,24(r1)                             
ffc103d4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc103d8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc103dc:	83 61 00 24 	lwz     r27,36(r1)                             
ffc103e0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc103e4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc103e8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc103ec:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc103f0:	38 21 00 38 	addi    r1,r1,56                               
ffc103f4:	4e 80 00 20 	blr                                            
    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");    
ffc103f8:	3c a0 ff c3 	lis     r5,-61                                 
ffc103fc:	7e c3 b3 78 	mr      r3,r22                                 
ffc10400:	38 80 00 02 	li      r4,2                                   
ffc10404:	38 a5 fe 20 	addi    r5,r5,-480                             
ffc10408:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc1040c:	4b ff fc f5 	bl      ffc10100 <msdos_format_printf>         
ffc10410:	3b 20 00 00 	li      r25,0                                  
ffc10414:	4b ff ff 94 	b       ffc103a8 <msdos_format_fill_sectors+0x168>
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
ffc10418:	48 01 02 85 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1041c:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc10420:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
ffc10424:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc10428:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc1042c:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc10430:	38 a5 0a 30 	addi    r5,r5,2608                             <== NOT EXECUTED
ffc10434:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10438:	4b ff fc c9 	bl      ffc10100 <msdos_format_printf>         <== 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");    
ffc1043c:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc10440:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc10444:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc10448:	38 a5 fe 20 	addi    r5,r5,-480                             <== NOT EXECUTED
ffc1044c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10450:	4b ff fc b1 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc10454:	3c a0 ff c3 	lis     r5,-61                                 <== NOT EXECUTED
ffc10458:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc1045c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc10460:	38 a5 0a 3c 	addi    r5,r5,2620                             <== NOT EXECUTED
ffc10464:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
      ret_val = -1;                                                   
ffc10468:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "\n");    
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
ffc1046c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc10470:	4b ff fc 91 	bl      ffc10100 <msdos_format_printf>         <== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
ffc10474:	40 92 ff 34 	bne+    cr4,ffc103a8 <msdos_format_fill_sectors+0x168><== NOT EXECUTED
ffc10478:	4b ff ff 38 	b       ffc103b0 <msdos_format_fill_sectors+0x170><== NOT EXECUTED
                                                                      

ffc10100 <msdos_format_printf>: */ static void msdos_format_printf (const msdos_format_request_param_t *rqdata, int info_level, const char *format, ...) {
ffc10100:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc10104:	7c 08 02 a6 	mflr    r0                                     
ffc10108:	93 e1 00 74 	stw     r31,116(r1)                            
ffc1010c:	90 01 00 7c 	stw     r0,124(r1)                             
ffc10110:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc10114:	90 e1 00 20 	stw     r7,32(r1)                              
ffc10118:	91 01 00 24 	stw     r8,36(r1)                              
ffc1011c:	91 21 00 28 	stw     r9,40(r1)                              
ffc10120:	91 41 00 2c 	stw     r10,44(r1)                             
ffc10124:	40 86 00 24 	bne-    cr1,ffc10148 <msdos_format_printf+0x48><== ALWAYS TAKEN
ffc10128:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc1012c:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc10130:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc10134:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc10138:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc1013c:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc10140:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc10144:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list args;                                                       
  va_start (args, format);                                            
  if (rqdata != NULL && rqdata->info_level >= info_level)             
ffc10148:	2f 83 00 00 	cmpwi   cr7,r3,0                               
msdos_format_printf (const msdos_format_request_param_t *rqdata,      
                     int                                 info_level,  
                     const char                         *format, ...) 
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
ffc1014c:	39 20 00 03 	li      r9,3                                   
ffc10150:	99 21 00 08 	stb     r9,8(r1)                               
ffc10154:	39 20 00 00 	li      r9,0                                   
ffc10158:	99 21 00 09 	stb     r9,9(r1)                               
ffc1015c:	39 21 00 80 	addi    r9,r1,128                              
ffc10160:	91 21 00 0c 	stw     r9,12(r1)                              
ffc10164:	39 21 00 10 	addi    r9,r1,16                               
ffc10168:	91 21 00 10 	stw     r9,16(r1)                              
  if (rqdata != NULL && rqdata->info_level >= info_level)             
ffc1016c:	41 9e 00 34 	beq-    cr7,ffc101a0 <msdos_format_printf+0xa0>
ffc10170:	81 23 00 18 	lwz     r9,24(r3)                              
ffc10174:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc10178:	41 bc 00 28 	blt+    cr7,ffc101a0 <msdos_format_printf+0xa0><== ALWAYS TAKEN
  {                                                                   
    vfprintf (stdout, format, args);                                  
ffc1017c:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc10180:	81 3f 27 b0 	lwz     r9,10160(r31)                          <== NOT EXECUTED
ffc10184:	7c a4 2b 78 	mr      r4,r5                                  <== NOT EXECUTED
ffc10188:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1018c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc10190:	48 01 92 b9 	bl      ffc29448 <vfprintf>                    <== NOT EXECUTED
    fflush (stdout);                                                  
ffc10194:	81 3f 27 b0 	lwz     r9,10160(r31)                          <== NOT EXECUTED
ffc10198:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc1019c:	48 01 09 c9 	bl      ffc20b64 <fflush>                      <== NOT EXECUTED
  }                                                                   
  va_end (args);                                                      
}                                                                     
ffc101a0:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc101a4:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc101a8:	7c 08 03 a6 	mtlr    r0                                     
ffc101ac:	38 21 00 78 	addi    r1,r1,120                              
ffc101b0:	4e 80 00 20 	blr                                            
                                                                      

ffc101b4 <msdos_format_write_sec>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
ffc101b4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc101b8:	7c 08 02 a6 	mflr    r0                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc101bc:	38 e0 00 00 	li      r7,0                                   
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc101c0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc101c4:	7c bf 2b 78 	mr      r31,r5                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc101c8:	7c a4 28 16 	mulhwu  r5,r4,r5                               
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc101cc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc101d0:	7c de 33 78 	mr      r30,r6                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc101d4:	7c c4 f9 d6 	mullw   r6,r4,r31                              
 )                                                                    
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
ffc101d8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc101dc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc101e0:	7c 7d 1b 78 	mr      r29,r3                                 
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc101e4:	48 00 90 d9 	bl      ffc192bc <lseek>                       
ffc101e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc101ec:	40 9c 00 24 	bge-    cr7,ffc10210 <msdos_format_write_sec+0x5c><== ALWAYS TAKEN
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc101f0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
ffc101f4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc101f8:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc101fc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc10200:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc10204:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc10208:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1020c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
ffc10210:	7f a3 eb 78 	mr      r3,r29                                 
ffc10214:	7f c4 f3 78 	mr      r4,r30                                 
ffc10218:	7f e5 fb 78 	mr      r5,r31                                 
ffc1021c:	4b ff b0 fd 	bl      ffc0b318 <write>                       
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc10220:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc10224:	83 a1 00 0c 	lwz     r29,12(r1)                             
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
ffc10228:	7c 63 fe 70 	srawi   r3,r3,31                               
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc1022c:	7c 08 03 a6 	mtlr    r0                                     
ffc10230:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc10234:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc10238:	38 21 00 18 	addi    r1,r1,24                               
ffc1023c:	4e 80 00 20 	blr                                            
                                                                      

ffc1dcd4 <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 ) {
ffc1dcd4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc1dcd8:	7c 08 02 a6 	mflr    r0                                     
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc1dcdc:	39 20 00 00 	li      r9,0                                   
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1dce0:	90 01 00 7c 	stw     r0,124(r1)                             
ffc1dce4:	93 c1 00 70 	stw     r30,112(r1)                            
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc1dce8:	7c 3e 0b 78 	mr      r30,r1                                 
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1dcec:	93 21 00 5c 	stw     r25,92(r1)                             
ffc1dcf0:	7c d9 33 78 	mr      r25,r6                                 
ffc1dcf4:	93 41 00 60 	stw     r26,96(r1)                             
ffc1dcf8:	7c 9a 23 78 	mr      r26,r4                                 
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
ffc1dcfc:	7c a4 2b 78 	mr      r4,r5                                  
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    uint32_t                              cln,                        
    fat_dir_pos_t                        *dir_pos,                    
    char                                 *dir_entry                   
    )                                                                 
{                                                                     
ffc1dd00:	93 61 00 64 	stw     r27,100(r1)                            
ffc1dd04:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1dd08:	93 81 00 68 	stw     r28,104(r1)                            
ffc1dd0c:	7c bc 2b 78 	mr      r28,r5                                 
ffc1dd10:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc1dd14:	93 e1 00 74 	stw     r31,116(r1)                            
ffc1dd18:	93 01 00 58 	stw     r24,88(r1)                             
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1dd1c:	83 a3 00 08 	lwz     r29,8(r3)                              
    fat_file_fd_t   *fat_fd = NULL;                                   
ffc1dd20:	95 3e 00 48 	stwu    r9,72(r30)                             
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
ffc1dd24:	7f a3 eb 78 	mr      r3,r29                                 
ffc1dd28:	7f c5 f3 78 	mr      r5,r30                                 
ffc1dd2c:	4b ff 81 69 	bl      ffc15e94 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc1dd30:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1dd34:	41 82 00 38 	beq-    ffc1dd6c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x98><== ALWAYS TAKEN
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
    return rc;                                                        
}                                                                     
ffc1dd38:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc1dd3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1dd40:	83 01 00 58 	lwz     r24,88(r1)                             
ffc1dd44:	7c 08 03 a6 	mtlr    r0                                     
ffc1dd48:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc1dd4c:	83 41 00 60 	lwz     r26,96(r1)                             
ffc1dd50:	83 61 00 64 	lwz     r27,100(r1)                            
ffc1dd54:	83 81 00 68 	lwz     r28,104(r1)                            
ffc1dd58:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc1dd5c:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc1dd60:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc1dd64:	38 21 00 78 	addi    r1,r1,120                              
ffc1dd68:	4e 80 00 20 	blr                                            
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc1dd6c:	81 41 00 48 	lwz     r10,72(r1)                             
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1dd70:	3d 20 00 20 	lis     r9,32                                  
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1dd74:	7f a3 eb 78 	mr      r3,r29                                 
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc1dd78:	93 ea 00 10 	stw     r31,16(r10)                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1dd7c:	7d 44 53 78 	mr      r4,r10                                 
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc1dd80:	93 ea 00 34 	stw     r31,52(r10)                            
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
ffc1dd84:	93 4a 00 1c 	stw     r26,28(r10)                            
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1dd88:	91 2a 00 14 	stw     r9,20(r10)                             
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc1dd8c:	93 4a 00 38 	stw     r26,56(r10)                            
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1dd90:	4b ff 90 2d 	bl      ffc16dbc <fat_file_size>               
    if (rc != RC_OK)                                                  
ffc1dd94:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1dd98:	40 82 02 04 	bne-    ffc1df9c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2c8><== NEVER TAKEN
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1dd9c:	3f 40 ff c3 	lis     r26,-61                                
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc1dda0:	93 e1 00 28 	stw     r31,40(r1)                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1dda4:	3b 5a 08 fc 	addi    r26,r26,2300                           
ffc1dda8:	38 80 00 01 	li      r4,1                                   
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc1ddac:	93 e1 00 2c 	stw     r31,44(r1)                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1ddb0:	38 a1 00 28 	addi    r5,r1,40                               
ffc1ddb4:	38 c0 00 0b 	li      r6,11                                  
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc1ddb8:	93 e1 00 30 	stw     r31,48(r1)                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1ddbc:	7f 43 d3 78 	mr      r3,r26                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
ffc1ddc0:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1ddc4:	93 e1 00 38 	stw     r31,56(r1)                             
ffc1ddc8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc1ddcc:	93 e1 00 40 	stw     r31,64(r1)                             
ffc1ddd0:	93 e1 00 44 	stw     r31,68(r1)                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
ffc1ddd4:	4b ff e9 d5 	bl      ffc1c7a8 <msdos_long_to_short>         
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
ffc1ddd8:	7f 63 db 78 	mr      r3,r27                                 
ffc1dddc:	80 81 00 48 	lwz     r4,72(r1)                              
ffc1dde0:	38 a0 00 00 	li      r5,0                                   
ffc1dde4:	7f 46 d3 78 	mr      r6,r26                                 
ffc1dde8:	38 e0 00 01 	li      r7,1                                   
ffc1ddec:	39 00 00 01 	li      r8,1                                   
ffc1ddf0:	7f 89 e3 78 	mr      r9,r28                                 
ffc1ddf4:	39 41 00 28 	addi    r10,r1,40                              
ffc1ddf8:	4b ff f2 75 	bl      ffc1d06c <msdos_find_name_in_fat_file> 
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
ffc1ddfc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1de00:	40 82 01 9c 	bne-    ffc1df9c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2c8><== NEVER TAKEN
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1de04:	3f 40 ff c3 	lis     r26,-61                                
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc1de08:	93 e1 00 08 	stw     r31,8(r1)                              
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1de0c:	3b 5a 0e ac 	addi    r26,r26,3756                           
ffc1de10:	38 80 00 02 	li      r4,2                                   
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc1de14:	93 e1 00 0c 	stw     r31,12(r1)                             
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1de18:	38 a1 00 08 	addi    r5,r1,8                                
ffc1de1c:	38 c0 00 0b 	li      r6,11                                  
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc1de20:	93 e1 00 10 	stw     r31,16(r1)                             
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1de24:	7f 43 d3 78 	mr      r3,r26                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
ffc1de28:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1de2c:	93 e1 00 18 	stw     r31,24(r1)                             
ffc1de30:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1de34:	93 e1 00 20 	stw     r31,32(r1)                             
ffc1de38:	93 e1 00 24 	stw     r31,36(r1)                             
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
ffc1de3c:	4b ff e9 6d 	bl      ffc1c7a8 <msdos_long_to_short>         
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
ffc1de40:	7f 63 db 78 	mr      r3,r27                                 
ffc1de44:	80 81 00 48 	lwz     r4,72(r1)                              
ffc1de48:	38 a0 00 00 	li      r5,0                                   
ffc1de4c:	7f 46 d3 78 	mr      r6,r26                                 
ffc1de50:	38 e0 00 02 	li      r7,2                                   
ffc1de54:	39 00 00 01 	li      r8,1                                   
ffc1de58:	7f 89 e3 78 	mr      r9,r28                                 
ffc1de5c:	39 41 00 08 	addi    r10,r1,8                               
ffc1de60:	4b ff f2 0d 	bl      ffc1d06c <msdos_find_name_in_fat_file> 
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc1de64:	80 81 00 48 	lwz     r4,72(r1)                              
    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)                                                  
ffc1de68:	7c 7f 1b 79 	mr.     r31,r3                                 
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc1de6c:	7f a3 eb 78 	mr      r3,r29                                 
    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)                                                  
ffc1de70:	40 82 01 6c 	bne-    ffc1dfdc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x308><== NEVER TAKEN
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc1de74:	a3 41 00 42 	lhz     r26,66(r1)                             
ffc1de78:	a3 01 00 3c 	lhz     r24,60(r1)                             
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
ffc1de7c:	4b ff 86 e5 	bl      ffc16560 <fat_file_close>              
    if ( rc != RC_OK )                                                
ffc1de80:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1de84:	40 a2 fe b4 	bne-    ffc1dd38 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if ( (MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)               
ffc1de88:	a1 21 00 1c 	lhz     r9,28(r1)                              
ffc1de8c:	a1 01 00 22 	lhz     r8,34(r1)                              
ffc1de90:	55 2a c2 3e 	rlwinm  r10,r9,24,8,31                         
ffc1de94:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1de98:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc1de9c:	55 09 c2 3e 	rlwinm  r9,r8,24,8,31                          
ffc1dea0:	55 08 44 2e 	rlwinm  r8,r8,8,16,23                          
ffc1dea4:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc1dea8:	7d 29 43 78 	or      r9,r9,r8                               
ffc1deac:	7d 4a 4b 79 	or.     r10,r10,r9                             
ffc1deb0:	40 82 00 1c 	bne-    ffc1decc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x1f8><== ALWAYS TAKEN
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1deb4:	39 00 ff ff 	li      r8,-1                                  <== NOT EXECUTED
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc1deb8:	91 5c 00 04 	stw     r10,4(r28)                             <== 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;                 
ffc1debc:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc1dec0:	91 1c 00 08 	stw     r8,8(r28)                              <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc1dec4:	91 1c 00 0c 	stw     r8,12(r28)                             <== NOT EXECUTED
ffc1dec8:	91 3c 00 00 	stw     r9,0(r28)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
ffc1decc:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ded0:	7f 84 e3 78 	mr      r4,r28                                 
ffc1ded4:	7f c5 f3 78 	mr      r5,r30                                 
ffc1ded8:	4b ff 7f bd 	bl      ffc15e94 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc1dedc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1dee0:	40 a2 fe 58 	bne-    ffc1dd38 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== NEVER TAKEN
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
ffc1dee4:	a1 21 00 1c 	lhz     r9,28(r1)                              
ffc1dee8:	a1 01 00 22 	lhz     r8,34(r1)                              
ffc1deec:	55 2a c2 3e 	rlwinm  r10,r9,24,8,31                         
ffc1def0:	55 29 44 2e 	rlwinm  r9,r9,8,16,23                          
ffc1def4:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc1def8:	55 09 c2 3e 	rlwinm  r9,r8,24,8,31                          
ffc1defc:	55 08 44 2e 	rlwinm  r8,r8,8,16,23                          
ffc1df00:	7d 29 43 78 	or      r9,r9,r8                               
ffc1df04:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc1df08:	7d 4a 4b 79 	or.     r10,r10,r9                             
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
ffc1df0c:	81 21 00 48 	lwz     r9,72(r1)                              
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
ffc1df10:	40 82 00 d4 	bne-    ffc1dfe4 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x310><== ALWAYS TAKEN
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
ffc1df14:	81 5d 00 3c 	lwz     r10,60(r29)                            <== NOT EXECUTED
ffc1df18:	91 49 00 1c 	stw     r10,28(r9)                             <== 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;                               
ffc1df1c:	81 09 00 1c 	lwz     r8,28(r9)                              
    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;                            
ffc1df20:	39 40 00 00 	li      r10,0                                  
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc1df24:	3c e0 00 20 	lis     r7,32                                  
    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;                            
ffc1df28:	91 49 00 10 	stw     r10,16(r9)                             
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1df2c:	7f a3 eb 78 	mr      r3,r29                                 
        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;                        
ffc1df30:	90 e9 00 14 	stw     r7,20(r9)                              
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1df34:	7d 24 4b 78 	mr      r4,r9                                  
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc1df38:	91 49 00 34 	stw     r10,52(r9)                             
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc1df3c:	91 09 00 38 	stw     r8,56(r9)                              
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
ffc1df40:	4b ff 8e 7d 	bl      ffc16dbc <fat_file_size>               
    if (rc != RC_OK)                                                  
ffc1df44:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1df48:	40 82 00 54 	bne-    ffc1df9c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2c8><== NEVER TAKEN
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc1df4c:	57 05 c2 3e 	rlwinm  r5,r24,24,8,31                         
        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,
ffc1df50:	80 81 00 48 	lwz     r4,72(r1)                              
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
ffc1df54:	57 18 44 2e 	rlwinm  r24,r24,8,16,23                        
ffc1df58:	57 49 c2 3e 	rlwinm  r9,r26,24,8,31                         
ffc1df5c:	7c a5 c3 78 	or      r5,r5,r24                              
ffc1df60:	57 5a 44 2e 	rlwinm  r26,r26,8,16,23                        
ffc1df64:	7d 3a d3 78 	or      r26,r9,r26                             
ffc1df68:	54 a5 80 1e 	rlwinm  r5,r5,16,0,15                          
        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,
ffc1df6c:	7f 63 db 78 	mr      r3,r27                                 
ffc1df70:	7c a5 d3 78 	or      r5,r5,r26                              
ffc1df74:	7f 86 e3 78 	mr      r6,r28                                 
ffc1df78:	7f 27 cb 78 	mr      r7,r25                                 
ffc1df7c:	4b ff fb 31 	bl      ffc1daac <msdos_find_node_by_cluster_num_in_fat_file>
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc1df80:	80 81 00 48 	lwz     r4,72(r1)                              
    }                                                                 
                                                                      
    /* 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)                                                  
ffc1df84:	7c 7f 1b 79 	mr.     r31,r3                                 
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc1df88:	7f a3 eb 78 	mr      r3,r29                                 
    }                                                                 
                                                                      
    /* 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)                                                  
ffc1df8c:	40 82 00 50 	bne-    ffc1dfdc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x308><== NEVER TAKEN
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
ffc1df90:	4b ff 85 d1 	bl      ffc16560 <fat_file_close>              
ffc1df94:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1df98:	4b ff fd a0 	b       ffc1dd38 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64>
    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);                        
ffc1df9c:	80 81 00 48 	lwz     r4,72(r1)                              <== NOT EXECUTED
ffc1dfa0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc1dfa4:	4b ff 85 bd 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
    return rc;                                                        
}                                                                     
ffc1dfa8:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc1dfac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1dfb0:	83 01 00 58 	lwz     r24,88(r1)                             <== NOT EXECUTED
ffc1dfb4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1dfb8:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc1dfbc:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc1dfc0:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc1dfc4:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc1dfc8:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc1dfcc:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc1dfd0:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc1dfd4:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc1dfd8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    /* 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);                        
ffc1dfdc:	4b ff 85 85 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
ffc1dfe0:	4b ff fd 58 	b       ffc1dd38 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x64><== 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);         
ffc1dfe4:	91 49 00 1c 	stw     r10,28(r9)                             
ffc1dfe8:	4b ff ff 34 	b       ffc1df1c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x248>
                                                                      

ffc11548 <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 ) {
ffc11548:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1154c:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc11550:	39 20 00 00 	li      r9,0                                   
    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       
    )                                                                 
{                                                                     
ffc11554:	93 41 00 28 	stw     r26,40(r1)                             
ffc11558:	7c 9a 23 78 	mr      r26,r4                                 
    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));  
ffc1155c:	38 80 00 a4 	li      r4,164                                 
    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       
    )                                                                 
{                                                                     
ffc11560:	93 a1 00 34 	stw     r29,52(r1)                             
ffc11564:	7c 7d 1b 78 	mr      r29,r3                                 
    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));  
ffc11568:	38 60 00 01 	li      r3,1                                   
    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       
    )                                                                 
{                                                                     
ffc1156c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc11570:	7c bb 2b 78 	mr      r27,r5                                 
ffc11574:	93 81 00 30 	stw     r28,48(r1)                             
ffc11578:	7c dc 33 78 	mr      r28,r6                                 
ffc1157c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc11580:	90 01 00 44 	stw     r0,68(r1)                              
ffc11584:	93 c1 00 38 	stw     r30,56(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = NULL;                                
    fat_file_fd_t     *fat_fd = NULL;                                 
ffc11588:	91 21 00 18 	stw     r9,24(r1)                              
    fat_dir_pos_t      root_pos;                                      
    uint32_t           cl_buf_size;                                   
                                                                      
    fs_info = (msdos_fs_info_t *)calloc(1, sizeof(msdos_fs_info_t));  
ffc1158c:	4b ff 50 75 	bl      ffc06600 <calloc>                      
    if (!fs_info)                                                     
ffc11590:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc11594:	41 82 01 9c 	beq-    ffc11730 <msdos_initialize_support+0x1e8><== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
                                                                      
    temp_mt_entry->fs_info = fs_info;                                 
ffc11598:	93 fd 00 08 	stw     r31,8(r29)                             
                                                                      
    rc = fat_init_volume_info(&fs_info->fat, temp_mt_entry->dev);     
ffc1159c:	80 9d 00 38 	lwz     r4,56(r29)                             
ffc115a0:	48 00 62 09 	bl      ffc177a8 <fat_init_volume_info>        
    if (rc != RC_OK)                                                  
ffc115a4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc115a8:	40 82 00 f4 	bne-    ffc1169c <msdos_initialize_support+0x154><== NEVER TAKEN
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
ffc115ac:	39 20 ff ff 	li      r9,-1                                  
    {                                                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
ffc115b0:	93 7f 00 98 	stw     r27,152(r31)                           
     * 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);            
ffc115b4:	7f e3 fb 78 	mr      r3,r31                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
    fs_info->directory_handlers = directory_handlers;                 
ffc115b8:	93 9f 00 94 	stw     r28,148(r31)                           
     * 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);            
ffc115bc:	38 81 00 08 	addi    r4,r1,8                                
ffc115c0:	38 a1 00 18 	addi    r5,r1,24                               
ffc115c4:	91 21 00 10 	stw     r9,16(r1)                              
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
ffc115c8:	91 21 00 14 	stw     r9,20(r1)                              
    /*                                                                
     * 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;                     
ffc115cc:	39 20 00 01 	li      r9,1                                   
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
ffc115d0:	93 c1 00 0c 	stw     r30,12(r1)                             
ffc115d4:	91 21 00 08 	stw     r9,8(r1)                               
    rc = fat_file_open(&fs_info->fat, &root_pos, &fat_fd);            
ffc115d8:	48 00 48 bd 	bl      ffc15e94 <fat_file_open>               
    if (rc != RC_OK)                                                  
ffc115dc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc115e0:	40 82 00 b4 	bne-    ffc11694 <msdos_initialize_support+0x14c><== NEVER TAKEN
    }                                                                 
                                                                      
    /* 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;                           
ffc115e4:	81 5f 00 3c 	lwz     r10,60(r31)                            
        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;                        
ffc115e8:	3d 00 00 20 	lis     r8,32                                  
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc115ec:	80 81 00 18 	lwz     r4,24(r1)                              
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
ffc115f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
ffc115f4:	93 c4 00 10 	stw     r30,16(r4)                             
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
ffc115f8:	91 04 00 14 	stw     r8,20(r4)                              
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
ffc115fc:	91 44 00 1c 	stw     r10,28(r4)                             
                                                                      
    fat_fd->map.file_cln = 0;                                         
ffc11600:	93 c4 00 34 	stw     r30,52(r4)                             
    fat_fd->map.disk_cln = fat_fd->cln;                               
ffc11604:	91 44 00 38 	stw     r10,56(r4)                             
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
ffc11608:	40 9e 00 d0 	bne-    cr7,ffc116d8 <msdos_initialize_support+0x190>
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
ffc1160c:	81 5f 00 2c 	lwz     r10,44(r31)                            
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
                      fs_info->fat.vol.bpc                                :
ffc11610:	a0 7f 00 06 	lhz     r3,6(r31)                              
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    /* if we have FAT12/16 */                                         
    if ( fat_fd->cln == 0 )                                           
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
ffc11614:	91 44 00 18 	stw     r10,24(r4)                             
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
ffc11618:	7f 83 50 40 	cmplw   cr7,r3,r10                             
ffc1161c:	41 9c 00 b4 	blt-    cr7,ffc116d0 <msdos_initialize_support+0x188>
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
ffc11620:	38 80 00 01 	li      r4,1                                   
ffc11624:	4b ff 4f dd 	bl      ffc06600 <calloc>                      
    if (fs_info->cl_buf == NULL)                                      
ffc11628:	2f 83 00 00 	cmpwi   cr7,r3,0                               
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
ffc1162c:	90 7f 00 a0 	stw     r3,160(r31)                            
    if (fs_info->cl_buf == NULL)                                      
ffc11630:	41 9e 00 e4 	beq-    cr7,ffc11714 <msdos_initialize_support+0x1cc><== NEVER TAKEN
        fat_shutdown_drive(&fs_info->fat);                            
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
    }                                                                 
                                                                      
    sc = rtems_semaphore_create(3,                                    
ffc11634:	38 60 00 03 	li      r3,3                                   
ffc11638:	38 80 00 01 	li      r4,1                                   
ffc1163c:	38 a0 00 10 	li      r5,16                                  
ffc11640:	38 c0 00 00 	li      r6,0                                   
ffc11644:	38 ff 00 9c 	addi    r7,r31,156                             
ffc11648:	4b ff a2 79 	bl      ffc0b8c0 <rtems_semaphore_create>      
                                1,                                    
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1164c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11650:	40 9e 00 f4 	bne-    cr7,ffc11744 <msdos_initialize_support+0x1fc><== NEVER TAKEN
    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;                                                        
}                                                                     
ffc11654:	80 01 00 44 	lwz     r0,68(r1)                              
ffc11658:	7f c3 f3 78 	mr      r3,r30                                 
        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;         
ffc1165c:	81 3d 00 24 	lwz     r9,36(r29)                             
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
    temp_mt_entry->ops = op_table;                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc11660:	7c 08 03 a6 	mtlr    r0                                     
        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;         
ffc11664:	81 41 00 18 	lwz     r10,24(r1)                             
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
ffc11668:	93 89 00 10 	stw     r28,16(r9)                             
        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;         
ffc1166c:	91 49 00 08 	stw     r10,8(r9)                              
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
    temp_mt_entry->ops = op_table;                                    
                                                                      
    return rc;                                                        
}                                                                     
ffc11670:	83 61 00 2c 	lwz     r27,44(r1)                             
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    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;                                    
ffc11674:	93 5d 00 0c 	stw     r26,12(r29)                            
                                                                      
    return rc;                                                        
}                                                                     
ffc11678:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1167c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc11680:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc11684:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc11688:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1168c:	38 21 00 40 	addi    r1,r1,64                               
ffc11690:	4e 80 00 20 	blr                                            
    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);                            
ffc11694:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11698:	48 00 6a 7d 	bl      ffc18114 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc1169c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc116a0:	4b ff 50 71 	bl      ffc06710 <free>                        <== 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;                                                        
}                                                                     
ffc116a4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc116a8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc116ac:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc116b0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc116b4:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc116b8:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc116bc:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc116c0:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc116c4:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc116c8:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc116cc:	4e 80 00 20 	blr                                            <== 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) ?
ffc116d0:	7d 43 53 78 	mr      r3,r10                                 
ffc116d4:	4b ff ff 4c 	b       ffc11620 <msdos_initialize_support+0xd8>
                      fs_info->fat.vol.bpc                                :
                      fs_info->fat.vol.rdir_size;                     
    }                                                                 
    else                                                              
    {                                                                 
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
ffc116d8:	7f e3 fb 78 	mr      r3,r31                                 
ffc116dc:	48 00 56 e1 	bl      ffc16dbc <fat_file_size>               
        if ( rc != RC_OK )                                            
ffc116e0:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc116e4:	40 82 00 0c 	bne-    ffc116f0 <msdos_initialize_support+0x1a8><== NEVER TAKEN
            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;                           
ffc116e8:	a0 7f 00 06 	lhz     r3,6(r31)                              
ffc116ec:	4b ff ff 34 	b       ffc11620 <msdos_initialize_support+0xd8>
    else                                                              
    {                                                                 
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(&fs_info->fat, fat_fd);                    
ffc116f0:	80 81 00 18 	lwz     r4,24(r1)                              <== NOT EXECUTED
ffc116f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
            fat_shutdown_drive(&fs_info->fat);                        
            free(fs_info);                                            
ffc116f8:	7f 7e db 78 	mr      r30,r27                                <== NOT EXECUTED
    else                                                              
    {                                                                 
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(&fs_info->fat, fat_fd);                    
ffc116fc:	48 00 4e 65 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
            fat_shutdown_drive(&fs_info->fat);                        
ffc11700:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11704:	48 00 6a 11 	bl      ffc18114 <fat_shutdown_drive>          <== NOT EXECUTED
            free(fs_info);                                            
ffc11708:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1170c:	4b ff 50 05 	bl      ffc06710 <free>                        <== NOT EXECUTED
ffc11710:	4b ff ff 94 	b       ffc116a4 <msdos_initialize_support+0x15c><== 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);                        
ffc11714:	80 81 00 18 	lwz     r4,24(r1)                              <== NOT EXECUTED
ffc11718:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1171c:	48 00 4e 45 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(&fs_info->fat);                            
ffc11720:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11724:	48 00 69 f1 	bl      ffc18114 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info);                                                
ffc11728:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1172c:	4b ff 4f e5 	bl      ffc06710 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
ffc11730:	48 00 ef 6d 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc11734:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc11738:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1173c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc11740:	4b ff ff 64 	b       ffc116a4 <msdos_initialize_support+0x15c><== NOT EXECUTED
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc11744:	80 81 00 18 	lwz     r4,24(r1)                              <== NOT EXECUTED
ffc11748:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
        fat_shutdown_drive(&fs_info->fat);                            
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc1174c:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
ffc11750:	48 00 4e 11 	bl      ffc16560 <fat_file_close>              <== NOT EXECUTED
        fat_shutdown_drive(&fs_info->fat);                            
ffc11754:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11758:	48 00 69 bd 	bl      ffc18114 <fat_shutdown_drive>          <== NOT EXECUTED
        free(fs_info->cl_buf);                                        
ffc1175c:	80 7f 00 a0 	lwz     r3,160(r31)                            <== NOT EXECUTED
ffc11760:	4b ff 4f b1 	bl      ffc06710 <free>                        <== NOT EXECUTED
        free(fs_info);                                                
ffc11764:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11768:	4b ff 4f a9 	bl      ffc06710 <free>                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
ffc1176c:	48 00 ef 31 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc11770:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc11774:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc11778:	4b ff ff 2c 	b       ffc116a4 <msdos_initialize_support+0x15c><== NOT EXECUTED
                                                                      

ffc11504 <msdos_lock>: .rename_h = msdos_rename, .statvfs_h = rtems_filesystem_default_statvfs }; void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc11504:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc11508:	7c 08 02 a6 	mflr    r0                                     
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_obtain(                      
ffc1150c:	38 80 00 00 	li      r4,0                                   
  .rename_h       =  msdos_rename,                                    
  .statvfs_h      =  rtems_filesystem_default_statvfs                 
};                                                                    
                                                                      
void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry) 
{                                                                     
ffc11510:	90 01 00 0c 	stw     r0,12(r1)                              
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_obtain(                      
ffc11514:	38 a0 00 00 	li      r5,0                                   
    fs_info->vol_sema,                                                
ffc11518:	81 23 00 08 	lwz     r9,8(r3)                               
};                                                                    
                                                                      
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(                      
ffc1151c:	80 69 00 9c 	lwz     r3,156(r9)                             
ffc11520:	4b ff a6 b5 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
    fs_info->vol_sema,                                                
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc11524:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11528:	40 9e 00 14 	bne-    cr7,ffc1153c <msdos_lock+0x38>         <== NEVER TAKEN
    rtems_fatal_error_occurred(0xdeadbeef);                           
  }                                                                   
}                                                                     
ffc1152c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc11530:	38 21 00 08 	addi    r1,r1,8                                
ffc11534:	7c 08 03 a6 	mtlr    r0                                     
ffc11538:	4e 80 00 20 	blr                                            
    fs_info->vol_sema,                                                
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
ffc1153c:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc11540:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc11544:	4b ff af f1 	bl      ffc0c534 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc1c7a8 <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) {
ffc1c7a8:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1c7ac:	7d 80 00 26 	mfcr    r12                                    
ffc1c7b0:	7c 08 02 a6 	mflr    r0                                     
ffc1c7b4:	93 21 00 1c 	stw     r25,28(r1)                             
ffc1c7b8:	7c b9 2b 78 	mr      r25,r5                                 
ffc1c7bc:	93 81 00 28 	stw     r28,40(r1)                             
ffc1c7c0:	7c 9c 23 78 	mr      r28,r4                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1c7c4:	38 80 00 20 	li      r4,32                                  
 *                                                                    
 */                                                                   
#define MSDOS_L2S_PRINT 0                                             
msdos_name_type_t                                                     
msdos_long_to_short(const char *lfn, int lfn_len, char* sfn, int sfn_len)
{                                                                     
ffc1c7c8:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1c7cc:	7c 7d 1b 78 	mr      r29,r3                                 
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1c7d0:	7c a3 2b 78 	mr      r3,r5                                  
ffc1c7d4:	7c c5 33 78 	mr      r5,r6                                  
 *                                                                    
 */                                                                   
#define MSDOS_L2S_PRINT 0                                             
msdos_name_type_t                                                     
msdos_long_to_short(const char *lfn, int lfn_len, char* sfn, int sfn_len)
{                                                                     
ffc1c7d8:	93 c1 00 30 	stw     r30,48(r1)                             
ffc1c7dc:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1c7e0:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc1c7e4:	92 c1 00 10 	stw     r22,16(r1)                             
ffc1c7e8:	92 e1 00 14 	stw     r23,20(r1)                             
ffc1c7ec:	93 01 00 18 	stw     r24,24(r1)                             
ffc1c7f0:	93 41 00 20 	stw     r26,32(r1)                             
ffc1c7f4:	93 61 00 24 	stw     r27,36(r1)                             
ffc1c7f8:	93 e1 00 34 	stw     r31,52(r1)                             
ffc1c7fc:	91 81 00 08 	stw     r12,8(r1)                              
    int               i;                                              
                                                                      
    /*                                                                
     * Fill with spaces. This is how a short directory entry is padded.
     */                                                               
    memset (sfn, ' ', sfn_len);                                       
ffc1c800:	48 00 4c 71 	bl      ffc21470 <memset>                      
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
ffc1c804:	8b dd 00 00 	lbz     r30,0(r29)                             
ffc1c808:	2f 9e 00 2e 	cmpwi   cr7,r30,46                             
ffc1c80c:	41 9e 00 7c 	beq-    cr7,ffc1c888 <msdos_long_to_short+0xe0>
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1c810:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1c814:	7f 89 03 a6 	mtctr   r28                                    
ffc1c818:	39 20 00 00 	li      r9,0                                   
ffc1c81c:	40 9d 01 d0 	ble-    cr7,ffc1c9ec <msdos_long_to_short+0x244><== NEVER TAKEN
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc1c820:	7d 5d 48 ae 	lbzx    r10,r29,r9                             
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1c824:	39 29 00 01 	addi    r9,r9,1                                
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
ffc1c828:	2f 8a 00 20 	cmpwi   cr7,r10,32                             
ffc1c82c:	2f 0a 00 2e 	cmpwi   cr6,r10,46                             
ffc1c830:	41 9e 00 08 	beq-    cr7,ffc1c838 <msdos_long_to_short+0x90>
ffc1c834:	40 9a 00 8c 	bne-    cr6,ffc1c8c0 <msdos_long_to_short+0x118><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
ffc1c838:	42 00 ff e8 	bdnz+   ffc1c820 <msdos_long_to_short+0x78>    
    if (i == lfn_len)                                                 
    {                                                                 
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: INVALID[1]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
ffc1c83c:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
}                                                                     
ffc1c840:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc1c844:	7f e3 fb 78 	mr      r3,r31                                 
ffc1c848:	81 81 00 08 	lwz     r12,8(r1)                              
ffc1c84c:	7c 08 03 a6 	mtlr    r0                                     
ffc1c850:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc1c854:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc1c858:	7d 80 81 20 	mtcrf   8,r12                                  
ffc1c85c:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc1c860:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1c864:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc1c868:	83 41 00 20 	lwz     r26,32(r1)                             
ffc1c86c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1c870:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1c874:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc1c878:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc1c87c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1c880:	38 21 00 38 	addi    r1,r1,56                               
ffc1c884:	4e 80 00 20 	blr                                            
    memset (sfn, ' ', sfn_len);                                       
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
ffc1c888:	2f 9c 00 01 	cmpwi   cr7,r28,1                              
ffc1c88c:	41 9e 00 28 	beq-    cr7,ffc1c8b4 <msdos_long_to_short+0x10c>
        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))         
ffc1c890:	89 3d 00 01 	lbz     r9,1(r29)                              
ffc1c894:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc1c898:	40 9e ff 78 	bne+    cr7,ffc1c810 <msdos_long_to_short+0x68><== NEVER TAKEN
ffc1c89c:	2f 9c 00 02 	cmpwi   cr7,r28,2                              
ffc1c8a0:	40 9e ff 70 	bne+    cr7,ffc1c810 <msdos_long_to_short+0x68><== NEVER TAKEN
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
ffc1c8a4:	99 39 00 01 	stb     r9,1(r25)                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1c8a8:	3b e0 00 01 	li      r31,1                                  
        return MSDOS_NAME_SHORT;                                      
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
ffc1c8ac:	99 39 00 00 	stb     r9,0(r25)                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1c8b0:	4b ff ff 90 	b       ffc1c840 <msdos_long_to_short+0x98>    
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
    {                                                                 
        sfn[0] = '.';                                                 
ffc1c8b4:	9b d9 00 00 	stb     r30,0(r25)                             
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[1]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
ffc1c8b8:	3b e0 00 01 	li      r31,1                                  
ffc1c8bc:	4b ff ff 84 	b       ffc1c840 <msdos_long_to_short+0x98>    
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1c8c0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1c8c4:	41 9e 00 f0 	beq-    cr7,ffc1c9b4 <msdos_long_to_short+0x20c><== NEVER TAKEN
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1c8c8:	3d 20 00 00 	lis     r9,0                                   
ffc1c8cc:	3f 60 ff c3 	lis     r27,-61                                
ffc1c8d0:	82 c9 27 a8 	lwz     r22,10152(r9)                          
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
ffc1c8d4:	3e a0 ff c3 	lis     r21,-61                                
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1c8d8:	3b 00 00 00 	li      r24,0                                  
ffc1c8dc:	3a e0 00 00 	li      r23,0                                  
ffc1c8e0:	3b e0 00 00 	li      r31,0                                  
ffc1c8e4:	3b 40 ff ff 	li      r26,-1                                 
ffc1c8e8:	3b 7b 0f 78 	addi    r27,r27,3960                           
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
ffc1c8ec:	3a b5 0f 80 	addi    r21,r21,3968                           
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
ffc1c8f0:	7f 63 db 78 	mr      r3,r27                                 
ffc1c8f4:	7f c4 f3 78 	mr      r4,r30                                 
ffc1c8f8:	48 00 5a 59 	bl      ffc22350 <strchr>                      
ffc1c8fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c900:	41 9e 00 1c 	beq-    cr7,ffc1c91c <msdos_long_to_short+0x174>
            {                                                         
#if MSDOS_NAME_TYPE_PRINT                                             
                printf ("MSDOS_NAME_TYPE: LONG[1]: is_dot:%d, at:%d cnt\n",
                        is_dot, dot_at, count);                       
#endif                                                                
                return MSDOS_NAME_LONG;                               
ffc1c904:	3b e0 00 02 	li      r31,2                                  
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
ffc1c908:	7f a3 eb 78 	mr      r3,r29                                 
ffc1c90c:	7f 84 e3 78 	mr      r4,r28                                 
ffc1c910:	7f 25 cb 78 	mr      r5,r25                                 
ffc1c914:	48 00 2e 29 	bl      ffc1f73c <msdos_filename_unix2dos>     
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
ffc1c918:	4b ff ff 28 	b       ffc1c840 <msdos_long_to_short+0x98>    
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
ffc1c91c:	6b c9 00 2e 	xori    r9,r30,46                              
ffc1c920:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc1c924:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1c928:	2e 09 00 00 	cmpwi   cr4,r9,0                               
ffc1c92c:	40 92 00 90 	bne-    cr4,ffc1c9bc <msdos_long_to_short+0x214>
ffc1c930:	7d 56 f2 14 	add     r10,r22,r30                            
ffc1c934:	89 4a 00 01 	lbz     r10,1(r10)                             
ffc1c938:	71 49 00 07 	andi.   r9,r10,7                               
ffc1c93c:	40 82 00 18 	bne-    ffc1c954 <msdos_long_to_short+0x1ac>   
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
ffc1c940:	7e a3 ab 78 	mr      r3,r21                                 
ffc1c944:	7f c4 f3 78 	mr      r4,r30                                 
ffc1c948:	48 00 5a 09 	bl      ffc22350 <strchr>                      
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
ffc1c94c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1c950:	41 be fe ec 	beq-    cr7,ffc1c83c <msdos_long_to_short+0x94><== NEVER TAKEN
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc1c954:	2f 9a ff ff 	cmpwi   cr7,r26,-1                             
ffc1c958:	41 9e 00 6c 	beq-    cr7,ffc1c9c4 <msdos_long_to_short+0x21c>
        {                                                             
            if (is_dot || ((count - dot_at) > 3))                     
ffc1c95c:	7d 3a f8 50 	subf    r9,r26,r31                             
ffc1c960:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc1c964:	41 bd ff a0 	bgt-    cr7,ffc1c904 <msdos_long_to_short+0x15c><== NEVER TAKEN
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
ffc1c968:	39 3e ff bf 	addi    r9,r30,-65                             
ffc1c96c:	2b 89 00 19 	cmplwi  cr7,r9,25                              
ffc1c970:	40 9d 00 68 	ble-    cr7,ffc1c9d8 <msdos_long_to_short+0x230>
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
ffc1c974:	3b de ff 9f 	addi    r30,r30,-97                            
ffc1c978:	2b 9e 00 19 	cmplwi  cr7,r30,25                             
ffc1c97c:	41 9d 00 08 	bgt-    cr7,ffc1c984 <msdos_long_to_short+0x1dc>
            lowercase = true;                                         
ffc1c980:	3a e0 00 01 	li      r23,1                                  
                                                                      
        count++;                                                      
ffc1c984:	3b ff 00 01 	addi    r31,r31,1                              
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
ffc1c988:	7f dd f8 ae 	lbzx    r30,r29,r31                            
ffc1c98c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1c990:	41 9e 00 0c 	beq-    cr7,ffc1c99c <msdos_long_to_short+0x1f4>
ffc1c994:	7f 9c f8 00 	cmpw    cr7,r28,r31                            
ffc1c998:	41 9d ff 58 	bgt+    cr7,ffc1c8f0 <msdos_long_to_short+0x148>
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1c99c:	2f 97 00 00 	cmpwi   cr7,r23,0                              
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
ffc1c9a0:	3b e0 00 01 	li      r31,1                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1c9a4:	41 be ff 64 	beq-    cr7,ffc1c908 <msdos_long_to_short+0x160>
ffc1c9a8:	2f 98 00 00 	cmpwi   cr7,r24,0                              
    {                                                                 
#if MSDOS_NAME_TYPE_PRINT                                             
        printf ("MSDOS_NAME_TYPE: LONG[3]\n");                        
#endif                                                                
        return MSDOS_NAME_LONG;                                       
ffc1c9ac:	3b e0 00 02 	li      r31,2                                  
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
ffc1c9b0:	40 9e ff 58 	bne+    cr7,ffc1c908 <msdos_long_to_short+0x160><== NEVER TAKEN
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
ffc1c9b4:	3b e0 00 01 	li      r31,1                                  
ffc1c9b8:	4b ff ff 50 	b       ffc1c908 <msdos_long_to_short+0x160>   
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
ffc1c9bc:	2f 9a ff ff 	cmpwi   cr7,r26,-1                             
ffc1c9c0:	40 9e ff 44 	bne+    cr7,ffc1c904 <msdos_long_to_short+0x15c>
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
ffc1c9c4:	2f 9f 00 08 	cmpwi   cr7,r31,8                              
ffc1c9c8:	41 9e 00 18 	beq-    cr7,ffc1c9e0 <msdos_long_to_short+0x238>
#endif                                                                
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
ffc1c9cc:	41 b2 ff 9c 	beq-    cr4,ffc1c968 <msdos_long_to_short+0x1c0>
ffc1c9d0:	7f fa fb 78 	mr      r26,r31                                
ffc1c9d4:	4b ff ff b0 	b       ffc1c984 <msdos_long_to_short+0x1dc>   
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
            uppercase = true;                                         
ffc1c9d8:	3b 00 00 01 	li      r24,1                                  
ffc1c9dc:	4b ff ff a8 	b       ffc1c984 <msdos_long_to_short+0x1dc>   
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
ffc1c9e0:	41 b2 ff 24 	beq-    cr4,ffc1c904 <msdos_long_to_short+0x15c><== ALWAYS TAKEN
ffc1c9e4:	3b 40 00 08 	li      r26,8                                  <== NOT EXECUTED
ffc1c9e8:	4b ff ff 9c 	b       ffc1c984 <msdos_long_to_short+0x1dc>   <== NOT EXECUTED
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
            break;                                                    
                                                                      
    if (i == lfn_len)                                                 
ffc1c9ec:	41 be fe 50 	beq-    cr7,ffc1c83c <msdos_long_to_short+0x94><== NOT EXECUTED
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
ffc1c9f0:	3b e0 00 01 	li      r31,1                                  <== NOT EXECUTED
ffc1c9f4:	4b ff ff 14 	b       ffc1c908 <msdos_long_to_short+0x160>   <== NOT EXECUTED
                                                                      

ffc1177c <msdos_mknod>: msdos_node_type_t type = 0; /* * Figure out what type of msdos node this is. */ if (S_ISDIR(mode))
ffc1177c:	54 c9 04 26 	rlwinm  r9,r6,0,16,19                          
ffc11780:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
    const char *name,                                                 
    size_t namelen,                                                   
    mode_t mode,                                                      
    dev_t dev                                                         
)                                                                     
{                                                                     
ffc11784:	7c c7 33 78 	mr      r7,r6                                  
ffc11788:	7c 8a 23 78 	mr      r10,r4                                 
ffc1178c:	7c a6 2b 78 	mr      r6,r5                                  
    msdos_node_type_t    type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
ffc11790:	41 9e 00 24 	beq-    cr7,ffc117b4 <msdos_mknod+0x38>        
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc11794:	39 00 00 00 	li      r8,0                                   
ffc11798:	61 08 80 00 	ori     r8,r8,32768                            
ffc1179c:	7f 89 40 00 	cmpw    cr7,r9,r8                              
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
ffc117a0:	38 80 00 04 	li      r4,4                                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
ffc117a4:	40 9e 00 20 	bne-    cr7,ffc117c4 <msdos_mknod+0x48>        <== NEVER TAKEN
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
ffc117a8:	7d 45 53 78 	mr      r5,r10                                 
ffc117ac:	39 00 00 00 	li      r8,0                                   
ffc117b0:	48 00 a9 c4 	b       ffc1c174 <msdos_creat_node>            
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
ffc117b4:	38 80 00 00 	li      r4,0                                   
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
ffc117b8:	7d 45 53 78 	mr      r5,r10                                 
ffc117bc:	39 00 00 00 	li      r8,0                                   
ffc117c0:	48 00 a9 b4 	b       ffc1c174 <msdos_creat_node>            
    const char *name,                                                 
    size_t namelen,                                                   
    mode_t mode,                                                      
    dev_t dev                                                         
)                                                                     
{                                                                     
ffc117c4:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc117c8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc117cc:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    else if (S_ISREG(mode))                                           
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
ffc117d0:	48 00 ee cd 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc117d4:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
                                                                      
    return rc;                                                        
}                                                                     
ffc117d8:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
    else if (S_ISREG(mode))                                           
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
ffc117dc:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
                                                                      
    return rc;                                                        
}                                                                     
ffc117e0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc117e4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc117e8:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc117ec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc117fc <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 ) {
ffc117fc:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc11800:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc11804:	7c a3 2b 78 	mr      r3,r5                                  <== 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_namelen                                                
)                                                                     
{                                                                     
ffc11808:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc1180c:	7c c5 33 78 	mr      r5,r6                                  <== NOT EXECUTED
ffc11810:	7c e6 3b 78 	mr      r6,r7                                  <== 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_namelen                                                
)                                                                     
{                                                                     
ffc11814:	93 c1 00 08 	stw     r30,8(r1)                              <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc11818:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc1181c:	60 e7 80 00 	ori     r7,r7,32768                            <== NOT EXECUTED
    const char *new_name,                                             
    size_t new_namelen                                                
)                                                                     
{                                                                     
    int                rc = RC_OK;                                    
    fat_file_fd_t     *old_fat_fd  = old_loc->node_access;            
ffc11820:	83 c4 00 08 	lwz     r30,8(r4)                              <== 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_namelen                                                
)                                                                     
{                                                                     
ffc11824:	93 e1 00 0c 	stw     r31,12(r1)                             <== NOT EXECUTED
ffc11828:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
ffc1182c:	7f c8 f3 78 	mr      r8,r30                                 <== NOT EXECUTED
ffc11830:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc11834:	48 00 a9 41 	bl      ffc1c174 <msdos_creat_node>            <== NOT EXECUTED
                          MSDOS_HARD_LINK,new_name,new_namelen,S_IFREG,
                          old_fat_fd);                                
    if (rc != RC_OK)                                                  
ffc11838:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1183c:	41 9e 00 1c 	beq-    cr7,ffc11858 <msdos_rename+0x5c>       <== NOT EXECUTED
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
                                        &old_fat_fd->dir_pos,         
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
                                                                      
    return rc;                                                        
}                                                                     
ffc11840:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc11844:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc11848:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1184c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11850:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc11854:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc11858:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
ffc1185c:	38 9e 00 20 	addi    r4,r30,32                              <== NOT EXECUTED
ffc11860:	80 7f 00 14 	lwz     r3,20(r31)                             <== NOT EXECUTED
ffc11864:	38 a0 00 e5 	li      r5,229                                 <== NOT EXECUTED
                                        &old_fat_fd->dir_pos,         
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
                                                                      
    return rc;                                                        
}                                                                     
ffc11868:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1186c:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc11870:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc11874:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
ffc11878:	48 00 b4 80 	b       ffc1ccf8 <msdos_set_first_char4file_name><== NOT EXECUTED
                                                                      

ffc1187c <msdos_rmnod>: #include "msdos.h" int msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc, const rtems_filesystem_location_info_t *pathloc) {
ffc1187c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc11880:	7c 08 02 a6 	mflr    r0                                     
ffc11884:	90 01 00 2c 	stw     r0,44(r1)                              
ffc11888:	93 e1 00 24 	stw     r31,36(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
ffc1188c:	83 e4 00 08 	lwz     r31,8(r4)                              
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;          
ffc11890:	80 64 00 14 	lwz     r3,20(r4)                              
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    if (fat_fd->fat_file_type == MSDOS_DIRECTORY)                     
ffc11894:	81 3f 00 10 	lwz     r9,16(r31)                             
#include "msdos.h"                                                    
                                                                      
int                                                                   
msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc,   
            const rtems_filesystem_location_info_t *pathloc)          
{                                                                     
ffc11898:	93 81 00 18 	stw     r28,24(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    if (fat_fd->fat_file_type == MSDOS_DIRECTORY)                     
ffc1189c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
#include "msdos.h"                                                    
                                                                      
int                                                                   
msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc,   
            const rtems_filesystem_location_info_t *pathloc)          
{                                                                     
ffc118a0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc118a4:	7c 9e 23 78 	mr      r30,r4                                 
ffc118a8:	93 a1 00 1c 	stw     r29,28(r1)                             
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
ffc118ac:	83 83 00 08 	lwz     r28,8(r3)                              
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    if (fat_fd->fat_file_type == MSDOS_DIRECTORY)                     
ffc118b0:	40 9e 00 6c 	bne-    cr7,ffc1191c <msdos_rmnod+0xa0>        
    {                                                                 
        bool is_empty = false;                                        
ffc118b4:	7c 25 0b 78 	mr      r5,r1                                  
ffc118b8:	9d 25 00 08 	stbu    r9,8(r5)                               
                                                                      
        /*                                                            
         * You cannot remove a node that still has children           
         */                                                           
        rc = msdos_dir_is_empty(pathloc->mt_entry, fat_fd, &is_empty);
ffc118bc:	7f e4 fb 78 	mr      r4,r31                                 
ffc118c0:	48 00 b6 09 	bl      ffc1cec8 <msdos_dir_is_empty>          
        if (rc != RC_OK)                                              
ffc118c4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc118c8:	40 82 00 2c 	bne-    ffc118f4 <msdos_rmnod+0x78>            <== NEVER TAKEN
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        if (!is_empty)                                                
ffc118cc:	89 21 00 08 	lbz     r9,8(r1)                               
ffc118d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc118d4:	41 9e 00 8c 	beq-    cr7,ffc11960 <msdos_rmnod+0xe4>        
                                                                      
        /*                                                            
         * We deny attempts to delete open directory (if directory is current
         * directory we assume it is open one)                        
         */                                                           
        if (fat_fd->links_num > 1)                                    
ffc118d8:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc118dc:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc118e0:	40 9d 00 38 	ble-    cr7,ffc11918 <msdos_rmnod+0x9c>        <== ALWAYS TAKEN
        {                                                             
            rtems_set_errno_and_return_minus_one(EBUSY);              
ffc118e4:	48 00 ed b9 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc118e8:	39 20 00 10 	li      r9,16                                  <== NOT EXECUTED
ffc118ec:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc118f0:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_file_mark_removed(&fs_info->fat, fat_fd);                     
                                                                      
    return rc;                                                        
}                                                                     
ffc118f4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc118f8:	7f a3 eb 78 	mr      r3,r29                                 
ffc118fc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11900:	7c 08 03 a6 	mtlr    r0                                     
ffc11904:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11908:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1190c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11910:	38 21 00 28 	addi    r1,r1,40                               
ffc11914:	4e 80 00 20 	blr                                            
ffc11918:	80 7e 00 14 	lwz     r3,20(r30)                             
         * not used - mount() not implemenetd yet.                    
         */                                                           
    }                                                                 
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry, &fat_fd->dir_pos,
ffc1191c:	38 9f 00 20 	addi    r4,r31,32                              
ffc11920:	38 a0 00 e5 	li      r5,229                                 
ffc11924:	48 00 b3 d5 	bl      ffc1ccf8 <msdos_set_first_char4file_name>
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
ffc11928:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1192c:	40 82 ff c8 	bne+    ffc118f4 <msdos_rmnod+0x78>            <== NEVER TAKEN
    {                                                                 
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(&fs_info->fat, fat_fd);                     
ffc11930:	7f 83 e3 78 	mr      r3,r28                                 
ffc11934:	7f e4 fb 78 	mr      r4,r31                                 
ffc11938:	48 00 53 b9 	bl      ffc16cf0 <fat_file_mark_removed>       
                                                                      
    return rc;                                                        
}                                                                     
ffc1193c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc11940:	7f a3 eb 78 	mr      r3,r29                                 
ffc11944:	83 81 00 18 	lwz     r28,24(r1)                             
ffc11948:	7c 08 03 a6 	mtlr    r0                                     
ffc1194c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc11950:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc11954:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc11958:	38 21 00 28 	addi    r1,r1,40                               
ffc1195c:	4e 80 00 20 	blr                                            
            return rc;                                                
        }                                                             
                                                                      
        if (!is_empty)                                                
        {                                                             
            rtems_set_errno_and_return_minus_one(ENOTEMPTY);          
ffc11960:	48 00 ed 3d 	bl      ffc2069c <__errno>                     
ffc11964:	39 20 00 5a 	li      r9,90                                  
ffc11968:	91 23 00 00 	stw     r9,0(r3)                               
ffc1196c:	3b a0 ff ff 	li      r29,-1                                 
ffc11970:	4b ff ff 84 	b       ffc118f4 <msdos_rmnod+0x78>            
                                                                      

ffc1c9f8 <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 ) {
ffc1c9f8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1c9fc:	7c 08 02 a6 	mflr    r0                                     
ffc1ca00:	90 01 00 34 	stw     r0,52(r1)                              
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
ffc1ca04:	38 a1 00 0a 	addi    r5,r1,10                               
int                                                                   
msdos_set_dir_wrt_time_and_date(                                      
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1ca08:	93 e1 00 2c 	stw     r31,44(r1)                             
    ssize_t          ret1 = 0, ret2 = 0, ret3 = 0;                    
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1ca0c:	83 e3 00 08 	lwz     r31,8(r3)                              
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
ffc1ca10:	80 64 00 40 	lwz     r3,64(r4)                              
int                                                                   
msdos_set_dir_wrt_time_and_date(                                      
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1ca14:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1ca18:	7c 9e 23 78 	mr      r30,r4                                 
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
ffc1ca1c:	38 81 00 08 	addi    r4,r1,8                                
int                                                                   
msdos_set_dir_wrt_time_and_date(                                      
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1ca20:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1ca24:	93 81 00 20 	stw     r28,32(r1)                             
ffc1ca28:	93 a1 00 24 	stw     r29,36(r1)                             
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
ffc1ca2c:	48 00 2a 81 	bl      ffc1f4ac <msdos_date_unix2dos>         
                                                                      
    /*                                                                
     * calculate input for fat_sector_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);
ffc1ca30:	81 3e 00 20 	lwz     r9,32(r30)                             
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)) )
ffc1ca34:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1ca38:	40 9e 00 10 	bne-    cr7,ffc1ca48 <msdos_set_dir_wrt_time_and_date+0x50>
ffc1ca3c:	89 5f 00 0e 	lbz     r10,14(r31)                            
ffc1ca40:	71 48 00 03 	andi.   r8,r10,3                               
ffc1ca44:	40 82 00 ec 	bne-    ffc1cb30 <msdos_set_dir_wrt_time_and_date+0x138><== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1ca48:	89 1f 00 05 	lbz     r8,5(r31)                              
ffc1ca4c:	3b a9 ff fe 	addi    r29,r9,-2                              
ffc1ca50:	81 5f 00 34 	lwz     r10,52(r31)                            
ffc1ca54:	7f bd 40 30 	slw     r29,r29,r8                             
ffc1ca58:	7f bd 52 14 	add     r29,r29,r10                            
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
ffc1ca5c:	81 5e 00 24 	lwz     r10,36(r30)                            
    /* 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_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1ca60:	38 c0 00 02 	li      r6,2                                   
     * (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);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1ca64:	a3 df 00 00 	lhz     r30,0(r31)                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1ca68:	38 e1 00 0a 	addi    r7,r1,10                               
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1ca6c:	89 1f 00 02 	lbz     r8,2(r31)                              
    /* 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_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1ca70:	7f e3 fb 78 	mr      r3,r31                                 
    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);                                     
ffc1ca74:	a1 21 00 0a 	lhz     r9,10(r1)                              
     * (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);  
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1ca78:	3b de ff ff 	addi    r30,r30,-1                             
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1ca7c:	7d 48 44 30 	srw     r8,r10,r8                              
ffc1ca80:	7f bd 42 14 	add     r29,r29,r8                             
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1ca84:	7f de 50 38 	and     r30,r30,r10                            
                                                                      
    time_val = CT_LE_W(time_val);                                     
ffc1ca88:	55 2a 40 2e 	rlwinm  r10,r9,8,0,23                          
ffc1ca8c:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1ca90:	7d 49 4b 78 	or      r9,r10,r9                              
    ret1 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1ca94:	7f a4 eb 78 	mr      r4,r29                                 
    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);                                     
ffc1ca98:	b1 21 00 0a 	sth     r9,10(r1)                              
    ret1 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1ca9c:	38 be 00 16 	addi    r5,r30,22                              
ffc1caa0:	4b ff a7 d9 	bl      ffc17278 <fat_sector_write>            
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1caa4:	a1 21 00 08 	lhz     r9,8(r1)                               
    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_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
ffc1caa8:	7c 7c 1b 78 	mr      r28,r3                                 
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1caac:	55 2a 40 2e 	rlwinm  r10,r9,8,0,23                          
ffc1cab0:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1cab4:	7d 49 4b 78 	or      r9,r10,r9                              
    ret2 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1cab8:	38 be 00 18 	addi    r5,r30,24                              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
ffc1cabc:	b1 21 00 08 	sth     r9,8(r1)                               
    ret2 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1cac0:	38 c0 00 02 	li      r6,2                                   
ffc1cac4:	38 e1 00 08 	addi    r7,r1,8                                
ffc1cac8:	7f a4 eb 78 	mr      r4,r29                                 
ffc1cacc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cad0:	4b ff a7 a9 	bl      ffc17278 <fat_sector_write>            
                            2, (char *)(&date));                      
    ret3 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1cad4:	7f a4 eb 78 	mr      r4,r29                                 
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
ffc1cad8:	7c 7b 1b 78 	mr      r27,r3                                 
                            2, (char *)(&date));                      
    ret3 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
ffc1cadc:	38 be 00 12 	addi    r5,r30,18                              
ffc1cae0:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cae4:	38 c0 00 02 	li      r6,2                                   
ffc1cae8:	38 e1 00 08 	addi    r7,r1,8                                
ffc1caec:	4b ff a7 8d 	bl      ffc17278 <fat_sector_write>            
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
ffc1caf0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc1caf4:	41 9c 00 44 	blt-    cr7,ffc1cb38 <msdos_set_dir_wrt_time_and_date+0x140><== NEVER TAKEN
ffc1caf8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1cafc:	41 9c 00 3c 	blt-    cr7,ffc1cb38 <msdos_set_dir_wrt_time_and_date+0x140><== NEVER TAKEN
ffc1cb00:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cb04:	41 9c 00 34 	blt-    cr7,ffc1cb38 <msdos_set_dir_wrt_time_and_date+0x140><== NEVER TAKEN
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
ffc1cb08:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1cb0c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1cb10:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1cb14:	7c 08 03 a6 	mtlr    r0                                     
ffc1cb18:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1cb1c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1cb20:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1cb24:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1cb28:	38 21 00 30 	addi    r1,r1,48                               
ffc1cb2c:	4e 80 00 20 	blr                                            
    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;                                 
ffc1cb30:	83 bf 00 20 	lwz     r29,32(r31)                            
ffc1cb34:	4b ff ff 28 	b       ffc1ca5c <msdos_set_dir_wrt_time_and_date+0x64>
                            2, (char *)(&date));                      
    ret3 = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
        return -1;                                                    
ffc1cb38:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1cb3c:	4b ff ff d0 	b       ffc1cb0c <msdos_set_dir_wrt_time_and_date+0x114><== NOT EXECUTED
                                                                      

ffc1cc58 <msdos_set_file_size>: int msdos_set_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
ffc1cc58:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1cc5c:	7c 08 02 a6 	mflr    r0                                     
ffc1cc60:	7c 89 23 78 	mr      r9,r4                                  
ffc1cc64:	90 01 00 1c 	stw     r0,28(r1)                              
    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);
ffc1cc68:	81 44 00 20 	lwz     r10,32(r4)                             
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1cc6c:	80 63 00 08 	lwz     r3,8(r3)                               
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)) )
ffc1cc70:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1cc74:	40 9e 00 10 	bne-    cr7,ffc1cc84 <msdos_set_file_size+0x2c>
ffc1cc78:	89 03 00 0e 	lbz     r8,14(r3)                              
ffc1cc7c:	71 07 00 03 	andi.   r7,r8,3                                
ffc1cc80:	40 82 00 70 	bne-    ffc1ccf0 <msdos_set_file_size+0x98>    <== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1cc84:	88 e3 00 05 	lbz     r7,5(r3)                               
ffc1cc88:	38 8a ff fe 	addi    r4,r10,-2                              
ffc1cc8c:	81 03 00 34 	lwz     r8,52(r3)                              
ffc1cc90:	7c 84 38 30 	slw     r4,r4,r7                               
ffc1cc94:	7c 84 42 14 	add     r4,r4,r8                               
    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);  
ffc1cc98:	81 49 00 24 	lwz     r10,36(r9)                             
ffc1cc9c:	88 e3 00 02 	lbz     r7,2(r3)                               
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
ffc1cca0:	a1 03 00 00 	lhz     r8,0(r3)                               
    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);  
ffc1cca4:	7d 47 3c 30 	srw     r7,r10,r7                              
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
ffc1cca8:	39 08 ff ff 	addi    r8,r8,-1                               
ffc1ccac:	7d 05 50 38 	and     r5,r8,r10                              
ffc1ccb0:	81 09 00 18 	lwz     r8,24(r9)                              
    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);  
ffc1ccb4:	7c 84 3a 14 	add     r4,r4,r7                               
ffc1ccb8:	51 09 46 3e 	rlwimi  r9,r8,8,24,31                          
ffc1ccbc:	51 09 c4 2e 	rlwimi  r9,r8,24,16,23                         
ffc1ccc0:	51 09 42 1e 	rlwimi  r9,r8,8,8,15                           
ffc1ccc4:	51 09 c0 0e 	rlwimi  r9,r8,24,0,7                           
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
                                                                      
    le_new_length = CT_LE_L((fat_fd->fat_file_size));                 
ffc1ccc8:	7c 27 0b 78 	mr      r7,r1                                  
ffc1cccc:	95 27 00 08 	stwu    r9,8(r7)                               
    ret = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_SIZE_OFFSET, 4,
ffc1ccd0:	38 a5 00 1c 	addi    r5,r5,28                               
ffc1ccd4:	38 c0 00 04 	li      r6,4                                   
ffc1ccd8:	4b ff a5 a1 	bl      ffc17278 <fat_sector_write>            
                           (char *)(&le_new_length));                 
    if ( ret < 0 )                                                    
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
ffc1ccdc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc1cce0:	7c 63 fe 70 	srawi   r3,r3,31                               
ffc1cce4:	7c 08 03 a6 	mtlr    r0                                     
ffc1cce8:	38 21 00 18 	addi    r1,r1,24                               
ffc1ccec:	4e 80 00 20 	blr                                            
    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;                                 
ffc1ccf0:	80 83 00 20 	lwz     r4,32(r3)                              
ffc1ccf4:	4b ff ff a4 	b       ffc1cc98 <msdos_set_file_size+0x40>    
                                                                      

ffc1ccf8 <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 ) {
ffc1ccf8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1ccfc:	7c 08 02 a6 	mflr    r0                                     
ffc1cd00:	90 01 00 34 	stw     r0,52(r1)                              
ffc1cd04:	93 e1 00 2c 	stw     r31,44(r1)                             
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1cd08:	83 e3 00 08 	lwz     r31,8(r3)                              
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
ffc1cd0c:	93 c1 00 28 	stw     r30,40(r1)                             
    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) &&                      
ffc1cd10:	81 3f 00 3c 	lwz     r9,60(r31)                             
{                                                                     
    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;                          
    fat_pos_t        end = dir_pos->sname;                            
ffc1cd14:	83 c4 00 00 	lwz     r30,0(r4)                              
    )                                                                 
{                                                                     
    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;                          
ffc1cd18:	81 44 00 0c 	lwz     r10,12(r4)                             
    fat_pos_t        end = dir_pos->sname;                            
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1cd1c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
    )                                                                 
{                                                                     
    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;                          
ffc1cd20:	81 24 00 08 	lwz     r9,8(r4)                               
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
ffc1cd24:	93 81 00 20 	stw     r28,32(r1)                             
ffc1cd28:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1cd2c:	98 a1 00 18 	stb     r5,24(r1)                              
    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;                          
ffc1cd30:	91 21 00 08 	stw     r9,8(r1)                               
ffc1cd34:	91 41 00 0c 	stw     r10,12(r1)                             
    fat_pos_t        end = dir_pos->sname;                            
ffc1cd38:	83 84 00 04 	lwz     r28,4(r4)                              
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
ffc1cd3c:	41 9e 01 5c 	beq-    cr7,ffc1ce98 <msdos_set_first_char4file_name+0x1a0><== ALWAYS TAKEN
        (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)                    
ffc1cd40:	81 24 00 08 	lwz     r9,8(r4)                               <== NOT EXECUTED
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
        (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;                          
ffc1cd44:	a3 bf 00 06 	lhz     r29,6(r31)                             <== NOT EXECUTED
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
ffc1cd48:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              <== NOT EXECUTED
ffc1cd4c:	41 9e 01 68 	beq-    cr7,ffc1ceb4 <msdos_set_first_char4file_name+0x1bc><== NOT EXECUTED
ffc1cd50:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1cd54:	89 5f 00 02 	lbz     r10,2(r31)                             
ffc1cd58:	a0 bf 00 00 	lhz     r5,0(r31)                              
ffc1cd5c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1cd60:	48 00 00 64 	b       ffc1cdc4 <msdos_set_first_char4file_name+0xcc>
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)) )
ffc1cd64:	89 1f 00 0e 	lbz     r8,14(r31)                             
ffc1cd68:	71 0b 00 03 	andi.   r11,r8,3                               
ffc1cd6c:	41 82 00 64 	beq-    ffc1cdd0 <msdos_set_first_char4file_name+0xd8><== NEVER TAKEN
        return fs_info->vol.rdir_loc;                                 
ffc1cd70:	80 9f 00 20 	lwz     r4,32(r31)                             
     * 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));      
ffc1cd74:	7d 2a 54 30 	srw     r10,r9,r10                             
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
ffc1cd78:	38 a5 ff ff 	addi    r5,r5,-1                               
                                                                      
      ret = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
ffc1cd7c:	7d 25 28 38 	and     r5,r9,r5                               
ffc1cd80:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cd84:	7c 84 52 14 	add     r4,r4,r10                              
ffc1cd88:	38 c0 00 01 	li      r6,1                                   
ffc1cd8c:	38 e1 00 18 	addi    r7,r1,24                               
ffc1cd90:	4b ff a4 e9 	bl      ffc17278 <fat_sector_write>            
                             1, &fchar);                              
      if (ret < 0)                                                    
ffc1cd94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cd98:	41 9c 00 70 	blt-    cr7,ffc1ce08 <msdos_set_first_char4file_name+0x110><== NEVER TAKEN
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
ffc1cd9c:	80 81 00 08 	lwz     r4,8(r1)                               
ffc1cda0:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc1cda4:	7f 84 f0 00 	cmpw    cr7,r4,r30                             
ffc1cda8:	41 9e 00 84 	beq-    cr7,ffc1ce2c <msdos_set_first_char4file_name+0x134><== ALWAYS TAKEN
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1cdac:	39 29 00 20 	addi    r9,r9,32                               
      if (start.ofs >= dir_block_size)                                
ffc1cdb0:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
ffc1cdb4:	91 21 00 0c 	stw     r9,12(r1)                              
      if (start.ofs >= dir_block_size)                                
ffc1cdb8:	40 9d 00 a0 	ble-    cr7,ffc1ce58 <msdos_set_first_char4file_name+0x160><== NEVER TAKEN
ffc1cdbc:	89 5f 00 02 	lbz     r10,2(r31)                             
ffc1cdc0:	a0 bf 00 00 	lhz     r5,0(r31)                              
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)) )
ffc1cdc4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1cdc8:	38 84 ff fe 	addi    r4,r4,-2                               
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)) )
ffc1cdcc:	41 be ff 98 	beq-    cr7,ffc1cd64 <msdos_set_first_char4file_name+0x6c><== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1cdd0:	88 ff 00 05 	lbz     r7,5(r31)                              <== 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));      
ffc1cdd4:	7d 2a 54 30 	srw     r10,r9,r10                             <== NOT EXECUTED
ffc1cdd8:	81 1f 00 34 	lwz     r8,52(r31)                             <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
ffc1cddc:	38 a5 ff ff 	addi    r5,r5,-1                               <== NOT EXECUTED
ffc1cde0:	7c 84 38 30 	slw     r4,r4,r7                               <== NOT EXECUTED
ffc1cde4:	7c 84 42 14 	add     r4,r4,r8                               <== NOT EXECUTED
                                                                      
      ret = fat_sector_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
ffc1cde8:	7d 25 28 38 	and     r5,r9,r5                               <== NOT EXECUTED
ffc1cdec:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cdf0:	7c 84 52 14 	add     r4,r4,r10                              <== NOT EXECUTED
ffc1cdf4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc1cdf8:	38 e1 00 18 	addi    r7,r1,24                               <== NOT EXECUTED
ffc1cdfc:	4b ff a4 7d 	bl      ffc17278 <fat_sector_write>            <== NOT EXECUTED
                             1, &fchar);                              
      if (ret < 0)                                                    
ffc1ce00:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1ce04:	40 9c ff 98 	bge+    cr7,ffc1cd9c <msdos_set_first_char4file_name+0xa4><== NOT EXECUTED
        return -1;                                                    
ffc1ce08:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
ffc1ce0c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc1ce10:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc1ce14:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1ce18:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc1ce1c:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc1ce20:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc1ce24:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc1ce28:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      ret = fat_sector_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))           
ffc1ce2c:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc1ce30:	40 9e ff 7c 	bne+    cr7,ffc1cdac <msdos_set_first_char4file_name+0xb4>
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
ffc1ce34:	80 01 00 34 	lwz     r0,52(r1)                              
          return rc;                                                  
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
ffc1ce38:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1ce3c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1ce40:	7c 08 03 a6 	mtlr    r0                                     
ffc1ce44:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1ce48:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1ce4c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1ce50:	38 21 00 30 	addi    r1,r1,48                               
ffc1ce54:	4e 80 00 20 	blr                                            
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
      if (start.ofs >= dir_block_size)                                
      {                                                               
        int rc;                                                       
        if ((end.cln == fs_info->fat.vol.rdir_cl) &&                  
ffc1ce58:	81 3f 00 3c 	lwz     r9,60(r31)                             <== NOT EXECUTED
ffc1ce5c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             <== NOT EXECUTED
ffc1ce60:	40 9e 00 10 	bne-    cr7,ffc1ce70 <msdos_set_first_char4file_name+0x178><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
ffc1ce64:	89 3f 00 0e 	lbz     r9,14(r31)                             <== 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) &&                  
ffc1ce68:	71 27 00 03 	andi.   r7,r9,3                                <== NOT EXECUTED
ffc1ce6c:	40 a2 ff c8 	bne-    ffc1ce34 <msdos_set_first_char4file_name+0x13c><== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
          break;                                                      
        rc = fat_get_fat_cluster(&fs_info->fat, start.cln, &start.cln);
ffc1ce70:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1ce74:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc1ce78:	48 00 16 5d 	bl      ffc1e4d4 <fat_get_fat_cluster>         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
ffc1ce7c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1ce80:	40 a2 ff 8c 	bne-    ffc1ce0c <msdos_set_first_char4file_name+0x114><== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
ffc1ce84:	90 61 00 0c 	stw     r3,12(r1)                              <== NOT EXECUTED
ffc1ce88:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1ce8c:	89 5f 00 02 	lbz     r10,2(r31)                             <== NOT EXECUTED
ffc1ce90:	a0 bf 00 00 	lhz     r5,0(r31)                              <== NOT EXECUTED
ffc1ce94:	4b ff fe c8 	b       ffc1cd5c <msdos_set_first_char4file_name+0x64><== 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)))            
ffc1ce98:	89 3f 00 0e 	lbz     r9,14(r31)                             
    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) &&                      
ffc1ce9c:	71 2a 00 03 	andi.   r10,r9,3                               
ffc1cea0:	41 a2 fe a0 	beq-    ffc1cd40 <msdos_set_first_char4file_name+0x48><== NEVER TAKEN
        (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)                    
ffc1cea4:	81 24 00 08 	lwz     r9,8(r4)                               
    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)))            
      dir_block_size = fs_info->fat.vol.rdir_size;                    
ffc1cea8:	83 bf 00 2c 	lwz     r29,44(r31)                            
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
ffc1ceac:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1ceb0:	40 9e fe a0 	bne+    cr7,ffc1cd50 <msdos_set_first_char4file_name+0x58>
      start = dir_pos->sname;                                         
ffc1ceb4:	81 24 00 00 	lwz     r9,0(r4)                               
ffc1ceb8:	81 44 00 04 	lwz     r10,4(r4)                              
ffc1cebc:	91 21 00 08 	stw     r9,8(r1)                               
ffc1cec0:	91 41 00 0c 	stw     r10,12(r1)                             
ffc1cec4:	4b ff fe 8c 	b       ffc1cd50 <msdos_set_first_char4file_name+0x58>
                                                                      

ffc1cb40 <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 ) {
ffc1cb40:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1cb44:	7c 08 02 a6 	mflr    r0                                     
    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;                                    
ffc1cb48:	39 40 00 00 	li      r10,0                                  
int                                                                   
msdos_set_first_cluster_num(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1cb4c:	90 01 00 34 	stw     r0,52(r1)                              
                                                                      
    /*                                                                
     * calculate input for fat_sector_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);
ffc1cb50:	81 24 00 20 	lwz     r9,32(r4)                              
int                                                                   
msdos_set_first_cluster_num(                                          
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
ffc1cb54:	93 c1 00 28 	stw     r30,40(r1)                             
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)) )
ffc1cb58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1cb5c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1cb60:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1cb64:	93 81 00 20 	stw     r28,32(r1)                             
ffc1cb68:	93 a1 00 24 	stw     r29,36(r1)                             
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
ffc1cb6c:	83 e3 00 08 	lwz     r31,8(r3)                              
    uint32_t         new_cln = fat_fd->cln;                           
ffc1cb70:	83 c4 00 1c 	lwz     r30,28(r4)                             
    uint16_t         le_cl_low = 0;                                   
    uint16_t         le_cl_hi = 0;                                    
ffc1cb74:	b1 41 00 08 	sth     r10,8(r1)                              
ffc1cb78:	40 9e 00 10 	bne-    cr7,ffc1cb88 <msdos_set_first_cluster_num+0x48>
ffc1cb7c:	89 5f 00 0e 	lbz     r10,14(r31)                            
ffc1cb80:	71 48 00 03 	andi.   r8,r10,3                               
ffc1cb84:	40 82 00 c4 	bne-    ffc1cc48 <msdos_set_first_cluster_num+0x108><== ALWAYS TAKEN
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
ffc1cb88:	89 1f 00 05 	lbz     r8,5(r31)                              
ffc1cb8c:	3b 89 ff fe 	addi    r28,r9,-2                              
ffc1cb90:	81 5f 00 34 	lwz     r10,52(r31)                            
ffc1cb94:	7f 9c 40 30 	slw     r28,r28,r8                             
ffc1cb98:	7f 9c 52 14 	add     r28,r28,r10                            
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1cb9c:	81 24 00 24 	lwz     r9,36(r4)                              
    /* 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));          
ffc1cba0:	57 c6 42 2e 	rlwinm  r6,r30,8,8,23                          
     * (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);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1cba4:	a3 bf 00 00 	lhz     r29,0(r31)                             
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
ffc1cba8:	57 c8 c6 3e 	rlwinm  r8,r30,24,24,31                        
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1cbac:	89 5f 00 02 	lbz     r10,2(r31)                             
    /* 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));          
ffc1cbb0:	7c c8 43 78 	or      r8,r6,r8                               
ffc1cbb4:	7c 27 0b 78 	mr      r7,r1                                  
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1cbb8:	7d 2a 54 30 	srw     r10,r9,r10                             
    /* 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));          
ffc1cbbc:	b5 07 00 0a 	sthu    r8,10(r7)                              
     * (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);  
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
ffc1cbc0:	3b bd ff ff 	addi    r29,r29,-1                             
ffc1cbc4:	7f bd 48 38 	and     r29,r29,r9                             
    /*                                                                
     * calculate input for fat_sector_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);  
ffc1cbc8:	7f 9c 52 14 	add     r28,r28,r10                            
    /* 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_sector_write(&fs_info->fat, sec,                       
ffc1cbcc:	7f 84 e3 78 	mr      r4,r28                                 
ffc1cbd0:	38 bd 00 1a 	addi    r5,r29,26                              
ffc1cbd4:	38 c0 00 02 	li      r6,2                                   
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
ffc1cbd8:	57 de 84 3e 	rlwinm  r30,r30,16,16,31                       
    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_sector_write(&fs_info->fat, sec,                       
ffc1cbdc:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cbe0:	4b ff a6 99 	bl      ffc17278 <fat_sector_write>            
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
ffc1cbe4:	57 c9 40 2e 	rlwinm  r9,r30,8,0,23                          
ffc1cbe8:	57 de c2 3e 	rlwinm  r30,r30,24,8,31                        
ffc1cbec:	7c 27 0b 78 	mr      r7,r1                                  
ffc1cbf0:	7d 3e f3 78 	or      r30,r9,r30                             
ffc1cbf4:	b7 c7 00 08 	sthu    r30,8(r7)                              
    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_sector_write(&fs_info->fat, sec,                       
ffc1cbf8:	7c 7b 1b 78 	mr      r27,r3                                 
                            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_sector_write(&fs_info->fat, sec,                       
ffc1cbfc:	7f 84 e3 78 	mr      r4,r28                                 
ffc1cc00:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cc04:	38 bd 00 14 	addi    r5,r29,20                              
ffc1cc08:	38 c0 00 02 	li      r6,2                                   
ffc1cc0c:	4b ff a6 6d 	bl      ffc17278 <fat_sector_write>            
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
ffc1cc10:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc1cc14:	41 9c 00 3c 	blt-    cr7,ffc1cc50 <msdos_set_first_cluster_num+0x110><== NEVER TAKEN
ffc1cc18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1cc1c:	41 9c 00 34 	blt-    cr7,ffc1cc50 <msdos_set_first_cluster_num+0x110><== NEVER TAKEN
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
ffc1cc20:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1cc24:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1cc28:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1cc2c:	7c 08 03 a6 	mtlr    r0                                     
ffc1cc30:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1cc34:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1cc38:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1cc3c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1cc40:	38 21 00 30 	addi    r1,r1,48                               
ffc1cc44:	4e 80 00 20 	blr                                            
    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;                                 
ffc1cc48:	83 9f 00 20 	lwz     r28,32(r31)                            
ffc1cc4c:	4b ff ff 50 	b       ffc1cb9c <msdos_set_first_cluster_num+0x5c>
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
    ret2 = fat_sector_write(&fs_info->fat, sec,                       
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
        return -1;                                                    
ffc1cc50:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1cc54:	4b ff ff d0 	b       ffc1cc24 <msdos_set_first_cluster_num+0xe4><== NOT EXECUTED
                                                                      

ffc1047c <msdos_set_sectors_per_cluster_from_request.isra.1>: msdos_format_param_t *fmt_params ) { int ret_val = -1; uint32_t onebit; if ( rqdata != NULL && rqdata->sectors_per_cluster > 0 ) {
ffc1047c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc10480:	41 82 00 10 	beq-    ffc10490 <msdos_set_sectors_per_cluster_from_request.isra.1+0x14>
ffc10484:	81 43 00 08 	lwz     r10,8(r3)                              
ffc10488:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1048c:	40 9e 00 50 	bne-    cr7,ffc104dc <msdos_set_sectors_per_cluster_from_request.isra.1+0x60>
ffc10490:	81 45 00 00 	lwz     r10,0(r5)                              
   */                                                                 
  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 ) {                
ffc10494:	38 e0 00 08 	li      r7,8                                   
ffc10498:	7c e9 03 a6 	mtctr   r7                                     
ffc1049c:	39 00 00 00 	li      r8,0                                   
                                                                      
  return fattype;                                                     
}                                                                     
                                                                      
static int                                                            
msdos_set_sectors_per_cluster_from_request(                           
ffc104a0:	39 20 00 80 	li      r9,128                                 
   */                                                                 
  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 ) {                
ffc104a4:	61 08 80 00 	ori     r8,r8,32768                            
   * 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 ) {                
ffc104a8:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc104ac:	41 9c 00 20 	blt-    cr7,ffc104cc <msdos_set_sectors_per_cluster_from_request.isra.1+0x50>
      fmt_params->sectors_per_cluster = onebit;                       
ffc104b0:	91 25 00 00 	stw     r9,0(r5)                               
      if (   fmt_params->sectors_per_cluster                          
          <= 32768L / fmt_params->bytes_per_sector ) {                
ffc104b4:	81 44 00 00 	lwz     r10,0(r4)                              
ffc104b8:	7d 48 53 96 	divwu   r10,r8,r10                             
   * 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                          
ffc104bc:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc104c0:	41 9c 00 0c 	blt-    cr7,ffc104cc <msdos_set_sectors_per_cluster_from_request.isra.1+0x50><== NEVER TAKEN
          <= 32768L / fmt_params->bytes_per_sector ) {                
        /* value is small enough so this value is ok */               
        onebit = 1;                                                   
        ret_val = 0;                                                  
ffc104c4:	38 60 00 00 	li      r3,0                                   
  if (ret_val != 0) {                                                 
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc104c8:	4e 80 00 20 	blr                                            
   * 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 ) {           
ffc104cc:	55 29 f8 7e 	rlwinm  r9,r9,31,1,31                          
ffc104d0:	42 40 00 14 	bdz-    ffc104e4 <msdos_set_sectors_per_cluster_from_request.isra.1+0x68>
ffc104d4:	81 45 00 00 	lwz     r10,0(r5)                              
ffc104d8:	4b ff ff d0 	b       ffc104a8 <msdos_set_sectors_per_cluster_from_request.isra.1+0x2c>
{                                                                     
  int      ret_val = -1;                                              
  uint32_t onebit;                                                    
                                                                      
  if ( rqdata != NULL && rqdata->sectors_per_cluster > 0 ) {          
    fmt_params->sectors_per_cluster = rqdata->sectors_per_cluster;    
ffc104dc:	91 45 00 00 	stw     r10,0(r5)                              
ffc104e0:	4b ff ff b4 	b       ffc10494 <msdos_set_sectors_per_cluster_from_request.isra.1+0x18>
                                                                      
  return fattype;                                                     
}                                                                     
                                                                      
static int                                                            
msdos_set_sectors_per_cluster_from_request(                           
ffc104e4:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc104e8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc104ec:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val != 0) {                                                 
    errno = EINVAL;                                                   
ffc104f0:	48 01 01 ad 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc104f4:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc104f8:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val != 0) {                                                 
    errno = EINVAL;                                                   
ffc104fc:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc10500:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
ffc10504:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc10508:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc1050c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1e364 <msdos_sync>: return MSDOS_NAME_NOT_FOUND_ERR; } int msdos_sync(rtems_libio_t *iop) {
ffc1e364:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1e368:	7c 08 02 a6 	mflr    r0                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e36c:	38 80 00 00 	li      r4,0                                   
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
                                                                      
int                                                                   
msdos_sync(rtems_libio_t *iop)                                        
{                                                                     
ffc1e370:	90 01 00 14 	stw     r0,20(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e374:	38 a0 00 00 	li      r5,0                                   
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;     
ffc1e378:	81 23 00 28 	lwz     r9,40(r3)                              
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
                                                                      
int                                                                   
msdos_sync(rtems_libio_t *iop)                                        
{                                                                     
ffc1e37c:	93 e1 00 0c 	stw     r31,12(r1)                             
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
ffc1e380:	83 e9 00 08 	lwz     r31,8(r9)                              
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
                                                                      
int                                                                   
msdos_sync(rtems_libio_t *iop)                                        
{                                                                     
ffc1e384:	93 c1 00 08 	stw     r30,8(r1)                              
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
ffc1e388:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc1e38c:	4b fe d8 49 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc1e390:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1e394:	40 9e 00 34 	bne-    cr7,ffc1e3c8 <msdos_sync+0x64>         <== NEVER TAKEN
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = fat_sync(&fs_info->fat);                                     
ffc1e398:	7f e3 fb 78 	mr      r3,r31                                 
ffc1e39c:	4b ff 9c 45 	bl      ffc17fe0 <fat_sync>                    
ffc1e3a0:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
ffc1e3a4:	80 7f 00 9c 	lwz     r3,156(r31)                            
ffc1e3a8:	4b fe d9 cd 	bl      ffc0bd74 <rtems_semaphore_release>     
    return rc;                                                        
}                                                                     
ffc1e3ac:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1e3b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc1e3b4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1e3b8:	7c 08 03 a6 	mtlr    r0                                     
ffc1e3bc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1e3c0:	38 21 00 10 	addi    r1,r1,16                               
ffc1e3c4:	4e 80 00 20 	blr                                            
    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);                    
ffc1e3c8:	48 00 22 d5 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc1e3cc:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc1e3d0:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1e3d4:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc1e3d8:	4b ff ff d4 	b       ffc1e3ac <msdos_sync+0x48>             <== NOT EXECUTED
                                                                      

ffc114c8 <msdos_unlock>: rtems_fatal_error_occurred(0xdeadbeef); } } void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry) {
ffc114c8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc114cc:	7c 08 02 a6 	mflr    r0                                     
ffc114d0:	90 01 00 0c 	stw     r0,12(r1)                              
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_release(fs_info->vol_sema);  
ffc114d4:	81 23 00 08 	lwz     r9,8(r3)                               
ffc114d8:	80 69 00 9c 	lwz     r3,156(r9)                             
ffc114dc:	4b ff a8 99 	bl      ffc0bd74 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc114e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc114e4:	40 9e 00 14 	bne-    cr7,ffc114f8 <msdos_unlock+0x30>       <== NEVER TAKEN
    rtems_fatal_error_occurred(0xdeadbeef);                           
  }                                                                   
}                                                                     
ffc114e8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc114ec:	38 21 00 08 	addi    r1,r1,8                                
ffc114f0:	7c 08 03 a6 	mtlr    r0                                     
ffc114f4:	4e 80 00 20 	blr                                            
void msdos_unlock(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_release(fs_info->vol_sema);  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_fatal_error_occurred(0xdeadbeef);                           
ffc114f8:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc114fc:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc11500:	4b ff b0 35 	bl      ffc0c534 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc058c8 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
ffc058c8:	7d 80 00 26 	mfcr    r12                                    
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc058cc:	7e 03 20 00 	cmpw    cr4,r3,r4                              
                                                                      
void newlib_delete_hook(                                              
  rtems_tcb *current_task,                                            
  rtems_tcb *deleted_task                                             
)                                                                     
{                                                                     
ffc058d0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc058d4:	7c 08 02 a6 	mflr    r0                                     
ffc058d8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc058dc:	7c 9e 23 78 	mr      r30,r4                                 
ffc058e0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc058e4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc058e8:	91 81 00 0c 	stw     r12,12(r1)                             
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
ffc058ec:	41 92 00 8c 	beq-    cr4,ffc05978 <newlib_delete_hook+0xb0> 
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
ffc058f0:	83 e4 01 44 	lwz     r31,324(r4)                            
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
ffc058f4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc058f8:	41 9e 00 2c 	beq-    cr7,ffc05924 <newlib_delete_hook+0x5c> <== NEVER TAKEN
ffc058fc:	3d 20 00 00 	lis     r9,0                                   
ffc05900:	81 29 27 a4 	lwz     r9,10148(r9)                           
ffc05904:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc05908:	41 9e 00 1c 	beq-    cr7,ffc05924 <newlib_delete_hook+0x5c> 
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
ffc0590c:	3c 80 ff c0 	lis     r4,-64                                 
ffc05910:	7f e3 fb 78 	mr      r3,r31                                 
ffc05914:	38 84 56 5c 	addi    r4,r4,22108                            
ffc05918:	48 00 d2 05 	bl      ffc12b1c <_fwalk>                      
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
ffc0591c:	7f e3 fb 78 	mr      r3,r31                                 
ffc05920:	48 00 85 b1 	bl      ffc0ded0 <_Workspace_Free>             
#endif                                                                
  }                                                                   
                                                                      
  deleted_task->libc_reent = NULL;                                    
ffc05924:	39 20 00 00 	li      r9,0                                   
ffc05928:	91 3e 01 44 	stw     r9,324(r30)                            
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
ffc0592c:	41 92 00 24 	beq-    cr4,ffc05950 <newlib_delete_hook+0x88> 
    _REENT = 0;                                                       
  }                                                                   
}                                                                     
ffc05930:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05934:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc05938:	7c 08 03 a6 	mtlr    r0                                     
ffc0593c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05940:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05944:	7d 80 81 20 	mtcrf   8,r12                                  
ffc05948:	38 21 00 18 	addi    r1,r1,24                               
ffc0594c:	4e 80 00 20 	blr                                            
ffc05950:	80 01 00 1c 	lwz     r0,28(r1)                              
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc05954:	3d 40 00 00 	lis     r10,0                                  
  }                                                                   
}                                                                     
ffc05958:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc0595c:	7c 08 03 a6 	mtlr    r0                                     
ffc05960:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05964:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05968:	7d 80 81 20 	mtcrf   8,r12                                  
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
    _REENT = 0;                                                       
ffc0596c:	91 2a 27 a8 	stw     r9,10152(r10)                          
  }                                                                   
}                                                                     
ffc05970:	38 21 00 18 	addi    r1,r1,24                               
ffc05974:	4e 80 00 20 	blr                                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
ffc05978:	3d 20 00 00 	lis     r9,0                                   
ffc0597c:	83 e9 27 a8 	lwz     r31,10152(r9)                          
ffc05980:	4b ff ff 74 	b       ffc058f4 <newlib_delete_hook+0x2c>     
                                                                      

ffc0565c <newlib_free_buffers>: * task. */ int newlib_free_buffers( FILE *fp ) {
ffc0565c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc05660:	7c 08 02 a6 	mflr    r0                                     
ffc05664:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05668:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0566c:	90 01 00 14 	stw     r0,20(r1)                              
  switch ( fileno(fp) ) {                                             
ffc05670:	48 00 ce f9 	bl      ffc12568 <fileno>                      
ffc05674:	2b 83 00 02 	cmplwi  cr7,r3,2                               
ffc05678:	40 9d 00 24 	ble-    cr7,ffc0569c <newlib_free_buffers+0x40><== ALWAYS TAKEN
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
ffc0567c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc05680:	48 00 cb 85 	bl      ffc12204 <fclose>                      <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05684:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05688:	38 60 00 00 	li      r3,0                                   
ffc0568c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05690:	7c 08 03 a6 	mtlr    r0                                     
ffc05694:	38 21 00 10 	addi    r1,r1,16                               
ffc05698:	4e 80 00 20 	blr                                            
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
ffc0569c:	a1 3f 00 0c 	lhz     r9,12(r31)                             
ffc056a0:	55 29 06 30 	rlwinm  r9,r9,0,24,24                          
ffc056a4:	7d 2a 07 35 	extsh.  r10,r9                                 
ffc056a8:	41 82 ff dc 	beq+    ffc05684 <newlib_free_buffers+0x28>    <== ALWAYS TAKEN
        free( fp->_bf._base );                                        
ffc056ac:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc056b0:	4b ff f4 b9 	bl      ffc04b68 <free>                        <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc056b4:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
ffc056b8:	a1 5f 00 0c 	lhz     r10,12(r31)                            <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc056bc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc056c0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc056c4:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
ffc056c8:	55 4a 06 6e 	rlwinm  r10,r10,0,25,23                        <== NOT EXECUTED
ffc056cc:	b1 5f 00 0c 	sth     r10,12(r31)                            <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc056d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
        free( fp->_bf._base );                                        
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
ffc056d4:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc056d8:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc056dc:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc056e0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc00ca0 <notify>: } void notify (s) char *s; {
ffc00ca0:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc00ca4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc00ca8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
ffc00cac:	3c 60 ff c2 	lis     r3,-62                                 <== NOT EXECUTED
}                                                                     
                                                                      
void                                                                  
notify (s)                                                            
     char   *s;                                                       
{                                                                     
ffc00cb0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
ffc00cb4:	38 63 48 10 	addi    r3,r3,18448                            <== NOT EXECUTED
ffc00cb8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc00cbc:	48 01 8f e9 	bl      ffc19ca4 <printf>                      <== NOT EXECUTED
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
}                                                                     
ffc00cc0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
void                                                                  
notify (s)                                                            
     char   *s;                                                       
{                                                                     
    printf ("%s test appears to be inconsistent...\n", s);            
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
ffc00cc4:	3c 60 ff c2 	lis     r3,-62                                 <== NOT EXECUTED
}                                                                     
ffc00cc8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
void                                                                  
notify (s)                                                            
     char   *s;                                                       
{                                                                     
    printf ("%s test appears to be inconsistent...\n", s);            
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
ffc00ccc:	38 63 48 38 	addi    r3,r3,18488                            <== NOT EXECUTED
}                                                                     
ffc00cd0:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
void                                                                  
notify (s)                                                            
     char   *s;                                                       
{                                                                     
    printf ("%s test appears to be inconsistent...\n", s);            
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
ffc00cd4:	48 01 91 4c 	b       ffc19e20 <puts>                        <== NOT EXECUTED
                                                                      

ffc08db4 <null_op_fsmount_me>: rtems_filesystem_mount_table_entry_t *mt_entry, const void *data ) { return -1; }
ffc08db4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08db8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08dc4 <null_op_fsunmount_me>: static void null_op_fsunmount_me( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc08dc4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08d8c <null_op_link>: const char *name, size_t namelen ) { return -1; }
ffc08d8c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08d90:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08dac <null_op_mount>: static int null_op_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) { return -1; }
ffc08dac:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08db0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08dd8 <null_op_readlink>: char *buf, size_t bufsize ) { return -1; }
ffc08dd8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08ddc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08de0 <null_op_rename>: const char *name, size_t namelen ) { return -1; }
ffc08de0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08de4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc08d84 <null_op_rmnod>: const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *loc ) { return -1; }
ffc08d84:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc08d88:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc07be4 <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc07be4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07be8:	7c 08 02 a6 	mflr    r0                                     
ffc07bec:	90 01 00 1c 	stw     r0,28(r1)                              
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc07bf0:	81 24 00 34 	lwz     r9,52(r4)                              
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc07bf4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc07bf8:	7c 9f 23 78 	mr      r31,r4                                 
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc07bfc:	71 2a 00 01 	andi.   r10,r9,1                               
/*                                                                    
 * Handle output processing                                           
 */                                                                   
static void                                                           
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
ffc07c00:	98 61 00 08 	stb     r3,8(r1)                               
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
ffc07c04:	41 82 00 74 	beq-    ffc07c78 <oproc+0x94>                  <== NEVER TAKEN
    switch (c) {                                                      
ffc07c08:	2f 83 00 09 	cmpwi   cr7,r3,9                               
ffc07c0c:	41 9e 00 e8 	beq-    cr7,ffc07cf4 <oproc+0x110>             
ffc07c10:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc07c14:	40 9d 00 88 	ble-    cr7,ffc07c9c <oproc+0xb8>              <== NEVER TAKEN
ffc07c18:	2f 83 00 0a 	cmpwi   cr7,r3,10                              
ffc07c1c:	41 9e 00 a0 	beq-    cr7,ffc07cbc <oproc+0xd8>              
ffc07c20:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc07c24:	41 9e 01 04 	beq-    cr7,ffc07d28 <oproc+0x144>             <== NEVER TAKEN
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc07c28:	71 2a 00 02 	andi.   r10,r9,2                               
        c = toupper(c);                                               
ffc07c2c:	3d 20 00 00 	lis     r9,0                                   
ffc07c30:	81 29 27 a0 	lwz     r9,10144(r9)                           
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
ffc07c34:	41 82 00 24 	beq-    ffc07c58 <oproc+0x74>                  <== ALWAYS TAKEN
        c = toupper(c);                                               
ffc07c38:	7c 6a 1b 78 	mr      r10,r3                                 <== NOT EXECUTED
ffc07c3c:	7c 69 1a 14 	add     r3,r9,r3                               <== NOT EXECUTED
ffc07c40:	89 03 00 01 	lbz     r8,1(r3)                               <== NOT EXECUTED
ffc07c44:	55 08 07 be 	clrlwi  r8,r8,30                               <== NOT EXECUTED
ffc07c48:	2f 88 00 02 	cmpwi   cr7,r8,2                               <== NOT EXECUTED
ffc07c4c:	41 9e 01 1c 	beq-    cr7,ffc07d68 <oproc+0x184>             <== NOT EXECUTED
ffc07c50:	55 43 06 3e 	clrlwi  r3,r10,24                              <== NOT EXECUTED
ffc07c54:	98 61 00 08 	stb     r3,8(r1)                               <== NOT EXECUTED
      if (!iscntrl(c))                                                
ffc07c58:	7c 69 1a 14 	add     r3,r9,r3                               
ffc07c5c:	89 23 00 01 	lbz     r9,1(r3)                               
ffc07c60:	55 29 06 b4 	rlwinm  r9,r9,0,26,26                          
ffc07c64:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc07c68:	40 82 00 10 	bne-    ffc07c78 <oproc+0x94>                  <== NEVER TAKEN
        tty->column++;                                                
ffc07c6c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc07c70:	39 29 00 01 	addi    r9,r9,1                                
ffc07c74:	91 3f 00 28 	stw     r9,40(r31)                             
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
ffc07c78:	38 61 00 08 	addi    r3,r1,8                                
ffc07c7c:	38 80 00 01 	li      r4,1                                   
ffc07c80:	7f e5 fb 78 	mr      r5,r31                                 
ffc07c84:	4b ff fd b5 	bl      ffc07a38 <rtems_termios_puts>          
}                                                                     
ffc07c88:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07c8c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc07c90:	7c 08 03 a6 	mtlr    r0                                     
ffc07c94:	38 21 00 18 	addi    r1,r1,24                               
ffc07c98:	4e 80 00 20 	blr                                            
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
ffc07c9c:	2f 83 00 08 	cmpwi   cr7,r3,8                               <== NOT EXECUTED
ffc07ca0:	40 9e ff 88 	bne+    cr7,ffc07c28 <oproc+0x44>              <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
ffc07ca4:	81 24 00 28 	lwz     r9,40(r4)                              <== NOT EXECUTED
ffc07ca8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc07cac:	40 bd ff cc 	ble-    cr7,ffc07c78 <oproc+0x94>              <== NOT EXECUTED
        tty->column--;                                                
ffc07cb0:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc07cb4:	91 24 00 28 	stw     r9,40(r4)                              <== NOT EXECUTED
ffc07cb8:	4b ff ff c0 	b       ffc07c78 <oproc+0x94>                  <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
ffc07cbc:	71 2a 00 20 	andi.   r10,r9,32                              
ffc07cc0:	41 82 00 0c 	beq-    ffc07ccc <oproc+0xe8>                  <== ALWAYS TAKEN
        tty->column = 0;                                              
ffc07cc4:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc07cc8:	91 44 00 28 	stw     r10,40(r4)                             <== NOT EXECUTED
      if (tty->termios.c_oflag & ONLCR) {                             
ffc07ccc:	71 2a 00 04 	andi.   r10,r9,4                               
ffc07cd0:	41 82 ff a8 	beq+    ffc07c78 <oproc+0x94>                  <== NEVER TAKEN
        rtems_termios_puts ("\r", 1, tty);                            
ffc07cd4:	3c 60 ff c2 	lis     r3,-62                                 
ffc07cd8:	38 63 e7 6c 	addi    r3,r3,-6292                            
ffc07cdc:	38 80 00 01 	li      r4,1                                   
ffc07ce0:	7f e5 fb 78 	mr      r5,r31                                 
ffc07ce4:	4b ff fd 55 	bl      ffc07a38 <rtems_termios_puts>          
        tty->column = 0;                                              
ffc07ce8:	39 20 00 00 	li      r9,0                                   
ffc07cec:	91 3f 00 28 	stw     r9,40(r31)                             
ffc07cf0:	4b ff ff 88 	b       ffc07c78 <oproc+0x94>                  
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc07cf4:	55 29 04 e8 	rlwinm  r9,r9,0,19,20                          
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc07cf8:	81 44 00 28 	lwz     r10,40(r4)                             
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc07cfc:	2f 89 18 00 	cmpwi   cr7,r9,6144                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
ffc07d00:	55 44 07 7e 	clrlwi  r4,r10,29                              
ffc07d04:	20 84 00 08 	subfic  r4,r4,8                                
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
ffc07d08:	7d 4a 22 14 	add     r10,r10,r4                             
ffc07d0c:	91 5f 00 28 	stw     r10,40(r31)                            
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
ffc07d10:	40 9e ff 68 	bne+    cr7,ffc07c78 <oproc+0x94>              <== NEVER TAKEN
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
ffc07d14:	3c 60 ff c2 	lis     r3,-62                                 
ffc07d18:	38 63 e7 70 	addi    r3,r3,-6288                            
ffc07d1c:	7f e5 fb 78 	mr      r5,r31                                 
ffc07d20:	4b ff fd 19 	bl      ffc07a38 <rtems_termios_puts>          
        return;                                                       
ffc07d24:	4b ff ff 64 	b       ffc07c88 <oproc+0xa4>                  
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
ffc07d28:	71 2a 00 10 	andi.   r10,r9,16                              <== NOT EXECUTED
ffc07d2c:	41 82 00 10 	beq-    ffc07d3c <oproc+0x158>                 <== NOT EXECUTED
ffc07d30:	81 44 00 28 	lwz     r10,40(r4)                             <== NOT EXECUTED
ffc07d34:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc07d38:	41 be ff 50 	beq-    cr7,ffc07c88 <oproc+0xa4>              <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
ffc07d3c:	71 2a 00 08 	andi.   r10,r9,8                               <== NOT EXECUTED
ffc07d40:	41 82 00 20 	beq-    ffc07d60 <oproc+0x17c>                 <== NOT EXECUTED
        c = '\n';                                                     
        if (tty->termios.c_oflag & ONLRET)                            
ffc07d44:	71 2a 00 20 	andi.   r10,r9,32                              <== NOT EXECUTED
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
        c = '\n';                                                     
ffc07d48:	39 40 00 0a 	li      r10,10                                 <== NOT EXECUTED
ffc07d4c:	99 41 00 08 	stb     r10,8(r1)                              <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
ffc07d50:	41 a2 ff 28 	beq-    ffc07c78 <oproc+0x94>                  <== NOT EXECUTED
          tty->column = 0;                                            
ffc07d54:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc07d58:	91 3f 00 28 	stw     r9,40(r31)                             <== NOT EXECUTED
ffc07d5c:	4b ff ff 1c 	b       ffc07c78 <oproc+0x94>                  <== NOT EXECUTED
        break;                                                        
      }                                                               
      tty->column = 0;                                                
ffc07d60:	91 5f 00 28 	stw     r10,40(r31)                            <== NOT EXECUTED
      break;                                                          
ffc07d64:	4b ff ff 14 	b       ffc07c78 <oproc+0x94>                  <== NOT EXECUTED
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
        c = toupper(c);                                               
ffc07d68:	39 4a ff e0 	addi    r10,r10,-32                            <== NOT EXECUTED
ffc07d6c:	4b ff fe e4 	b       ffc07c50 <oproc+0x6c>                  <== NOT EXECUTED
                                                                      

ffc066d8 <partition_free>: * RETURNS: * N/A */ static void partition_free(rtems_part_desc_t *part_desc) {
ffc066d8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc066dc:	7c 08 02 a6 	mflr    r0                                     
ffc066e0:	93 c1 00 08 	stw     r30,8(r1)                              
    int part_num;                                                     
                                                                      
    if (part_desc == NULL)                                            
ffc066e4:	7c 7e 1b 79 	mr.     r30,r3                                 
 * RETURNS:                                                           
 *      N/A                                                           
 */                                                                   
static void                                                           
partition_free(rtems_part_desc_t *part_desc)                          
{                                                                     
ffc066e8:	90 01 00 14 	stw     r0,20(r1)                              
ffc066ec:	93 e1 00 0c 	stw     r31,12(r1)                             
    int part_num;                                                     
                                                                      
    if (part_desc == NULL)                                            
ffc066f0:	41 82 00 6c 	beq-    ffc0675c <partition_free+0x84>         
        return;                                                       
                                                                      
    if (is_extended(part_desc->sys_type))                             
ffc066f4:	89 3e 00 01 	lbz     r9,1(r30)                              
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc066f8:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc066fc:	41 9e 00 28 	beq-    cr7,ffc06724 <partition_free+0x4c>     <== NEVER TAKEN
ffc06700:	2f 89 00 85 	cmpwi   cr7,r9,133                             
ffc06704:	41 9e 00 20 	beq-    cr7,ffc06724 <partition_free+0x4c>     <== NEVER TAKEN
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
}                                                                     
ffc06708:	80 01 00 14 	lwz     r0,20(r1)                              
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
ffc0670c:	7f c3 f3 78 	mr      r3,r30                                 
}                                                                     
ffc06710:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc06714:	7c 08 03 a6 	mtlr    r0                                     
ffc06718:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0671c:	38 21 00 10 	addi    r1,r1,16                               
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
ffc06720:	48 00 12 b4 	b       ffc079d4 <free>                        
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06724:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
 *                                                                    
 * RETURNS:                                                           
 *      N/A                                                           
 */                                                                   
static void                                                           
partition_free(rtems_part_desc_t *part_desc)                          
ffc06728:	7d 3e fa 14 	add     r9,r30,r31                             <== 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]);            
ffc0672c:	80 69 00 18 	lwz     r3,24(r9)                              <== NOT EXECUTED
ffc06730:	4b ff ff a9 	bl      ffc066d8 <partition_free>              <== NOT EXECUTED
    if (part_desc == NULL)                                            
        return;                                                       
                                                                      
    if (is_extended(part_desc->sys_type))                             
    {                                                                 
        for (part_num = 0;                                            
ffc06734:	2f 9f 00 0c 	cmpwi   cr7,r31,12                             <== NOT EXECUTED
ffc06738:	3b ff 00 04 	addi    r31,r31,4                              <== NOT EXECUTED
ffc0673c:	40 9e ff ec 	bne+    cr7,ffc06728 <partition_free+0x50>     <== NOT EXECUTED
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
}                                                                     
ffc06740:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
ffc06744:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
}                                                                     
ffc06748:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc0674c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06750:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc06754:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
ffc06758:	48 00 12 7c 	b       ffc079d4 <free>                        <== NOT EXECUTED
}                                                                     
ffc0675c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc06760:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc06764:	7c 08 03 a6 	mtlr    r0                                     
ffc06768:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0676c:	38 21 00 10 	addi    r1,r1,16                               
ffc06770:	4e 80 00 20 	blr                                            
                                                                      

ffc06bb4 <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) {
ffc06bb4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc06bb8:	7c 08 02 a6 	mflr    r0                                     
ffc06bbc:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc06bc0:	7c 9d 23 78 	mr      r29,r4                                 
    struct stat         dev_stat;                                     
    rtems_status_code   rc;                                           
    int                 fd;                                           
                                                                      
    fd = open(dev_name, O_RDONLY);                                    
ffc06bc4:	38 80 00 00 	li      r4,0                                   
 *      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)
{                                                                     
ffc06bc8:	93 c1 00 70 	stw     r30,112(r1)                            
ffc06bcc:	93 e1 00 74 	stw     r31,116(r1)                            
ffc06bd0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06bd4:	90 01 00 7c 	stw     r0,124(r1)                             
ffc06bd8:	93 21 00 5c 	stw     r25,92(r1)                             
ffc06bdc:	93 41 00 60 	stw     r26,96(r1)                             
ffc06be0:	93 61 00 64 	stw     r27,100(r1)                            
ffc06be4:	93 81 00 68 	stw     r28,104(r1)                            
    struct stat         dev_stat;                                     
    rtems_status_code   rc;                                           
    int                 fd;                                           
                                                                      
    fd = open(dev_name, O_RDONLY);                                    
ffc06be8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06bec:	48 00 1f 6d 	bl      ffc08b58 <open>                        
    if (fd < 0)                                                       
ffc06bf0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc06bf4:	40 80 00 38 	bge-    ffc06c2c <partition_table_get+0x78>    <== ALWAYS TAKEN
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
                                                                      
    return rc;                                                        
}                                                                     
ffc06bf8:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
    int                 fd;                                           
                                                                      
    fd = open(dev_name, O_RDONLY);                                    
    if (fd < 0)                                                       
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
ffc06bfc:	3b e0 00 19 	li      r31,25                                 <== NOT EXECUTED
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
                                                                      
    return rc;                                                        
}                                                                     
ffc06c00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06c04:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc06c08:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06c0c:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc06c10:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc06c14:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc06c18:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc06c1c:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc06c20:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc06c24:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc06c28:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    if (fd < 0)                                                       
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    rc = fstat(fd, &dev_stat);                                        
ffc06c2c:	38 81 00 08 	addi    r4,r1,8                                
ffc06c30:	48 00 0e 91 	bl      ffc07ac0 <fstat>                       
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc06c34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06c38:	41 9e 00 40 	beq-    cr7,ffc06c78 <partition_table_get+0xc4><== ALWAYS TAKEN
    {                                                                 
        close(fd);                                                    
ffc06c3c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc06c40:	48 00 0c fd 	bl      ffc0793c <close>                       <== NOT EXECUTED
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
                                                                      
    return rc;                                                        
}                                                                     
ffc06c44:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
                                                                      
    rc = fstat(fd, &dev_stat);                                        
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
ffc06c48:	3b e0 00 19 	li      r31,25                                 <== NOT EXECUTED
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
                                                                      
    return rc;                                                        
}                                                                     
ffc06c4c:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc06c50:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06c54:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06c58:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc06c5c:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc06c60:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc06c64:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc06c68:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc06c6c:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc06c70:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc06c74:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    {                                                                 
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
ffc06c78:	38 7d 00 08 	addi    r3,r29,8                               
ffc06c7c:	7f e4 fb 78 	mr      r4,r31                                 
ffc06c80:	38 a0 00 0f 	li      r5,15                                  
ffc06c84:	48 01 3d 45 	bl      ffc1a9c8 <strncpy>                     
    disk_desc->dev = dev_stat.st_rdev;                                
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
ffc06c88:	81 41 00 48 	lwz     r10,72(r1)                             
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
    disk_desc->dev = dev_stat.st_rdev;                                
ffc06c8c:	81 21 00 24 	lwz     r9,36(r1)                              
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
ffc06c90:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
    disk_desc->dev = dev_stat.st_rdev;                                
ffc06c94:	81 01 00 20 	lwz     r8,32(r1)                              
ffc06c98:	91 3d 00 04 	stw     r9,4(r29)                              
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
ffc06c9c:	39 20 02 00 	li      r9,512                                 
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
    disk_desc->dev = dev_stat.st_rdev;                                
ffc06ca0:	91 1d 00 00 	stw     r8,0(r29)                              
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
ffc06ca4:	41 9e 00 08 	beq-    cr7,ffc06cac <partition_table_get+0xf8><== ALWAYS TAKEN
ffc06ca8:	7d 49 53 78 	mr      r9,r10                                 <== NOT EXECUTED
ffc06cac:	91 3d 00 18 	stw     r9,24(r29)                             
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
ffc06cb0:	7f c3 f3 78 	mr      r3,r30                                 
 */                                                                   
static rtems_status_code                                              
read_mbr(int fd, rtems_disk_desc_t *disk_desc)                        
{                                                                     
    int                  part_num;                                    
    rtems_sector_data_t *sector = NULL;                               
ffc06cb4:	39 20 00 00 	li      r9,0                                   
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
ffc06cb8:	38 a0 00 00 	li      r5,0                                   
 */                                                                   
static rtems_status_code                                              
read_mbr(int fd, rtems_disk_desc_t *disk_desc)                        
{                                                                     
    int                  part_num;                                    
    rtems_sector_data_t *sector = NULL;                               
ffc06cbc:	91 21 00 54 	stw     r9,84(r1)                              
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
ffc06cc0:	38 c0 00 00 	li      r6,0                                   
ffc06cc4:	38 e0 00 00 	li      r7,0                                   
ffc06cc8:	48 00 12 95 	bl      ffc07f5c <lseek>                       
    if (new_off != off) {                                             
        return RTEMS_IO_ERROR;                                        
ffc06ccc:	3b e0 00 1b 	li      r31,27                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
    if (new_off != off) {                                             
ffc06cd0:	7c 69 23 79 	or.     r9,r3,r4                               
ffc06cd4:	41 82 00 4c 	beq-    ffc06d20 <partition_table_get+0x16c>   <== ALWAYS TAKEN
                                                                      
    /* get MBR sector */                                              
    rc = get_sector(fd, 0, §or);                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        if (sector)                                                   
ffc06cd8:	80 61 00 54 	lwz     r3,84(r1)                              <== NOT EXECUTED
ffc06cdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc06ce0:	41 9e 00 08 	beq-    cr7,ffc06ce8 <partition_table_get+0x134><== NOT EXECUTED
         part_num++)                                                  
    {                                                                 
        rc = data_to_part_desc(data, &part_desc);                     
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
ffc06ce4:	48 00 0c f1 	bl      ffc079d4 <free>                        <== NOT EXECUTED
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
                                              RTEMS_IDE_SECTOR_SIZE;  
                                                                      
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
ffc06ce8:	7f c3 f3 78 	mr      r3,r30                                 
ffc06cec:	48 00 0c 51 	bl      ffc0793c <close>                       
                                                                      
    return rc;                                                        
}                                                                     
ffc06cf0:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc06cf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc06cf8:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc06cfc:	7c 08 03 a6 	mtlr    r0                                     
ffc06d00:	83 41 00 60 	lwz     r26,96(r1)                             
ffc06d04:	83 61 00 64 	lwz     r27,100(r1)                            
ffc06d08:	83 81 00 68 	lwz     r28,104(r1)                            
ffc06d0c:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc06d10:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc06d14:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc06d18:	38 21 00 78 	addi    r1,r1,120                              
ffc06d1c:	4e 80 00 20 	blr                                            
ffc06d20:	7f c3 f3 78 	mr      r3,r30                                 
ffc06d24:	38 80 00 00 	li      r4,0                                   
ffc06d28:	38 a1 00 54 	addi    r5,r1,84                               
ffc06d2c:	4b ff fa 99 	bl      ffc067c4 <get_sector.part.0>           
    uint8_t             *data;                                        
    rtems_status_code    rc;                                          
                                                                      
    /* get MBR sector */                                              
    rc = get_sector(fd, 0, §or);                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc06d30:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06d34:	40 a2 ff a4 	bne-    ffc06cd8 <partition_table_get+0x124>   <== NEVER TAKEN
            free(sector);                                             
        return rc;                                                    
    }                                                                 
                                                                      
    /* check if the partition table structure is MS-DOS style */      
    if (!msdos_signature_check(sector))                               
ffc06d38:	80 61 00 54 	lwz     r3,84(r1)                              
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) &&    
ffc06d3c:	89 23 02 02 	lbz     r9,514(r3)                             
ffc06d40:	2f 89 00 55 	cmpwi   cr7,r9,85                              
ffc06d44:	41 9e 00 10 	beq-    cr7,ffc06d54 <partition_table_get+0x1a0><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /* check if the partition table structure is MS-DOS style */      
    if (!msdos_signature_check(sector))                               
    {                                                                 
        free(sector);                                                 
ffc06d48:	48 00 0c 8d 	bl      ffc079d4 <free>                        <== NOT EXECUTED
        return RTEMS_INTERNAL_ERROR;                                  
ffc06d4c:	3b e0 00 19 	li      r31,25                                 <== NOT EXECUTED
ffc06d50:	4b ff ff 98 	b       ffc06ce8 <partition_table_get+0x134>   <== 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) &&    
ffc06d54:	89 23 02 03 	lbz     r9,515(r3)                             
ffc06d58:	2f 89 00 aa 	cmpwi   cr7,r9,170                             
ffc06d5c:	40 9e ff ec 	bne+    cr7,ffc06d48 <partition_table_get+0x194><== NEVER TAKEN
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    /* read and process 4 primary partition descriptors */            
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
ffc06d60:	3b 43 01 c2 	addi    r26,r3,450                             
ffc06d64:	7f bb eb 78 	mr      r27,r29                                
ffc06d68:	7f b9 eb 78 	mr      r25,r29                                
ffc06d6c:	3b 80 00 01 	li      r28,1                                  
ffc06d70:	7f 43 d3 78 	mr      r3,r26                                 
ffc06d74:	38 81 00 50 	addi    r4,r1,80                               
ffc06d78:	4b ff fb 19 	bl      ffc06890 <data_to_part_desc.part.1>    
    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)                                   
ffc06d7c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06d80:	40 82 00 bc 	bne-    ffc06e3c <partition_table_get+0x288>   <== NEVER TAKEN
        {                                                             
            free(sector);                                             
            return rc;                                                
        }                                                             
                                                                      
        if (part_desc != NULL)                                        
ffc06d84:	81 21 00 50 	lwz     r9,80(r1)                              
ffc06d88:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06d8c:	41 9e 00 a8 	beq-    cr7,ffc06e34 <partition_table_get+0x280><== NEVER TAKEN
        {                                                             
            part_desc->log_id = part_num + 1;                         
            part_desc->disk_desc = disk_desc;                         
            part_desc->end = part_desc->start + part_desc->size - 1;  
ffc06d90:	81 09 00 04 	lwz     r8,4(r9)                               
ffc06d94:	81 49 00 08 	lwz     r10,8(r9)                              
            return rc;                                                
        }                                                             
                                                                      
        if (part_desc != NULL)                                        
        {                                                             
            part_desc->log_id = part_num + 1;                         
ffc06d98:	9b 89 00 02 	stb     r28,2(r9)                              
            part_desc->disk_desc = disk_desc;                         
            part_desc->end = part_desc->start + part_desc->size - 1;  
ffc06d9c:	7d 48 52 14 	add     r10,r8,r10                             
ffc06da0:	39 4a ff ff 	addi    r10,r10,-1                             
        }                                                             
                                                                      
        if (part_desc != NULL)                                        
        {                                                             
            part_desc->log_id = part_num + 1;                         
            part_desc->disk_desc = disk_desc;                         
ffc06da4:	93 a9 00 10 	stw     r29,16(r9)                             
            part_desc->end = part_desc->start + part_desc->size - 1;  
ffc06da8:	91 49 00 0c 	stw     r10,12(r9)                             
            disk_desc->partitions[part_num] = part_desc;              
ffc06dac:	91 39 00 28 	stw     r9,40(r25)                             
ffc06db0:	3b 9c 00 01 	addi    r28,r28,1                              
ffc06db4:	57 9c 06 3e 	clrlwi  r28,r28,24                             
                                                                      
    /* read and process 4 primary partition descriptors */            
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
                                                                      
    for (part_num = 0;                                                
ffc06db8:	2f 9c 00 05 	cmpwi   cr7,r28,5                              
        else                                                          
        {                                                             
            disk_desc->partitions[part_num] = NULL;                   
        }                                                             
                                                                      
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
ffc06dbc:	3b 5a 00 10 	addi    r26,r26,16                             
ffc06dc0:	3b 39 00 04 	addi    r25,r25,4                              
                                                                      
    /* read and process 4 primary partition descriptors */            
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
                                                                      
    for (part_num = 0;                                                
ffc06dc4:	40 9e ff ac 	bne+    cr7,ffc06d70 <partition_table_get+0x1bc>
        }                                                             
                                                                      
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
    }                                                                 
                                                                      
    free(sector);                                                     
ffc06dc8:	80 61 00 54 	lwz     r3,84(r1)                              
        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); 
            free(part_desc);                                          
            disk_desc->partitions[part_num] = NULL;                   
ffc06dcc:	3b 80 00 00 	li      r28,0                                  
        }                                                             
                                                                      
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
    }                                                                 
                                                                      
    free(sector);                                                     
ffc06dd0:	48 00 0c 05 	bl      ffc079d4 <free>                        
                                                                      
    disk_desc->last_log_id = RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;
ffc06dd4:	39 20 00 04 	li      r9,4                                   
ffc06dd8:	91 3d 00 24 	stw     r9,36(r29)                             
ffc06ddc:	3b a0 00 04 	li      r29,4                                  
       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];                  
ffc06de0:	81 3b 00 28 	lwz     r9,40(r27)                             
        if (part_desc != NULL && is_extended(part_desc->sys_type))    
        {                                                             
            read_extended_partition(fd, part_desc->start, part_desc); 
ffc06de4:	7f c3 f3 78 	mr      r3,r30                                 
    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))    
ffc06de8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
       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];                  
ffc06dec:	91 21 00 50 	stw     r9,80(r1)                              
        if (part_desc != NULL && is_extended(part_desc->sys_type))    
        {                                                             
            read_extended_partition(fd, part_desc->start, part_desc); 
ffc06df0:	7d 25 4b 78 	mr      r5,r9                                  
    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))    
ffc06df4:	41 9e 00 18 	beq-    cr7,ffc06e0c <partition_table_get+0x258><== NEVER TAKEN
ffc06df8:	89 49 00 01 	lbz     r10,1(r9)                              
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06dfc:	2f 8a 00 05 	cmpwi   cr7,r10,5                              
ffc06e00:	2f 0a 00 85 	cmpwi   cr6,r10,133                            
ffc06e04:	41 9e 00 18 	beq-    cr7,ffc06e1c <partition_table_get+0x268>
ffc06e08:	41 9a 00 14 	beq-    cr6,ffc06e1c <partition_table_get+0x268><== NEVER TAKEN
                                                                      
    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;                                                
ffc06e0c:	37 bd ff ff 	addic.  r29,r29,-1                             
ffc06e10:	3b 7b 00 04 	addi    r27,r27,4                              
ffc06e14:	40 82 ff cc 	bne+    ffc06de0 <partition_table_get+0x22c>   
ffc06e18:	4b ff fe d0 	b       ffc06ce8 <partition_table_get+0x134>   
         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); 
ffc06e1c:	80 89 00 04 	lwz     r4,4(r9)                               
ffc06e20:	4b ff fb 89 	bl      ffc069a8 <read_extended_partition>     
            free(part_desc);                                          
ffc06e24:	80 61 00 50 	lwz     r3,80(r1)                              
ffc06e28:	48 00 0b ad 	bl      ffc079d4 <free>                        
            disk_desc->partitions[part_num] = NULL;                   
ffc06e2c:	93 9b 00 28 	stw     r28,40(r27)                            
ffc06e30:	4b ff ff dc 	b       ffc06e0c <partition_table_get+0x258>   
            part_desc->end = part_desc->start + part_desc->size - 1;  
            disk_desc->partitions[part_num] = part_desc;              
        }                                                             
        else                                                          
        {                                                             
            disk_desc->partitions[part_num] = NULL;                   
ffc06e34:	93 f9 00 28 	stw     r31,40(r25)                            <== NOT EXECUTED
ffc06e38:	4b ff ff 78 	b       ffc06db0 <partition_table_get+0x1fc>   <== NOT EXECUTED
         part_num++)                                                  
    {                                                                 
        rc = data_to_part_desc(data, &part_desc);                     
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
ffc06e3c:	80 61 00 54 	lwz     r3,84(r1)                              <== NOT EXECUTED
ffc06e40:	4b ff fe a4 	b       ffc06ce4 <partition_table_get+0x130>   <== NOT EXECUTED
                                                                      

ffc063c4 <pathconf>: */ long pathconf( const char *path, int name ) {
ffc063c4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc063c8:	7c 08 02 a6 	mflr    r0                                     
ffc063cc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc063d0:	7c 9e 23 78 	mr      r30,r4                                 
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
ffc063d4:	38 80 00 00 	li      r4,0                                   
 */                                                                   
long pathconf(                                                        
  const char *path,                                                   
  int         name                                                    
)                                                                     
{                                                                     
ffc063d8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc063dc:	90 01 00 14 	stw     r0,20(r1)                              
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
ffc063e0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc063e4:	4b ff fd 35 	bl      ffc06118 <open>                        
  if ( fd == -1 )                                                     
ffc063e8:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
)                                                                     
{                                                                     
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
ffc063ec:	7c 7f 1b 78 	mr      r31,r3                                 
  if ( fd == -1 )                                                     
ffc063f0:	41 9e 00 34 	beq-    cr7,ffc06424 <pathconf+0x60>           <== ALWAYS TAKEN
    return -1;                                                        
                                                                      
  status = fpathconf( fd, name );                                     
ffc063f4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc063f8:	48 00 5f f1 	bl      ffc0c3e8 <fpathconf>                   <== NOT EXECUTED
ffc063fc:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
                                                                      
  (void) close( fd );                                                 
ffc06400:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06404:	48 00 5f 4d 	bl      ffc0c350 <close>                       <== NOT EXECUTED
                                                                      
  return status;                                                      
}                                                                     
ffc06408:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0640c:	7f c3 f3 78 	mr      r3,r30                                 
ffc06410:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc06414:	7c 08 03 a6 	mtlr    r0                                     
ffc06418:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0641c:	38 21 00 10 	addi    r1,r1,16                               
ffc06420:	4e 80 00 20 	blr                                            
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
  if ( fd == -1 )                                                     
    return -1;                                                        
ffc06424:	3b c0 ff ff 	li      r30,-1                                 
ffc06428:	4b ff ff e0 	b       ffc06408 <pathconf+0x44>               
                                                                      

ffc0ffb0 <pipe_create>: static uint16_t rtems_pipe_no = 0; int pipe_create( int filsdes[2] ) {
ffc0ffb0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ffb4:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0ffb8:	38 80 01 ff 	li      r4,511                                 
static uint16_t rtems_pipe_no = 0;                                    
                                                                      
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0ffbc:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0ffc0:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0ffc4:	3c 60 ff c2 	lis     r3,-62                                 
ffc0ffc8:	38 63 0b b0 	addi    r3,r3,2992                             
static uint16_t rtems_pipe_no = 0;                                    
                                                                      
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
ffc0ffcc:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ffd0:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
ffc0ffd4:	48 00 1a 81 	bl      ffc11a54 <rtems_mkdir>                 
ffc0ffd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ffdc:	40 9e 01 20 	bne-    cr7,ffc100fc <pipe_create+0x14c>       
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc0ffe0:	3d 20 00 00 	lis     r9,0                                   
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc0ffe4:	3d 00 ff c2 	lis     r8,-62                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc0ffe8:	a0 a9 29 a8 	lhz     r5,10664(r9)                           
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc0ffec:	39 48 0b b8 	addi    r10,r8,3000                            
ffc0fff0:	80 e8 0b b8 	lwz     r7,3000(r8)                            
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc0fff4:	3c 80 ff c2 	lis     r4,-62                                 
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc0fff8:	81 0a 00 04 	lwz     r8,4(r10)                              
ffc0fffc:	a1 4a 00 08 	lhz     r10,8(r10)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc10000:	38 c5 00 01 	addi    r6,r5,1                                
ffc10004:	38 84 0b c4 	addi    r4,r4,3012                             
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc10008:	90 e1 00 08 	stw     r7,8(r1)                               
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc1000c:	38 61 00 12 	addi    r3,r1,18                               
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
ffc10010:	91 01 00 0c 	stw     r8,12(r1)                              
ffc10014:	b1 41 00 10 	sth     r10,16(r1)                             
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
ffc10018:	b0 c9 29 a8 	sth     r6,10664(r9)                           
ffc1001c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10020:	48 00 42 79 	bl      ffc14298 <sprintf>                     
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
ffc10024:	38 61 00 08 	addi    r3,r1,8                                
ffc10028:	38 80 01 80 	li      r4,384                                 
ffc1002c:	48 00 16 31 	bl      ffc1165c <mkfifo>                      
ffc10030:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10034:	40 9e 00 d0 	bne-    cr7,ffc10104 <pipe_create+0x154>       <== NEVER TAKEN
    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);                 
ffc10038:	38 61 00 08 	addi    r3,r1,8                                
ffc1003c:	38 80 40 00 	li      r4,16384                               
ffc10040:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10044:	4b ff 63 1d 	bl      ffc06360 <open>                        
  if (filsdes[0] < 0) {                                               
ffc10048:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    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);                 
ffc1004c:	90 7f 00 00 	stw     r3,0(r31)                              
  if (filsdes[0] < 0) {                                               
ffc10050:	41 9c 00 84 	blt-    cr7,ffc100d4 <pipe_create+0x124>       
     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]);                                
ffc10054:	3d 40 00 00 	lis     r10,0                                  
ffc10058:	81 0a 27 38 	lwz     r8,10040(r10)                          
ffc1005c:	39 40 00 00 	li      r10,0                                  
ffc10060:	7f 83 40 40 	cmplw   cr7,r3,r8                              
ffc10064:	41 9c 00 5c 	blt-    cr7,ffc100c0 <pipe_create+0x110>       <== ALWAYS TAKEN
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc10068:	81 2a 00 10 	lwz     r9,16(r10)                             
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc1006c:	38 61 00 08 	addi    r3,r1,8                                
ffc10070:	38 80 00 01 	li      r4,1                                   
    unlink(fifopath);                                                 
  }                                                                   
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
ffc10074:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
ffc10078:	91 2a 00 10 	stw     r9,16(r10)                             
int pipe_create(                                                      
  int filsdes[2]                                                      
)                                                                     
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
ffc1007c:	3b c0 00 00 	li      r30,0                                  
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc10080:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc10084:	4b ff 62 dd 	bl      ffc06360 <open>                        
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10088:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  else {                                                              
  /* Reset open file to blocking mode */                              
    iop = rtems_libio_iop(filsdes[0]);                                
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
ffc1008c:	90 7f 00 04 	stw     r3,4(r31)                              
                                                                      
    if (filsdes[1] < 0) {                                             
ffc10090:	41 9c 00 58 	blt-    cr7,ffc100e8 <pipe_create+0x138>       
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
ffc10094:	38 61 00 08 	addi    r3,r1,8                                
ffc10098:	4b ff 9c d9 	bl      ffc09d70 <unlink>                      
  }                                                                   
  if(err != 0)                                                        
ffc1009c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
ffc100a0:	38 60 00 00 	li      r3,0                                   
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
ffc100a4:	40 9e 00 6c 	bne-    cr7,ffc10110 <pipe_create+0x160>       
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
ffc100a8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc100ac:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc100b0:	7c 08 03 a6 	mtlr    r0                                     
ffc100b4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc100b8:	38 21 00 20 	addi    r1,r1,32                               
ffc100bc:	4e 80 00 20 	blr                                            
     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]);                                
ffc100c0:	3d 40 00 00 	lis     r10,0                                  
ffc100c4:	1d 23 00 38 	mulli   r9,r3,56                               
ffc100c8:	81 4a 27 e4 	lwz     r10,10212(r10)                         
ffc100cc:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc100d0:	4b ff ff 98 	b       ffc10068 <pipe_create+0xb8>            
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
ffc100d4:	48 00 33 09 	bl      ffc133dc <__errno>                     
ffc100d8:	83 c3 00 00 	lwz     r30,0(r3)                              
    /* 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);                                                 
ffc100dc:	38 61 00 08 	addi    r3,r1,8                                
ffc100e0:	4b ff 9c 91 	bl      ffc09d70 <unlink>                      
ffc100e4:	4b ff ff b8 	b       ffc1009c <pipe_create+0xec>            
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
ffc100e8:	48 00 32 f5 	bl      ffc133dc <__errno>                     
ffc100ec:	83 c3 00 00 	lwz     r30,0(r3)                              
    close(filsdes[0]);                                                
ffc100f0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc100f4:	4b ff 52 25 	bl      ffc05318 <close>                       
ffc100f8:	4b ff ff 9c 	b       ffc10094 <pipe_create+0xe4>            
{                                                                     
  rtems_libio_t *iop;                                                 
  int err = 0;                                                        
                                                                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
ffc100fc:	38 60 ff ff 	li      r3,-1                                  
ffc10100:	4b ff ff a8 	b       ffc100a8 <pipe_create+0xf8>            
  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){                                             
ffc10104:	48 00 32 d9 	bl      ffc133dc <__errno>                     <== NOT EXECUTED
      return -1;                                                      
ffc10108:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1010c:	4b ff ff 9c 	b       ffc100a8 <pipe_create+0xf8>            <== NOT EXECUTED
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
ffc10110:	48 00 32 cd 	bl      ffc133dc <__errno>                     
ffc10114:	93 c3 00 00 	stw     r30,0(r3)                              
ffc10118:	38 60 ff ff 	li      r3,-1                                  
ffc1011c:	4b ff ff 8c 	b       ffc100a8 <pipe_create+0xf8>            
                                                                      

ffc117a4 <pipe_ioctl>: ioctl_command_t cmd, void *buffer, rtems_libio_t *iop ) { if (cmd == FIONREAD) {
ffc117a4:	6c 89 40 04 	xoris   r9,r4,16388                            
ffc117a8:	2f 89 66 7f 	cmpwi   cr7,r9,26239                           
ffc117ac:	40 9e 00 6c 	bne-    cr7,ffc11818 <pipe_ioctl+0x74>         
    if (buffer == NULL)                                               
ffc117b0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  pipe_control_t  *pipe,                                              
  ioctl_command_t  cmd,                                               
  void            *buffer,                                            
  rtems_libio_t   *iop                                                
)                                                                     
{                                                                     
ffc117b4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc117b8:	7c 08 02 a6 	mflr    r0                                     
ffc117bc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc117c0:	7c be 2b 78 	mr      r30,r5                                 
ffc117c4:	90 01 00 14 	stw     r0,20(r1)                              
ffc117c8:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
ffc117cc:	41 9e 00 5c 	beq-    cr7,ffc11828 <pipe_ioctl+0x84>         
ffc117d0:	7c 7f 1b 78 	mr      r31,r3                                 
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
ffc117d4:	80 63 00 28 	lwz     r3,40(r3)                              
ffc117d8:	38 80 00 00 	li      r4,0                                   
ffc117dc:	38 a0 00 00 	li      r5,0                                   
ffc117e0:	4b ff 9c ad 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc117e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc117e8:	40 9e 00 38 	bne-    cr7,ffc11820 <pipe_ioctl+0x7c>         <== NEVER TAKEN
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc117ec:	81 3f 00 0c 	lwz     r9,12(r31)                             
    PIPE_UNLOCK(pipe);                                                
ffc117f0:	80 7f 00 28 	lwz     r3,40(r31)                             
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
ffc117f4:	91 3e 00 00 	stw     r9,0(r30)                              
    PIPE_UNLOCK(pipe);                                                
ffc117f8:	4b ff 9e 35 	bl      ffc0b62c <rtems_semaphore_release>     
    return 0;                                                         
ffc117fc:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  return -EINVAL;                                                     
}                                                                     
ffc11800:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11804:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11808:	7c 08 03 a6 	mtlr    r0                                     
ffc1180c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11810:	38 21 00 10 	addi    r1,r1,16                               
ffc11814:	4e 80 00 20 	blr                                            
    *(unsigned int *)buffer = pipe->Length;                           
    PIPE_UNLOCK(pipe);                                                
    return 0;                                                         
  }                                                                   
                                                                      
  return -EINVAL;                                                     
ffc11818:	38 60 ff ea 	li      r3,-22                                 
}                                                                     
ffc1181c:	4e 80 00 20 	blr                                            
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
ffc11820:	38 60 ff fc 	li      r3,-4                                  <== NOT EXECUTED
ffc11824:	4b ff ff dc 	b       ffc11800 <pipe_ioctl+0x5c>             <== NOT EXECUTED
  rtems_libio_t   *iop                                                
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
ffc11828:	38 60 ff f2 	li      r3,-14                                 
ffc1182c:	4b ff ff d4 	b       ffc11800 <pipe_ioctl+0x5c>             
                                                                      

ffc11318 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11318:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1131c:	7c 08 02 a6 	mflr    r0                                     
ffc11320:	90 01 00 3c 	stw     r0,60(r1)                              
ffc11324:	93 e1 00 34 	stw     r31,52(r1)                             
ffc11328:	7c 7f 1b 78 	mr      r31,r3                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc1132c:	80 63 00 28 	lwz     r3,40(r3)                              
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11330:	93 21 00 1c 	stw     r25,28(r1)                             
ffc11334:	7c 99 23 78 	mr      r25,r4                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11338:	38 80 00 00 	li      r4,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc1133c:	93 61 00 24 	stw     r27,36(r1)                             
ffc11340:	7c bb 2b 78 	mr      r27,r5                                 
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11344:	38 a0 00 00 	li      r5,0                                   
  pipe_control_t *pipe,                                               
  void           *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11348:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc1134c:	7c dd 33 78 	mr      r29,r6                                 
ffc11350:	93 01 00 18 	stw     r24,24(r1)                             
ffc11354:	93 41 00 20 	stw     r26,32(r1)                             
ffc11358:	93 81 00 28 	stw     r28,40(r1)                             
ffc1135c:	93 c1 00 30 	stw     r30,48(r1)                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11360:	4b ff a1 2d 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc11364:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11368:	40 9e 01 a8 	bne-    cr7,ffc11510 <pipe_read+0x1f8>         <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc1136c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc11370:	3b 40 00 00 	li      r26,0                                  
ffc11374:	3b 80 00 00 	li      r28,0                                  
ffc11378:	41 9e 01 6c 	beq-    cr7,ffc114e4 <pipe_read+0x1cc>         <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
ffc1137c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc11380:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11384:	40 9e 00 c0 	bne-    cr7,ffc11444 <pipe_read+0x12c>         
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc11388:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1138c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11390:	41 9e 01 54 	beq-    cr7,ffc114e4 <pipe_read+0x1cc>         
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
ffc11394:	81 3d 00 10 	lwz     r9,16(r29)                             
ffc11398:	71 2a 00 01 	andi.   r10,r9,1                               
ffc1139c:	40 82 01 50 	bne-    ffc114ec <pipe_read+0x1d4>             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc113a0:	81 3f 00 18 	lwz     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
ffc113a4:	3b c0 ff fc 	li      r30,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc113a8:	80 7f 00 28 	lwz     r3,40(r31)                             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until pipe is no more empty or no writer exists */      
      pipe->waitingReaders ++;                                        
ffc113ac:	39 29 00 01 	addi    r9,r9,1                                
ffc113b0:	91 3f 00 18 	stw     r9,24(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc113b4:	4b ff a2 79 	bl      ffc0b62c <rtems_semaphore_release>     
      if (! PIPE_READWAIT(pipe))                                      
ffc113b8:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc113bc:	38 80 00 00 	li      r4,0                                   
ffc113c0:	48 00 13 6d 	bl      ffc1272c <rtems_barrier_wait>          
ffc113c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc113c8:	40 9e 00 08 	bne-    cr7,ffc113d0 <pipe_read+0xb8>          <== NEVER TAKEN
ffc113cc:	3b c0 00 00 	li      r30,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc113d0:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc113d4:	38 80 00 00 	li      r4,0                                   
ffc113d8:	38 a0 00 00 	li      r5,0                                   
ffc113dc:	4b ff a0 b1 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc113e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc113e4:	40 9e 01 10 	bne-    cr7,ffc114f4 <pipe_read+0x1dc>         <== NEVER TAKEN
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
      if (ret != 0)                                                   
ffc113e8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
ffc113ec:	81 3f 00 18 	lwz     r9,24(r31)                             
ffc113f0:	39 29 ff ff 	addi    r9,r9,-1                               
ffc113f4:	91 3f 00 18 	stw     r9,24(r31)                             
      if (ret != 0)                                                   
ffc113f8:	41 9e ff 84 	beq+    cr7,ffc1137c <pipe_read+0x64>          <== ALWAYS TAKEN
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc113fc:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc11400:	4b ff a2 2d 	bl      ffc0b62c <rtems_semaphore_release>     
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
ffc11404:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc11408:	41 bd 00 08 	bgt+    cr7,ffc11410 <pipe_read+0xf8>          
    return read;                                                      
  return ret;                                                         
ffc1140c:	7f dc f3 78 	mr      r28,r30                                
}                                                                     
ffc11410:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc11414:	7f 83 e3 78 	mr      r3,r28                                 
ffc11418:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1141c:	7c 08 03 a6 	mtlr    r0                                     
ffc11420:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11424:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11428:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1142c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11430:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11434:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11438:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1143c:	38 21 00 38 	addi    r1,r1,56                               
ffc11440:	4e 80 00 20 	blr                                            
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
ffc11444:	7d 5a d8 50 	subf    r10,r26,r27                            
ffc11448:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc1144c:	7d 3e 4b 78 	mr      r30,r9                                 
ffc11450:	40 9d 00 08 	ble-    cr7,ffc11458 <pipe_read+0x140>         
ffc11454:	7d 5e 53 78 	mr      r30,r10                                
    chunk1 = pipe->Size - pipe->Start;                                
ffc11458:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc1145c:	83 1f 00 04 	lwz     r24,4(r31)                             
    if (chunk > chunk1) {                                             
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc11460:	80 9f 00 00 	lwz     r4,0(r31)                              
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
    chunk1 = pipe->Size - pipe->Start;                                
ffc11464:	7f 09 c0 50 	subf    r24,r9,r24                             
    if (chunk > chunk1) {                                             
ffc11468:	7f 9e c0 00 	cmpw    cr7,r30,r24                            
ffc1146c:	40 9d 00 90 	ble-    cr7,ffc114fc <pipe_read+0x1e4>         
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
ffc11470:	7f 05 c3 78 	mr      r5,r24                                 
ffc11474:	7c 84 4a 14 	add     r4,r4,r9                               
ffc11478:	7c 79 d2 14 	add     r3,r25,r26                             
ffc1147c:	48 00 3c a9 	bl      ffc15124 <memcpy>                      
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
ffc11480:	7c 7a c2 14 	add     r3,r26,r24                             
ffc11484:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc11488:	7c 79 1a 14 	add     r3,r25,r3                              
ffc1148c:	7c b8 f0 50 	subf    r5,r24,r30                             
ffc11490:	48 00 3c 95 	bl      ffc15124 <memcpy>                      
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc11494:	81 1f 00 08 	lwz     r8,8(r31)                              
    pipe->Start %= pipe->Size;                                        
ffc11498:	81 5f 00 04 	lwz     r10,4(r31)                             
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
ffc1149c:	7d 1e 42 14 	add     r8,r30,r8                              
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
ffc114a0:	81 3f 00 0c 	lwz     r9,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc114a4:	7c e8 53 96 	divwu   r7,r8,r10                              
    pipe->Length -= chunk;                                            
ffc114a8:	7d 3e 48 50 	subf    r9,r30,r9                              
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc114ac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
    pipe->Length -= chunk;                                            
ffc114b0:	91 3f 00 0c 	stw     r9,12(r31)                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
ffc114b4:	7d 47 51 d6 	mullw   r10,r7,r10                             
ffc114b8:	7d 0a 40 50 	subf    r8,r10,r8                              
ffc114bc:	91 1f 00 08 	stw     r8,8(r31)                              
    pipe->Length -= chunk;                                            
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
ffc114c0:	40 9e 00 08 	bne-    cr7,ffc114c8 <pipe_read+0x1b0>         
      pipe->Start = 0;                                                
ffc114c4:	91 3f 00 08 	stw     r9,8(r31)                              
                                                                      
    if (pipe->waitingWriters > 0)                                     
ffc114c8:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc114cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc114d0:	40 9e 00 48 	bne-    cr7,ffc11518 <pipe_read+0x200>         
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
ffc114d4:	7f 9c f2 14 	add     r28,r28,r30                            
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
ffc114d8:	7f 9c d8 40 	cmplw   cr7,r28,r27                            
ffc114dc:	7f 9a e3 78 	mr      r26,r28                                
ffc114e0:	41 9c fe 9c 	blt+    cr7,ffc1137c <pipe_read+0x64>          <== NEVER TAKEN
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
ffc114e4:	3b c0 00 00 	li      r30,0                                  
ffc114e8:	4b ff ff 14 	b       ffc113fc <pipe_read+0xe4>              
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc114ec:	3b c0 ff f5 	li      r30,-11                                
ffc114f0:	4b ff ff 0c 	b       ffc113fc <pipe_read+0xe4>              
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
ffc114f4:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
ffc114f8:	4b ff ff 0c 	b       ffc11404 <pipe_read+0xec>              <== 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);       
ffc114fc:	7c 79 d2 14 	add     r3,r25,r26                             
ffc11500:	7c 84 4a 14 	add     r4,r4,r9                               
ffc11504:	7f c5 f3 78 	mr      r5,r30                                 
ffc11508:	48 00 3c 1d 	bl      ffc15124 <memcpy>                      
ffc1150c:	4b ff ff 88 	b       ffc11494 <pipe_read+0x17c>             
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
ffc11510:	3b 80 ff fc 	li      r28,-4                                 <== NOT EXECUTED
ffc11514:	4b ff fe fc 	b       ffc11410 <pipe_read+0xf8>              <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
ffc11518:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc1151c:	38 81 00 08 	addi    r4,r1,8                                
ffc11520:	48 00 11 75 	bl      ffc12694 <rtems_barrier_release>       
ffc11524:	4b ff ff b0 	b       ffc114d4 <pipe_read+0x1bc>             
                                                                      

ffc10d58 <pipe_release>: void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
ffc10d58:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10d5c:	7c 08 02 a6 	mflr    r0                                     
ffc10d60:	90 01 00 2c 	stw     r0,44(r1)                              
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
ffc10d64:	81 24 00 10 	lwz     r9,16(r4)                              
                                                                      
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10d68:	93 a1 00 1c 	stw     r29,28(r1)                             
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc10d6c:	71 2a 00 02 	andi.   r10,r9,2                               
                                                                      
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10d70:	93 c1 00 20 	stw     r30,32(r1)                             
    /* WARN pipe not released! */                                     
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
ffc10d74:	55 3d 07 7c 	rlwinm  r29,r9,0,29,30                         
                                                                      
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
ffc10d78:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10d7c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc10d80:	93 81 00 18 	stw     r28,24(r1)                             
  pipe_control_t *pipe = *pipep;                                      
ffc10d84:	83 e3 00 00 	lwz     r31,0(r3)                              
    if (!PIPE_LOCK(pipe))                                             
      rtems_fatal_error_occurred(0xdeadbeef);                         
  #endif                                                              
                                                                      
  mode = LIBIO_ACCMODE(iop);                                          
  if (mode & LIBIO_FLAGS_READ)                                        
ffc10d88:	41 82 00 10 	beq-    ffc10d98 <pipe_release+0x40>           
     pipe->Readers --;                                                
ffc10d8c:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc10d90:	39 4a ff ff 	addi    r10,r10,-1                             
ffc10d94:	91 5f 00 10 	stw     r10,16(r31)                            
  if (mode & LIBIO_FLAGS_WRITE)                                       
ffc10d98:	71 2a 00 04 	andi.   r10,r9,4                               
ffc10d9c:	41 82 00 10 	beq-    ffc10dac <pipe_release+0x54>           
     pipe->Writers --;                                                
ffc10da0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc10da4:	39 29 ff ff 	addi    r9,r9,-1                               
ffc10da8:	91 3f 00 14 	stw     r9,20(r31)                             
                                                                      
  PIPE_UNLOCK(pipe);                                                  
ffc10dac:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc10db0:	4b ff a8 7d 	bl      ffc0b62c <rtems_semaphore_release>     
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc10db4:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc10db8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10dbc:	41 9e 00 50 	beq-    cr7,ffc10e0c <pipe_release+0xb4>       
    *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)            
ffc10dc0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc10dc4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10dc8:	40 9e 00 18 	bne-    cr7,ffc10de0 <pipe_release+0x88>       <== NEVER TAKEN
ffc10dcc:	2f 9d 00 02 	cmpwi   cr7,r29,2                              
ffc10dd0:	41 9e 00 10 	beq-    cr7,ffc10de0 <pipe_release+0x88>       <== NEVER TAKEN
    PIPE_WAKEUPREADERS(pipe);                                         
ffc10dd4:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc10dd8:	38 81 00 08 	addi    r4,r1,8                                
ffc10ddc:	48 00 18 b9 	bl      ffc12694 <rtems_barrier_release>       
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc10de0:	3d 20 00 00 	lis     r9,0                                   
ffc10de4:	80 69 29 a8 	lwz     r3,10664(r9)                           
ffc10de8:	4b ff a8 45 	bl      ffc0b62c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc10dec:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10df0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10df4:	7c 08 03 a6 	mtlr    r0                                     
ffc10df8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10dfc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10e00:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10e04:	38 21 00 28 	addi    r1,r1,40                               
ffc10e08:	4e 80 00 20 	blr                                            
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
ffc10e0c:	83 9f 00 14 	lwz     r28,20(r31)                            
ffc10e10:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc10e14:	41 9e 00 44 	beq-    cr7,ffc10e58 <pipe_release+0x100>      
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
ffc10e18:	2f 9d 00 04 	cmpwi   cr7,r29,4                              
ffc10e1c:	41 9e ff c4 	beq+    cr7,ffc10de0 <pipe_release+0x88>       <== NEVER TAKEN
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
ffc10e20:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc10e24:	38 81 00 08 	addi    r4,r1,8                                
ffc10e28:	48 00 18 6d 	bl      ffc12694 <rtems_barrier_release>       
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc10e2c:	3d 20 00 00 	lis     r9,0                                   
ffc10e30:	80 69 29 a8 	lwz     r3,10664(r9)                           
ffc10e34:	4b ff a7 f9 	bl      ffc0b62c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc10e38:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10e3c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10e40:	7c 08 03 a6 	mtlr    r0                                     
ffc10e44:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10e48:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10e4c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10e50:	38 21 00 28 	addi    r1,r1,40                               
ffc10e54:	4e 80 00 20 	blr                                            
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
ffc10e58:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc10e5c:	48 00 17 71 	bl      ffc125cc <rtems_barrier_delete>        
  rtems_barrier_delete(pipe->writeBarrier);                           
ffc10e60:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc10e64:	48 00 17 69 	bl      ffc125cc <rtems_barrier_delete>        
  rtems_semaphore_delete(pipe->Semaphore);                            
ffc10e68:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc10e6c:	4b ff a5 2d 	bl      ffc0b398 <rtems_semaphore_delete>      
  free(pipe->Buffer);                                                 
ffc10e70:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc10e74:	4b ff 4e c5 	bl      ffc05d38 <free>                        
  free(pipe);                                                         
ffc10e78:	7f e3 fb 78 	mr      r3,r31                                 
ffc10e7c:	4b ff 4e bd 	bl      ffc05d38 <free>                        
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc10e80:	3d 20 00 00 	lis     r9,0                                   
    /* To delete an anonymous pipe file when all users closed it */   
    if (pipe->Anonymous)                                              
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
ffc10e84:	93 9e 00 00 	stw     r28,0(r30)                             
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
ffc10e88:	80 69 29 a8 	lwz     r3,10664(r9)                           
ffc10e8c:	4b ff a7 a1 	bl      ffc0b62c <rtems_semaphore_release>     
  iop->flags &= ~LIBIO_FLAGS_OPEN;                                    
  if(iop->pathinfo.ops->unlink_h(&iop->pathinfo))                     
    return;                                                           
#endif                                                                
                                                                      
}                                                                     
ffc10e90:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10e94:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10e98:	7c 08 03 a6 	mtlr    r0                                     
ffc10e9c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10ea0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10ea4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10ea8:	38 21 00 28 	addi    r1,r1,40                               
ffc10eac:	4e 80 00 20 	blr                                            
                                                                      

ffc11528 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
ffc11528:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1152c:	7c 08 02 a6 	mflr    r0                                     
ffc11530:	93 41 00 20 	stw     r26,32(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc11534:	7c ba 2b 79 	mr.     r26,r5                                 
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11538:	93 a1 00 2c 	stw     r29,44(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
ffc1153c:	3b a0 00 00 	li      r29,0                                  
  pipe_control_t *pipe,                                               
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
ffc11540:	90 01 00 3c 	stw     r0,60(r1)                              
ffc11544:	93 01 00 18 	stw     r24,24(r1)                             
ffc11548:	93 21 00 1c 	stw     r25,28(r1)                             
ffc1154c:	93 61 00 24 	stw     r27,36(r1)                             
ffc11550:	93 81 00 28 	stw     r28,40(r1)                             
ffc11554:	93 c1 00 30 	stw     r30,48(r1)                             
ffc11558:	93 e1 00 34 	stw     r31,52(r1)                             
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
ffc1155c:	40 82 00 38 	bne-    ffc11594 <pipe_write+0x6c>             <== ALWAYS TAKEN
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc11560:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc11564:	7f a3 eb 78 	mr      r3,r29                                 
ffc11568:	83 01 00 18 	lwz     r24,24(r1)                             
ffc1156c:	7c 08 03 a6 	mtlr    r0                                     
ffc11570:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11574:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11578:	83 61 00 24 	lwz     r27,36(r1)                             
ffc1157c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc11580:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11584:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11588:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc1158c:	38 21 00 38 	addi    r1,r1,56                               
ffc11590:	4e 80 00 20 	blr                                            
ffc11594:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
ffc11598:	80 63 00 28 	lwz     r3,40(r3)                              
ffc1159c:	7c 99 23 78 	mr      r25,r4                                 
ffc115a0:	38 a0 00 00 	li      r5,0                                   
ffc115a4:	38 80 00 00 	li      r4,0                                   
ffc115a8:	7c dc 33 78 	mr      r28,r6                                 
ffc115ac:	4b ff 9e e1 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc115b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc115b4:	40 9e 01 c8 	bne-    cr7,ffc1177c <pipe_write+0x254>        <== NEVER TAKEN
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
ffc115b8:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc115bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc115c0:	41 9e 01 a0 	beq-    cr7,ffc11760 <pipe_write+0x238>        
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
ffc115c4:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc115c8:	3b 60 00 01 	li      r27,1                                  
ffc115cc:	7f 9a 48 40 	cmplw   cr7,r26,r9                             
ffc115d0:	40 9d 01 80 	ble-    cr7,ffc11750 <pipe_write+0x228>        <== ALWAYS TAKEN
ffc115d4:	3b 00 00 00 	li      r24,0                                  
ffc115d8:	3b a0 00 00 	li      r29,0                                  
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
ffc115dc:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc115e0:	7d 0a 48 50 	subf    r8,r10,r9                              
ffc115e4:	7f 88 d8 40 	cmplw   cr7,r8,r27                             
ffc115e8:	40 9c 00 8c 	bge-    cr7,ffc11674 <pipe_write+0x14c>        
      if (LIBIO_NODELAY(iop)) {                                       
ffc115ec:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc115f0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc115f4:	40 82 01 78 	bne-    ffc1176c <pipe_write+0x244>            
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc115f8:	81 3f 00 1c 	lwz     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
ffc115fc:	3b c0 ff fc 	li      r30,-4                                 
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
      PIPE_UNLOCK(pipe);                                              
ffc11600:	80 7f 00 28 	lwz     r3,40(r31)                             
        ret = -EAGAIN;                                                
        goto out_locked;                                              
      }                                                               
                                                                      
      /* Wait until there is chunk bytes space or no reader exists */ 
      pipe->waitingWriters ++;                                        
ffc11604:	39 29 00 01 	addi    r9,r9,1                                
ffc11608:	91 3f 00 1c 	stw     r9,28(r31)                             
      PIPE_UNLOCK(pipe);                                              
ffc1160c:	4b ff a0 21 	bl      ffc0b62c <rtems_semaphore_release>     
      if (! PIPE_WRITEWAIT(pipe))                                     
ffc11610:	80 7f 00 30 	lwz     r3,48(r31)                             
ffc11614:	38 80 00 00 	li      r4,0                                   
ffc11618:	48 00 11 15 	bl      ffc1272c <rtems_barrier_wait>          
ffc1161c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11620:	40 9e 00 08 	bne-    cr7,ffc11628 <pipe_write+0x100>        <== NEVER TAKEN
ffc11624:	3b c0 00 00 	li      r30,0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
ffc11628:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1162c:	38 80 00 00 	li      r4,0                                   
ffc11630:	38 a0 00 00 	li      r5,0                                   
ffc11634:	4b ff 9e 59 	bl      ffc0b48c <rtems_semaphore_obtain>      
ffc11638:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1163c:	40 9e 01 38 	bne-    cr7,ffc11774 <pipe_write+0x24c>        <== NEVER TAKEN
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
ffc11640:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
ffc11644:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc11648:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1164c:	91 3f 00 1c 	stw     r9,28(r31)                             
      if (ret != 0)                                                   
ffc11650:	40 9e 00 b8 	bne-    cr7,ffc11708 <pipe_write+0x1e0>        <== NEVER TAKEN
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
ffc11654:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc11658:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1165c:	41 9e 00 fc 	beq-    cr7,ffc11758 <pipe_write+0x230>        <== NEVER TAKEN
ffc11660:	81 3f 00 04 	lwz     r9,4(r31)                              
                                                                      
  /* 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) {                                
ffc11664:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc11668:	7d 0a 48 50 	subf    r8,r10,r9                              
ffc1166c:	7f 88 d8 40 	cmplw   cr7,r8,r27                             
ffc11670:	41 9c ff 7c 	blt+    cr7,ffc115ec <pipe_write+0xc4>         <== NEVER TAKEN
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
ffc11674:	7c f8 d0 50 	subf    r7,r24,r26                             
ffc11678:	7f 88 38 40 	cmplw   cr7,r8,r7                              
ffc1167c:	7d 1e 43 78 	mr      r30,r8                                 
ffc11680:	40 9d 00 08 	ble-    cr7,ffc11688 <pipe_write+0x160>        
ffc11684:	7c fe 3b 78 	mr      r30,r7                                 
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc11688:	81 1f 00 08 	lwz     r8,8(r31)                              
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc1168c:	7c 99 c2 14 	add     r4,r25,r24                             
ffc11690:	80 7f 00 00 	lwz     r3,0(r31)                              
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
ffc11694:	7d 4a 42 14 	add     r10,r10,r8                             
ffc11698:	7d 0a 4b 96 	divwu   r8,r10,r9                              
ffc1169c:	7d 08 49 d6 	mullw   r8,r8,r9                               
ffc116a0:	7d 48 50 50 	subf    r10,r8,r10                             
ffc116a4:	7f 6a 48 50 	subf    r27,r10,r9                             
    if (chunk > chunk1) {                                             
ffc116a8:	7f 9e d8 00 	cmpw    cr7,r30,r27                            
ffc116ac:	40 9d 00 d8 	ble-    cr7,ffc11784 <pipe_write+0x25c>        
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
ffc116b0:	7f 65 db 78 	mr      r5,r27                                 
ffc116b4:	7c 63 52 14 	add     r3,r3,r10                              
ffc116b8:	48 00 3a 6d 	bl      ffc15124 <memcpy>                      
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
ffc116bc:	7c 9b c2 14 	add     r4,r27,r24                             
ffc116c0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc116c4:	7c 99 22 14 	add     r4,r25,r4                              
ffc116c8:	7c bb f0 50 	subf    r5,r27,r30                             
ffc116cc:	48 00 3a 59 	bl      ffc15124 <memcpy>                      
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
ffc116d0:	81 5f 00 18 	lwz     r10,24(r31)                            
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc116d4:	81 3f 00 0c 	lwz     r9,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc116d8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
ffc116dc:	7d 29 f2 14 	add     r9,r9,r30                              
ffc116e0:	91 3f 00 0c 	stw     r9,12(r31)                             
    if (pipe->waitingReaders > 0)                                     
ffc116e4:	40 9e 00 b0 	bne-    cr7,ffc11794 <pipe_write+0x26c>        
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
ffc116e8:	7f bd f2 14 	add     r29,r29,r30                            
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc116ec:	7f 9a e8 40 	cmplw   cr7,r26,r29                            
ffc116f0:	7f b8 eb 78 	mr      r24,r29                                
ffc116f4:	40 9d 00 10 	ble-    cr7,ffc11704 <pipe_write+0x1dc>        <== ALWAYS TAKEN
ffc116f8:	81 3f 00 04 	lwz     r9,4(r31)                              <== 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;                                                        
ffc116fc:	3b 60 00 01 	li      r27,1                                  <== NOT EXECUTED
ffc11700:	4b ff fe dc 	b       ffc115dc <pipe_write+0xb4>             <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
ffc11704:	3b c0 00 00 	li      r30,0                                  
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
ffc11708:	80 7f 00 28 	lwz     r3,40(r31)                             
ffc1170c:	4b ff 9f 21 	bl      ffc0b62c <rtems_semaphore_release>     
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
ffc11710:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc11714:	41 9d fe 4c 	bgt+    cr7,ffc11560 <pipe_write+0x38>         
    return written;                                                   
  return ret;                                                         
}                                                                     
ffc11718:	80 01 00 3c 	lwz     r0,60(r1)                              
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
ffc1171c:	7f dd f3 78 	mr      r29,r30                                
}                                                                     
ffc11720:	7f a3 eb 78 	mr      r3,r29                                 
ffc11724:	83 01 00 18 	lwz     r24,24(r1)                             
ffc11728:	7c 08 03 a6 	mtlr    r0                                     
ffc1172c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc11730:	83 41 00 20 	lwz     r26,32(r1)                             
ffc11734:	83 61 00 24 	lwz     r27,36(r1)                             
ffc11738:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1173c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc11740:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc11744:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc11748:	38 21 00 38 	addi    r1,r1,56                               
ffc1174c:	4e 80 00 20 	blr                                            
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
ffc11750:	7f 5b d3 78 	mr      r27,r26                                
ffc11754:	4b ff fe 80 	b       ffc115d4 <pipe_write+0xac>             
      pipe->waitingWriters --;                                        
      if (ret != 0)                                                   
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
        ret = -EPIPE;                                                 
ffc11758:	3b c0 ff e0 	li      r30,-32                                <== NOT EXECUTED
ffc1175c:	4b ff ff ac 	b       ffc11708 <pipe_write+0x1e0>            <== NOT EXECUTED
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
    ret = -EPIPE;                                                     
ffc11760:	3b c0 ff e0 	li      r30,-32                                
  const void     *buffer,                                             
  size_t          count,                                              
  rtems_libio_t  *iop                                                 
)                                                                     
{                                                                     
  int chunk, chunk1, written = 0, ret = 0;                            
ffc11764:	3b a0 00 00 	li      r29,0                                  
ffc11768:	4b ff ff a0 	b       ffc11708 <pipe_write+0x1e0>            
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
      if (LIBIO_NODELAY(iop)) {                                       
        ret = -EAGAIN;                                                
ffc1176c:	3b c0 ff f5 	li      r30,-11                                
ffc11770:	4b ff ff 98 	b       ffc11708 <pipe_write+0x1e0>            
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_WRITEWAIT(pipe))                                     
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
ffc11774:	3b c0 ff fc 	li      r30,-4                                 <== NOT EXECUTED
ffc11778:	4b ff ff 98 	b       ffc11710 <pipe_write+0x1e8>            <== NOT EXECUTED
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
ffc1177c:	3b a0 ff fc 	li      r29,-4                                 <== NOT EXECUTED
ffc11780:	4b ff fd e0 	b       ffc11560 <pipe_write+0x38>             <== 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);
ffc11784:	7c 63 52 14 	add     r3,r3,r10                              
ffc11788:	7f c5 f3 78 	mr      r5,r30                                 
ffc1178c:	48 00 39 99 	bl      ffc15124 <memcpy>                      
ffc11790:	4b ff ff 40 	b       ffc116d0 <pipe_write+0x1a8>            
                                                                      
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
ffc11794:	80 7f 00 2c 	lwz     r3,44(r31)                             
ffc11798:	38 81 00 08 	addi    r4,r1,8                                
ffc1179c:	48 00 0e f9 	bl      ffc12694 <rtems_barrier_release>       
ffc117a0:	4b ff ff 48 	b       ffc116e8 <pipe_write+0x1c0>            
                                                                      

ffc09424 <posix_memalign>: ) { /* * Update call statistics */ MSBUMP(memalign_calls, 1);
ffc09424:	3d 40 00 00 	lis     r10,0                                  
ffc09428:	39 4a 34 10 	addi    r10,r10,13328                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc0942c:	38 e4 ff ff 	addi    r7,r4,-1                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc09430:	81 0a 00 08 	lwz     r8,8(r10)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09434:	7c e6 20 39 	and.    r6,r7,r4                               
)                                                                     
{                                                                     
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
ffc09438:	39 08 00 01 	addi    r8,r8,1                                
ffc0943c:	91 0a 00 08 	stw     r8,8(r10)                              
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc09440:	41 82 00 0c 	beq-    ffc0944c <posix_memalign+0x28>         <== ALWAYS TAKEN
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
ffc09444:	38 60 00 16 	li      r3,22                                  
ffc09448:	4e 80 00 20 	blr                                            
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
ffc0944c:	2b 84 00 03 	cmplwi  cr7,r4,3                               
ffc09450:	40 9d ff f4 	ble+    cr7,ffc09444 <posix_memalign+0x20>     
                                                                      
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
ffc09454:	48 00 03 7c 	b       ffc097d0 <rtems_memalign>              
                                                                      

ffc05cc8 <printk>: /** * Kernel printf function requiring minimal infrastructure. */ void printk(const char *fmt, ...) {
ffc05cc8:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc05ccc:	7c 08 02 a6 	mflr    r0                                     
ffc05cd0:	90 81 00 1c 	stw     r4,28(r1)                              
ffc05cd4:	90 01 00 7c 	stw     r0,124(r1)                             
ffc05cd8:	90 a1 00 20 	stw     r5,32(r1)                              
ffc05cdc:	90 c1 00 24 	stw     r6,36(r1)                              
ffc05ce0:	90 e1 00 28 	stw     r7,40(r1)                              
ffc05ce4:	91 01 00 2c 	stw     r8,44(r1)                              
ffc05ce8:	91 21 00 30 	stw     r9,48(r1)                              
ffc05cec:	91 41 00 34 	stw     r10,52(r1)                             
ffc05cf0:	40 86 00 24 	bne-    cr1,ffc05d14 <printk+0x4c>             <== ALWAYS TAKEN
ffc05cf4:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc05cf8:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc05cfc:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc05d00:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc05d04:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc05d08:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc05d0c:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc05d10:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list  ap;       /* points to each unnamed argument in turn */    
                                                                      
  va_start(ap, fmt); /* make ap point to 1st unnamed arg */           
ffc05d14:	39 20 00 01 	li      r9,1                                   
ffc05d18:	99 21 00 08 	stb     r9,8(r1)                               
ffc05d1c:	39 20 00 00 	li      r9,0                                   
  vprintk(fmt, ap);                                                   
ffc05d20:	38 81 00 08 	addi    r4,r1,8                                
 */                                                                   
void printk(const char *fmt, ...)                                     
{                                                                     
  va_list  ap;       /* points to each unnamed argument in turn */    
                                                                      
  va_start(ap, fmt); /* make ap point to 1st unnamed arg */           
ffc05d24:	99 21 00 09 	stb     r9,9(r1)                               
ffc05d28:	39 21 00 80 	addi    r9,r1,128                              
ffc05d2c:	91 21 00 0c 	stw     r9,12(r1)                              
ffc05d30:	39 21 00 18 	addi    r9,r1,24                               
ffc05d34:	91 21 00 10 	stw     r9,16(r1)                              
  vprintk(fmt, ap);                                                   
ffc05d38:	48 00 30 b9 	bl      ffc08df0 <vprintk>                     
  va_end(ap);        /* clean up when done */                         
}                                                                     
ffc05d3c:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc05d40:	38 21 00 78 	addi    r1,r1,120                              
ffc05d44:	7c 08 03 a6 	mtlr    r0                                     
ffc05d48:	4e 80 00 20 	blr                                            
                                                                      

ffc07038 <printk_plugin>: int printk_plugin( void *ignored __attribute__((unused)), const char *format, ... ) {
ffc07038:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc0703c:	7c 08 02 a6 	mflr    r0                                     
ffc07040:	90 a1 00 18 	stw     r5,24(r1)                              
ffc07044:	90 01 00 74 	stw     r0,116(r1)                             
ffc07048:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0704c:	90 e1 00 20 	stw     r7,32(r1)                              
ffc07050:	91 01 00 24 	stw     r8,36(r1)                              
ffc07054:	91 21 00 28 	stw     r9,40(r1)                              
ffc07058:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0705c:	40 86 00 24 	bne-    cr1,ffc07080 <printk_plugin+0x48>      <== ALWAYS TAKEN
ffc07060:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc07064:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc07068:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc0706c:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc07070:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc07074:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc07078:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc0707c:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc07080:	39 20 00 02 	li      r9,2                                   
ffc07084:	99 21 00 08 	stb     r9,8(r1)                               
ffc07088:	39 20 00 00 	li      r9,0                                   
                                                                      
  vprintk( format, arg_pointer );                                     
ffc0708c:	7c 83 23 78 	mr      r3,r4                                  
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc07090:	99 21 00 09 	stb     r9,9(r1)                               
ffc07094:	39 21 00 78 	addi    r9,r1,120                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc07098:	38 81 00 08 	addi    r4,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arg_pointer;                                                
                                                                      
  va_start (arg_pointer, format);                                     
ffc0709c:	91 21 00 0c 	stw     r9,12(r1)                              
ffc070a0:	39 21 00 10 	addi    r9,r1,16                               
ffc070a4:	91 21 00 10 	stw     r9,16(r1)                              
                                                                      
  vprintk( format, arg_pointer );                                     
ffc070a8:	48 00 30 bd 	bl      ffc0a164 <vprintk>                     
                                                                      
  va_end(arg_pointer); /* clean up when done */                       
                                                                      
  return 0;                                                           
}                                                                     
ffc070ac:	38 60 00 00 	li      r3,0                                   
ffc070b0:	80 01 00 74 	lwz     r0,116(r1)                             
ffc070b4:	38 21 00 70 	addi    r1,r1,112                              
ffc070b8:	7c 08 03 a6 	mtlr    r0                                     
ffc070bc:	4e 80 00 20 	blr                                            
                                                                      

ffc0f648 <ramdisk_allocate>: void *area_begin, uint32_t media_block_size, rtems_blkdev_bnum media_block_count, bool trace ) {
ffc0f648:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0f64c:	7c 08 02 a6 	mflr    r0                                     
ffc0f650:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0f654:	7c 7e 1b 78 	mr      r30,r3                                 
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0f658:	38 60 00 10 	li      r3,16                                  
  void *area_begin,                                                   
  uint32_t media_block_size,                                          
  rtems_blkdev_bnum media_block_count,                                
  bool trace                                                          
)                                                                     
{                                                                     
ffc0f65c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0f660:	7c db 33 78 	mr      r27,r6                                 
ffc0f664:	93 81 00 10 	stw     r28,16(r1)                             
ffc0f668:	7c bc 2b 78 	mr      r28,r5                                 
ffc0f66c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0f670:	7c 9d 23 78 	mr      r29,r4                                 
ffc0f674:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0f678:	90 01 00 24 	stw     r0,36(r1)                              
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
ffc0f67c:	4b ff 6c ed 	bl      ffc06368 <malloc>                      
                                                                      
  if (rd == NULL) {                                                   
ffc0f680:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0f684:	41 82 00 2c 	beq-    ffc0f6b0 <ramdisk_allocate+0x68>       <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
ffc0f688:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0f68c:	41 9e 00 4c 	beq-    cr7,ffc0f6d8 <ramdisk_allocate+0x90>   
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
ffc0f690:	39 20 00 00 	li      r9,0                                   
ffc0f694:	99 3f 00 0d 	stb     r9,13(r31)                             
  }                                                                   
  rd->block_size = media_block_size;                                  
  rd->block_num = media_block_count;                                  
  rd->area = area_begin;                                              
  rd->trace = trace;                                                  
  rd->initialized = true;                                             
ffc0f698:	39 20 00 01 	li      r9,1                                   
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
  }                                                                   
  rd->block_size = media_block_size;                                  
ffc0f69c:	93 bf 00 00 	stw     r29,0(r31)                             
  rd->block_num = media_block_count;                                  
ffc0f6a0:	93 9f 00 04 	stw     r28,4(r31)                             
  rd->area = area_begin;                                              
ffc0f6a4:	93 df 00 08 	stw     r30,8(r31)                             
  rd->trace = trace;                                                  
ffc0f6a8:	9b 7f 00 0e 	stb     r27,14(r31)                            
  rd->initialized = true;                                             
ffc0f6ac:	99 3f 00 0c 	stb     r9,12(r31)                             
                                                                      
  return rd;                                                          
}                                                                     
ffc0f6b0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f6b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f6b8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f6bc:	7c 08 03 a6 	mtlr    r0                                     
ffc0f6c0:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f6c4:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f6c8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f6cc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f6d0:	38 21 00 20 	addi    r1,r1,32                               
ffc0f6d4:	4e 80 00 20 	blr                                            
  if (rd == NULL) {                                                   
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(media_block_count, media_block_size);         
ffc0f6d8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0f6dc:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f6e0:	4b ff 65 29 	bl      ffc05c08 <calloc>                      
    if (area_begin == NULL) {                                         
ffc0f6e4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc0f6e8:	41 82 00 10 	beq-    ffc0f6f8 <ramdisk_allocate+0xb0>       <== NEVER TAKEN
      free(rd);                                                       
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
ffc0f6ec:	39 20 00 01 	li      r9,1                                   
ffc0f6f0:	99 3f 00 0d 	stb     r9,13(r31)                             
ffc0f6f4:	4b ff ff a4 	b       ffc0f698 <ramdisk_allocate+0x50>       
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(media_block_count, media_block_size);         
    if (area_begin == NULL) {                                         
      free(rd);                                                       
ffc0f6f8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0f6fc:	4b ff 66 1d 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
      return NULL;                                                    
ffc0f700:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc0f704:	4b ff ff ac 	b       ffc0f6b0 <ramdisk_allocate+0x68>       <== NOT EXECUTED
                                                                      

ffc0f708 <ramdisk_free>: return rd; } void ramdisk_free(ramdisk *rd) {
ffc0f708:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f70c:	7c 08 02 a6 	mflr    r0                                     
ffc0f710:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (rd != NULL) {                                                   
ffc0f714:	7c 7f 1b 79 	mr.     r31,r3                                 
                                                                      
  return rd;                                                          
}                                                                     
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
ffc0f718:	90 01 00 14 	stw     r0,20(r1)                              
  if (rd != NULL) {                                                   
ffc0f71c:	41 82 00 48 	beq-    ffc0f764 <ramdisk_free+0x5c>           <== NEVER TAKEN
    if (rd->malloced) {                                               
ffc0f720:	89 3f 00 0d 	lbz     r9,13(r31)                             
ffc0f724:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f728:	40 9e 00 1c 	bne-    cr7,ffc0f744 <ramdisk_free+0x3c>       
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
  }                                                                   
}                                                                     
ffc0f72c:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
ffc0f730:	7f e3 fb 78 	mr      r3,r31                                 
  }                                                                   
}                                                                     
ffc0f734:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f738:	7c 08 03 a6 	mtlr    r0                                     
ffc0f73c:	38 21 00 10 	addi    r1,r1,16                               
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
ffc0f740:	4b ff 65 d8 	b       ffc05d18 <free>                        
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
ffc0f744:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0f748:	4b ff 65 d1 	bl      ffc05d18 <free>                        
    }                                                                 
    free(rd);                                                         
  }                                                                   
}                                                                     
ffc0f74c:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
ffc0f750:	7f e3 fb 78 	mr      r3,r31                                 
  }                                                                   
}                                                                     
ffc0f754:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f758:	7c 08 03 a6 	mtlr    r0                                     
ffc0f75c:	38 21 00 10 	addi    r1,r1,16                               
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
ffc0f760:	4b ff 65 b8 	b       ffc05d18 <free>                        
  }                                                                   
}                                                                     
ffc0f764:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0f768:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc0f76c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0f770:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0f774:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1130c <ramdisk_initialize>: rtems_device_driver ramdisk_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *arg __attribute__((unused))) {
ffc1130c:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc11310:	7c 08 02 a6 	mflr    r0                                     
ffc11314:	93 61 00 34 	stw     r27,52(r1)                             
ffc11318:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1131c:	93 c1 00 40 	stw     r30,64(r1)                             
ffc11320:	90 01 00 4c 	stw     r0,76(r1)                              
ffc11324:	92 c1 00 20 	stw     r22,32(r1)                             
ffc11328:	92 e1 00 24 	stw     r23,36(r1)                             
ffc1132c:	93 01 00 28 	stw     r24,40(r1)                             
ffc11330:	93 21 00 2c 	stw     r25,44(r1)                             
ffc11334:	93 41 00 30 	stw     r26,48(r1)                             
ffc11338:	93 81 00 38 	stw     r28,56(r1)                             
ffc1133c:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc11340:	93 e1 00 44 	stw     r31,68(r1)                             
    rtems_device_minor_number i;                                      
    rtems_ramdisk_config *c = rtems_ramdisk_configuration;            
    struct ramdisk *r;                                                
    rtems_status_code rc;                                             
                                                                      
    rc = rtems_disk_io_initialize();                                  
ffc11344:	4b ff 51 b5 	bl      ffc064f8 <rtems_disk_io_initialize>    
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc11348:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc1134c:	41 82 00 40 	beq-    ffc1138c <ramdisk_initialize+0x80>     <== ALWAYS TAKEN
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11350:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
    rtems_ramdisk_config *c = rtems_ramdisk_configuration;            
    struct ramdisk *r;                                                
    rtems_status_code rc;                                             
                                                                      
    rc = rtems_disk_io_initialize();                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc11354:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc11358:	82 c1 00 20 	lwz     r22,32(r1)                             <== NOT EXECUTED
ffc1135c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11360:	82 e1 00 24 	lwz     r23,36(r1)                             <== NOT EXECUTED
ffc11364:	83 01 00 28 	lwz     r24,40(r1)                             <== NOT EXECUTED
ffc11368:	83 21 00 2c 	lwz     r25,44(r1)                             <== NOT EXECUTED
ffc1136c:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc11370:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc11374:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc11378:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc1137c:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc11380:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc11384:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc11388:	4e 80 00 20 	blr                                            <== 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));
ffc1138c:	3f 20 00 00 	lis     r25,0                                  
ffc11390:	83 b9 27 68 	lwz     r29,10088(r25)                         
ffc11394:	38 80 00 10 	li      r4,16                                  
ffc11398:	7f a3 eb 78 	mr      r3,r29                                 
ffc1139c:	4b ff 65 29 	bl      ffc078c4 <calloc>                      
    r->trace = false;                                                 
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
ffc113a0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
     * 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));
ffc113a4:	7c 7f 1b 78 	mr      r31,r3                                 
    r->trace = false;                                                 
ffc113a8:	9b c3 00 0e 	stb     r30,14(r3)                             
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
ffc113ac:	41 9e 00 b0 	beq-    cr7,ffc1145c <ramdisk_initialize+0x150><== NEVER TAKEN
ffc113b0:	3d 20 ff c3 	lis     r9,-61                                 
ffc113b4:	39 29 92 f4 	addi    r9,r9,-27916                           
ffc113b8:	3f c0 00 00 	lis     r30,0                                  
    {                                                                 
        dev_t dev = rtems_filesystem_make_dev_t(major, i);            
        char name [] = RAMDISK_DEVICE_BASE_NAME "a";                  
ffc113bc:	82 e9 00 00 	lwz     r23,0(r9)                              
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
            r->area = c->location;                                    
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
ffc113c0:	3e c0 ff c1 	lis     r22,-63                                
    r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk));
    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";                  
ffc113c4:	83 09 00 04 	lwz     r24,4(r9)                              
     * 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++)  
ffc113c8:	3b de 20 d4 	addi    r30,r30,8404                           
ffc113cc:	3b a0 00 00 	li      r29,0                                  
ffc113d0:	3b 39 27 68 	addi    r25,r25,10088                          
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
            r->area = c->location;                                    
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
ffc113d4:	3a d6 14 dc 	addi    r22,r22,5340                           
        {                                                             
            if (r->malloced)                                          
            {                                                         
                free(r->area);                                        
            }                                                         
            r->initialized = false;                                   
ffc113d8:	3b 80 00 00 	li      r28,0                                  
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
ffc113dc:	3b 40 00 01 	li      r26,1                                  
        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;                                
        r->block_num = c->block_num;                                  
        if (c->location == NULL)                                      
ffc113e0:	81 3e 00 08 	lwz     r9,8(r30)                              
    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;                                
ffc113e4:	80 be 00 00 	lwz     r5,0(r30)                              
        r->block_num = c->block_num;                                  
        if (c->location == NULL)                                      
ffc113e8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    {                                                                 
        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;                                
        r->block_num = c->block_num;                                  
ffc113ec:	80 de 00 04 	lwz     r6,4(r30)                              
    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;                 
ffc113f0:	9b a1 00 10 	stb     r29,16(r1)                             
        r->block_size = c->block_size;                                
ffc113f4:	90 bf 00 00 	stw     r5,0(r31)                              
        r->block_num = c->block_num;                                  
ffc113f8:	90 df 00 04 	stw     r6,4(r31)                              
    r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk));
    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";                  
ffc113fc:	92 e1 00 08 	stw     r23,8(r1)                              
ffc11400:	93 01 00 0c 	stw     r24,12(r1)                             
        name [sizeof(RAMDISK_DEVICE_BASE_NAME)] += i;                 
        r->block_size = c->block_size;                                
        r->block_num = c->block_num;                                  
        if (c->location == NULL)                                      
ffc11404:	41 9e 00 a0 	beq-    cr7,ffc114a4 <ramdisk_initialize+0x198><== ALWAYS TAKEN
                r->initialized = true;                                
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            r->malloced = false;                                      
ffc11408:	9b 9f 00 0d 	stb     r28,13(r31)                            <== NOT EXECUTED
            r->initialized = true;                                    
ffc1140c:	9b 5f 00 0c 	stb     r26,12(r31)                            <== NOT EXECUTED
            r->area = c->location;                                    
ffc11410:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
ffc11414:	7f a4 eb 78 	mr      r4,r29                                 
ffc11418:	7f e8 fb 78 	mr      r8,r31                                 
ffc1141c:	7e c7 b3 78 	mr      r7,r22                                 
ffc11420:	39 21 00 08 	addi    r9,r1,8                                
ffc11424:	7f 63 db 78 	mr      r3,r27                                 
ffc11428:	4b ff 4d 2d 	bl      ffc06154 <rtems_disk_create_phys>      
                                    ramdisk_ioctl, r, name);          
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc1142c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11430:	41 9e 00 14 	beq-    cr7,ffc11444 <ramdisk_initialize+0x138><== ALWAYS TAKEN
        {                                                             
            if (r->malloced)                                          
ffc11434:	89 3f 00 0d 	lbz     r9,13(r31)                             <== NOT EXECUTED
ffc11438:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc1143c:	40 9e 00 5c 	bne-    cr7,ffc11498 <ramdisk_initialize+0x18c><== NOT EXECUTED
            {                                                         
                free(r->area);                                        
            }                                                         
            r->initialized = false;                                   
ffc11440:	9b 9f 00 0c 	stb     r28,12(r31)                            <== 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++)  
ffc11444:	81 39 00 00 	lwz     r9,0(r25)                              
ffc11448:	3b bd 00 01 	addi    r29,r29,1                              
ffc1144c:	3b de 00 0c 	addi    r30,r30,12                             
ffc11450:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc11454:	3b ff 00 10 	addi    r31,r31,16                             
ffc11458:	41 9d ff 88 	bgt+    cr7,ffc113e0 <ramdisk_initialize+0xd4> <== NEVER TAKEN
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc1145c:	80 01 00 4c 	lwz     r0,76(r1)                              
                free(r->area);                                        
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
ffc11460:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc11464:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc11468:	7c 08 03 a6 	mtlr    r0                                     
ffc1146c:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc11470:	83 01 00 28 	lwz     r24,40(r1)                             
ffc11474:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc11478:	83 41 00 30 	lwz     r26,48(r1)                             
ffc1147c:	83 61 00 34 	lwz     r27,52(r1)                             
ffc11480:	83 81 00 38 	lwz     r28,56(r1)                             
ffc11484:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc11488:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc1148c:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc11490:	38 21 00 48 	addi    r1,r1,72                               
ffc11494:	4e 80 00 20 	blr                                            
                                    ramdisk_ioctl, r, name);          
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            if (r->malloced)                                          
            {                                                         
                free(r->area);                                        
ffc11498:	80 7f 00 08 	lwz     r3,8(r31)                              <== NOT EXECUTED
ffc1149c:	4b ff 65 39 	bl      ffc079d4 <free>                        <== NOT EXECUTED
ffc114a0:	4b ff ff a0 	b       ffc11440 <ramdisk_initialize+0x134>    <== 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);           
ffc114a4:	7c 66 29 d6 	mullw   r3,r6,r5                               
ffc114a8:	90 a1 00 18 	stw     r5,24(r1)                              
ffc114ac:	90 c1 00 1c 	stw     r6,28(r1)                              
        name [sizeof(RAMDISK_DEVICE_BASE_NAME)] += i;                 
        r->block_size = c->block_size;                                
        r->block_num = c->block_num;                                  
        if (c->location == NULL)                                      
        {                                                             
            r->malloced = true;                                       
ffc114b0:	9b 5f 00 0d 	stb     r26,13(r31)                            
            r->area = malloc(r->block_size * r->block_num);           
ffc114b4:	4b ff 6c b9 	bl      ffc0816c <malloc>                      
            if (r->area == NULL) /* No enough memory for this disk */ 
ffc114b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
        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);           
ffc114bc:	90 7f 00 08 	stw     r3,8(r31)                              
            if (r->area == NULL) /* No enough memory for this disk */ 
ffc114c0:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc114c4:	80 c1 00 1c 	lwz     r6,28(r1)                              
ffc114c8:	41 9e 00 0c 	beq-    cr7,ffc114d4 <ramdisk_initialize+0x1c8><== NEVER TAKEN
                r->initialized = false;                               
                continue;                                             
            }                                                         
            else                                                      
            {                                                         
                r->initialized = true;                                
ffc114cc:	9b 5f 00 0c 	stb     r26,12(r31)                            
ffc114d0:	4b ff ff 44 	b       ffc11414 <ramdisk_initialize+0x108>    
        {                                                             
            r->malloced = true;                                       
            r->area = malloc(r->block_size * r->block_num);           
            if (r->area == NULL) /* No enough memory for this disk */ 
            {                                                         
                r->initialized = false;                               
ffc114d4:	98 7f 00 0c 	stb     r3,12(r31)                             <== NOT EXECUTED
ffc114d8:	4b ff ff 6c 	b       ffc11444 <ramdisk_initialize+0x138>    <== NOT EXECUTED
                                                                      

ffc0f498 <ramdisk_ioctl>: int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) { struct ramdisk *rd = rtems_disk_get_driver_data(dd); switch (req)
ffc0f498:	3d 40 20 00 	lis     r10,8192                               
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
ffc0f49c:	94 21 ff e0 	stwu    r1,-32(r1)                             
    struct ramdisk *rd = rtems_disk_get_driver_data(dd);              
                                                                      
    switch (req)                                                      
ffc0f4a0:	61 4a 42 07 	ori     r10,r10,16903                          
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
ffc0f4a4:	7c 08 02 a6 	mflr    r0                                     
    struct ramdisk *rd = rtems_disk_get_driver_data(dd);              
                                                                      
    switch (req)                                                      
ffc0f4a8:	7f 84 50 00 	cmpw    cr7,r4,r10                             
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
ffc0f4ac:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0f4b0:	90 01 00 24 	stw     r0,36(r1)                              
ffc0f4b4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0f4b8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0f4bc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0f4c0:	93 e1 00 1c 	stw     r31,28(r1)                             
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0f4c4:	83 a3 00 3c 	lwz     r29,60(r3)                             
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
    struct ramdisk *rd = rtems_disk_get_driver_data(dd);              
                                                                      
    switch (req)                                                      
ffc0f4c8:	41 9e 00 34 	beq-    cr7,ffc0f4fc <ramdisk_ioctl+0x64>      
ffc0f4cc:	6c 8a c0 18 	xoris   r10,r4,49176                           
ffc0f4d0:	2f 8a 42 01 	cmpwi   cr7,r10,16897                          
ffc0f4d4:	41 9e 00 68 	beq-    cr7,ffc0f53c <ramdisk_ioctl+0xa4>      
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0f4d8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f4dc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f4e0:	7c 08 03 a6 	mtlr    r0                                     
ffc0f4e4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f4e8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f4ec:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f4f0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f4f4:	38 21 00 20 	addi    r1,r1,32                               
              ramdisk_free(rd);                                       
            }                                                         
            break;                                                    
                                                                      
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
ffc0f4f8:	48 00 32 e4 	b       ffc127dc <rtems_blkdev_ioctl>          
            }                                                         
            break;                                                    
        }                                                             
                                                                      
        case RTEMS_BLKIO_DELETED:                                     
            if (rd->free_at_delete_request) {                         
ffc0f4fc:	89 3d 00 0f 	lbz     r9,15(r29)                             
ffc0f500:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f504:	40 9e 01 38 	bne-    cr7,ffc0f63c <ramdisk_ioctl+0x1a4>     
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
ffc0f508:	48 00 7e 61 	bl      ffc17368 <__errno>                     
    return -1;                                                        
}                                                                     
ffc0f50c:	80 01 00 24 	lwz     r0,36(r1)                              
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
ffc0f510:	39 20 00 16 	li      r9,22                                  
    return -1;                                                        
}                                                                     
ffc0f514:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f518:	7c 08 03 a6 	mtlr    r0                                     
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
ffc0f51c:	91 23 00 00 	stw     r9,0(r3)                               
    return -1;                                                        
ffc0f520:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0f524:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f528:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f52c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f530:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f534:	38 21 00 20 	addi    r1,r1,32                               
ffc0f538:	4e 80 00 20 	blr                                            
    {                                                                 
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
                                                                      
            switch (r->req)                                           
ffc0f53c:	81 25 00 00 	lwz     r9,0(r5)                               
ffc0f540:	7c be 2b 78 	mr      r30,r5                                 
ffc0f544:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f548:	40 9e 00 88 	bne-    cr7,ffc0f5d0 <ramdisk_ioctl+0x138>     
#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++)           
ffc0f54c:	81 25 00 10 	lwz     r9,16(r5)                              
ffc0f550:	3b e5 00 18 	addi    r31,r5,24                              
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0f554:	83 7d 00 08 	lwz     r27,8(r29)                             
#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++)           
ffc0f558:	3b 80 00 00 	li      r28,0                                  
ffc0f55c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f560:	41 9e 00 34 	beq-    cr7,ffc0f594 <ramdisk_ioctl+0xfc>      <== NEVER TAKEN
#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);
ffc0f564:	80 9f 00 00 	lwz     r4,0(r31)                              
#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++)           
ffc0f568:	3b 9c 00 01 	addi    r28,r28,1                              
#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);
ffc0f56c:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0f570:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0f574:	7c 84 49 d6 	mullw   r4,r4,r9                               
ffc0f578:	80 bf 00 04 	lwz     r5,4(r31)                              
#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++)           
ffc0f57c:	3b ff 00 10 	addi    r31,r31,16                             
#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);
ffc0f580:	7c 9b 22 14 	add     r4,r27,r4                              
ffc0f584:	48 00 89 d9 	bl      ffc17f5c <memcpy>                      
#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++)           
ffc0f588:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0f58c:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc0f590:	41 9c ff d4 	blt+    cr7,ffc0f564 <ramdisk_ioctl+0xcc>      <== NEVER TAKEN
static inline void rtems_blkdev_request_done(                         
  rtems_blkdev_request *req,                                          
  rtems_status_code status                                            
)                                                                     
{                                                                     
  (*req->done)(req, status);                                          
ffc0f594:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0f598:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f59c:	38 80 00 00 	li      r4,0                                   
ffc0f5a0:	7d 29 03 a6 	mtctr   r9                                     
ffc0f5a4:	4e 80 04 21 	bctrl                                          
            {                                                         
                case RTEMS_BLKDEV_REQ_READ:                           
                    return ramdisk_read(rd, r);                       
                                                                      
                case RTEMS_BLKDEV_REQ_WRITE:                          
                    return ramdisk_write(rd, r);                      
ffc0f5a8:	38 60 00 00 	li      r3,0                                   
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0f5ac:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0f5b0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0f5b4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f5b8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0f5bc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0f5c0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0f5c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0f5c8:	38 21 00 20 	addi    r1,r1,32                               
ffc0f5cc:	4e 80 00 20 	blr                                            
    {                                                                 
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
                                                                      
            switch (r->req)                                           
ffc0f5d0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc0f5d4:	40 9e ff 34 	bne+    cr7,ffc0f508 <ramdisk_ioctl+0x70>      <== NEVER TAKEN
                                                                      
#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++)           
ffc0f5d8:	81 25 00 10 	lwz     r9,16(r5)                              
ffc0f5dc:	3b e5 00 18 	addi    r31,r5,24                              
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
    return -1;                                                        
}                                                                     
ffc0f5e0:	83 7d 00 08 	lwz     r27,8(r29)                             
                                                                      
#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++)           
ffc0f5e4:	3b 80 00 00 	li      r28,0                                  
ffc0f5e8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f5ec:	41 be ff a8 	beq-    cr7,ffc0f594 <ramdisk_ioctl+0xfc>      <== NEVER TAKEN
#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);
ffc0f5f0:	80 7f 00 00 	lwz     r3,0(r31)                              
                                                                      
#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++)           
ffc0f5f4:	3b 9c 00 01 	addi    r28,r28,1                              
#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);
ffc0f5f8:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0f5fc:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0f600:	7c 63 49 d6 	mullw   r3,r3,r9                               
ffc0f604:	80 bf 00 04 	lwz     r5,4(r31)                              
                                                                      
#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++)           
ffc0f608:	3b ff 00 10 	addi    r31,r31,16                             
#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);
ffc0f60c:	7c 7b 1a 14 	add     r3,r27,r3                              
ffc0f610:	48 00 89 4d 	bl      ffc17f5c <memcpy>                      
                                                                      
#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++)           
ffc0f614:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0f618:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc0f61c:	41 9c ff d4 	blt+    cr7,ffc0f5f0 <ramdisk_ioctl+0x158>     
ffc0f620:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc0f624:	7f c3 f3 78 	mr      r3,r30                                 
ffc0f628:	38 80 00 00 	li      r4,0                                   
ffc0f62c:	7d 29 03 a6 	mtctr   r9                                     
ffc0f630:	4e 80 04 21 	bctrl                                          
            {                                                         
                case RTEMS_BLKDEV_REQ_READ:                           
                    return ramdisk_read(rd, r);                       
                                                                      
                case RTEMS_BLKDEV_REQ_WRITE:                          
                    return ramdisk_write(rd, r);                      
ffc0f634:	38 60 00 00 	li      r3,0                                   
ffc0f638:	4b ff ff 74 	b       ffc0f5ac <ramdisk_ioctl+0x114>         
            break;                                                    
        }                                                             
                                                                      
        case RTEMS_BLKIO_DELETED:                                     
            if (rd->free_at_delete_request) {                         
              ramdisk_free(rd);                                       
ffc0f63c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0f640:	48 00 00 c9 	bl      ffc0f708 <ramdisk_free>                
ffc0f644:	4b ff fe c4 	b       ffc0f508 <ramdisk_ioctl+0x70>          
                                                                      

ffc0f778 <ramdisk_register>: rtems_blkdev_bnum media_block_count, bool trace, const char *disk, dev_t *dev_ptr ) {
ffc0f778:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0f77c:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0f780:	39 40 00 00 	li      r10,0                                  
ffc0f784:	7c 29 0b 78 	mr      r9,r1                                  
  rtems_blkdev_bnum media_block_count,                                
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0f788:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0f78c:	7c db 33 78 	mr      r27,r6                                 
ffc0f790:	93 81 00 20 	stw     r28,32(r1)                             
ffc0f794:	7c fc 3b 78 	mr      r28,r7                                 
ffc0f798:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0f79c:	7c bd 2b 78 	mr      r29,r5                                 
ffc0f7a0:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0f7a4:	7c 7e 1b 78 	mr      r30,r3                                 
  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);             
ffc0f7a8:	38 60 00 00 	li      r3,0                                   
  rtems_blkdev_bnum media_block_count,                                
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0f7ac:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0f7b0:	7c 9f 23 78 	mr      r31,r4                                 
  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);             
ffc0f7b4:	3c 80 ff c2 	lis     r4,-62                                 
  rtems_blkdev_bnum media_block_count,                                
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0f7b8:	90 01 00 34 	stw     r0,52(r1)                              
  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);             
ffc0f7bc:	38 84 db 6c 	addi    r4,r4,-9364                            
  rtems_blkdev_bnum media_block_count,                                
  bool trace,                                                         
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
ffc0f7c0:	93 41 00 18 	stw     r26,24(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
ffc0f7c4:	95 49 00 08 	stwu    r10,8(r9)                              
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
ffc0f7c8:	7d 25 4b 78 	mr      r5,r9                                  
ffc0f7cc:	4b ff c1 c9 	bl      ffc0b994 <rtems_io_register_driver>    
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0f7d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f7d4:	41 9e 00 30 	beq-    cr7,ffc0f804 <ramdisk_register+0x8c>   <== ALWAYS TAKEN
    return RTEMS_UNSATISFIED;                                         
ffc0f7d8:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f7dc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc0f7e0:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0f7e4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f7e8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0f7ec:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0f7f0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0f7f4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0f7f8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0f7fc:	38 21 00 30 	addi    r1,r1,48                               
ffc0f800:	4e 80 00 20 	blr                                            
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  rd = ramdisk_allocate(NULL, media_block_size, media_block_count, trace);
ffc0f804:	7f a6 eb 78 	mr      r6,r29                                 
ffc0f808:	7f c4 f3 78 	mr      r4,r30                                 
ffc0f80c:	7f e5 fb 78 	mr      r5,r31                                 
ffc0f810:	4b ff fe 39 	bl      ffc0f648 <ramdisk_allocate>            
  if (rd == NULL) {                                                   
ffc0f814:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0f818:	41 82 00 4c 	beq-    ffc0f864 <ramdisk_register+0xec>       <== NEVER TAKEN
  rtems_device_minor_number _minor                                    
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.__overlay.major = _major;                                      
ffc0f81c:	83 41 00 08 	lwz     r26,8(r1)                              
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  dev = rtems_filesystem_make_dev_t(major, 0);                        
                                                                      
  sc = rtems_disk_create_phys(                                        
ffc0f820:	3c e0 ff c1 	lis     r7,-63                                 
ffc0f824:	7f 69 db 78 	mr      r9,r27                                 
ffc0f828:	7f 43 d3 78 	mr      r3,r26                                 
ffc0f82c:	38 80 00 00 	li      r4,0                                   
ffc0f830:	7f c5 f3 78 	mr      r5,r30                                 
ffc0f834:	7f e6 fb 78 	mr      r6,r31                                 
ffc0f838:	38 e7 f4 98 	addi    r7,r7,-2920                            
ffc0f83c:	7f a8 eb 78 	mr      r8,r29                                 
ffc0f840:	4b ff 55 71 	bl      ffc04db0 <rtems_disk_create_phys>      
    media_block_count,                                                
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc0f844:	7c 69 1b 79 	mr.     r9,r3                                  
ffc0f848:	40 82 00 14 	bne-    ffc0f85c <ramdisk_register+0xe4>       <== NEVER TAKEN
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0f84c:	93 5c 00 00 	stw     r26,0(r28)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0f850:	38 60 00 00 	li      r3,0                                   
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
ffc0f854:	91 3c 00 04 	stw     r9,4(r28)                              
ffc0f858:	4b ff ff 84 	b       ffc0f7dc <ramdisk_register+0x64>       
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    ramdisk_free(rd);                                                 
ffc0f85c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc0f860:	4b ff fe a9 	bl      ffc0f708 <ramdisk_free>                <== NOT EXECUTED
    rtems_io_unregister_driver(major);                                
ffc0f864:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc0f868:	4b ff c2 cd 	bl      ffc0bb34 <rtems_io_unregister_driver>  <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f86c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc0f870:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    ramdisk_free(rd);                                                 
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0f874:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0f878:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0f87c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc0f880:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc0f884:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc0f888:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc0f88c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc0f890:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc0f894:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1cd28 <read>: size_t count ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
ffc1cd28:	3d 20 00 00 	lis     r9,0                                   
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1cd2c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc1cd30:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1cd34:	81 29 27 58 	lwz     r9,10072(r9)                           
ssize_t read(                                                         
  int         fd,                                                     
  void       *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1cd38:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1cd3c:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc1cd40:	40 9c 00 68 	bge-    cr7,ffc1cda8 <read+0x80>               
  iop = rtems_libio_iop( fd );                                        
ffc1cd44:	3d 20 00 00 	lis     r9,0                                   
ffc1cd48:	81 29 28 08 	lwz     r9,10248(r9)                           
ffc1cd4c:	1c 63 00 38 	mulli   r3,r3,56                               
ffc1cd50:	7c 69 1a 14 	add     r3,r9,r3                               
  rtems_libio_check_is_open( iop );                                   
ffc1cd54:	81 23 00 10 	lwz     r9,16(r3)                              
ffc1cd58:	71 27 01 00 	andi.   r7,r9,256                              
ffc1cd5c:	41 82 00 4c 	beq-    ffc1cda8 <read+0x80>                   
  rtems_libio_check_buffer( buffer );                                 
ffc1cd60:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1cd64:	41 9e 00 58 	beq-    cr7,ffc1cdbc <read+0x94>               <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc1cd68:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1cd6c:	41 9e 00 28 	beq-    cr7,ffc1cd94 <read+0x6c>               
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc1cd70:	71 2a 00 02 	andi.   r10,r9,2                               
ffc1cd74:	41 82 00 34 	beq-    ffc1cda8 <read+0x80>                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );     
ffc1cd78:	81 23 00 24 	lwz     r9,36(r3)                              
}                                                                     
ffc1cd7c:	80 01 00 0c 	lwz     r0,12(r1)                              
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );     
ffc1cd80:	81 29 00 08 	lwz     r9,8(r9)                               
}                                                                     
ffc1cd84:	7c 08 03 a6 	mtlr    r0                                     
ffc1cd88:	38 21 00 08 	addi    r1,r1,8                                
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );     
ffc1cd8c:	7d 29 03 a6 	mtctr   r9                                     
ffc1cd90:	4e 80 04 20 	bctr                                           
                                                                      
  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 );                                   
ffc1cd94:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );     
}                                                                     
ffc1cd98:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1cd9c:	38 21 00 08 	addi    r1,r1,8                                
ffc1cda0:	7c 08 03 a6 	mtlr    r0                                     
ffc1cda4:	4e 80 00 20 	blr                                            
  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 );
ffc1cda8:	4b ff 52 d1 	bl      ffc12078 <__errno>                     
ffc1cdac:	39 20 00 09 	li      r9,9                                   
ffc1cdb0:	91 23 00 00 	stw     r9,0(r3)                               
ffc1cdb4:	38 60 ff ff 	li      r3,-1                                  
ffc1cdb8:	4b ff ff e0 	b       ffc1cd98 <read+0x70>                   
  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 );                                 
ffc1cdbc:	4b ff 52 bd 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc1cdc0:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc1cdc4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1cdc8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1cdcc:	4b ff ff cc 	b       ffc1cd98 <read+0x70>                   <== NOT EXECUTED
                                                                      

ffc069a8 <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) {
ffc069a8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc069ac:	7c 08 02 a6 	mflr    r0                                     
ffc069b0:	93 c1 00 38 	stw     r30,56(r1)                             
    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))          
ffc069b4:	7c be 2b 79 	mr.     r30,r5                                 
 *      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)
{                                                                     
ffc069b8:	93 a1 00 34 	stw     r29,52(r1)                             
    int                  i;                                           
    rtems_sector_data_t *sector = NULL;                               
ffc069bc:	3b a0 00 00 	li      r29,0                                  
 *      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)
{                                                                     
ffc069c0:	90 01 00 44 	stw     r0,68(r1)                              
ffc069c4:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc069c8:	93 01 00 20 	stw     r24,32(r1)                             
ffc069cc:	93 21 00 24 	stw     r25,36(r1)                             
ffc069d0:	93 41 00 28 	stw     r26,40(r1)                             
ffc069d4:	93 61 00 2c 	stw     r27,44(r1)                             
ffc069d8:	93 81 00 30 	stw     r28,48(r1)                             
ffc069dc:	93 e1 00 3c 	stw     r31,60(r1)                             
    int                  i;                                           
    rtems_sector_data_t *sector = NULL;                               
ffc069e0:	93 a1 00 0c 	stw     r29,12(r1)                             
    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))          
ffc069e4:	41 82 00 bc 	beq-    ffc06aa0 <read_extended_partition+0xf8><== NEVER TAKEN
ffc069e8:	81 3e 00 10 	lwz     r9,16(r30)                             
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
ffc069ec:	3b e0 00 19 	li      r31,25                                 
    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))          
ffc069f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc069f4:	41 9e 00 40 	beq-    cr7,ffc06a34 <read_extended_partition+0x8c><== NEVER TAKEN
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    /* get start sector of current extended partition */              
    here = ext_part->start;                                           
ffc069f8:	83 3e 00 04 	lwz     r25,4(r30)                             
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
ffc069fc:	38 a0 00 00 	li      r5,0                                   
ffc06a00:	38 e0 00 00 	li      r7,0                                   
    if (sector == NULL)                                               
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
ffc06a04:	57 3f 48 2c 	rlwinm  r31,r25,9,0,22                         
    new_off = lseek(fd, off, SEEK_SET);                               
ffc06a08:	7f e6 fb 78 	mr      r6,r31                                 
ffc06a0c:	7c 7b 1b 78 	mr      r27,r3                                 
ffc06a10:	7c 9c 23 78 	mr      r28,r4                                 
ffc06a14:	48 00 15 49 	bl      ffc07f5c <lseek>                       
    if (new_off != off) {                                             
ffc06a18:	7f 9d 18 00 	cmpw    cr7,r29,r3                             
ffc06a1c:	41 9e 00 50 	beq-    cr7,ffc06a6c <read_extended_partition+0xc4><== ALWAYS TAKEN
        return RTEMS_IO_ERROR;                                        
ffc06a20:	3b e0 00 1b 	li      r31,27                                 <== NOT EXECUTED
    /* get first extended partition sector */                         
                                                                      
    rc = get_sector(fd, here, §or);                               
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        if (sector)                                                   
ffc06a24:	80 61 00 0c 	lwz     r3,12(r1)                              <== NOT EXECUTED
ffc06a28:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc06a2c:	41 9e 00 08 	beq-    cr7,ffc06a34 <read_extended_partition+0x8c><== NOT EXECUTED
         * and parse the next one                                     
         */                                                           
        rc = data_to_part_desc(data, &new_part_desc);                 
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
ffc06a30:	48 00 0f a5 	bl      ffc079d4 <free>                        <== NOT EXECUTED
    }                                                                 
                                                                      
    free(sector);                                                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06a34:	80 01 00 44 	lwz     r0,68(r1)                              
ffc06a38:	7f e3 fb 78 	mr      r3,r31                                 
ffc06a3c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc06a40:	7c 08 03 a6 	mtlr    r0                                     
ffc06a44:	83 01 00 20 	lwz     r24,32(r1)                             
ffc06a48:	83 21 00 24 	lwz     r25,36(r1)                             
ffc06a4c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc06a50:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc06a54:	83 81 00 30 	lwz     r28,48(r1)                             
ffc06a58:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc06a5c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc06a60:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc06a64:	38 21 00 40 	addi    r1,r1,64                               
ffc06a68:	4e 80 00 20 	blr                                            
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
    if (new_off != off) {                                             
ffc06a6c:	7f 9f 20 00 	cmpw    cr7,r31,r4                             
ffc06a70:	40 9e ff b0 	bne+    cr7,ffc06a20 <read_extended_partition+0x78><== NEVER TAKEN
ffc06a74:	7f 63 db 78 	mr      r3,r27                                 
ffc06a78:	7f 24 cb 78 	mr      r4,r25                                 
ffc06a7c:	38 a1 00 0c 	addi    r5,r1,12                               
ffc06a80:	4b ff fd 45 	bl      ffc067c4 <get_sector.part.0>           
    here = ext_part->start;                                           
                                                                      
    /* get first extended partition sector */                         
                                                                      
    rc = get_sector(fd, here, §or);                               
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc06a84:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06a88:	40 a2 ff 9c 	bne-    ffc06a24 <read_extended_partition+0x7c><== NEVER TAKEN
        if (sector)                                                   
            free(sector);                                             
        return rc;                                                    
    }                                                                 
                                                                      
    if (!msdos_signature_check(sector))                               
ffc06a8c:	80 61 00 0c 	lwz     r3,12(r1)                              
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) &&    
ffc06a90:	89 23 02 02 	lbz     r9,514(r3)                             
ffc06a94:	2f 89 00 55 	cmpwi   cr7,r9,85                              
ffc06a98:	41 9e 00 44 	beq-    cr7,ffc06adc <read_extended_partition+0x134><== ALWAYS TAKEN
        return rc;                                                    
    }                                                                 
                                                                      
    if (!msdos_signature_check(sector))                               
    {                                                                 
        free(sector);                                                 
ffc06a9c:	48 00 0f 39 	bl      ffc079d4 <free>                        <== NOT EXECUTED
    }                                                                 
                                                                      
    free(sector);                                                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06aa0:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    if (!msdos_signature_check(sector))                               
    {                                                                 
        free(sector);                                                 
        return RTEMS_INTERNAL_ERROR;                                  
ffc06aa4:	3b e0 00 19 	li      r31,25                                 <== NOT EXECUTED
    }                                                                 
                                                                      
    free(sector);                                                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06aa8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06aac:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc06ab0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06ab4:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc06ab8:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc06abc:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc06ac0:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc06ac4:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc06ac8:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc06acc:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc06ad0:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc06ad4:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc06ad8:	4e 80 00 20 	blr                                            <== 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) &&    
ffc06adc:	89 23 02 03 	lbz     r9,515(r3)                             
ffc06ae0:	2f 89 00 aa 	cmpwi   cr7,r9,170                             
ffc06ae4:	40 9e ff b8 	bne+    cr7,ffc06a9c <read_extended_partition+0xf4><== NEVER TAKEN
 *      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)
ffc06ae8:	3b 43 01 d2 	addi    r26,r3,466                             
ffc06aec:	7f dd f3 78 	mr      r29,r30                                
ffc06af0:	3b 1e 00 10 	addi    r24,r30,16                             
        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;                  
ffc06af4:	3a e0 00 00 	li      r23,0                                  
ffc06af8:	38 7a ff f0 	addi    r3,r26,-16                             
ffc06afc:	38 81 00 08 	addi    r4,r1,8                                
ffc06b00:	4b ff fd 91 	bl      ffc06890 <data_to_part_desc.part.1>    
    {                                                                 
        /* 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)                                   
ffc06b04:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06b08:	40 82 00 80 	bne-    ffc06b88 <read_extended_partition+0x1e0><== NEVER TAKEN
        {                                                             
            free(sector);                                             
            return rc;                                                
        }                                                             
                                                                      
        if (new_part_desc == NULL)                                    
ffc06b0c:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc06b10:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc06b14:	41 9e 00 64 	beq-    cr7,ffc06b78 <read_extended_partition+0x1d0>
        {                                                             
            data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;              
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
ffc06b18:	90 bd 00 18 	stw     r5,24(r29)                             
        new_part_desc->ext_part = ext_part;                           
        new_part_desc->disk_desc = ext_part->disk_desc;               
                                                                      
        if (is_extended(new_part_desc->sys_type))                     
ffc06b1c:	89 45 00 01 	lbz     r10,1(r5)                              
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
        new_part_desc->ext_part = ext_part;                           
        new_part_desc->disk_desc = ext_part->disk_desc;               
ffc06b20:	81 3e 00 10 	lwz     r9,16(r30)                             
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06b24:	2f 8a 00 05 	cmpwi   cr7,r10,5                              
            data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;              
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
        new_part_desc->ext_part = ext_part;                           
ffc06b28:	93 c5 00 14 	stw     r30,20(r5)                             
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06b2c:	2f 0a 00 85 	cmpwi   cr6,r10,133                            
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
        new_part_desc->ext_part = ext_part;                           
        new_part_desc->disk_desc = ext_part->disk_desc;               
ffc06b30:	91 25 00 10 	stw     r9,16(r5)                              
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
ffc06b34:	41 9e 00 60 	beq-    cr7,ffc06b94 <read_extended_partition+0x1ec>
ffc06b38:	41 9a 00 5c 	beq-    cr6,ffc06b94 <read_extended_partition+0x1ec><== NEVER TAKEN
            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;
ffc06b3c:	81 49 00 24 	lwz     r10,36(r9)                             
            new_part_desc->log_id = ++disk_desc->last_log_id;         
            new_part_desc->start += here;                             
ffc06b40:	81 05 00 04 	lwz     r8,4(r5)                               
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
ffc06b44:	80 e5 00 08 	lwz     r7,8(r5)                               
            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;
ffc06b48:	38 ca 00 08 	addi    r6,r10,8                               
            new_part_desc->log_id = ++disk_desc->last_log_id;         
            new_part_desc->start += here;                             
ffc06b4c:	7d 19 42 14 	add     r8,r25,r8                              
            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;
ffc06b50:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
            new_part_desc->log_id = ++disk_desc->last_log_id;         
            new_part_desc->start += here;                             
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
ffc06b54:	38 e7 ff ff 	addi    r7,r7,-1                               
        }                                                             
        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;         
ffc06b58:	39 4a 00 01 	addi    r10,r10,1                              
            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;
ffc06b5c:	7c c9 32 14 	add     r6,r9,r6                               
            new_part_desc->log_id = ++disk_desc->last_log_id;         
ffc06b60:	91 49 00 24 	stw     r10,36(r9)                             
            new_part_desc->start += here;                             
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
ffc06b64:	7c e7 42 14 	add     r7,r7,r8                               
            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;
ffc06b68:	90 a6 00 08 	stw     r5,8(r6)                               
            new_part_desc->log_id = ++disk_desc->last_log_id;         
ffc06b6c:	99 45 00 02 	stb     r10,2(r5)                              
            new_part_desc->start += here;                             
ffc06b70:	91 05 00 04 	stw     r8,4(r5)                               
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
ffc06b74:	90 e5 00 0c 	stw     r7,12(r5)                              
ffc06b78:	3b bd 00 04 	addi    r29,r29,4                              
                                                                      
    /* 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++)
ffc06b7c:	7f 9d c0 00 	cmpw    cr7,r29,r24                            
ffc06b80:	3b 5a 00 10 	addi    r26,r26,16                             
ffc06b84:	40 9e ff 74 	bne+    cr7,ffc06af8 <read_extended_partition+0x150>
         * and parse the next one                                     
         */                                                           
        rc = data_to_part_desc(data, &new_part_desc);                 
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
ffc06b88:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc06b8c:	48 00 0e 49 	bl      ffc079d4 <free>                        
ffc06b90:	4b ff fe a4 	b       ffc06a34 <read_extended_partition+0x8c>
        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;                            
ffc06b94:	81 25 00 04 	lwz     r9,4(r5)                               
            read_extended_partition(fd, start, new_part_desc);        
ffc06b98:	7f 63 db 78 	mr      r3,r27                                 
        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;                  
ffc06b9c:	9a e5 00 02 	stb     r23,2(r5)                              
            new_part_desc->start += start;                            
            read_extended_partition(fd, start, new_part_desc);        
ffc06ba0:	7f 84 e3 78 	mr      r4,r28                                 
        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;                            
ffc06ba4:	7d 29 e2 14 	add     r9,r9,r28                              
ffc06ba8:	91 25 00 04 	stw     r9,4(r5)                               
            read_extended_partition(fd, start, new_part_desc);        
ffc06bac:	4b ff fd fd 	bl      ffc069a8 <read_extended_partition>     
ffc06bb0:	4b ff ff c8 	b       ffc06b78 <read_extended_partition+0x1d0>
                                                                      

ffc06858 <readv>: int v; int bytes; rtems_libio_t *iop; bool all_zeros; rtems_libio_check_fd( fd );
ffc06858:	3d 20 00 00 	lis     r9,0                                   
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc0685c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06860:	7c 08 02 a6 	mflr    r0                                     
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06864:	81 29 27 18 	lwz     r9,10008(r9)                           
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc06868:	90 01 00 1c 	stw     r0,28(r1)                              
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc0686c:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ssize_t readv(                                                        
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc06870:	93 81 00 08 	stw     r28,8(r1)                              
ffc06874:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc06878:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0687c:	93 e1 00 14 	stw     r31,20(r1)                             
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc06880:	40 9c 01 4c 	bge-    cr7,ffc069cc <readv+0x174>             
  iop = rtems_libio_iop( fd );                                        
ffc06884:	3d 20 00 00 	lis     r9,0                                   
ffc06888:	83 c9 27 c4 	lwz     r30,10180(r9)                          
ffc0688c:	1c 63 00 38 	mulli   r3,r3,56                               
ffc06890:	7f de 1a 14 	add     r30,r30,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc06894:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc06898:	71 2a 01 00 	andi.   r10,r9,256                             
ffc0689c:	41 82 01 30 	beq-    ffc069cc <readv+0x174>                 
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
ffc068a0:	71 2a 00 02 	andi.   r10,r9,2                               
ffc068a4:	41 82 01 28 	beq-    ffc069cc <readv+0x174>                 <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc068a8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc068ac:	41 9e 00 ec 	beq-    cr7,ffc06998 <readv+0x140>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc068b0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc068b4:	40 9d 00 e4 	ble-    cr7,ffc06998 <readv+0x140>             
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc068b8:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc068bc:	41 9d 00 dc 	bgt-    cr7,ffc06998 <readv+0x140>             <== NEVER TAKEN
 *                                                                    
 *  OpenGroup URL:                                                    
 *                                                                    
 *  http://www.opengroup.org/onlinepubs/009695399/functions/readv.html
 */                                                                   
ssize_t readv(                                                        
ffc068c0:	54 bc 18 38 	rlwinm  r28,r5,3,0,28                          
ffc068c4:	39 1c ff f8 	addi    r8,r28,-8                              
ffc068c8:	55 08 e8 fe 	rlwinm  r8,r8,29,3,31                          
ffc068cc:	39 08 00 01 	addi    r8,r8,1                                
ffc068d0:	7d 09 03 a6 	mtctr   r8                                     
ffc068d4:	7c 9f 23 78 	mr      r31,r4                                 
ffc068d8:	7c 89 23 78 	mr      r9,r4                                  
ffc068dc:	38 c0 00 01 	li      r6,1                                   
ffc068e0:	39 40 00 00 	li      r10,0                                  
ffc068e4:	7f 84 e2 14 	add     r28,r4,r28                             
                                                                      
    /*                                                                
     *  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 )                                       
ffc068e8:	81 09 00 00 	lwz     r8,0(r9)                               
ffc068ec:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc068f0:	41 9e 00 a8 	beq-    cr7,ffc06998 <readv+0x140>             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc068f4:	80 e9 00 04 	lwz     r7,4(r9)                               
ffc068f8:	39 29 00 08 	addi    r9,r9,8                                
ffc068fc:	7d 07 52 14 	add     r8,r7,r10                              
    if ( total < old )                                                
ffc06900:	7f 88 50 00 	cmpw    cr7,r8,r10                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc06904:	30 e7 ff ff 	addic   r7,r7,-1                               
ffc06908:	7c e7 39 10 	subfe   r7,r7,r7                               
ffc0690c:	7c c6 38 38 	and     r6,r6,r7                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc06910:	7d 0a 43 78 	mr      r10,r8                                 
    if ( total < old )                                                
ffc06914:	41 9c 00 84 	blt-    cr7,ffc06998 <readv+0x140>             
   *  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++ ) {                           
ffc06918:	42 00 ff d0 	bdnz+   ffc068e8 <readv+0x90>                  
  /*                                                                  
   *  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 ) {                                          
ffc0691c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
    return 0;                                                         
ffc06920:	3b a0 00 00 	li      r29,0                                  
  /*                                                                  
   *  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 ) {                                          
ffc06924:	40 9e 00 84 	bne-    cr7,ffc069a8 <readv+0x150>             
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc06928:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc0692c:	7f c3 f3 78 	mr      r3,r30                                 
ffc06930:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc06934:	81 29 00 08 	lwz     r9,8(r9)                               
ffc06938:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0693c:	7d 29 03 a6 	mtctr   r9                                     
ffc06940:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc06944:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06948:	41 80 00 48 	blt-    ffc06990 <readv+0x138>                 <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc0694c:	41 82 00 08 	beq-    ffc06954 <readv+0xfc>                  <== NEVER TAKEN
      total       += bytes;                                           
ffc06950:	7f bd 1a 14 	add     r29,r29,r3                             
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc06954:	81 5f 00 04 	lwz     r10,4(r31)                             
ffc06958:	3b ff 00 08 	addi    r31,r31,8                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc0695c:	7f 9f e0 00 	cmpw    cr7,r31,r28                            
                                                                      
    if ( bytes > 0 ) {                                                
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc06960:	7f 03 50 00 	cmpw    cr6,r3,r10                             
ffc06964:	40 9a 00 44 	bne-    cr6,ffc069a8 <readv+0x150>             <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc06968:	41 9e 00 40 	beq-    cr7,ffc069a8 <readv+0x150>             
    bytes = (*iop->pathinfo.handlers->read_h)(                        
ffc0696c:	81 3e 00 24 	lwz     r9,36(r30)                             
ffc06970:	7f c3 f3 78 	mr      r3,r30                                 
ffc06974:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc06978:	81 29 00 08 	lwz     r9,8(r9)                               
ffc0697c:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc06980:	7d 29 03 a6 	mtctr   r9                                     
ffc06984:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc06988:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0698c:	40 80 ff c0 	bge+    ffc0694c <readv+0xf4>                  <== ALWAYS TAKEN
      return -1;                                                      
ffc06990:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc06994:	48 00 00 14 	b       ffc069a8 <readv+0x150>                 <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc06998:	48 00 c0 c9 	bl      ffc12a60 <__errno>                     
ffc0699c:	39 20 00 16 	li      r9,22                                  
ffc069a0:	91 23 00 00 	stw     r9,0(r3)                               
ffc069a4:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc069a8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc069ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc069b0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc069b4:	7c 08 03 a6 	mtlr    r0                                     
ffc069b8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc069bc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc069c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc069c4:	38 21 00 18 	addi    r1,r1,24                               
ffc069c8:	4e 80 00 20 	blr                                            
  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 );
ffc069cc:	48 00 c0 95 	bl      ffc12a60 <__errno>                     
ffc069d0:	39 20 00 09 	li      r9,9                                   
ffc069d4:	91 23 00 00 	stw     r9,0(r3)                               
ffc069d8:	3b a0 ff ff 	li      r29,-1                                 
ffc069dc:	4b ff ff cc 	b       ffc069a8 <readv+0x150>                 
                                                                      

ffc1cdfc <realloc>: /* * Do not attempt to allocate memory if in a critical section or ISR. */ if (_System_state_Is_up(_System_state_Get())) {
ffc1cdfc:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ce00:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1ce04:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1ce08:	81 29 28 4c 	lwz     r9,10316(r9)                           
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ce0c:	93 c1 00 20 	stw     r30,32(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ce10:	3f c0 00 00 	lis     r30,0                                  
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1ce14:	2f 89 00 03 	cmpwi   cr7,r9,3                               
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ce18:	3b de 2b 28 	addi    r30,r30,11048                          
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ce1c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1ce20:	7c 9d 23 78 	mr      r29,r4                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ce24:	81 3e 00 10 	lwz     r9,16(r30)                             
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ce28:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1ce2c:	7c 7f 1b 78 	mr      r31,r3                                 
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ce30:	39 49 00 01 	addi    r10,r9,1                               
                                                                      
void *realloc(                                                        
  void *ptr,                                                          
  size_t size                                                         
)                                                                     
{                                                                     
ffc1ce34:	90 01 00 2c 	stw     r0,44(r1)                              
ffc1ce38:	93 81 00 18 	stw     r28,24(r1)                             
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
ffc1ce3c:	91 5e 00 10 	stw     r10,16(r30)                            
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
ffc1ce40:	41 9e 00 d4 	beq-    cr7,ffc1cf14 <realloc+0x118>           
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
ffc1ce44:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1ce48:	41 9e 01 58 	beq-    cr7,ffc1cfa0 <realloc+0x1a4>           
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
ffc1ce4c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc1ce50:	41 9e 01 2c 	beq-    cr7,ffc1cf7c <realloc+0x180>           <== NEVER TAKEN
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
ffc1ce54:	3f 80 00 00 	lis     r28,0                                  
ffc1ce58:	80 7c 27 50 	lwz     r3,10064(r28)                          
ffc1ce5c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ce60:	38 a1 00 08 	addi    r5,r1,8                                
ffc1ce64:	48 00 02 09 	bl      ffc1d06c <_Protected_heap_Get_block_size>
ffc1ce68:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ce6c:	41 9e 01 20 	beq-    cr7,ffc1cf8c <realloc+0x190>           
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
ffc1ce70:	80 7c 27 50 	lwz     r3,10064(r28)                          
ffc1ce74:	7f e4 fb 78 	mr      r4,r31                                 
ffc1ce78:	7f a5 eb 78 	mr      r5,r29                                 
ffc1ce7c:	48 00 02 55 	bl      ffc1d0d0 <_Protected_heap_Resize_block>
ffc1ce80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1ce84:	41 9e 00 28 	beq-    cr7,ffc1ceac <realloc+0xb0>            
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1ce88:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1ce8c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1ce90:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1ce94:	7c 08 03 a6 	mtlr    r0                                     
ffc1ce98:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1ce9c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1cea0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1cea4:	38 21 00 28 	addi    r1,r1,40                               
ffc1cea8:	4e 80 00 20 	blr                                            
   *  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 );                                          
ffc1ceac:	7f a3 eb 78 	mr      r3,r29                                 
ffc1ceb0:	4b fe 80 e5 	bl      ffc04f94 <malloc>                      
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc1ceb4:	81 3e 00 04 	lwz     r9,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc1ceb8:	7c 7c 1b 79 	mr.     r28,r3                                 
   *  and the C Standard.                                             
   */                                                                 
                                                                      
  new_area = malloc( size );                                          
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
ffc1cebc:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1cec0:	91 3e 00 04 	stw     r9,4(r30)                              
                                                                      
  if ( !new_area ) {                                                  
ffc1cec4:	41 82 00 70 	beq-    ffc1cf34 <realloc+0x138>               
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc1cec8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1cecc:	7f a5 eb 78 	mr      r5,r29                                 
ffc1ced0:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
ffc1ced4:	41 9d 00 88 	bgt-    cr7,ffc1cf5c <realloc+0x160>           <== ALWAYS TAKEN
ffc1ced8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc1cedc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1cee0:	4b ff 5e 9d 	bl      ffc12d7c <memcpy>                      <== NOT EXECUTED
  free( ptr );                                                        
ffc1cee4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cee8:	4b fe 7c 81 	bl      ffc04b68 <free>                        <== NOT EXECUTED
ffc1ceec:	7f 9f e3 78 	mr      r31,r28                                <== NOT EXECUTED
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1cef0:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1cef4:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cef8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1cefc:	7c 08 03 a6 	mtlr    r0                                     
ffc1cf00:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1cf04:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1cf08:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1cf0c:	38 21 00 28 	addi    r1,r1,40                               
ffc1cf10:	4e 80 00 20 	blr                                            
   * 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 )                      
ffc1cf14:	3d 20 00 00 	lis     r9,0                                   
ffc1cf18:	81 29 28 24 	lwz     r9,10276(r9)                           
ffc1cf1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1cf20:	40 9e 00 14 	bne-    cr7,ffc1cf34 <realloc+0x138>           <== NEVER TAKEN
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
ffc1cf24:	3d 20 00 00 	lis     r9,0                                   
ffc1cf28:	81 29 2e 08 	lwz     r9,11784(r9)                           
ffc1cf2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1cf30:	41 9e ff 14 	beq+    cr7,ffc1ce44 <realloc+0x48>            <== ALWAYS TAKEN
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
    return (void *) 0;                                                
ffc1cf34:	3b e0 00 00 	li      r31,0                                  
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1cf38:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1cf3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cf40:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1cf44:	7c 08 03 a6 	mtlr    r0                                     
ffc1cf48:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1cf4c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1cf50:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1cf54:	38 21 00 28 	addi    r1,r1,40                               
ffc1cf58:	4e 80 00 20 	blr                                            
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
ffc1cf5c:	7f e4 fb 78 	mr      r4,r31                                 
ffc1cf60:	7d 25 4b 78 	mr      r5,r9                                  
ffc1cf64:	7f 83 e3 78 	mr      r3,r28                                 
ffc1cf68:	4b ff 5e 15 	bl      ffc12d7c <memcpy>                      
  free( ptr );                                                        
ffc1cf6c:	7f e3 fb 78 	mr      r3,r31                                 
ffc1cf70:	4b fe 7b f9 	bl      ffc04b68 <free>                        
ffc1cf74:	7f 9f e3 78 	mr      r31,r28                                
ffc1cf78:	4b ff ff 78 	b       ffc1cef0 <realloc+0xf4>                
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
ffc1cf7c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1cf80:	4b fe 7b e9 	bl      ffc04b68 <free>                        <== NOT EXECUTED
    return (void *) 0;                                                
ffc1cf84:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc1cf88:	4b ff ff 00 	b       ffc1ce88 <realloc+0x8c>                <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
ffc1cf8c:	4b ff 50 ed 	bl      ffc12078 <__errno>                     
ffc1cf90:	39 20 00 16 	li      r9,22                                  
ffc1cf94:	91 23 00 00 	stw     r9,0(r3)                               
    return (void *) 0;                                                
ffc1cf98:	3b e0 00 00 	li      r31,0                                  
ffc1cf9c:	4b ff ff 9c 	b       ffc1cf38 <realloc+0x13c>               
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1cfa0:	80 01 00 2c 	lwz     r0,44(r1)                              
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
ffc1cfa4:	7f a3 eb 78 	mr      r3,r29                                 
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
ffc1cfa8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1cfac:	7c 08 03 a6 	mtlr    r0                                     
ffc1cfb0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1cfb4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1cfb8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1cfbc:	38 21 00 28 	addi    r1,r1,40                               
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
ffc1cfc0:	4b fe 7f d4 	b       ffc04f94 <malloc>                      
                                                                      

ffc1194c <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc1194c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11950:	7c 08 02 a6 	mflr    r0                                     
ffc11954:	93 61 00 0c 	stw     r27,12(r1)                             
ffc11958:	7c 7b 1b 78 	mr      r27,r3                                 
ffc1195c:	93 81 00 10 	stw     r28,16(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
ffc11960:	3b 80 00 00 	li      r28,0                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc11964:	93 a1 00 14 	stw     r29,20(r1)                             
ffc11968:	7c 9d 23 78 	mr      r29,r4                                 
ffc1196c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc11970:	3b c0 00 20 	li      r30,32                                 
ffc11974:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc11978:	3b e0 00 01 	li      r31,1                                  
                                                                      
uint32_t   rtems_assoc_local_by_remote_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t       remote_value                                       
)                                                                     
{                                                                     
ffc1197c:	90 01 00 24 	stw     r0,36(r1)                              
ffc11980:	48 00 00 10 	b       ffc11990 <rtems_assoc_local_by_remote_bitfield+0x44>
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc11984:	37 de ff ff 	addic.  r30,r30,-1                             
ffc11988:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc1198c:	41 82 00 28 	beq-    ffc119b4 <rtems_assoc_local_by_remote_bitfield+0x68>
    if (b & remote_value)                                             
ffc11990:	7f e9 e8 39 	and.    r9,r31,r29                             
ffc11994:	41 82 ff f0 	beq+    ffc11984 <rtems_assoc_local_by_remote_bitfield+0x38>
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc11998:	7f e4 fb 78 	mr      r4,r31                                 
ffc1199c:	7f 63 db 78 	mr      r3,r27                                 
ffc119a0:	48 00 00 3d 	bl      ffc119dc <rtems_assoc_local_by_remote> 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc119a4:	37 de ff ff 	addic.  r30,r30,-1                             
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
ffc119a8:	7f 9c 1b 78 	or      r28,r28,r3                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
ffc119ac:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc119b0:	40 82 ff e0 	bne+    ffc11990 <rtems_assoc_local_by_remote_bitfield+0x44><== ALWAYS TAKEN
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
ffc119b4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc119b8:	7f 83 e3 78 	mr      r3,r28                                 
ffc119bc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc119c0:	7c 08 03 a6 	mtlr    r0                                     
ffc119c4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc119c8:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc119cc:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc119d0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc119d4:	38 21 00 20 	addi    r1,r1,32                               
ffc119d8:	4e 80 00 20 	blr                                            
                                                                      

ffc0ea0c <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
ffc0ea0c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0ea10:	7c 08 02 a6 	mflr    r0                                     
ffc0ea14:	90 01 00 14 	stw     r0,20(r1)                              
ffc0ea18:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0ea1c:	7c 7f 1b 78 	mr      r31,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0ea20:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
ffc0ea24:	93 c1 00 08 	stw     r30,8(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc0ea28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea2c:	41 9e 00 94 	beq-    cr7,ffc0eac0 <rtems_assoc_ptr_by_local+0xb4>
ffc0ea30:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ea34:	3c 80 ff c2 	lis     r4,-62                                 
ffc0ea38:	38 84 ea 1c 	addi    r4,r4,-5604                            
ffc0ea3c:	48 00 49 69 	bl      ffc133a4 <strcmp>                      
ffc0ea40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ea44:	41 9e 00 40 	beq-    cr7,ffc0ea84 <rtems_assoc_ptr_by_local+0x78>
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;                                
ffc0ea48:	39 40 00 00 	li      r10,0                                  
ffc0ea4c:	48 00 00 10 	b       ffc0ea5c <rtems_assoc_ptr_by_local+0x50>
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0ea50:	85 3f 00 0c 	lwzu    r9,12(r31)                             
ffc0ea54:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ea58:	41 9e 00 48 	beq-    cr7,ffc0eaa0 <rtems_assoc_ptr_by_local+0x94>
    if (ap->local_value == local_value)                               
ffc0ea5c:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0ea60:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc0ea64:	40 9e ff ec 	bne+    cr7,ffc0ea50 <rtems_assoc_ptr_by_local+0x44>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0ea68:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0ea6c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0ea70:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ea74:	7c 08 03 a6 	mtlr    r0                                     
ffc0ea78:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ea7c:	38 21 00 10 	addi    r1,r1,16                               
ffc0ea80:	4e 80 00 20 	blr                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0ea84:	81 3f 00 0c 	lwz     r9,12(r31)                             
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc0ea88:	39 1f 00 0c 	addi    r8,r31,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0ea8c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ea90:	41 be ff d8 	beq-    cr7,ffc0ea68 <rtems_assoc_ptr_by_local+0x5c><== NEVER TAKEN
ffc0ea94:	7f ea fb 78 	mr      r10,r31                                
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc0ea98:	7d 1f 43 78 	mr      r31,r8                                 
ffc0ea9c:	4b ff ff c0 	b       ffc0ea5c <rtems_assoc_ptr_by_local+0x50>
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0eaa0:	80 01 00 14 	lwz     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0eaa4:	7d 5f 53 78 	mr      r31,r10                                
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0eaa8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eaac:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0eab0:	7c 08 03 a6 	mtlr    r0                                     
ffc0eab4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0eab8:	38 21 00 10 	addi    r1,r1,16                               
ffc0eabc:	4e 80 00 20 	blr                                            
ffc0eac0:	80 01 00 14 	lwz     r0,20(r1)                              
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;                                
ffc0eac4:	3b e0 00 00 	li      r31,0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc0eac8:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eacc:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ead0:	7c 08 03 a6 	mtlr    r0                                     
ffc0ead4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ead8:	38 21 00 10 	addi    r1,r1,16                               
ffc0eadc:	4e 80 00 20 	blr                                            
                                                                      

ffc054c8 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
ffc054c8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc054cc:	7c 08 02 a6 	mflr    r0                                     
ffc054d0:	90 01 00 1c 	stw     r0,28(r1)                              
ffc054d4:	93 e1 00 14 	stw     r31,20(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc054d8:	83 e3 00 00 	lwz     r31,0(r3)                              
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc054dc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc054e0:	7c 7e 1b 78 	mr      r30,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc054e4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
ffc054e8:	93 81 00 08 	stw     r28,8(r1)                              
ffc054ec:	93 a1 00 0c 	stw     r29,12(r1)                             
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc054f0:	41 9e 00 b0 	beq-    cr7,ffc055a0 <rtems_assoc_ptr_by_name+0xd8>
ffc054f4:	7c 9d 23 78 	mr      r29,r4                                 
ffc054f8:	3c 80 ff c2 	lis     r4,-62                                 
ffc054fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc05500:	38 84 8f fc 	addi    r4,r4,-28676                           
ffc05504:	48 00 e3 c9 	bl      ffc138cc <strcmp>                      
ffc05508:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0550c:	41 9e 00 50 	beq-    cr7,ffc0555c <rtems_assoc_ptr_by_name+0x94>
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc05510:	3b 80 00 00 	li      r28,0                                  
ffc05514:	48 00 00 10 	b       ffc05524 <rtems_assoc_ptr_by_name+0x5c>
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05518:	87 fe 00 0c 	lwzu    r31,12(r30)                            
ffc0551c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05520:	41 9e 00 58 	beq-    cr7,ffc05578 <rtems_assoc_ptr_by_name+0xb0>
    if (strcmp(ap->name, name) == 0)                                  
ffc05524:	7f e3 fb 78 	mr      r3,r31                                 
ffc05528:	7f a4 eb 78 	mr      r4,r29                                 
ffc0552c:	48 00 e3 a1 	bl      ffc138cc <strcmp>                      
ffc05530:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05534:	40 9e ff e4 	bne+    cr7,ffc05518 <rtems_assoc_ptr_by_name+0x50>
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05538:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0553c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05540:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05544:	7c 08 03 a6 	mtlr    r0                                     
ffc05548:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0554c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05550:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05554:	38 21 00 18 	addi    r1,r1,24                               
ffc05558:	4e 80 00 20 	blr                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0555c:	83 fe 00 0c 	lwz     r31,12(r30)                            
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc05560:	39 3e 00 0c 	addi    r9,r30,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc05564:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05568:	41 be ff d0 	beq-    cr7,ffc05538 <rtems_assoc_ptr_by_name+0x70><== NEVER TAKEN
ffc0556c:	7f dc f3 78 	mr      r28,r30                                
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc05570:	7d 3e 4b 78 	mr      r30,r9                                 
ffc05574:	4b ff ff b0 	b       ffc05524 <rtems_assoc_ptr_by_name+0x5c>
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05578:	80 01 00 1c 	lwz     r0,28(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc0557c:	7f 9e e3 78 	mr      r30,r28                                
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc05580:	7f c3 f3 78 	mr      r3,r30                                 
ffc05584:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05588:	7c 08 03 a6 	mtlr    r0                                     
ffc0558c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc05590:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05594:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05598:	38 21 00 18 	addi    r1,r1,24                               
ffc0559c:	4e 80 00 20 	blr                                            
ffc055a0:	80 01 00 1c 	lwz     r0,28(r1)                              
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
ffc055a4:	3b c0 00 00 	li      r30,0                                  
  for ( ; ap->name; ap++)                                             
    if (strcmp(ap->name, name) == 0)                                  
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
ffc055a8:	7f c3 f3 78 	mr      r3,r30                                 
ffc055ac:	83 81 00 08 	lwz     r28,8(r1)                              
ffc055b0:	7c 08 03 a6 	mtlr    r0                                     
ffc055b4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc055b8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc055bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc055c0:	38 21 00 18 	addi    r1,r1,24                               
ffc055c4:	4e 80 00 20 	blr                                            
                                                                      

ffc11a28 <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
ffc11a28:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc11a2c:	7c 08 02 a6 	mflr    r0                                     
ffc11a30:	90 01 00 14 	stw     r0,20(r1)                              
ffc11a34:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc11a38:	7c 7f 1b 78 	mr      r31,r3                                 
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc11a3c:	80 63 00 00 	lwz     r3,0(r3)                               
                                                                      
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
ffc11a40:	93 c1 00 08 	stw     r30,8(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
ffc11a44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a48:	41 9e 00 94 	beq-    cr7,ffc11adc <rtems_assoc_ptr_by_remote+0xb4>
ffc11a4c:	7c 9e 23 78 	mr      r30,r4                                 
ffc11a50:	3c 80 ff c2 	lis     r4,-62                                 
ffc11a54:	38 84 ea 1c 	addi    r4,r4,-5604                            
ffc11a58:	48 00 19 4d 	bl      ffc133a4 <strcmp>                      
ffc11a5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a60:	41 9e 00 40 	beq-    cr7,ffc11aa0 <rtems_assoc_ptr_by_remote+0x78>
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;                                
ffc11a64:	39 40 00 00 	li      r10,0                                  
ffc11a68:	48 00 00 10 	b       ffc11a78 <rtems_assoc_ptr_by_remote+0x50>
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc11a6c:	85 3f 00 0c 	lwzu    r9,12(r31)                             
ffc11a70:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11a74:	41 9e 00 48 	beq-    cr7,ffc11abc <rtems_assoc_ptr_by_remote+0x94>
    if (ap->remote_value == remote_value)                             
ffc11a78:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc11a7c:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc11a80:	40 9e ff ec 	bne+    cr7,ffc11a6c <rtems_assoc_ptr_by_remote+0x44>
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc11a84:	80 01 00 14 	lwz     r0,20(r1)                              
ffc11a88:	7f e3 fb 78 	mr      r3,r31                                 
ffc11a8c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11a90:	7c 08 03 a6 	mtlr    r0                                     
ffc11a94:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11a98:	38 21 00 10 	addi    r1,r1,16                               
ffc11a9c:	4e 80 00 20 	blr                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc11aa0:	81 3f 00 0c 	lwz     r9,12(r31)                             
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc11aa4:	39 1f 00 0c 	addi    r8,r31,12                              
                                                                      
  for ( ; ap->name; ap++)                                             
ffc11aa8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11aac:	41 be ff d8 	beq-    cr7,ffc11a84 <rtems_assoc_ptr_by_remote+0x5c><== NEVER TAKEN
ffc11ab0:	7f ea fb 78 	mr      r10,r31                                
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
ffc11ab4:	7d 1f 43 78 	mr      r31,r8                                 
ffc11ab8:	4b ff ff c0 	b       ffc11a78 <rtems_assoc_ptr_by_remote+0x50>
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc11abc:	80 01 00 14 	lwz     r0,20(r1)                              
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
ffc11ac0:	7d 5f 53 78 	mr      r31,r10                                
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc11ac4:	7f e3 fb 78 	mr      r3,r31                                 
ffc11ac8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11acc:	7c 08 03 a6 	mtlr    r0                                     
ffc11ad0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11ad4:	38 21 00 10 	addi    r1,r1,16                               
ffc11ad8:	4e 80 00 20 	blr                                            
ffc11adc:	80 01 00 14 	lwz     r0,20(r1)                              
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;                                
ffc11ae0:	3b e0 00 00 	li      r31,0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
ffc11ae4:	7f e3 fb 78 	mr      r3,r31                                 
ffc11ae8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc11aec:	7c 08 03 a6 	mtlr    r0                                     
ffc11af0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc11af4:	38 21 00 10 	addi    r1,r1,16                               
ffc11af8:	4e 80 00 20 	blr                                            
                                                                      

ffc0569c <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
ffc0569c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc056a0:	7c 08 02 a6 	mflr    r0                                     
ffc056a4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc056a8:	7c 7b 1b 78 	mr      r27,r3                                 
ffc056ac:	93 81 00 10 	stw     r28,16(r1)                             
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
ffc056b0:	3b 80 00 00 	li      r28,0                                  
                                                                      
uint32_t   rtems_assoc_remote_by_local_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t             local_value                                  
)                                                                     
{                                                                     
ffc056b4:	93 a1 00 14 	stw     r29,20(r1)                             
ffc056b8:	7c 9d 23 78 	mr      r29,r4                                 
ffc056bc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc056c0:	3b c0 00 20 	li      r30,32                                 
ffc056c4:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc056c8:	3b e0 00 01 	li      r31,1                                  
                                                                      
uint32_t   rtems_assoc_remote_by_local_bitfield(                      
    const rtems_assoc_t *ap,                                          
    uint32_t             local_value                                  
)                                                                     
{                                                                     
ffc056cc:	90 01 00 24 	stw     r0,36(r1)                              
ffc056d0:	48 00 00 10 	b       ffc056e0 <rtems_assoc_remote_by_local_bitfield+0x44>
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc056d4:	37 de ff ff 	addic.  r30,r30,-1                             
ffc056d8:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc056dc:	41 82 00 28 	beq-    ffc05704 <rtems_assoc_remote_by_local_bitfield+0x68>
    if (b & local_value)                                              
ffc056e0:	7f e9 e8 39 	and.    r9,r31,r29                             
ffc056e4:	41 82 ff f0 	beq+    ffc056d4 <rtems_assoc_remote_by_local_bitfield+0x38>
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
ffc056e8:	7f e4 fb 78 	mr      r4,r31                                 
ffc056ec:	7f 63 db 78 	mr      r3,r27                                 
ffc056f0:	48 00 00 3d 	bl      ffc0572c <rtems_assoc_remote_by_local> 
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc056f4:	37 de ff ff 	addic.  r30,r30,-1                             
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
ffc056f8:	7f 9c 1b 78 	or      r28,r28,r3                             
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
ffc056fc:	57 ff 08 3c 	rlwinm  r31,r31,1,0,30                         
ffc05700:	40 82 ff e0 	bne+    ffc056e0 <rtems_assoc_remote_by_local_bitfield+0x44><== ALWAYS TAKEN
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
ffc05704:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05708:	7f 83 e3 78 	mr      r3,r28                                 
ffc0570c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc05710:	7c 08 03 a6 	mtlr    r0                                     
ffc05714:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05718:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0571c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05720:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05724:	38 21 00 20 	addi    r1,r1,32                               
ffc05728:	4e 80 00 20 	blr                                            
                                                                      

ffc0fe08 <rtems_bdbuf_add_to_modified_list_after_access>: } } static void rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd) {
ffc0fe08:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fe0c:	7c 08 02 a6 	mflr    r0                                     
ffc0fe10:	93 c1 00 08 	stw     r30,8(r1)                              
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dd)   
ffc0fe14:	3f c0 00 00 	lis     r30,0                                  
ffc0fe18:	3b de 29 68 	addi    r30,r30,10600                          
ffc0fe1c:	89 3e 00 30 	lbz     r9,48(r30)                             
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0fe20:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0fe24:	7c 7f 1b 78 	mr      r31,r3                                 
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dd)   
ffc0fe28:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
ffc0fe2c:	90 01 00 14 	stw     r0,20(r1)                              
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dd)   
ffc0fe30:	41 9e 00 14 	beq-    cr7,ffc0fe44 <rtems_bdbuf_add_to_modified_list_after_access+0x3c><== ALWAYS TAKEN
ffc0fe34:	81 5e 00 38 	lwz     r10,56(r30)                            <== NOT EXECUTED
ffc0fe38:	81 23 00 14 	lwz     r9,20(r3)                              <== NOT EXECUTED
ffc0fe3c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             <== NOT EXECUTED
ffc0fe40:	41 9e 00 d4 	beq-    cr7,ffc0ff14 <rtems_bdbuf_add_to_modified_list_after_access+0x10c><== 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                    
ffc0fe44:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc0fe48:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc0fe4c:	41 9e 00 74 	beq-    cr7,ffc0fec0 <rtems_bdbuf_add_to_modified_list_after_access+0xb8>
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
ffc0fe50:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc0fe54:	41 9e 00 6c 	beq-    cr7,ffc0fec0 <rtems_bdbuf_add_to_modified_list_after_access+0xb8>
    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)                                                    
ffc0fe58:	81 5f 00 24 	lwz     r10,36(r31)                            
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc0fe5c:	39 1e 00 50 	addi    r8,r30,80                              
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc0fe60:	81 3e 00 54 	lwz     r9,84(r30)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fe64:	38 e0 00 07 	li      r7,7                                   
    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)                                                    
ffc0fe68:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fe6c:	90 ff 00 20 	stw     r7,32(r31)                             
                                                                      
  the_node->next = tail;                                              
ffc0fe70:	91 1f 00 00 	stw     r8,0(r31)                              
  tail->previous = the_node;                                          
ffc0fe74:	93 fe 00 54 	stw     r31,84(r30)                            
  old_last->next = the_node;                                          
ffc0fe78:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->previous = old_last;                                      
ffc0fe7c:	91 3f 00 04 	stw     r9,4(r31)                              
    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)                                                    
ffc0fe80:	40 9e 00 78 	bne-    cr7,ffc0fef8 <rtems_bdbuf_add_to_modified_list_after_access+0xf0>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
ffc0fe84:	81 3e 00 74 	lwz     r9,116(r30)                            
ffc0fe88:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fe8c:	40 9e 00 1c 	bne-    cr7,ffc0fea8 <rtems_bdbuf_add_to_modified_list_after_access+0xa0>
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0fe90:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fe94:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0fe98:	7c 08 03 a6 	mtlr    r0                                     
ffc0fe9c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fea0:	38 21 00 10 	addi    r1,r1,16                               
ffc0fea4:	4e 80 00 20 	blr                                            
ffc0fea8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0feac:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0feb0:	7c 08 03 a6 	mtlr    r0                                     
ffc0feb4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0feb8:	38 21 00 10 	addi    r1,r1,16                               
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
ffc0febc:	4b ff fc 2c 	b       ffc0fae8 <rtems_bdbuf_wake_swapper>    
    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)                                                    
ffc0fec0:	81 5f 00 24 	lwz     r10,36(r31)                            
   * 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;                    
ffc0fec4:	3d 20 ff c2 	lis     r9,-62                                 
ffc0fec8:	81 29 cc 6c 	lwz     r9,-13204(r9)                          
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc0fecc:	39 1e 00 50 	addi    r8,r30,80                              
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
ffc0fed0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0fed4:	91 1f 00 00 	stw     r8,0(r31)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fed8:	38 e0 00 07 	li      r7,7                                   
   * 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;                    
ffc0fedc:	91 3f 00 2c 	stw     r9,44(r31)                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc0fee0:	81 3e 00 54 	lwz     r9,84(r30)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0fee4:	90 ff 00 20 	stw     r7,32(r31)                             
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc0fee8:	93 fe 00 54 	stw     r31,84(r30)                            
  old_last->next = the_node;                                          
ffc0feec:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->previous = old_last;                                      
ffc0fef0:	91 3f 00 04 	stw     r9,4(r31)                              
    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)                                                    
ffc0fef4:	41 9e ff 90 	beq+    cr7,ffc0fe84 <rtems_bdbuf_add_to_modified_list_after_access+0x7c>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0fef8:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0fefc:	38 7e 00 64 	addi    r3,r30,100                             
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
}                                                                     
ffc0ff00:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0ff04:	7c 08 03 a6 	mtlr    r0                                     
ffc0ff08:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc0ff0c:	38 21 00 10 	addi    r1,r1,16                               
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc0ff10:	4b ff fe b8 	b       ffc0fdc8 <rtems_bdbuf_wake>            
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 ();                                      
ffc0ff14:	4b ff fb c5 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    <== 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_BDBUF_FATAL_SYNC_LOCK);
ffc0ff18:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc0ff1c:	38 80 00 19 	li      r4,25                                  <== NOT EXECUTED
ffc0ff20:	4b ff fb 11 	bl      ffc0fa30 <rtems_bdbuf_lock>            <== 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,                          
ffc0ff24:	80 7e 00 2c 	lwz     r3,44(r30)                             <== NOT EXECUTED
ffc0ff28:	38 80 00 1a 	li      r4,26                                  <== NOT EXECUTED
ffc0ff2c:	4b ff fb 71 	bl      ffc0fa9c <rtems_bdbuf_unlock>          <== NOT EXECUTED
     * Wait for the sync lock.                                        
     */                                                               
    rtems_bdbuf_lock_sync ();                                         
                                                                      
    rtems_bdbuf_unlock_sync ();                                       
    rtems_bdbuf_lock_cache ();                                        
ffc0ff30:	4b ff fb 45 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
ffc0ff34:	4b ff ff 10 	b       ffc0fe44 <rtems_bdbuf_add_to_modified_list_after_access+0x3c><== NOT EXECUTED
                                                                      

ffc0fbac <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) {
ffc0fbac:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fbb0:	7c 08 02 a6 	mflr    r0                                     
ffc0fbb4:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0fbb8:	81 23 00 00 	lwz     r9,0(r3)                               
 * 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)             
{                                                                     
ffc0fbbc:	93 c1 00 08 	stw     r30,8(r1)                              
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0fbc0:	39 29 00 01 	addi    r9,r9,1                                
 * 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)             
{                                                                     
ffc0fbc4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0fbc8:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
ffc0fbcc:	91 23 00 00 	stw     r9,0(r3)                               
   * 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 ();                      
ffc0fbd0:	4b ff ff 55 	bl      ffc0fb24 <rtems_bdbuf_disable_preemption>
ffc0fbd4:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * Unlock the cache, wait, and lock the cache when we return.       
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
ffc0fbd8:	4b ff ff 01 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
ffc0fbdc:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc0fbe0:	38 80 00 00 	li      r4,0                                   
ffc0fbe4:	38 a0 00 00 	li      r5,0                                   
ffc0fbe8:	4b ff b3 61 	bl      ffc0af48 <rtems_semaphore_obtain>      
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
ffc0fbec:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc0fbf0:	41 9e 00 3c 	beq-    cr7,ffc0fc2c <rtems_bdbuf_anonymous_wait+0x80><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAIT_TO);              
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
ffc0fbf4:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
ffc0fbf8:	40 9e 00 3c 	bne-    cr7,ffc0fc34 <rtems_bdbuf_anonymous_wait+0x88><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAIT_2);               
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc0fbfc:	4b ff fe 79 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc0fc00:	7f c3 f3 78 	mr      r3,r30                                 
ffc0fc04:	4b ff ff 69 	bl      ffc0fb6c <rtems_bdbuf_restore_preemption>
                                                                      
  --waiters->count;                                                   
}                                                                     
ffc0fc08:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
                                                                      
  --waiters->count;                                                   
ffc0fc0c:	81 3f 00 00 	lwz     r9,0(r31)                              
}                                                                     
ffc0fc10:	7c 08 03 a6 	mtlr    r0                                     
ffc0fc14:	83 c1 00 08 	lwz     r30,8(r1)                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
                                                                      
  --waiters->count;                                                   
ffc0fc18:	39 29 ff ff 	addi    r9,r9,-1                               
ffc0fc1c:	91 3f 00 00 	stw     r9,0(r31)                              
}                                                                     
ffc0fc20:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fc24:	38 21 00 10 	addi    r1,r1,16                               
ffc0fc28:	4e 80 00 20 	blr                                            
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAIT_TO);              
ffc0fc2c:	38 60 00 03 	li      r3,3                                   <== NOT EXECUTED
ffc0fc30:	4b ff fd e9 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAIT_2);               
ffc0fc34:	38 60 00 02 	li      r3,2                                   <== NOT EXECUTED
ffc0fc38:	4b ff fd e1 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc0ff38 <rtems_bdbuf_create_task.constprop.15>: rtems_task_argument arg, rtems_id *id ) { rtems_status_code sc; size_t stack_size = bdbuf_config.task_stack_size ?
ffc0ff38:	3d 20 ff c2 	lis     r9,-62                                 
                                                                      
  return NULL;                                                        
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_create_task(                                              
ffc0ff3c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ff40:	7c 08 02 a6 	mflr    r0                                     
  rtems_task_argument arg,                                            
  rtems_id *id                                                        
)                                                                     
{                                                                     
  rtems_status_code sc;                                               
  size_t stack_size = bdbuf_config.task_stack_size ?                  
ffc0ff44:	81 29 cc 78 	lwz     r9,-13192(r9)                          
                                                                      
  return NULL;                                                        
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_create_task(                                              
ffc0ff48:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0ff4c:	7c bd 2b 78 	mr      r29,r5                                 
  rtems_id *id                                                        
)                                                                     
{                                                                     
  rtems_status_code sc;                                               
  size_t stack_size = bdbuf_config.task_stack_size ?                  
    bdbuf_config.task_stack_size : RTEMS_BDBUF_TASK_STACK_SIZE_DEFAULT;
ffc0ff50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
  return NULL;                                                        
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_create_task(                                              
ffc0ff54:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0ff58:	7c de 33 78 	mr      r30,r6                                 
ffc0ff5c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0ff60:	7c ff 3b 78 	mr      r31,r7                                 
ffc0ff64:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_id *id                                                        
)                                                                     
{                                                                     
  rtems_status_code sc;                                               
  size_t stack_size = bdbuf_config.task_stack_size ?                  
    bdbuf_config.task_stack_size : RTEMS_BDBUF_TASK_STACK_SIZE_DEFAULT;
ffc0ff68:	40 9e 00 08 	bne-    cr7,ffc0ff70 <rtems_bdbuf_create_task.constprop.15+0x38><== ALWAYS TAKEN
ffc0ff6c:	39 20 20 00 	li      r9,8192                                <== NOT EXECUTED
                                                                      
  priority = priority != 0 ? priority : default_priority;             
ffc0ff70:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0ff74:	40 9e 00 08 	bne-    cr7,ffc0ff7c <rtems_bdbuf_create_task.constprop.15+0x44><== ALWAYS TAKEN
ffc0ff78:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
                                                                      
  sc = rtems_task_create (name,                                       
ffc0ff7c:	7d 25 4b 78 	mr      r5,r9                                  
ffc0ff80:	38 c0 04 00 	li      r6,1024                                
ffc0ff84:	38 e0 00 00 	li      r7,0                                   
ffc0ff88:	7f e8 fb 78 	mr      r8,r31                                 
ffc0ff8c:	4b ff b2 b5 	bl      ffc0b240 <rtems_task_create>           
                          stack_size,                                 
                          RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                          RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,      
                          id);                                        
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
ffc0ff90:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0ff94:	41 9e 00 20 	beq-    cr7,ffc0ffb4 <rtems_bdbuf_create_task.constprop.15+0x7c><== ALWAYS TAKEN
    sc = rtems_task_start (*id, entry, arg);                          
                                                                      
  return sc;                                                          
}                                                                     
ffc0ff98:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc0ff9c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc0ffa0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0ffa4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0ffa8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc0ffac:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0ffb0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc0ffb4:	80 01 00 1c 	lwz     r0,28(r1)                              
                          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);                          
ffc0ffb8:	7f a4 eb 78 	mr      r4,r29                                 
ffc0ffbc:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0ffc0:	7f c5 f3 78 	mr      r5,r30                                 
                                                                      
  return sc;                                                          
}                                                                     
ffc0ffc4:	7c 08 03 a6 	mtlr    r0                                     
ffc0ffc8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0ffcc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0ffd0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0ffd4:	38 21 00 18 	addi    r1,r1,24                               
                          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);                          
ffc0ffd8:	4b ff b5 64 	b       ffc0b53c <rtems_task_start>            
                                                                      

ffc0fb24 <rtems_bdbuf_disable_preemption>: --bd->group->users; } static rtems_mode rtems_bdbuf_disable_preemption (void) {
ffc0fb24:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0fb28:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
ffc0fb2c:	39 20 00 00 	li      r9,0                                   
ffc0fb30:	7c 25 0b 78 	mr      r5,r1                                  
  --bd->group->users;                                                 
}                                                                     
                                                                      
static rtems_mode                                                     
rtems_bdbuf_disable_preemption (void)                                 
{                                                                     
ffc0fb34:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
ffc0fb38:	38 60 01 00 	li      r3,256                                 
                                                                      
static rtems_mode                                                     
rtems_bdbuf_disable_preemption (void)                                 
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
ffc0fb3c:	95 25 00 08 	stwu    r9,8(r5)                               
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
ffc0fb40:	38 80 01 00 	li      r4,256                                 
ffc0fb44:	48 00 4e d1 	bl      ffc14a14 <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0fb48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fb4c:	40 9e 00 18 	bne-    cr7,ffc0fb64 <rtems_bdbuf_disable_preemption+0x40><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_PREEMPT_DIS);                
                                                                      
  return prev_mode;                                                   
}                                                                     
ffc0fb50:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0fb54:	80 61 00 08 	lwz     r3,8(r1)                               
ffc0fb58:	7c 08 03 a6 	mtlr    r0                                     
ffc0fb5c:	38 21 00 18 	addi    r1,r1,24                               
ffc0fb60:	4e 80 00 20 	blr                                            
  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_bdbuf_fatal (RTEMS_BDBUF_FATAL_PREEMPT_DIS);                
ffc0fb64:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc0fb68:	4b ff fe b1 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc1045c <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) {
ffc1045c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc10460:	7c 08 02 a6 	mflr    r0                                     
ffc10464:	90 01 00 14 	stw     r0,20(r1)                              
ffc10468:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1046c:	7c 7f 1b 78 	mr      r31,r3                                 
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc10470:	81 43 00 24 	lwz     r10,36(r3)                             
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc10474:	81 23 00 28 	lwz     r9,40(r3)                              
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc10478:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc1047c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc10480:	39 0a ff ff 	addi    r8,r10,-1                              
ffc10484:	91 09 00 0c 	stw     r8,12(r9)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10488:	39 20 00 01 	li      r9,1                                   
ffc1048c:	91 23 00 20 	stw     r9,32(r3)                              
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc10490:	41 9e 00 24 	beq-    cr7,ffc104b4 <rtems_bdbuf_discard_buffer_after_access+0x58>
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
}                                                                     
ffc10494:	80 01 00 14 	lwz     r0,20(r1)                              
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc10498:	3c 60 00 00 	lis     r3,0                                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
}                                                                     
ffc1049c:	83 e1 00 0c 	lwz     r31,12(r1)                             
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc104a0:	38 63 29 68 	addi    r3,r3,10600                            
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
}                                                                     
ffc104a4:	7c 08 03 a6 	mtlr    r0                                     
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
ffc104a8:	38 63 00 64 	addi    r3,r3,100                              
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
}                                                                     
ffc104ac:	38 21 00 10 	addi    r1,r1,16                               
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc104b0:	4b ff f9 18 	b       ffc0fdc8 <rtems_bdbuf_wake>            
ffc104b4:	4b ff ff 55 	bl      ffc10408 <rtems_bdbuf_discard_buffer.part.9>
rtems_bdbuf_discard_buffer_after_access (rtems_bdbuf_buffer *bd)      
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
ffc104b8:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc104bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc104c0:	40 be ff d4 	bne-    cr7,ffc10494 <rtems_bdbuf_discard_buffer_after_access+0x38><== NEVER TAKEN
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
}                                                                     
ffc104c4:	80 01 00 14 	lwz     r0,20(r1)                              
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc104c8:	3c 60 00 00 	lis     r3,0                                   
}                                                                     
ffc104cc:	83 e1 00 0c 	lwz     r31,12(r1)                             
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc104d0:	38 63 29 68 	addi    r3,r3,10600                            
}                                                                     
ffc104d4:	7c 08 03 a6 	mtlr    r0                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc104d8:	38 63 00 74 	addi    r3,r3,116                              
}                                                                     
ffc104dc:	38 21 00 10 	addi    r1,r1,16                               
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc104e0:	4b ff f8 e8 	b       ffc0fdc8 <rtems_bdbuf_wake>            
                                                                      

ffc11574 <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) {
ffc11574:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc11578:	7c 08 02 a6 	mflr    r0                                     
  /*                                                                  
   * 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) +                  
ffc1157c:	54 a9 20 36 	rlwinm  r9,r5,4,0,27                           
ffc11580:	81 41 00 00 	lwz     r10,0(r1)                              
ffc11584:	21 29 ff d0 	subfic  r9,r9,-48                              
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_read_request (rtems_disk_device  *dd,             
                                  rtems_bdbuf_buffer *bd,             
                                  uint32_t            transfer_count) 
{                                                                     
ffc11588:	90 01 00 34 	stw     r0,52(r1)                              
ffc1158c:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc11590:	93 01 00 10 	stw     r24,16(r1)                             
ffc11594:	93 21 00 14 	stw     r25,20(r1)                             
ffc11598:	93 41 00 18 	stw     r26,24(r1)                             
ffc1159c:	7c ba 2b 78 	mr      r26,r5                                 
ffc115a0:	93 61 00 1c 	stw     r27,28(r1)                             
ffc115a4:	7c 7b 1b 78 	mr      r27,r3                                 
ffc115a8:	93 81 00 20 	stw     r28,32(r1)                             
#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;                                   
ffc115ac:	3b 80 00 00 	li      r28,0                                  
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_read_request (rtems_disk_device  *dd,             
                                  rtems_bdbuf_buffer *bd,             
                                  uint32_t            transfer_count) 
{                                                                     
ffc115b0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc115b4:	93 c1 00 28 	stw     r30,40(r1)                             
ffc115b8:	7c 9e 23 78 	mr      r30,r4                                 
ffc115bc:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc115c0:	7c 3f 0b 78 	mr      r31,r1                                 
ffc115c4:	92 c1 00 08 	stw     r22,8(r1)                              
  /*                                                                  
   * 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) +                  
ffc115c8:	7d 41 49 6e 	stwux   r10,r1,r9                              
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->done = rtems_bdbuf_transfer_done;                              
ffc115cc:	3d 20 ff c1 	lis     r9,-63                                 
ffc115d0:	39 29 16 c8 	addi    r9,r9,5832                             
  /*                                                                  
   * 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) +                  
ffc115d4:	3b 01 00 17 	addi    r24,r1,23                              
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;                          
ffc115d8:	83 a4 00 18 	lwz     r29,24(r4)                             
  /*                                                                  
   * 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) +                  
ffc115dc:	57 18 00 36 	rlwinm  r24,r24,0,0,27                         
                                  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;       
  uint32_t block_size = dd->block_size;                               
ffc115e0:	83 23 00 24 	lwz     r25,36(r3)                             
                                  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;       
ffc115e4:	82 e3 00 2c 	lwz     r23,44(r3)                             
                                                                      
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->done = rtems_bdbuf_transfer_done;                              
ffc115e8:	91 38 00 04 	stw     r9,4(r24)                              
#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;                                   
ffc115ec:	93 98 00 00 	stw     r28,0(r24)                             
  req->done = rtems_bdbuf_transfer_done;                              
  req->io_task = rtems_task_self ();                                  
ffc115f0:	48 00 36 19 	bl      ffc14c08 <rtems_task_self>             
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
ffc115f4:	2b 9a 00 01 	cmplwi  cr7,r26,1                              
  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;                                  
ffc115f8:	81 3e 00 1c 	lwz     r9,28(r30)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc115fc:	39 40 00 09 	li      r10,9                                  
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->done = rtems_bdbuf_transfer_done;                              
  req->io_task = rtems_task_self ();                                  
ffc11600:	90 78 00 14 	stw     r3,20(r24)                             
  req->bufnum = 0;                                                    
ffc11604:	93 98 00 10 	stw     r28,16(r24)                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11608:	91 5e 00 20 	stw     r10,32(r30)                            
  req->io_task = rtems_task_self ();                                  
  req->bufnum = 0;                                                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);             
                                                                      
  req->bufs [0].user   = bd;                                          
ffc1160c:	93 d8 00 24 	stw     r30,36(r24)                            
  req->bufs [0].block  = media_block;                                 
ffc11610:	93 b8 00 18 	stw     r29,24(r24)                            
  req->bufs [0].length = block_size;                                  
ffc11614:	93 38 00 1c 	stw     r25,28(r24)                            
  req->bufs [0].buffer = bd->buffer;                                  
ffc11618:	91 38 00 20 	stw     r9,32(r24)                             
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
ffc1161c:	40 9d 00 a4 	ble-    cr7,ffc116c0 <rtems_bdbuf_execute_read_request+0x14c>
ffc11620:	7f 1e c3 78 	mr      r30,r24                                
{                                                                     
  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;                                        
ffc11624:	3b 80 00 01 	li      r28,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11628:	3a c0 00 09 	li      r22,9                                  
ffc1162c:	48 00 00 2c 	b       ffc11658 <rtems_bdbuf_execute_read_request+0xe4>
    req->bufs [transfer_index].buffer = bd->buffer;                   
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("read", bd);                            
                                                                      
    ++transfer_index;                                                 
ffc11630:	3b 9c 00 01 	addi    r28,r28,1                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11634:	92 c3 00 20 	stw     r22,32(r3)                             
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
ffc11638:	7f 9c d0 00 	cmpw    cr7,r28,r26                            
    if (bd == NULL)                                                   
      break;                                                          
                                                                      
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
ffc1163c:	90 7e 00 34 	stw     r3,52(r30)                             
    req->bufs [transfer_index].block  = media_block;                  
ffc11640:	93 be 00 28 	stw     r29,40(r30)                            
    req->bufs [transfer_index].length = block_size;                   
ffc11644:	93 3e 00 2c 	stw     r25,44(r30)                            
    req->bufs [transfer_index].buffer = bd->buffer;                   
ffc11648:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc1164c:	91 3e 00 30 	stw     r9,48(r30)                             
ffc11650:	3b de 00 10 	addi    r30,r30,16                             
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
ffc11654:	41 9e 00 1c 	beq-    cr7,ffc11670 <rtems_bdbuf_execute_read_request+0xfc>
  {                                                                   
    media_block += media_blocks_per_block;                            
ffc11658:	7f bd ba 14 	add     r29,r29,r23                            
                                                                      
    bd = rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);     
ffc1165c:	7f 63 db 78 	mr      r3,r27                                 
ffc11660:	7f a4 eb 78 	mr      r4,r29                                 
ffc11664:	4b ff f3 11 	bl      ffc10974 <rtems_bdbuf_get_buffer_for_read_ahead>
                                                                      
    if (bd == NULL)                                                   
ffc11668:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1166c:	40 82 ff c4 	bne+    ffc11630 <rtems_bdbuf_execute_read_request+0xbc><== ALWAYS TAKEN
      rtems_bdbuf_show_users ("read", bd);                            
                                                                      
    ++transfer_index;                                                 
  }                                                                   
                                                                      
  req->bufnum = transfer_index;                                       
ffc11670:	93 98 00 10 	stw     r28,16(r24)                            
                                                                      
  return rtems_bdbuf_execute_transfer_request (dd, req, true);        
ffc11674:	7f 63 db 78 	mr      r3,r27                                 
ffc11678:	7f 04 c3 78 	mr      r4,r24                                 
ffc1167c:	38 a0 00 01 	li      r5,1                                   
ffc11680:	4b ff f6 35 	bl      ffc10cb4 <rtems_bdbuf_execute_transfer_request>
}                                                                     
ffc11684:	39 7f 00 30 	addi    r11,r31,48                             
ffc11688:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc1168c:	82 cb ff d8 	lwz     r22,-40(r11)                           
ffc11690:	7c 08 03 a6 	mtlr    r0                                     
ffc11694:	82 eb ff dc 	lwz     r23,-36(r11)                           
ffc11698:	83 0b ff e0 	lwz     r24,-32(r11)                           
ffc1169c:	83 2b ff e4 	lwz     r25,-28(r11)                           
ffc116a0:	83 4b ff e8 	lwz     r26,-24(r11)                           
ffc116a4:	83 6b ff ec 	lwz     r27,-20(r11)                           
ffc116a8:	83 8b ff f0 	lwz     r28,-16(r11)                           
ffc116ac:	83 ab ff f4 	lwz     r29,-12(r11)                           
ffc116b0:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc116b4:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc116b8:	7d 61 5b 78 	mr      r1,r11                                 
ffc116bc:	4e 80 00 20 	blr                                            
{                                                                     
  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;                                        
ffc116c0:	3b 80 00 01 	li      r28,1                                  
ffc116c4:	4b ff ff ac 	b       ffc11670 <rtems_bdbuf_execute_read_request+0xfc>
                                                                      

ffc10cb4 <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) {
ffc10cb4:	7d 80 00 26 	mfcr    r12                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
ffc10cb8:	2d 85 00 00 	cmpwi   cr3,r5,0                               
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_transfer_request (rtems_disk_device    *dd,       
                                      rtems_blkdev_request *req,      
                                      bool                  cache_locked)
{                                                                     
ffc10cbc:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10cc0:	7c 08 02 a6 	mflr    r0                                     
ffc10cc4:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10cc8:	7c 9e 23 78 	mr      r30,r4                                 
ffc10ccc:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc10cd0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc10cd4:	90 01 00 34 	stw     r0,52(r1)                              
ffc10cd8:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc10cdc:	93 01 00 10 	stw     r24,16(r1)                             
ffc10ce0:	93 21 00 14 	stw     r25,20(r1)                             
ffc10ce4:	93 41 00 18 	stw     r26,24(r1)                             
ffc10ce8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc10cec:	93 81 00 20 	stw     r28,32(r1)                             
ffc10cf0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc10cf4:	91 81 00 08 	stw     r12,8(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
ffc10cf8:	40 8e 01 dc 	bne-    cr3,ffc10ed4 <rtems_bdbuf_execute_transfer_request+0x220>
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  /* The return value will be ignored for transfer requests */        
  dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);                 
ffc10cfc:	81 3f 00 38 	lwz     r9,56(r31)                             
ffc10d00:	3c 80 c0 18 	lis     r4,-16360                              
ffc10d04:	60 84 42 01 	ori     r4,r4,16897                            
ffc10d08:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc10d0c:	7d 29 03 a6 	mtctr   r9                                     
ffc10d10:	7f c5 f3 78 	mr      r5,r30                                 
ffc10d14:	4e 80 04 21 	bctrl                                          
                                                                      
  /* Wait for transfer request completion */                          
  rtems_bdbuf_wait_for_transient_event ();                            
ffc10d18:	4b ff ff 5d 	bl      ffc10c74 <rtems_bdbuf_wait_for_transient_event>
  sc = req->status;                                                   
ffc10d1c:	83 9e 00 0c 	lwz     r28,12(r30)                            
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc10d20:	4b ff ed 55 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
ffc10d24:	81 3e 00 00 	lwz     r9,0(r30)                              
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10d28:	2e 1c 00 00 	cmpwi   cr4,r28,0                              
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
ffc10d2c:	81 1e 00 10 	lwz     r8,16(r30)                             
  sc = req->status;                                                   
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
ffc10d30:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10d34:	40 9e 01 30 	bne-    cr7,ffc10e64 <rtems_bdbuf_execute_transfer_request+0x1b0>
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
ffc10d38:	81 3f 00 50 	lwz     r9,80(r31)                             
ffc10d3c:	7d 29 42 14 	add     r9,r9,r8                               
ffc10d40:	91 3f 00 50 	stw     r9,80(r31)                             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10d44:	40 92 01 6c 	bne-    cr4,ffc10eb0 <rtems_bdbuf_execute_transfer_request+0x1fc>
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc10d48:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc10d4c:	3b e0 00 01 	li      r31,1                                  
ffc10d50:	3b 00 00 00 	li      r24,0                                  
ffc10d54:	3a e0 00 00 	li      r23,0                                  
ffc10d58:	41 9e 00 b8 	beq-    cr7,ffc10e10 <rtems_bdbuf_execute_transfer_request+0x15c><== NEVER TAKEN
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc10d5c:	3f a0 00 00 	lis     r29,0                                  
ffc10d60:	3b bd 29 68 	addi    r29,r29,10600                          
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
    bool waiters = bd->waiters;                                       
                                                                      
    if (waiters)                                                      
      wake_transfer_waiters = true;                                   
ffc10d64:	3b 20 00 01 	li      r25,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10d68:	3b 40 00 02 	li      r26,2                                  
                                                                      
  the_node->next = tail;                                              
ffc10d6c:	3b 7d 00 44 	addi    r27,r29,68                             
ffc10d70:	48 00 00 48 	b       ffc10db8 <rtems_bdbuf_execute_transfer_request+0x104>
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
    bool waiters = bd->waiters;                                       
                                                                      
    if (waiters)                                                      
      wake_transfer_waiters = true;                                   
ffc10d74:	3a e0 00 01 	li      r23,1                                  
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc10d78:	81 23 00 28 	lwz     r9,40(r3)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc10d7c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc10d80:	39 4a ff ff 	addi    r10,r10,-1                             
ffc10d84:	91 49 00 0c 	stw     r10,12(r9)                             
    else                                                              
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_group_release (bd);                                   
                                                                      
    if (sc == RTEMS_SUCCESSFUL && bd->state == RTEMS_BDBUF_STATE_TRANSFER)
ffc10d88:	40 92 00 10 	bne-    cr4,ffc10d98 <rtems_bdbuf_execute_transfer_request+0xe4>
ffc10d8c:	81 23 00 20 	lwz     r9,32(r3)                              
ffc10d90:	2f 09 00 09 	cmpwi   cr6,r9,9                               
ffc10d94:	41 9a 00 44 	beq-    cr6,ffc10dd8 <rtems_bdbuf_execute_transfer_request+0x124>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10d98:	93 23 00 20 	stw     r25,32(r3)                             
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
ffc10d9c:	40 be 00 0c 	bne+    cr7,ffc10da8 <rtems_bdbuf_execute_transfer_request+0xf4>
ffc10da0:	4b ff f6 69 	bl      ffc10408 <rtems_bdbuf_discard_buffer.part.9>
ffc10da4:	81 1e 00 10 	lwz     r8,16(r30)                             
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc10da8:	7f 88 f8 40 	cmplw   cr7,r8,r31                             
ffc10dac:	39 3f 00 01 	addi    r9,r31,1                               
ffc10db0:	7d 3f 4b 78 	mr      r31,r9                                 
ffc10db4:	40 9d 00 4c 	ble-    cr7,ffc10e00 <rtems_bdbuf_execute_transfer_request+0x14c><== ALWAYS TAKEN
                                                                      
  rtems_event_transient_send (req->io_task);                          
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_execute_transfer_request (rtems_disk_device    *dd,       
ffc10db8:	57 e9 20 36 	rlwinm  r9,r31,4,0,27                          
ffc10dbc:	7d 3e 4a 14 	add     r9,r30,r9                              
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
ffc10dc0:	80 69 00 14 	lwz     r3,20(r9)                              
    bool waiters = bd->waiters;                                       
ffc10dc4:	81 23 00 24 	lwz     r9,36(r3)                              
                                                                      
    if (waiters)                                                      
ffc10dc8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10dcc:	40 be ff a8 	bne-    cr7,ffc10d74 <rtems_bdbuf_execute_transfer_request+0xc0>
      wake_transfer_waiters = true;                                   
    else                                                              
      wake_buffer_waiters = true;                                     
ffc10dd0:	3b 00 00 01 	li      r24,1                                  
ffc10dd4:	4b ff ff a4 	b       ffc10d78 <rtems_bdbuf_execute_transfer_request+0xc4>
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc10dd8:	7f 88 f8 40 	cmplw   cr7,r8,r31                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc10ddc:	81 3d 00 48 	lwz     r9,72(r29)                             
                                                                      
  the_node->next = tail;                                              
ffc10de0:	93 63 00 00 	stw     r27,0(r3)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10de4:	93 43 00 20 	stw     r26,32(r3)                             
  tail->previous = the_node;                                          
ffc10de8:	90 7d 00 48 	stw     r3,72(r29)                             
  old_last->next = the_node;                                          
ffc10dec:	90 69 00 00 	stw     r3,0(r9)                               
  the_node->previous = old_last;                                      
ffc10df0:	91 23 00 04 	stw     r9,4(r3)                               
ffc10df4:	39 3f 00 01 	addi    r9,r31,1                               
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
ffc10df8:	7d 3f 4b 78 	mr      r31,r9                                 
ffc10dfc:	41 9d ff bc 	bgt+    cr7,ffc10db8 <rtems_bdbuf_execute_transfer_request+0x104>
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
ffc10e00:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc10e04:	40 9e 00 bc 	bne-    cr7,ffc10ec0 <rtems_bdbuf_execute_transfer_request+0x20c>
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
ffc10e08:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc10e0c:	40 9e 00 8c 	bne-    cr7,ffc10e98 <rtems_bdbuf_execute_transfer_request+0x1e4>
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  if (!cache_locked)                                                  
ffc10e10:	41 8e 00 80 	beq-    cr3,ffc10e90 <rtems_bdbuf_execute_transfer_request+0x1dc>
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  if (sc == RTEMS_SUCCESSFUL || sc == RTEMS_UNSATISFIED)              
ffc10e14:	41 92 00 10 	beq-    cr4,ffc10e24 <rtems_bdbuf_execute_transfer_request+0x170>
ffc10e18:	2f 9c 00 0d 	cmpwi   cr7,r28,13                             
ffc10e1c:	41 9e 00 08 	beq-    cr7,ffc10e24 <rtems_bdbuf_execute_transfer_request+0x170>
    return sc;                                                        
  else                                                                
    return RTEMS_IO_ERROR;                                            
ffc10e20:	3b 80 00 1b 	li      r28,27                                 
}                                                                     
ffc10e24:	80 01 00 34 	lwz     r0,52(r1)                              
ffc10e28:	7f 83 e3 78 	mr      r3,r28                                 
ffc10e2c:	81 81 00 08 	lwz     r12,8(r1)                              
ffc10e30:	7c 08 03 a6 	mtlr    r0                                     
ffc10e34:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc10e38:	83 01 00 10 	lwz     r24,16(r1)                             
ffc10e3c:	7d 81 81 20 	mtcrf   24,r12                                 
ffc10e40:	83 21 00 14 	lwz     r25,20(r1)                             
ffc10e44:	83 41 00 18 	lwz     r26,24(r1)                             
ffc10e48:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc10e4c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc10e50:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc10e54:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10e58:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc10e5c:	38 21 00 30 	addi    r1,r1,48                               
ffc10e60:	4e 80 00 20 	blr                                            
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
ffc10e64:	81 5f 00 5c 	lwz     r10,92(r31)                            
    ++dd->stats.write_transfers;                                      
ffc10e68:	81 3f 00 58 	lwz     r9,88(r31)                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
ffc10e6c:	7d 4a 42 14 	add     r10,r10,r8                             
    ++dd->stats.write_transfers;                                      
ffc10e70:	39 29 00 01 	addi    r9,r9,1                                
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
ffc10e74:	91 5f 00 5c 	stw     r10,92(r31)                            
    ++dd->stats.write_transfers;                                      
ffc10e78:	91 3f 00 58 	stw     r9,88(r31)                             
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc10e7c:	41 b2 fe cc 	beq-    cr4,ffc10d48 <rtems_bdbuf_execute_transfer_request+0x94>
      ++dd->stats.write_errors;                                       
ffc10e80:	81 3f 00 60 	lwz     r9,96(r31)                             
ffc10e84:	39 29 00 01 	addi    r9,r9,1                                
ffc10e88:	91 3f 00 60 	stw     r9,96(r31)                             
ffc10e8c:	4b ff fe bc 	b       ffc10d48 <rtems_bdbuf_execute_transfer_request+0x94>
                                                                      
  if (wake_buffer_waiters)                                            
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  if (!cache_locked)                                                  
    rtems_bdbuf_unlock_cache ();                                      
ffc10e90:	4b ff ec 49 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
ffc10e94:	4b ff ff 80 	b       ffc10e14 <rtems_bdbuf_execute_transfer_request+0x160>
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc10e98:	3c 60 00 00 	lis     r3,0                                   
ffc10e9c:	38 63 29 68 	addi    r3,r3,10600                            
ffc10ea0:	38 63 00 74 	addi    r3,r3,116                              
ffc10ea4:	4b ff ef 25 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
                                                                      
  if (!cache_locked)                                                  
ffc10ea8:	40 8e ff 6c 	bne+    cr3,ffc10e14 <rtems_bdbuf_execute_transfer_request+0x160>
ffc10eac:	4b ff ff e4 	b       ffc10e90 <rtems_bdbuf_execute_transfer_request+0x1dc>
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
ffc10eb0:	81 3f 00 54 	lwz     r9,84(r31)                             
ffc10eb4:	39 29 00 01 	addi    r9,r9,1                                
ffc10eb8:	91 3f 00 54 	stw     r9,84(r31)                             
ffc10ebc:	4b ff fe 8c 	b       ffc10d48 <rtems_bdbuf_execute_transfer_request+0x94>
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
ffc10ec0:	3c 60 00 00 	lis     r3,0                                   
ffc10ec4:	38 63 29 68 	addi    r3,r3,10600                            
ffc10ec8:	38 63 00 6c 	addi    r3,r3,108                              
ffc10ecc:	4b ff ee fd 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc10ed0:	4b ff ff 38 	b       ffc10e08 <rtems_bdbuf_execute_transfer_request+0x154>
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
    rtems_bdbuf_unlock_cache ();                                      
ffc10ed4:	4b ff ec 05 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
ffc10ed8:	4b ff fe 24 	b       ffc10cfc <rtems_bdbuf_execute_transfer_request+0x48>
                                                                      

ffc0fa18 <rtems_bdbuf_fatal>: #define RTEMS_BDBUF_AVL_MAX_HEIGHT (32) #endif static void rtems_bdbuf_fatal (rtems_fatal_code error) {
ffc0fa18:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc0fa1c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc0fa20:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
  rtems_fatal (RTEMS_FATAL_SOURCE_BDBUF, error);                      
ffc0fa24:	38 60 00 03 	li      r3,3                                   <== NOT EXECUTED
#define RTEMS_BDBUF_AVL_MAX_HEIGHT (32)                               
#endif                                                                
                                                                      
static void                                                           
rtems_bdbuf_fatal (rtems_fatal_code error)                            
{                                                                     
ffc0fa28:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  rtems_fatal (RTEMS_FATAL_SOURCE_BDBUF, error);                      
ffc0fa2c:	4b ff bd bd 	bl      ffc0b7e8 <rtems_fatal>                 <== NOT EXECUTED
                                                                      

ffc0fa84 <rtems_bdbuf_fatal_with_state>: } static void rtems_bdbuf_fatal_with_state (rtems_bdbuf_buf_state state, rtems_bdbuf_fatal_code error) {
ffc0fa84:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc0fa88:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_bdbuf_fatal ((((uint32_t) state) << 16) | error);             
ffc0fa8c:	54 63 80 1e 	rlwinm  r3,r3,16,0,15                          <== NOT EXECUTED
ffc0fa90:	7c 83 1b 78 	or      r3,r4,r3                               <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_fatal_with_state (rtems_bdbuf_buf_state state,            
                              rtems_bdbuf_fatal_code error)           
{                                                                     
ffc0fa94:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
  rtems_bdbuf_fatal ((((uint32_t) state) << 16) | error);             
ffc0fa98:	4b ff ff 81 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc11c8c <rtems_bdbuf_get>: rtems_status_code rtems_bdbuf_get (rtems_disk_device *dd, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
ffc11c8c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc11c90:	7c 08 02 a6 	mflr    r0                                     
ffc11c94:	93 e1 00 14 	stw     r31,20(r1)                             
ffc11c98:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11c9c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc11ca0:	7c bd 2b 78 	mr      r29,r5                                 
ffc11ca4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc11ca8:	7c 9e 23 78 	mr      r30,r4                                 
ffc11cac:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block;                                    
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11cb0:	4b ff dd c5 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
ffc11cb4:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc11cb8:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc11cbc:	41 9c 00 34 	blt-    cr7,ffc11cf0 <rtems_bdbuf_get+0x64>    <== ALWAYS TAKEN
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11cc0:	4b ff de 19 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11cc4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
  }                                                                   
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_ID;                                            
ffc11cc8:	3b c0 00 04 	li      r30,4                                  <== NOT EXECUTED
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11ccc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
rtems_bdbuf_get (rtems_disk_device   *dd,                             
                 rtems_blkdev_bnum    block,                          
                 rtems_bdbuf_buffer **bd_ptr)                         
{                                                                     
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_bdbuf_buffer *bd = NULL;                                      
ffc11cd0:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
ffc11cd4:	93 fd 00 00 	stw     r31,0(r29)                             <== NOT EXECUTED
                                                                      
  return sc;                                                          
}                                                                     
ffc11cd8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc11cdc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc11ce0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc11ce4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc11ce8:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc11cec:	4e 80 00 20 	blr                                            <== 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)                            
ffc11cf0:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc11cf4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc11cf8:	41 9c 00 dc 	blt-    cr7,ffc11dd4 <rtems_bdbuf_get+0x148>   <== NEVER TAKEN
    return block << dd->block_to_media_block_shift;                   
ffc11cfc:	7f c4 20 30 	slw     r4,r30,r4                              
    /*                                                                
     * 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;
ffc11d00:	81 3f 00 18 	lwz     r9,24(r31)                             
     */                                                               
    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);         
ffc11d04:	7f e3 fb 78 	mr      r3,r31                                 
ffc11d08:	7c 84 4a 14 	add     r4,r4,r9                               
ffc11d0c:	4b ff ec f9 	bl      ffc10a04 <rtems_bdbuf_get_buffer_for_access>
ffc11d10:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
    switch (bd->state)                                                
ffc11d14:	80 63 00 20 	lwz     r3,32(r3)                              
ffc11d18:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc11d1c:	41 9e 00 84 	beq-    cr7,ffc11da0 <rtems_bdbuf_get+0x114>   
ffc11d20:	2f 83 00 07 	cmpwi   cr7,r3,7                               
ffc11d24:	41 9e 00 14 	beq-    cr7,ffc11d38 <rtems_bdbuf_get+0xac>    
ffc11d28:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc11d2c:	41 9e 00 40 	beq-    cr7,ffc11d6c <rtems_bdbuf_get+0xe0>    <== ALWAYS TAKEN
         * 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_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_2);
ffc11d30:	38 80 00 0f 	li      r4,15                                  <== NOT EXECUTED
ffc11d34:	4b ff dd 51 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11d38:	39 20 00 04 	li      r9,4                                   
ffc11d3c:	91 3f 00 20 	stw     r9,32(r31)                             
ffc11d40:	3b c0 00 00 	li      r30,0                                  
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11d44:	4b ff dd 95 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11d48:	80 01 00 1c 	lwz     r0,28(r1)                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
ffc11d4c:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc11d50:	7f c3 f3 78 	mr      r3,r30                                 
ffc11d54:	7c 08 03 a6 	mtlr    r0                                     
ffc11d58:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc11d5c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc11d60:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc11d64:	38 21 00 18 	addi    r1,r1,24                               
ffc11d68:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11d6c:	39 20 00 05 	li      r9,5                                   
ffc11d70:	91 3f 00 20 	stw     r9,32(r31)                             
ffc11d74:	3b c0 00 00 	li      r30,0                                  
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11d78:	4b ff dd 61 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11d7c:	80 01 00 1c 	lwz     r0,28(r1)                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
ffc11d80:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc11d84:	7f c3 f3 78 	mr      r3,r30                                 
ffc11d88:	7c 08 03 a6 	mtlr    r0                                     
ffc11d8c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc11d90:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc11d94:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc11d98:	38 21 00 18 	addi    r1,r1,24                               
ffc11d9c:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11da0:	39 20 00 03 	li      r9,3                                   
ffc11da4:	91 3f 00 20 	stw     r9,32(r31)                             
ffc11da8:	3b c0 00 00 	li      r30,0                                  
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11dac:	4b ff dd 2d 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11db0:	80 01 00 1c 	lwz     r0,28(r1)                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
ffc11db4:	93 fd 00 00 	stw     r31,0(r29)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc11db8:	7f c3 f3 78 	mr      r3,r30                                 
ffc11dbc:	7c 08 03 a6 	mtlr    r0                                     
ffc11dc0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc11dc4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc11dc8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc11dcc:	38 21 00 18 	addi    r1,r1,24                               
ffc11dd0:	4e 80 00 20 	blr                                            
    /*                                                                
     * 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); 
ffc11dd4:	80 7f 00 24 	lwz     r3,36(r31)                             <== NOT EXECUTED
ffc11dd8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc11ddc:	80 df 00 20 	lwz     r6,32(r31)                             <== NOT EXECUTED
ffc11de0:	7d 5e 19 d6 	mullw   r10,r30,r3                             <== NOT EXECUTED
ffc11de4:	7d 3e 18 16 	mulhwu  r9,r30,r3                              <== NOT EXECUTED
ffc11de8:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc11dec:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc11df0:	48 00 9b 39 	bl      ffc1b928 <__udivdi3>                   <== NOT EXECUTED
ffc11df4:	4b ff ff 0c 	b       ffc11d00 <rtems_bdbuf_get+0x74>        <== NOT EXECUTED
                                                                      

ffc10a04 <rtems_bdbuf_get_buffer_for_access>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd, rtems_blkdev_bnum block) {
ffc10a04:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc10a08:	7c 08 02 a6 	mflr    r0                                     
ffc10a0c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc10a10:	3f c0 00 00 	lis     r30,0                                  
ffc10a14:	3b de 29 68 	addi    r30,r30,10600                          
ffc10a18:	93 a1 00 34 	stw     r29,52(r1)                             
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10a1c:	3f a0 ff c2 	lis     r29,-62                                
ffc10a20:	3b bd db 84 	addi    r29,r29,-9340                          
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a24:	90 01 00 44 	stw     r0,68(r1)                              
ffc10a28:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc10a2c:	92 41 00 08 	stw     r18,8(r1)                              
ffc10a30:	7c 72 1b 78 	mr      r18,r3                                 
ffc10a34:	92 61 00 0c 	stw     r19,12(r1)                             
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
ffc10a38:	7f d3 f3 78 	mr      r19,r30                                
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a3c:	92 81 00 10 	stw     r20,16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc10a40:	3a 9e 00 50 	addi    r20,r30,80                             
ffc10a44:	92 a1 00 14 	stw     r21,20(r1)                             
        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);         
ffc10a48:	3a be 00 6c 	addi    r21,r30,108                            
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a4c:	92 c1 00 18 	stw     r22,24(r1)                             
        }                                                             
      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);           
ffc10a50:	3a de 00 64 	addi    r22,r30,100                            
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a54:	92 e1 00 1c 	stw     r23,28(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10a58:	3a e0 00 08 	li      r23,8                                  
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a5c:	93 01 00 20 	stw     r24,32(r1)                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc10a60:	3b 1e 00 5c 	addi    r24,r30,92                             
ffc10a64:	93 21 00 24 	stw     r25,36(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10a68:	3b 20 00 00 	li      r25,0                                  
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a6c:	93 41 00 28 	stw     r26,40(r1)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc10a70:	3b 5e 00 40 	addi    r26,r30,64                             
ffc10a74:	93 61 00 2c 	stw     r27,44(r1)                             
      {                                                               
        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);             
ffc10a78:	3b 7e 00 74 	addi    r27,r30,116                            
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd,             
                                   rtems_blkdev_bnum  block)          
{                                                                     
ffc10a7c:	93 81 00 30 	stw     r28,48(r1)                             
ffc10a80:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
ffc10a84:	80 7e 00 3c 	lwz     r3,60(r30)                             
ffc10a88:	7e 44 93 78 	mr      r4,r18                                 
ffc10a8c:	7f 85 e3 78 	mr      r5,r28                                 
ffc10a90:	4b ff f2 d9 	bl      ffc0fd68 <rtems_bdbuf_avl_search.isra.1>
                                                                      
    if (bd != NULL)                                                   
ffc10a94:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10a98:	41 82 00 bc 	beq-    ffc10b54 <rtems_bdbuf_get_buffer_for_access+0x150>
    {                                                                 
      if (bd->group->bds_per_group != dd->bds_per_group)              
ffc10a9c:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc10aa0:	81 52 00 34 	lwz     r10,52(r18)                            
ffc10aa4:	81 29 00 08 	lwz     r9,8(r9)                               
ffc10aa8:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc10aac:	40 9e 00 34 	bne-    cr7,ffc10ae0 <rtems_bdbuf_get_buffer_for_access+0xdc>
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10ab0:	3d 20 ff c2 	lis     r9,-62                                 
        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);         
ffc10ab4:	3b 9e 00 6c 	addi    r28,r30,108                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10ab8:	3b a9 db b0 	addi    r29,r9,-9296                           
        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);           
ffc10abc:	3b de 00 64 	addi    r30,r30,100                            
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10ac0:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc10ac4:	2b 83 00 0a 	cmplwi  cr7,r3,10                              
ffc10ac8:	40 9d 00 fc 	ble-    cr7,ffc10bc4 <rtems_bdbuf_get_buffer_for_access+0x1c0><== ALWAYS TAKEN
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_7);
ffc10acc:	38 80 00 13 	li      r4,19                                  <== NOT EXECUTED
ffc10ad0:	4b ff ef b5 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== 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);           
ffc10ad4:	7f e3 fb 78 	mr      r3,r31                                 
ffc10ad8:	7e c4 b3 78 	mr      r4,r22                                 
ffc10adc:	4b ff f1 61 	bl      ffc0fc3c <rtems_bdbuf_wait>            
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10ae0:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc10ae4:	2b 83 00 0a 	cmplwi  cr7,r3,10                              
ffc10ae8:	40 9d 00 0c 	ble-    cr7,ffc10af4 <rtems_bdbuf_get_buffer_for_access+0xf0><== ALWAYS TAKEN
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_8);
ffc10aec:	38 80 00 14 	li      r4,20                                  <== NOT EXECUTED
ffc10af0:	4b ff ef 95 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10af4:	54 69 10 3a 	rlwinm  r9,r3,2,0,29                           
ffc10af8:	7d 3d 48 2e 	lwzx    r9,r29,r9                              
ffc10afc:	7d 29 ea 14 	add     r9,r9,r29                              
ffc10b00:	7d 29 03 a6 	mtctr   r9                                     
ffc10b04:	4e 80 04 20 	bctr                                           
      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)                                         
ffc10b08:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc10b0c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10b10:	40 9e 00 68 	bne-    cr7,ffc10b78 <rtems_bdbuf_get_buffer_for_access+0x174><== ALWAYS TAKEN
    {                                                                 
      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);             
ffc10b14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10b18:	4b ff f9 cd 	bl      ffc104e4 <rtems_bdbuf_remove_from_tree_and_lru_list><== NOT EXECUTED
  before_node           = after_node->next;                           
ffc10b1c:	81 3e 00 40 	lwz     r9,64(r30)                             <== NOT EXECUTED
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc10b20:	93 5f 00 04 	stw     r26,4(r31)                             <== NOT EXECUTED
          rtems_bdbuf_make_free_and_add_to_lru_list (bd);             
          rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);             
ffc10b24:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10b28:	93 3f 00 20 	stw     r25,32(r31)                            <== NOT EXECUTED
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc10b2c:	93 fe 00 40 	stw     r31,64(r30)                            <== NOT EXECUTED
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc10b30:	93 e9 00 04 	stw     r31,4(r9)                              <== NOT EXECUTED
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc10b34:	91 3f 00 00 	stw     r9,0(r31)                              <== 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);             
ffc10b38:	4b ff f2 91 	bl      ffc0fdc8 <rtems_bdbuf_wake>            <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
ffc10b3c:	80 7e 00 3c 	lwz     r3,60(r30)                             <== NOT EXECUTED
ffc10b40:	7e 44 93 78 	mr      r4,r18                                 <== NOT EXECUTED
ffc10b44:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc10b48:	4b ff f2 21 	bl      ffc0fd68 <rtems_bdbuf_avl_search.isra.1><== NOT EXECUTED
                                                                      
    if (bd != NULL)                                                   
ffc10b4c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc10b50:	40 82 ff 4c 	bne+    ffc10a9c <rtems_bdbuf_get_buffer_for_access+0x98><== NOT EXECUTED
        bd = NULL;                                                    
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      bd = rtems_bdbuf_get_buffer_from_lru_list (dd, block);          
ffc10b54:	7e 43 93 78 	mr      r3,r18                                 
ffc10b58:	7f 84 e3 78 	mr      r4,r28                                 
ffc10b5c:	4b ff f9 e5 	bl      ffc10540 <rtems_bdbuf_get_buffer_from_lru_list>
                                                                      
      if (bd == NULL)                                                 
ffc10b60:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc10b64:	40 82 ff 4c 	bne+    ffc10ab0 <rtems_bdbuf_get_buffer_for_access+0xac>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
ffc10b68:	81 33 00 4c 	lwz     r9,76(r19)                             
ffc10b6c:	7f 89 a0 00 	cmpw    cr7,r9,r20                             
ffc10b70:	41 9e 00 08 	beq-    cr7,ffc10b78 <rtems_bdbuf_get_buffer_for_access+0x174>
    rtems_bdbuf_wake_swapper ();                                      
ffc10b74:	4b ff ef 75 	bl      ffc0fae8 <rtems_bdbuf_wake_swapper>    
           * 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);   
ffc10b78:	7f 63 db 78 	mr      r3,r27                                 
ffc10b7c:	4b ff f0 31 	bl      ffc0fbac <rtems_bdbuf_anonymous_wait>  
ffc10b80:	4b ff ff 04 	b       ffc10a84 <rtems_bdbuf_get_buffer_for_access+0x80>
        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);         
ffc10b84:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc10b88:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc10b8c:	4b ff f0 b1 	bl      ffc0fc3c <rtems_bdbuf_wait>            <== NOT EXECUTED
ffc10b90:	4b ff ff 50 	b       ffc10ae0 <rtems_bdbuf_get_buffer_for_access+0xdc><== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc10b94:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
  previous       = the_node->previous;                                
ffc10b98:	81 1f 00 04 	lwz     r8,4(r31)                              <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10b9c:	92 ff 00 20 	stw     r23,32(r31)                            <== NOT EXECUTED
  next->previous = previous;                                          
ffc10ba0:	91 09 00 04 	stw     r8,4(r9)                               <== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc10ba4:	81 5e 00 60 	lwz     r10,96(r30)                            <== NOT EXECUTED
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc10ba8:	91 28 00 00 	stw     r9,0(r8)                               <== NOT EXECUTED
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc10bac:	93 fe 00 60 	stw     r31,96(r30)                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc10bb0:	93 1f 00 00 	stw     r24,0(r31)                             <== NOT EXECUTED
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc10bb4:	91 5f 00 04 	stw     r10,4(r31)                             <== NOT EXECUTED
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc10bb8:	93 ea 00 00 	stw     r31,0(r10)                             <== 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 ();                                        
ffc10bbc:	4b ff ef 2d 	bl      ffc0fae8 <rtems_bdbuf_wake_swapper>    <== NOT EXECUTED
ffc10bc0:	4b ff ff 20 	b       ffc10ae0 <rtems_bdbuf_get_buffer_for_access+0xdc><== NOT EXECUTED
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc10bc4:	54 69 10 3a 	rlwinm  r9,r3,2,0,29                           
ffc10bc8:	7d 3d 48 2e 	lwzx    r9,r29,r9                              
ffc10bcc:	7d 29 ea 14 	add     r9,r9,r29                              
ffc10bd0:	7d 29 03 a6 	mtctr   r9                                     
ffc10bd4:	4e 80 04 20 	bctr                                           
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc10bd8:	81 3f 00 28 	lwz     r9,40(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc10bdc:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc10be0:	39 4a ff ff 	addi    r10,r10,-1                             
ffc10be4:	91 49 00 0c 	stw     r10,12(r9)                             
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc10be8:	81 3f 00 00 	lwz     r9,0(r31)                              
  previous       = the_node->previous;                                
ffc10bec:	81 5f 00 04 	lwz     r10,4(r31)                             
  next->previous = previous;                                          
ffc10bf0:	91 49 00 04 	stw     r10,4(r9)                              
  previous->next = next;                                              
ffc10bf4:	91 2a 00 00 	stw     r9,0(r10)                              
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10bf8:	80 01 00 44 	lwz     r0,68(r1)                              
ffc10bfc:	7f e3 fb 78 	mr      r3,r31                                 
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc10c00:	81 3f 00 28 	lwz     r9,40(r31)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10c04:	7c 08 03 a6 	mtlr    r0                                     
ffc10c08:	82 41 00 08 	lwz     r18,8(r1)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10c0c:	81 49 00 0c 	lwz     r10,12(r9)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10c10:	82 61 00 0c 	lwz     r19,12(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10c14:	39 4a 00 01 	addi    r10,r10,1                              
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10c18:	82 81 00 10 	lwz     r20,16(r1)                             
ffc10c1c:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc10c20:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc10c24:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc10c28:	83 01 00 20 	lwz     r24,32(r1)                             
ffc10c2c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc10c30:	83 41 00 28 	lwz     r26,40(r1)                             
ffc10c34:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc10c38:	83 81 00 30 	lwz     r28,48(r1)                             
ffc10c3c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc10c40:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc10c44:	83 e1 00 3c 	lwz     r31,60(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc10c48:	91 49 00 0c 	stw     r10,12(r9)                             
                                                                      
  rtems_bdbuf_wait_for_access (bd);                                   
  rtems_bdbuf_group_obtain (bd);                                      
                                                                      
  return bd;                                                          
}                                                                     
ffc10c4c:	38 21 00 40 	addi    r1,r1,64                               
ffc10c50:	4e 80 00 20 	blr                                            
        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);         
ffc10c54:	7f e3 fb 78 	mr      r3,r31                                 
ffc10c58:	7f 84 e3 78 	mr      r4,r28                                 
ffc10c5c:	4b ff ef e1 	bl      ffc0fc3c <rtems_bdbuf_wait>            
ffc10c60:	4b ff fe 60 	b       ffc10ac0 <rtems_bdbuf_get_buffer_for_access+0xbc>
        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);           
ffc10c64:	7f e3 fb 78 	mr      r3,r31                                 
ffc10c68:	7f c4 f3 78 	mr      r4,r30                                 
ffc10c6c:	4b ff ef d1 	bl      ffc0fc3c <rtems_bdbuf_wait>            
ffc10c70:	4b ff fe 50 	b       ffc10ac0 <rtems_bdbuf_get_buffer_for_access+0xbc>
                                                                      

ffc10974 <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) {
ffc10974:	94 21 ff f0 	stwu    r1,-16(r1)                             
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);         
ffc10978:	3d 20 00 00 	lis     r9,0                                   
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_read_ahead (rtems_disk_device *dd,         
                                       rtems_blkdev_bnum  block)      
{                                                                     
ffc1097c:	7c 08 02 a6 	mflr    r0                                     
ffc10980:	93 c1 00 08 	stw     r30,8(r1)                              
ffc10984:	7c 7e 1b 78 	mr      r30,r3                                 
ffc10988:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1098c:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);         
ffc10990:	7f e5 fb 78 	mr      r5,r31                                 
ffc10994:	80 69 29 a4 	lwz     r3,10660(r9)                           
ffc10998:	7f c4 f3 78 	mr      r4,r30                                 
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_for_read_ahead (rtems_disk_device *dd,         
                                       rtems_blkdev_bnum  block)      
{                                                                     
ffc1099c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);         
ffc109a0:	4b ff f3 c9 	bl      ffc0fd68 <rtems_bdbuf_avl_search.isra.1>
                                                                      
  if (bd == NULL)                                                     
ffc109a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc109a8:	41 9e 00 20 	beq-    cr7,ffc109c8 <rtems_bdbuf_get_buffer_for_read_ahead+0x54><== ALWAYS TAKEN
  else                                                                
    /*                                                                
     * The buffer is in the cache.  So it is already available or in use, and
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
ffc109ac:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
  return bd;                                                          
}                                                                     
ffc109b0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc109b4:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc109b8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc109bc:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc109c0:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc109c4:	4e 80 00 20 	blr                                            <== 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);            
ffc109c8:	7f c3 f3 78 	mr      r3,r30                                 
ffc109cc:	7f e4 fb 78 	mr      r4,r31                                 
ffc109d0:	4b ff fb 71 	bl      ffc10540 <rtems_bdbuf_get_buffer_from_lru_list>
                                                                      
    if (bd != NULL)                                                   
ffc109d4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc109d8:	41 a2 ff d8 	beq-    ffc109b0 <rtems_bdbuf_get_buffer_for_read_ahead+0x3c><== NEVER TAKEN
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
ffc109dc:	80 01 00 14 	lwz     r0,20(r1)                              
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc109e0:	81 23 00 28 	lwz     r9,40(r3)                              
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
ffc109e4:	7c 08 03 a6 	mtlr    r0                                     
ffc109e8:	83 c1 00 08 	lwz     r30,8(r1)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc109ec:	81 49 00 0c 	lwz     r10,12(r9)                             
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
ffc109f0:	83 e1 00 0c 	lwz     r31,12(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc109f4:	39 4a 00 01 	addi    r10,r10,1                              
ffc109f8:	91 49 00 0c 	stw     r10,12(r9)                             
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
ffc109fc:	38 21 00 10 	addi    r1,r1,16                               
ffc10a00:	4e 80 00 20 	blr                                            
                                                                      

ffc10540 <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) {
ffc10540:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc10544:	7c 08 02 a6 	mflr    r0                                     
ffc10548:	93 81 00 b0 	stw     r28,176(r1)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc1054c:	3f 80 00 00 	lis     r28,0                                  
ffc10550:	3b 9c 29 68 	addi    r28,r28,10600                          
ffc10554:	93 e1 00 bc 	stw     r31,188(r1)                            
ffc10558:	83 fc 00 40 	lwz     r31,64(r28)                            
ffc1055c:	92 c1 00 98 	stw     r22,152(r1)                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc10560:	3a dc 00 44 	addi    r22,r28,68                             
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
ffc10564:	7f 9f b0 00 	cmpw    cr7,r31,r22                            
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_from_lru_list (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
ffc10568:	92 a1 00 94 	stw     r21,148(r1)                            
       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);                   
ffc1056c:	3a bc 00 74 	addi    r21,r28,116                            
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_from_lru_list (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
ffc10570:	92 e1 00 9c 	stw     r23,156(r1)                            
ffc10574:	3a fc 00 40 	addi    r23,r28,64                             
ffc10578:	93 01 00 a0 	stw     r24,160(r1)                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc1057c:	3b 00 00 00 	li      r24,0                                  
}                                                                     
                                                                      
static rtems_bdbuf_buffer *                                           
rtems_bdbuf_get_buffer_from_lru_list (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
ffc10580:	93 21 00 a4 	stw     r25,164(r1)                            
ffc10584:	7c 99 23 78 	mr      r25,r4                                 
ffc10588:	93 41 00 a8 	stw     r26,168(r1)                            
ffc1058c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc10590:	90 01 00 c4 	stw     r0,196(r1)                             
ffc10594:	92 41 00 88 	stw     r18,136(r1)                            
ffc10598:	92 61 00 8c 	stw     r19,140(r1)                            
ffc1059c:	92 81 00 90 	stw     r20,144(r1)                            
ffc105a0:	93 61 00 ac 	stw     r27,172(r1)                            
ffc105a4:	93 a1 00 b4 	stw     r29,180(r1)                            
ffc105a8:	93 c1 00 b8 	stw     r30,184(r1)                            
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
ffc105ac:	40 be 00 14 	bne+    cr7,ffc105c0 <rtems_bdbuf_get_buffer_from_lru_list+0x80>
ffc105b0:	48 00 02 00 	b       ffc107b0 <rtems_bdbuf_get_buffer_from_lru_list+0x270>
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc105b4:	83 ff 00 00 	lwz     r31,0(r31)                             
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))               
ffc105b8:	7f 9f b0 00 	cmpw    cr7,r31,r22                            
ffc105bc:	41 9e 01 f4 	beq-    cr7,ffc107b0 <rtems_bdbuf_get_buffer_from_lru_list+0x270>
              bd->group->bds_per_group, dd->bds_per_group);           
                                                                      
    /*                                                                
     * If nobody waits for this BD, we may recycle it.                
     */                                                               
    if (bd->waiters == 0)                                             
ffc105c0:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc105c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc105c8:	40 be ff ec 	bne-    cr7,ffc105b4 <rtems_bdbuf_get_buffer_from_lru_list+0x74>
    {                                                                 
      if (bd->group->bds_per_group == dd->bds_per_group)              
ffc105cc:	83 7f 00 28 	lwz     r27,40(r31)                            
ffc105d0:	82 9a 00 34 	lwz     r20,52(r26)                            
ffc105d4:	81 3b 00 08 	lwz     r9,8(r27)                              
ffc105d8:	7f 89 a0 00 	cmpw    cr7,r9,r20                             
ffc105dc:	41 9e 00 b0 	beq-    cr7,ffc1068c <rtems_bdbuf_get_buffer_from_lru_list+0x14c>
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
                                                                      
        empty_bd = bd;                                                
      }                                                               
      else if (bd->group->users == 0)                                 
ffc105e0:	81 5b 00 0c 	lwz     r10,12(r27)                            
ffc105e4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc105e8:	40 9e ff cc 	bne+    cr7,ffc105b4 <rtems_bdbuf_get_buffer_from_lru_list+0x74>
            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;                                      
ffc105ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  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; 
ffc105f0:	82 5c 00 20 	lwz     r18,32(r28)                            
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc105f4:	3a 7b 00 08 	addi    r19,r27,8                              
            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;                                      
ffc105f8:	83 db 00 10 	lwz     r30,16(r27)                            
  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; 
ffc105fc:	7e 52 4b 96 	divwu   r18,r18,r9                             
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
ffc10600:	41 9e 00 2c 	beq-    cr7,ffc1062c <rtems_bdbuf_get_buffer_from_lru_list+0xec><== NEVER TAKEN
ffc10604:	1e 52 00 38 	mulli   r18,r18,56                             
ffc10608:	3b a0 00 00 	li      r29,0                                  
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
ffc1060c:	7f c3 f3 78 	mr      r3,r30                                 
ffc10610:	4b ff fe d5 	bl      ffc104e4 <rtems_bdbuf_remove_from_tree_and_lru_list>
            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;                                      
ffc10614:	81 33 00 00 	lwz     r9,0(r19)                              
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc10618:	3b bd 00 01 	addi    r29,r29,1                              
            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;                                      
ffc1061c:	7f 9d 48 40 	cmplw   cr7,r29,r9                             
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
ffc10620:	7f de 92 14 	add     r30,r30,r18                            
            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;                                      
ffc10624:	41 9c ff e8 	blt+    cr7,ffc1060c <rtems_bdbuf_get_buffer_from_lru_list+0xcc>
ffc10628:	83 db 00 10 	lwz     r30,16(r27)                            
       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;                           
ffc1062c:	92 9b 00 08 	stw     r20,8(r27)                             
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc10630:	2b 94 00 01 	cmplwi  cr7,r20,1                              
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
                                                                      
  group->bds_per_group = new_bds_per_group;                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
ffc10634:	81 1c 00 20 	lwz     r8,32(r28)                             
ffc10638:	7d 08 a3 96 	divwu   r8,r8,r20                              
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
ffc1063c:	1d 08 00 38 	mulli   r8,r8,56                               
ffc10640:	7d 3e 42 14 	add     r9,r30,r8                              
ffc10644:	40 9d 00 38 	ble-    cr7,ffc1067c <rtems_bdbuf_get_buffer_from_lru_list+0x13c>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc10648:	3a 94 ff ff 	addi    r20,r20,-1                             
ffc1064c:	7e 89 03 a6 	mtctr   r20                                    
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc10650:	92 e9 00 04 	stw     r23,4(r9)                              
  before_node           = after_node->next;                           
ffc10654:	81 5c 00 40 	lwz     r10,64(r28)                            
ffc10658:	93 09 00 20 	stw     r24,32(r9)                             
  after_node->next      = the_node;                                   
ffc1065c:	91 3c 00 40 	stw     r9,64(r28)                             
  the_node->next        = before_node;                                
ffc10660:	91 49 00 00 	stw     r10,0(r9)                              
  before_node->previous = the_node;                                   
ffc10664:	91 2a 00 04 	stw     r9,4(r10)                              
  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)                                        
ffc10668:	7d 29 42 14 	add     r9,r9,r8                               
    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;                        
ffc1066c:	42 00 ff e4 	bdnz+   ffc10650 <rtems_bdbuf_get_buffer_from_lru_list+0x110>
       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);                   
ffc10670:	7e a3 ab 78 	mr      r3,r21                                 
ffc10674:	4b ff f7 55 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc10678:	83 db 00 10 	lwz     r30,16(r27)                            
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, dd->bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
ffc1067c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc10680:	41 9e ff 34 	beq+    cr7,ffc105b4 <rtems_bdbuf_get_buffer_from_lru_list+0x74><== NEVER TAKEN
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  return group->bdbuf;                                                
ffc10684:	7f df f3 78 	mr      r31,r30                                
ffc10688:	48 00 00 0c 	b       ffc10694 <rtems_bdbuf_get_buffer_from_lru_list+0x154>
     */                                                               
    if (bd->waiters == 0)                                             
    {                                                                 
      if (bd->group->bds_per_group == dd->bds_per_group)              
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
ffc1068c:	7f e3 fb 78 	mr      r3,r31                                 
ffc10690:	4b ff fe 55 	bl      ffc104e4 <rtems_bdbuf_remove_from_tree_and_lru_list>
                                rtems_disk_device  *dd,               
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dd        = dd ;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
ffc10694:	39 40 00 00 	li      r10,0                                  
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                rtems_disk_device  *dd,               
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dd        = dd ;                                                
ffc10698:	93 5f 00 14 	stw     r26,20(r31)                            
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
ffc1069c:	91 5f 00 08 	stw     r10,8(r31)                             
  bd->avl.right = NULL;                                               
ffc106a0:	91 5f 00 0c 	stw     r10,12(r31)                            
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc106a4:	81 3c 00 3c 	lwz     r9,60(r28)                             
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                rtems_disk_device  *dd,               
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dd        = dd ;                                                
  bd->block     = block;                                              
ffc106a8:	93 3f 00 18 	stw     r25,24(r31)                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc106ac:	2f 89 00 00 	cmpwi   cr7,r9,0                               
{                                                                     
  bd->dd        = dd ;                                                
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
ffc106b0:	91 5f 00 24 	stw     r10,36(r31)                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc106b4:	41 9e 01 68 	beq-    cr7,ffc1081c <rtems_bdbuf_get_buffer_from_lru_list+0x2dc>
ffc106b8:	38 a1 00 08 	addi    r5,r1,8                                
ffc106bc:	7c aa 2b 78 	mr      r10,r5                                 
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
ffc106c0:	38 c0 00 01 	li      r6,1                                   
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
ffc106c4:	38 80 ff ff 	li      r4,-1                                  
ffc106c8:	48 00 00 1c 	b       ffc106e4 <rtems_bdbuf_get_buffer_from_lru_list+0x1a4>
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
ffc106cc:	81 09 00 0c 	lwz     r8,12(r9)                              
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
ffc106d0:	98 c9 00 10 	stb     r6,16(r9)                              
      q = p->avl.right;                                               
      if (q == NULL)                                                  
ffc106d4:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc106d8:	41 9e 02 70 	beq-    cr7,ffc10948 <rtems_bdbuf_get_buffer_from_lru_list+0x408>
ffc106dc:	7c ea 3b 78 	mr      r10,r7                                 
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
ffc106e0:	7d 09 43 78 	mr      r9,r8                                  
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
ffc106e4:	81 09 00 14 	lwz     r8,20(r9)                              
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc106e8:	38 ea 00 04 	addi    r7,r10,4                               
ffc106ec:	91 2a 00 00 	stw     r9,0(r10)                              
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
ffc106f0:	7f 88 d0 40 	cmplw   cr7,r8,r26                             
ffc106f4:	41 bc ff d8 	blt-    cr7,ffc106cc <rtems_bdbuf_get_buffer_from_lru_list+0x18c><== NEVER TAKEN
        || ((p->dd == dd) && (p->block < block)))                     
ffc106f8:	7f 9a 40 00 	cmpw    cr7,r26,r8                             
ffc106fc:	41 9e 01 04 	beq-    cr7,ffc10800 <rtems_bdbuf_get_buffer_from_lru_list+0x2c0><== ALWAYS TAKEN
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
ffc10700:	81 09 00 08 	lwz     r8,8(r9)                               
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
ffc10704:	98 89 00 10 	stb     r4,16(r9)                              
      q = p->avl.left;                                                
      if (q == NULL)                                                  
ffc10708:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1070c:	40 9e ff d0 	bne+    cr7,ffc106dc <rtems_bdbuf_get_buffer_from_lru_list+0x19c>
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
ffc10710:	93 e9 00 08 	stw     r31,8(r9)                              
ffc10714:	38 e0 ff ff 	li      r7,-1                                  
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc10718:	39 00 00 00 	li      r8,0                                   
ffc1071c:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc10720:	91 1f 00 0c 	stw     r8,12(r31)                             
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc10724:	39 60 ff ff 	li      r11,-1                                 
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
ffc10728:	91 1f 00 08 	stw     r8,8(r31)                              
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc1072c:	38 60 00 01 	li      r3,1                                   
            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;                                             
ffc10730:	38 80 00 00 	li      r4,0                                   
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
ffc10734:	99 1f 00 11 	stb     r8,17(r31)                             
            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;
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc10738:	38 00 ff ff 	li      r0,-1                                  
ffc1073c:	48 00 00 3c 	b       ffc10778 <rtems_bdbuf_get_buffer_from_lru_list+0x238>
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
ffc10740:	98 69 00 11 	stb     r3,17(r9)                              
ffc10744:	7d 28 4b 78 	mr      r8,r9                                  
ffc10748:	38 c0 00 01 	li      r6,1                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc1074c:	7f 85 50 40 	cmplw   cr7,r5,r10                             
ffc10750:	40 9c 00 58 	bge-    cr7,ffc107a8 <rtems_bdbuf_get_buffer_from_lru_list+0x268>
    {                                                                 
      p = *--buf_prev;                                                
ffc10754:	81 2a ff fc 	lwz     r9,-4(r10)                             
                                                                      
      if (p->avl.cache == -1)                                         
ffc10758:	88 e9 00 10 	lbz     r7,16(r9)                              
ffc1075c:	7c e7 07 74 	extsb   r7,r7                                  
ffc10760:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc10764:	41 9e 00 ec 	beq-    cr7,ffc10850 <rtems_bdbuf_get_buffer_from_lru_list+0x310>
      {                                                               
        p->avl.left = q;                                              
      }                                                               
      else                                                            
      {                                                               
        p->avl.right = q;                                             
ffc10768:	91 09 00 0c 	stw     r8,12(r9)                              
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
ffc1076c:	2f 06 00 00 	cmpwi   cr6,r6,0                               
ffc10770:	39 4a ff fc 	addi    r10,r10,-4                             
ffc10774:	41 9a 00 b8 	beq-    cr6,ffc1082c <rtems_bdbuf_get_buffer_from_lru_list+0x2ec>
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
ffc10778:	89 09 00 11 	lbz     r8,17(r9)                              
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc1077c:	41 9e 00 bc 	beq-    cr7,ffc10838 <rtems_bdbuf_get_buffer_from_lru_list+0x2f8>
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc10780:	7d 07 07 75 	extsb.  r7,r8                                  
ffc10784:	41 a2 ff bc 	beq-    ffc10740 <rtems_bdbuf_get_buffer_from_lru_list+0x200>
ffc10788:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc1078c:	41 9e 00 dc 	beq-    cr7,ffc10868 <rtems_bdbuf_get_buffer_from_lru_list+0x328>
ffc10790:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc10794:	41 9e 00 c4 	beq-    cr7,ffc10858 <rtems_bdbuf_get_buffer_from_lru_list+0x318><== ALWAYS TAKEN
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc10798:	7f 85 50 40 	cmplw   cr7,r5,r10                             <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
ffc1079c:	7d 28 4b 78 	mr      r8,r9                                  <== NOT EXECUTED
ffc107a0:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
ffc107a4:	41 9c ff b0 	blt+    cr7,ffc10754 <rtems_bdbuf_get_buffer_from_lru_list+0x214><== NOT EXECUTED
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc107a8:	91 1c 00 3c 	stw     r8,60(r28)                             
ffc107ac:	48 00 00 80 	b       ffc1082c <rtems_bdbuf_get_buffer_from_lru_list+0x2ec>
    }                                                                 
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
ffc107b0:	3b e0 00 00 	li      r31,0                                  
}                                                                     
ffc107b4:	80 01 00 c4 	lwz     r0,196(r1)                             
ffc107b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc107bc:	82 41 00 88 	lwz     r18,136(r1)                            
ffc107c0:	7c 08 03 a6 	mtlr    r0                                     
ffc107c4:	82 61 00 8c 	lwz     r19,140(r1)                            
ffc107c8:	82 81 00 90 	lwz     r20,144(r1)                            
ffc107cc:	82 a1 00 94 	lwz     r21,148(r1)                            
ffc107d0:	82 c1 00 98 	lwz     r22,152(r1)                            
ffc107d4:	82 e1 00 9c 	lwz     r23,156(r1)                            
ffc107d8:	83 01 00 a0 	lwz     r24,160(r1)                            
ffc107dc:	83 21 00 a4 	lwz     r25,164(r1)                            
ffc107e0:	83 41 00 a8 	lwz     r26,168(r1)                            
ffc107e4:	83 61 00 ac 	lwz     r27,172(r1)                            
ffc107e8:	83 81 00 b0 	lwz     r28,176(r1)                            
ffc107ec:	83 a1 00 b4 	lwz     r29,180(r1)                            
ffc107f0:	83 c1 00 b8 	lwz     r30,184(r1)                            
ffc107f4:	83 e1 00 bc 	lwz     r31,188(r1)                            
ffc107f8:	38 21 00 c0 	addi    r1,r1,192                              
ffc107fc:	4e 80 00 20 	blr                                            
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
ffc10800:	81 09 00 18 	lwz     r8,24(r9)                              
ffc10804:	7f 99 40 40 	cmplw   cr7,r25,r8                             
ffc10808:	41 bd fe c4 	bgt-    cr7,ffc106cc <rtems_bdbuf_get_buffer_from_lru_list+0x18c>
        q = node;                                                     
        p->avl.right = q = node;                                      
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
ffc1080c:	7f 99 40 00 	cmpw    cr7,r25,r8                             
ffc10810:	40 9e fe f0 	bne+    cr7,ffc10700 <rtems_bdbuf_get_buffer_from_lru_list+0x1c0><== ALWAYS TAKEN
  bd->avl.left  = NULL;                                               
  bd->avl.right = NULL;                                               
  bd->waiters   = 0;                                                  
                                                                      
  if (rtems_bdbuf_avl_insert (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_RECYCLE);                    
ffc10814:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc10818:	4b ff f2 01 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
  {                                                                   
    *root = node;                                                     
ffc1081c:	93 fc 00 3c 	stw     r31,60(r28)                            
    node->avl.left = NULL;                                            
ffc10820:	91 3f 00 08 	stw     r9,8(r31)                              
    node->avl.right = NULL;                                           
ffc10824:	91 3f 00 0c 	stw     r9,12(r31)                             
    node->avl.bal = 0;                                                
ffc10828:	99 3f 00 11 	stb     r9,17(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc1082c:	39 20 00 01 	li      r9,1                                   
ffc10830:	91 3f 00 20 	stw     r9,32(r31)                             
ffc10834:	4b ff ff 80 	b       ffc107b4 <rtems_bdbuf_get_buffer_from_lru_list+0x274>
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
ffc10838:	7d 06 07 75 	extsb.  r6,r8                                  
ffc1083c:	40 82 00 8c 	bne-    ffc108c8 <rtems_bdbuf_get_buffer_from_lru_list+0x388>
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = -1;                                            
ffc10840:	98 e9 00 11 	stb     r7,17(r9)                              
ffc10844:	7d 28 4b 78 	mr      r8,r9                                  
ffc10848:	38 c0 00 01 	li      r6,1                                   
ffc1084c:	4b ff ff 00 	b       ffc1074c <rtems_bdbuf_get_buffer_from_lru_list+0x20c>
    {                                                                 
      p = *--buf_prev;                                                
                                                                      
      if (p->avl.cache == -1)                                         
      {                                                               
        p->avl.left = q;                                              
ffc10850:	91 09 00 08 	stw     r8,8(r9)                               
ffc10854:	4b ff ff 18 	b       ffc1076c <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
ffc10858:	98 89 00 11 	stb     r4,17(r9)                              
ffc1085c:	7d 28 4b 78 	mr      r8,r9                                  
          modified = false;                                           
ffc10860:	38 c0 00 00 	li      r6,0                                   
ffc10864:	4b ff fe e8 	b       ffc1074c <rtems_bdbuf_get_buffer_from_lru_list+0x20c>
        case 0:                                                       
          p->avl.bal = 1;                                             
          break;                                                      
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
ffc10868:	80 e9 00 0c 	lwz     r7,12(r9)                              
          if (p1->avl.bal == 1) /* simple RR-turn */                  
ffc1086c:	89 07 00 11 	lbz     r8,17(r7)                              
ffc10870:	2f 88 00 01 	cmpwi   cr7,r8,1                               
ffc10874:	41 9e 00 b4 	beq-    cr7,ffc10928 <rtems_bdbuf_get_buffer_from_lru_list+0x3e8>
            p->avl.bal = 0;                                           
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
ffc10878:	81 07 00 08 	lwz     r8,8(r7)                               
            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;
ffc1087c:	8b c8 00 11 	lbz     r30,17(r8)                             
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
ffc10880:	80 c8 00 0c 	lwz     r6,12(r8)                              
            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;
ffc10884:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc10888:	90 e8 00 0c 	stw     r7,12(r8)                              
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
ffc1088c:	90 c7 00 08 	stw     r6,8(r7)                               
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc10890:	80 c8 00 08 	lwz     r6,8(r8)                               
            p2->avl.left = p;                                         
ffc10894:	91 28 00 08 	stw     r9,8(r8)                               
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc10898:	90 c9 00 0c 	stw     r6,12(r9)                              
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc1089c:	41 9e 00 a4 	beq-    cr7,ffc10940 <rtems_bdbuf_get_buffer_from_lru_list+0x400><== NEVER TAKEN
ffc108a0:	98 89 00 11 	stb     r4,17(r9)                              
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
ffc108a4:	89 28 00 11 	lbz     r9,17(r8)                              
ffc108a8:	2f 89 00 ff 	cmpwi   cr7,r9,255                             
ffc108ac:	41 9e 00 14 	beq-    cr7,ffc108c0 <rtems_bdbuf_get_buffer_from_lru_list+0x380><== NEVER TAKEN
ffc108b0:	98 87 00 11 	stb     r4,17(r7)                              
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
ffc108b4:	98 88 00 11 	stb     r4,17(r8)                              
          modified = false;                                           
ffc108b8:	38 c0 00 00 	li      r6,0                                   
ffc108bc:	4b ff fe 90 	b       ffc1074c <rtems_bdbuf_get_buffer_from_lru_list+0x20c>
            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;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
ffc108c0:	98 67 00 11 	stb     r3,17(r7)                              <== NOT EXECUTED
ffc108c4:	4b ff ff f0 	b       ffc108b4 <rtems_bdbuf_get_buffer_from_lru_list+0x374><== NOT EXECUTED
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
ffc108c8:	2f 86 00 01 	cmpwi   cr7,r6,1                               
ffc108cc:	41 be ff 8c 	beq-    cr7,ffc10858 <rtems_bdbuf_get_buffer_from_lru_list+0x318>
ffc108d0:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc108d4:	40 9e fe c4 	bne+    cr7,ffc10798 <rtems_bdbuf_get_buffer_from_lru_list+0x258><== NEVER TAKEN
        case 0:                                                       
          p->avl.bal = -1;                                            
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc108d8:	80 e9 00 08 	lwz     r7,8(r9)                               
          if (p1->avl.bal == -1) /* simple LL-turn */                 
ffc108dc:	89 07 00 11 	lbz     r8,17(r7)                              
ffc108e0:	2f 88 00 ff 	cmpwi   cr7,r8,255                             
ffc108e4:	41 9e 00 70 	beq-    cr7,ffc10954 <rtems_bdbuf_get_buffer_from_lru_list+0x414>
            p->avl.bal = 0;                                           
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
ffc108e8:	81 07 00 0c 	lwz     r8,12(r7)                              
            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;
ffc108ec:	8b c8 00 11 	lbz     r30,17(r8)                             
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc108f0:	80 c8 00 08 	lwz     r6,8(r8)                               
            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;
ffc108f4:	2f 9e 00 ff 	cmpwi   cr7,r30,255                            
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
ffc108f8:	90 e8 00 08 	stw     r7,8(r8)                               
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
ffc108fc:	90 c7 00 0c 	stw     r6,12(r7)                              
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc10900:	80 c8 00 0c 	lwz     r6,12(r8)                              
            p2->avl.right = p;                                        
ffc10904:	91 28 00 0c 	stw     r9,12(r8)                              
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc10908:	90 c9 00 08 	stw     r6,8(r9)                               
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
ffc1090c:	41 9e 00 60 	beq-    cr7,ffc1096c <rtems_bdbuf_get_buffer_from_lru_list+0x42c>
ffc10910:	98 89 00 11 	stb     r4,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc10914:	89 28 00 11 	lbz     r9,17(r8)                              
ffc10918:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1091c:	40 9e ff 94 	bne+    cr7,ffc108b0 <rtems_bdbuf_get_buffer_from_lru_list+0x370>
ffc10920:	98 07 00 11 	stb     r0,17(r7)                              
ffc10924:	4b ff ff 90 	b       ffc108b4 <rtems_bdbuf_get_buffer_from_lru_list+0x374>
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10928:	80 c7 00 08 	lwz     r6,8(r7)                               
            p1->avl.left = p;                                         
            p->avl.bal = 0;                                           
ffc1092c:	7c e8 3b 78 	mr      r8,r7                                  
ffc10930:	98 89 00 11 	stb     r4,17(r9)                              
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10934:	90 c9 00 0c 	stw     r6,12(r9)                              
            p1->avl.left = p;                                         
ffc10938:	91 27 00 08 	stw     r9,8(r7)                               
ffc1093c:	4b ff ff 78 	b       ffc108b4 <rtems_bdbuf_get_buffer_from_lru_list+0x374>
            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;
ffc10940:	99 69 00 11 	stb     r11,17(r9)                             <== NOT EXECUTED
ffc10944:	4b ff ff 60 	b       ffc108a4 <rtems_bdbuf_get_buffer_from_lru_list+0x364><== NOT EXECUTED
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
      if (q == NULL)                                                  
      {                                                               
        q = node;                                                     
        p->avl.right = q = node;                                      
ffc10948:	93 e9 00 0c 	stw     r31,12(r9)                             
ffc1094c:	38 e0 00 01 	li      r7,1                                   
ffc10950:	4b ff fd c8 	b       ffc10718 <rtems_bdbuf_get_buffer_from_lru_list+0x1d8>
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc10954:	80 c7 00 0c 	lwz     r6,12(r7)                              
            p1->avl.right = p;                                        
            p->avl.bal = 0;                                           
ffc10958:	7c e8 3b 78 	mr      r8,r7                                  
ffc1095c:	98 89 00 11 	stb     r4,17(r9)                              
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc10960:	90 c9 00 08 	stw     r6,8(r9)                               
            p1->avl.right = p;                                        
ffc10964:	91 27 00 0c 	stw     r9,12(r7)                              
ffc10968:	4b ff ff 4c 	b       ffc108b4 <rtems_bdbuf_get_buffer_from_lru_list+0x374>
            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;
ffc1096c:	98 69 00 11 	stb     r3,17(r9)                              
ffc10970:	4b ff ff a4 	b       ffc10914 <rtems_bdbuf_get_buffer_from_lru_list+0x3d4>
                                                                      

ffc11874 <rtems_bdbuf_init>: rtems_mode prev_mode; if (rtems_bdbuf_tracer) printf ("bdbuf:init\n"); if (rtems_interrupt_is_in_progress())
ffc11874:	3d 20 00 00 	lis     r9,0                                   
ffc11878:	81 29 2e 48 	lwz     r9,11848(r9)                           
    return RTEMS_CALLED_FROM_ISR;                                     
ffc1187c:	38 60 00 12 	li      r3,18                                  
  rtems_mode          prev_mode;                                      
                                                                      
  if (rtems_bdbuf_tracer)                                             
    printf ("bdbuf:init\n");                                          
                                                                      
  if (rtems_interrupt_is_in_progress())                               
ffc11880:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11884:	4c be 00 20 	bnelr+  cr7                                    
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc11888:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1188c:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
    return RTEMS_INVALID_NUMBER;                                      
ffc11890:	38 60 00 0a 	li      r3,10                                  
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc11894:	93 e1 00 2c 	stw     r31,44(r1)                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc11898:	3f e0 ff c2 	lis     r31,-62                                
ffc1189c:	3b ff cc 5c 	addi    r31,r31,-13220                         
ffc118a0:	81 3f 00 28 	lwz     r9,40(r31)                             
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc118a4:	93 c1 00 28 	stw     r30,40(r1)                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc118a8:	83 df 00 24 	lwz     r30,36(r31)                            
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc118ac:	93 81 00 20 	stw     r28,32(r1)                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc118b0:	7f 89 f3 96 	divwu   r28,r9,r30                             
 *                                                                    
 * @return rtems_status_code The initialisation status.               
 */                                                                   
rtems_status_code                                                     
rtems_bdbuf_init (void)                                               
{                                                                     
ffc118b4:	90 01 00 34 	stw     r0,52(r1)                              
ffc118b8:	92 c1 00 08 	stw     r22,8(r1)                              
ffc118bc:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc118c0:	93 01 00 10 	stw     r24,16(r1)                             
ffc118c4:	93 21 00 14 	stw     r25,20(r1)                             
ffc118c8:	93 41 00 18 	stw     r26,24(r1)                             
ffc118cc:	93 61 00 1c 	stw     r27,28(r1)                             
ffc118d0:	93 a1 00 24 	stw     r29,36(r1)                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  /*                                                                  
   * Check the configuration table values.                            
   */                                                                 
  if ((bdbuf_config.buffer_max % bdbuf_config.buffer_min) != 0)       
ffc118d4:	7d 5c f1 d6 	mullw   r10,r28,r30                            
ffc118d8:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc118dc:	41 9e 00 3c 	beq-    cr7,ffc11918 <rtems_bdbuf_init+0xa4>   <== ALWAYS TAKEN
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
ffc118e0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc118e4:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc118e8:	7c 08 03 a6 	mtlr    r0                                     
ffc118ec:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc118f0:	83 01 00 10 	lwz     r24,16(r1)                             
ffc118f4:	83 21 00 14 	lwz     r25,20(r1)                             
ffc118f8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc118fc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc11900:	83 81 00 20 	lwz     r28,32(r1)                             
ffc11904:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc11908:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1190c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc11910:	38 21 00 30 	addi    r1,r1,48                               
ffc11914:	4e 80 00 20 	blr                                            
   * 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 ();                      
  if (bdbuf_cache.initialised)                                        
ffc11918:	3f 40 00 00 	lis     r26,0                                  
  /*                                                                  
   * 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 ();                      
ffc1191c:	4b ff e2 09 	bl      ffc0fb24 <rtems_bdbuf_disable_preemption>
  if (bdbuf_cache.initialised)                                        
ffc11920:	3b ba 29 68 	addi    r29,r26,10600                          
ffc11924:	8b 7d 00 95 	lbz     r27,149(r29)                           
  /*                                                                  
   * 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 ();                      
ffc11928:	7c 79 1b 78 	mr      r25,r3                                 
  if (bdbuf_cache.initialised)                                        
ffc1192c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc11930:	41 9e 00 10 	beq-    cr7,ffc11940 <rtems_bdbuf_init+0xcc>   <== ALWAYS TAKEN
  {                                                                   
    rtems_bdbuf_restore_preemption (prev_mode);                       
ffc11934:	4b ff e2 39 	bl      ffc0fb6c <rtems_bdbuf_restore_preemption><== NOT EXECUTED
    return RTEMS_RESOURCE_IN_USE;                                     
ffc11938:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc1193c:	4b ff ff a4 	b       ffc118e0 <rtems_bdbuf_init+0x6c>       <== NOT EXECUTED
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
ffc11940:	38 80 00 00 	li      r4,0                                   
ffc11944:	38 a0 00 98 	li      r5,152                                 
ffc11948:	7f a3 eb 78 	mr      r3,r29                                 
ffc1194c:	48 00 67 05 	bl      ffc18050 <memset>                      
  bdbuf_cache.initialised = true;                                     
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc11950:	7f 23 cb 78 	mr      r3,r25                                 
    rtems_bdbuf_restore_preemption (prev_mode);                       
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
  bdbuf_cache.initialised = true;                                     
ffc11954:	39 20 00 01 	li      r9,1                                   
ffc11958:	99 3d 00 95 	stb     r9,149(r29)                            
  rtems_bdbuf_restore_preemption (prev_mode);                         
ffc1195c:	4b ff e2 11 	bl      ffc0fb6c <rtems_bdbuf_restore_preemption>
  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'), 
ffc11960:	3c 60 42 44 	lis     r3,16964                               
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11964:	39 9d 00 50 	addi    r12,r29,80                             
   */                                                                 
  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;                        
ffc11968:	93 7d 00 38 	stw     r27,56(r29)                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1196c:	38 1d 00 4c 	addi    r0,r29,76                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11970:	39 7d 00 5c 	addi    r11,r29,92                             
  head->previous = NULL;                                              
ffc11974:	93 7d 00 0c 	stw     r27,12(r29)                            
  tail->previous = head;                                              
ffc11978:	39 1d 00 58 	addi    r8,r29,88                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1197c:	39 5d 00 8c 	addi    r10,r29,140                            
  head->previous = NULL;                                              
ffc11980:	93 7d 00 44 	stw     r27,68(r29)                            
  tail->previous = head;                                              
ffc11984:	39 3d 00 88 	addi    r9,r29,136                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11988:	3a dd 00 0c 	addi    r22,r29,12                             
ffc1198c:	91 9d 00 4c 	stw     r12,76(r29)                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc11990:	3a fd 00 08 	addi    r23,r29,8                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11994:	3b 3d 00 44 	addi    r25,r29,68                             
ffc11998:	92 dd 00 08 	stw     r22,8(r29)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1199c:	3b 1d 00 40 	addi    r24,r29,64                             
  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'), 
ffc119a0:	60 63 43 6c 	ori     r3,r3,17260                            
ffc119a4:	92 fd 00 10 	stw     r23,16(r29)                            
ffc119a8:	38 80 00 01 	li      r4,1                                   
ffc119ac:	38 a0 00 54 	li      r5,84                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc119b0:	93 3d 00 40 	stw     r25,64(r29)                            
ffc119b4:	38 c0 00 00 	li      r6,0                                   
ffc119b8:	38 fd 00 28 	addi    r7,r29,40                              
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc119bc:	93 1d 00 48 	stw     r24,72(r29)                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc119c0:	93 7d 00 50 	stw     r27,80(r29)                            
  tail->previous = head;                                              
ffc119c4:	90 1d 00 54 	stw     r0,84(r29)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc119c8:	91 7d 00 58 	stw     r11,88(r29)                            
  head->previous = NULL;                                              
ffc119cc:	93 7d 00 5c 	stw     r27,92(r29)                            
  tail->previous = head;                                              
ffc119d0:	91 1d 00 60 	stw     r8,96(r29)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc119d4:	91 5d 00 88 	stw     r10,136(r29)                           
  head->previous = NULL;                                              
ffc119d8:	93 7d 00 8c 	stw     r27,140(r29)                           
  tail->previous = head;                                              
ffc119dc:	91 3d 00 90 	stw     r9,144(r29)                            
ffc119e0:	4b ff 92 55 	bl      ffc0ac34 <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc119e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc119e8:	41 9e 00 90 	beq-    cr7,ffc11a78 <rtems_bdbuf_init+0x204>  <== ALWAYS TAKEN
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.read_ahead_task != 0)                               
ffc119ec:	80 7d 00 84 	lwz     r3,132(r29)                            <== NOT EXECUTED
ffc119f0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc119f4:	40 9e 00 64 	bne-    cr7,ffc11a58 <rtems_bdbuf_init+0x1e4>  <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.read_ahead_task);                  
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
ffc119f8:	80 7a 29 68 	lwz     r3,10600(r26)                          <== NOT EXECUTED
ffc119fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11a00:	40 9e 00 70 	bne-    cr7,ffc11a70 <rtems_bdbuf_init+0x1fc>  <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.swapout);                          
                                                                      
  free (bdbuf_cache.buffers);                                         
ffc11a04:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc11a08:	4b ff 43 11 	bl      ffc05d18 <free>                        <== NOT EXECUTED
  free (bdbuf_cache.groups);                                          
ffc11a0c:	80 7d 00 80 	lwz     r3,128(r29)                            <== NOT EXECUTED
ffc11a10:	4b ff 43 09 	bl      ffc05d18 <free>                        <== NOT EXECUTED
  free (bdbuf_cache.bds);                                             
ffc11a14:	80 7d 00 14 	lwz     r3,20(r29)                             <== NOT EXECUTED
ffc11a18:	4b ff 43 01 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
  rtems_semaphore_delete (bdbuf_cache.buffer_waiters.sema);           
ffc11a1c:	80 7d 00 78 	lwz     r3,120(r29)                            <== NOT EXECUTED
ffc11a20:	4b ff 94 35 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.access_waiters.sema);           
ffc11a24:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc11a28:	4b ff 94 2d 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
ffc11a2c:	80 7d 00 70 	lwz     r3,112(r29)                            <== NOT EXECUTED
ffc11a30:	4b ff 94 25 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
ffc11a34:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc11a38:	4b ff 94 1d 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.lock != 0)                                          
ffc11a3c:	81 3d 00 28 	lwz     r9,40(r29)                             <== NOT EXECUTED
ffc11a40:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc11a44:	40 9e 00 1c 	bne-    cr7,ffc11a60 <rtems_bdbuf_init+0x1ec>  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
    rtems_semaphore_delete (bdbuf_cache.lock);                        
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
ffc11a48:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc11a4c:	99 3d 00 95 	stb     r9,149(r29)                            <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
ffc11a50:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
ffc11a54:	4b ff fe 8c 	b       ffc118e0 <rtems_bdbuf_init+0x6c>       <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.read_ahead_task != 0)                               
    rtems_task_delete (bdbuf_cache.read_ahead_task);                  
ffc11a58:	4b ff 99 89 	bl      ffc0b3e0 <rtems_task_delete>           <== NOT EXECUTED
ffc11a5c:	4b ff ff 9c 	b       ffc119f8 <rtems_bdbuf_init+0x184>      <== 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 ();                                      
ffc11a60:	4b ff e0 79 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
    rtems_semaphore_delete (bdbuf_cache.lock);                        
ffc11a64:	80 7d 00 28 	lwz     r3,40(r29)                             <== NOT EXECUTED
ffc11a68:	4b ff 93 ed 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
ffc11a6c:	4b ff ff dc 	b       ffc11a48 <rtems_bdbuf_init+0x1d4>      <== 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);                          
ffc11a70:	4b ff 99 71 	bl      ffc0b3e0 <rtems_task_delete>           <== NOT EXECUTED
ffc11a74:	4b ff ff 90 	b       ffc11a04 <rtems_bdbuf_init+0x190>      <== NOT EXECUTED
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto error;                                                       
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11a78:	4b ff df fd 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 's'), 
ffc11a7c:	3c 60 42 44 	lis     r3,16964                               
ffc11a80:	60 63 43 73 	ori     r3,r3,17267                            
ffc11a84:	38 80 00 01 	li      r4,1                                   
ffc11a88:	38 a0 00 54 	li      r5,84                                  
ffc11a8c:	38 c0 00 00 	li      r6,0                                   
ffc11a90:	38 fd 00 2c 	addi    r7,r29,44                              
ffc11a94:	4b ff 91 a1 	bl      ffc0ac34 <rtems_semaphore_create>      
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.sync_lock);               
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11a98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11a9c:	40 9e ff 50 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'a'), 
ffc11aa0:	3c 60 42 44 	lis     r3,16964                               
ffc11aa4:	60 63 43 61 	ori     r3,r3,17249                            
ffc11aa8:	38 80 00 00 	li      r4,0                                   
ffc11aac:	38 a0 00 24 	li      r5,36                                  
ffc11ab0:	38 c0 00 00 	li      r6,0                                   
ffc11ab4:	38 fd 00 68 	addi    r7,r29,104                             
ffc11ab8:	4b ff 91 7d 	bl      ffc0ac34 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.access_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11abc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11ac0:	40 9e ff 2c 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 't'), 
ffc11ac4:	3c 60 42 44 	lis     r3,16964                               
ffc11ac8:	60 63 43 74 	ori     r3,r3,17268                            
ffc11acc:	38 80 00 00 	li      r4,0                                   
ffc11ad0:	38 a0 00 24 	li      r5,36                                  
ffc11ad4:	38 c0 00 00 	li      r6,0                                   
ffc11ad8:	38 fd 00 70 	addi    r7,r29,112                             
ffc11adc:	4b ff 91 59 	bl      ffc0ac34 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.transfer_waiters.sema);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11ae0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11ae4:	40 9e ff 08 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'b'), 
ffc11ae8:	3c 60 42 44 	lis     r3,16964                               
ffc11aec:	60 63 43 62 	ori     r3,r3,17250                            
ffc11af0:	38 80 00 00 	li      r4,0                                   
ffc11af4:	38 a0 00 24 	li      r5,36                                  
ffc11af8:	38 c0 00 00 	li      r6,0                                   
ffc11afc:	38 fd 00 78 	addi    r7,r29,120                             
ffc11b00:	4b ff 91 35 	bl      ffc0ac34 <rtems_semaphore_create>      
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.buffer_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11b04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11b08:	40 9e fe e4 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
ffc11b0c:	83 7f 00 20 	lwz     r27,32(r31)                            
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
ffc11b10:	38 60 00 38 	li      r3,56                                  
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
  bdbuf_cache.max_bds_per_group =                                     
ffc11b14:	93 9d 00 20 	stw     r28,32(r29)                            
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
ffc11b18:	7f 7b f3 96 	divwu   r27,r27,r30                            
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
  bdbuf_cache.group_count =                                           
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
ffc11b1c:	7f 9b e3 96 	divwu   r28,r27,r28                            
    goto error;                                                       
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
ffc11b20:	93 7d 00 1c 	stw     r27,28(r29)                            
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
ffc11b24:	7f 64 db 78 	mr      r4,r27                                 
   */                                                                 
  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 =                                           
ffc11b28:	93 9d 00 7c 	stw     r28,124(r29)                           
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
ffc11b2c:	4b ff 40 dd 	bl      ffc05c08 <calloc>                      
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc11b30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
ffc11b34:	90 7d 00 14 	stw     r3,20(r29)                             
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
ffc11b38:	41 be fe b4 	beq-    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.groups = calloc (sizeof (rtems_bdbuf_group),            
ffc11b3c:	38 60 00 14 	li      r3,20                                  
ffc11b40:	7f 84 e3 78 	mr      r4,r28                                 
ffc11b44:	4b ff 40 c5 	bl      ffc05c08 <calloc>                      
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc11b48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    goto error;                                                       
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.groups = calloc (sizeof (rtems_bdbuf_group),            
ffc11b4c:	90 7d 00 80 	stw     r3,128(r29)                            
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
ffc11b50:	41 be fe 9c 	beq-    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
   * 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,                 
ffc11b54:	7c bb f1 d6 	mullw   r5,r27,r30                             
ffc11b58:	38 7d 00 18 	addi    r3,r29,24                              
ffc11b5c:	38 80 00 20 	li      r4,32                                  
ffc11b60:	48 00 25 65 	bl      ffc140c4 <rtems_memalign>              
ffc11b64:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11b68:	40 9e fe 84 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
   * 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;          
       b < bdbuf_cache.buffer_min_count;                              
ffc11b6c:	80 7d 00 1c 	lwz     r3,28(r29)                             
                                                                      
  /*                                                                  
   * 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,                             
ffc11b70:	38 e0 00 00 	li      r7,0                                   
ffc11b74:	81 5d 00 80 	lwz     r10,128(r29)                           
         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;                                    
ffc11b78:	39 60 00 00 	li      r11,0                                  
ffc11b7c:	38 63 00 01 	addi    r3,r3,1                                
  /*                                                                  
   * 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;          
ffc11b80:	81 1d 00 14 	lwz     r8,20(r29)                             
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dd    = BDBUF_INVALID_DEV;                                    
ffc11b84:	7c 69 03 a6 	mtctr   r3                                     
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc11b88:	80 bd 00 20 	lwz     r5,32(r29)                             
  /*                                                                  
   * 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;          
ffc11b8c:	80 9d 00 18 	lwz     r4,24(r29)                             
ffc11b90:	7d 09 43 78 	mr      r9,r8                                  
    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))                          
ffc11b94:	38 05 ff ff 	addi    r0,r5,-1                               
                                                                      
  /*                                                                  
   * 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,                             
ffc11b98:	7d 46 53 78 	mr      r6,r10                                 
ffc11b9c:	42 40 00 4c 	bdz-    ffc11be8 <rtems_bdbuf_init+0x374>      
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc11ba0:	7f 87 2b 96 	divwu   r28,r7,r5                              
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dd    = BDBUF_INVALID_DEV;                                    
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
ffc11ba4:	90 89 00 1c 	stw     r4,28(r9)                              
         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;                                               
ffc11ba8:	90 c9 00 28 	stw     r6,40(r9)                              
  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;                                    
ffc11bac:	91 69 00 14 	stw     r11,20(r9)                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc11bb0:	80 7d 00 48 	lwz     r3,72(r29)                             
                                                                      
  the_node->next = tail;                                              
ffc11bb4:	93 29 00 00 	stw     r25,0(r9)                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc11bb8:	91 23 00 00 	stw     r9,0(r3)                               
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc11bbc:	91 3d 00 48 	stw     r9,72(r29)                             
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc11bc0:	90 69 00 04 	stw     r3,4(r9)                               
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc11bc4:	7c 7c 29 d6 	mullw   r3,r28,r5                              
   * 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)                  
ffc11bc8:	39 29 00 38 	addi    r9,r9,56                               
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc11bcc:	7c 63 38 50 	subf    r3,r3,r7                               
ffc11bd0:	7f 83 00 00 	cmpw    cr7,r3,r0                              
   * 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)                  
ffc11bd4:	38 e7 00 01 	addi    r7,r7,1                                
ffc11bd8:	7c 84 f2 14 	add     r4,r4,r30                              
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
ffc11bdc:	40 9e ff c0 	bne+    cr7,ffc11b9c <rtems_bdbuf_init+0x328>  
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
ffc11be0:	38 c6 00 14 	addi    r6,r6,20                               
ffc11be4:	4b ff ff b8 	b       ffc11b9c <rtems_bdbuf_init+0x328>      
  }                                                                   
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
ffc11be8:	80 fd 00 7c 	lwz     r7,124(r29)                            
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
ffc11bec:	81 3d 00 20 	lwz     r9,32(r29)                             
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
ffc11bf0:	38 e7 00 01 	addi    r7,r7,1                                
ffc11bf4:	7c e9 03 a6 	mtctr   r7                                     
ffc11bf8:	1c e9 00 38 	mulli   r7,r9,56                               
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
ffc11bfc:	42 40 00 18 	bdz-    ffc11c14 <rtems_bdbuf_init+0x3a0>      
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
    group->bdbuf = bd;                                                
ffc11c00:	91 0a 00 10 	stw     r8,16(r10)                             
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
ffc11c04:	7d 08 3a 14 	add     r8,r8,r7                               
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
ffc11c08:	91 2a 00 08 	stw     r9,8(r10)                              
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
ffc11c0c:	39 4a 00 14 	addi    r10,r10,20                             
ffc11c10:	4b ff ff ec 	b       ffc11bfc <rtems_bdbuf_init+0x388>      
   * 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'), 
ffc11c14:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc11c18:	3c 60 42 53 	lis     r3,16979                               
ffc11c1c:	3c a0 ff c1 	lis     r5,-63                                 
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
ffc11c20:	3b c0 00 01 	li      r30,1                                  
                                                                      
  sc = rtems_bdbuf_create_task (rtems_build_name('B', 'S', 'W', 'P'), 
ffc11c24:	60 63 57 50 	ori     r3,r3,22352                            
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
ffc11c28:	9b dd 00 04 	stb     r30,4(r29)                             
                                                                      
  sc = rtems_bdbuf_create_task (rtems_build_name('B', 'S', 'W', 'P'), 
ffc11c2c:	38 a5 10 d0 	addi    r5,r5,4304                             
ffc11c30:	38 c0 00 00 	li      r6,0                                   
ffc11c34:	7f a7 eb 78 	mr      r7,r29                                 
ffc11c38:	4b ff e3 01 	bl      ffc0ff38 <rtems_bdbuf_create_task.constprop.15>
                                bdbuf_config.swapout_priority,        
                                RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT,
                                rtems_bdbuf_swapout_task,             
                                0,                                    
                                &bdbuf_cache.swapout);                
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc11c3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c40:	40 9e fd ac 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
    goto error;                                                       
                                                                      
  if (bdbuf_config.max_read_ahead_blocks > 0)                         
ffc11c44:	3d 20 ff c2 	lis     r9,-62                                 
ffc11c48:	81 29 cc 5c 	lwz     r9,-13220(r9)                          
ffc11c4c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11c50:	41 9e 00 30 	beq-    cr7,ffc11c80 <rtems_bdbuf_init+0x40c>  
  {                                                                   
    bdbuf_cache.read_ahead_enabled = true;                            
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'R', 'D', 'A'),
ffc11c54:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc11c58:	3c 60 42 52 	lis     r3,16978                               
ffc11c5c:	3c a0 ff c1 	lis     r5,-63                                 
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto error;                                                       
                                                                      
  if (bdbuf_config.max_read_ahead_blocks > 0)                         
  {                                                                   
    bdbuf_cache.read_ahead_enabled = true;                            
ffc11c60:	9b dd 00 94 	stb     r30,148(r29)                           
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'R', 'D', 'A'),
ffc11c64:	60 63 44 41 	ori     r3,r3,17473                            
ffc11c68:	38 a5 16 d8 	addi    r5,r5,5848                             
ffc11c6c:	38 c0 00 00 	li      r6,0                                   
ffc11c70:	38 fd 00 84 	addi    r7,r29,132                             
ffc11c74:	4b ff e2 c5 	bl      ffc0ff38 <rtems_bdbuf_create_task.constprop.15>
                                  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)                                       
ffc11c78:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11c7c:	40 9e fd 70 	bne+    cr7,ffc119ec <rtems_bdbuf_init+0x178>  <== NEVER TAKEN
      goto error;                                                     
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11c80:	4b ff de 59 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc11c84:	38 60 00 00 	li      r3,0                                   
ffc11c88:	4b ff fc 58 	b       ffc118e0 <rtems_bdbuf_init+0x6c>       
                                                                      

ffc0fa30 <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) {
ffc0fa30:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fa34:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0fa38:	38 a0 00 00 	li      r5,0                                   
 * @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)           
{                                                                     
ffc0fa3c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0fa40:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0fa44:	38 80 00 00 	li      r4,0                                   
 * @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)           
{                                                                     
ffc0fa48:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
ffc0fa4c:	4b ff b4 fd 	bl      ffc0af48 <rtems_semaphore_obtain>      
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0fa50:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fa54:	40 9e 00 18 	bne-    cr7,ffc0fa6c <rtems_bdbuf_lock+0x3c>   <== NEVER TAKEN
    rtems_bdbuf_fatal (fatal_error_code);                             
}                                                                     
ffc0fa58:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fa5c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fa60:	7c 08 03 a6 	mtlr    r0                                     
ffc0fa64:	38 21 00 10 	addi    r1,r1,16                               
ffc0fa68:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_bdbuf_fatal (fatal_error_code);                             
ffc0fa6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0fa70:	4b ff ff a9 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc12388 <rtems_bdbuf_purge_dev>: } } void rtems_bdbuf_purge_dev (rtems_disk_device *dd) {
ffc12388:	94 21 ff 40 	stwu    r1,-192(r1)                            
ffc1238c:	7c 08 02 a6 	mflr    r0                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc12390:	39 20 00 00 	li      r9,0                                   
ffc12394:	93 41 00 a8 	stw     r26,168(r1)                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc12398:	3b 41 00 8c 	addi    r26,r1,140                             
ffc1239c:	93 81 00 b0 	stw     r28,176(r1)                            
ffc123a0:	3b 81 00 88 	addi    r28,r1,136                             
ffc123a4:	93 a1 00 b4 	stw     r29,180(r1)                            
ffc123a8:	7c 7d 1b 78 	mr      r29,r3                                 
  head->previous = NULL;                                              
ffc123ac:	91 21 00 8c 	stw     r9,140(r1)                             
ffc123b0:	90 01 00 c4 	stw     r0,196(r1)                             
ffc123b4:	92 c1 00 98 	stw     r22,152(r1)                            
ffc123b8:	92 e1 00 9c 	stw     r23,156(r1)                            
ffc123bc:	93 01 00 a0 	stw     r24,160(r1)                            
ffc123c0:	93 21 00 a4 	stw     r25,164(r1)                            
ffc123c4:	93 61 00 ac 	stw     r27,172(r1)                            
ffc123c8:	93 c1 00 b8 	stw     r30,184(r1)                            
ffc123cc:	93 e1 00 bc 	stw     r31,188(r1)                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc123d0:	93 41 00 88 	stw     r26,136(r1)                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc123d4:	93 81 00 90 	stw     r28,144(r1)                            
  rtems_chain_control purge_list;                                     
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
ffc123d8:	4b ff d6 9d 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc123dc:	81 3d 00 64 	lwz     r9,100(r29)                            
ffc123e0:	81 5d 00 68 	lwz     r10,104(r29)                           
ffc123e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc123e8:	41 9e 01 dc 	beq-    cr7,ffc125c4 <rtems_bdbuf_purge_dev+0x23c><== ALWAYS TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc123ec:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
ffc123f0:	91 49 00 04 	stw     r10,4(r9)                              <== NOT EXECUTED
  previous->next = next;                                              
ffc123f4:	91 2a 00 00 	stw     r9,0(r10)                              <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc123f8:	91 1d 00 68 	stw     r8,104(r29)                            <== NOT EXECUTED
ffc123fc:	91 1d 00 64 	stw     r8,100(r29)                            <== 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;                         
ffc12400:	3f 60 00 00 	lis     r27,0                                  
ffc12404:	3b 7b 29 68 	addi    r27,r27,10600                          
ffc12408:	83 fb 00 3c 	lwz     r31,60(r27)                            
                                                                      
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;          
ffc1240c:	39 20 ff ff 	li      r9,-1                                  
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
ffc12410:	7c 3e 0b 78 	mr      r30,r1                                 
                                                                      
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;          
ffc12414:	91 3d 00 6c 	stw     r9,108(r29)                            
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
ffc12418:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
ffc1241c:	39 20 00 00 	li      r9,0                                   
ffc12420:	95 3e 00 08 	stwu    r9,8(r30)                              
                                                                      
  while (cur != NULL)                                                 
ffc12424:	41 9e 00 a0 	beq-    cr7,ffc124c4 <rtems_bdbuf_purge_dev+0x13c>
  {                                                                   
    if (cur->dd == dd)                                                
    {                                                                 
      switch (cur->state)                                             
ffc12428:	3f 20 ff c2 	lis     r25,-62                                
ffc1242c:	3b 39 db dc 	addi    r25,r25,-9252                          
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc12430:	3a c0 00 06 	li      r22,6                                  
ffc12434:	3a e0 00 0a 	li      r23,10                                 
        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);           
ffc12438:	3b 1b 00 6c 	addi    r24,r27,108                            
ffc1243c:	48 00 00 1c 	b       ffc12458 <rtems_bdbuf_purge_dev+0xd0>  
        default:                                                      
          rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_STATE_11);             
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
ffc12440:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc12444:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12448:	41 9e 00 30 	beq-    cr7,ffc12478 <rtems_bdbuf_purge_dev+0xf0>
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
      *prev = cur;                                                    
ffc1244c:	93 fe 00 04 	stw     r31,4(r30)                             
ffc12450:	7d 3f 4b 78 	mr      r31,r9                                 
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
ffc12454:	3b de 00 04 	addi    r30,r30,4                              
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if (cur->dd == dd)                                                
ffc12458:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc1245c:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc12460:	40 9e ff e0 	bne+    cr7,ffc12440 <rtems_bdbuf_purge_dev+0xb8>
    {                                                                 
      switch (cur->state)                                             
ffc12464:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc12468:	2b 89 00 0a 	cmplwi  cr7,r9,10                              
ffc1246c:	40 9d 00 e8 	ble-    cr7,ffc12554 <rtems_bdbuf_purge_dev+0x1cc><== ALWAYS TAKEN
        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_bdbuf_fatal (RTEMS_BDBUF_FATAL_STATE_11);             
ffc12470:	38 60 00 17 	li      r3,23                                  <== NOT EXECUTED
ffc12474:	4b ff d5 a5 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
      /* Left */                                                      
      ++prev;                                                         
      *prev = cur;                                                    
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
ffc12478:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc1247c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12480:	40 9e ff cc 	bne+    cr7,ffc1244c <rtems_bdbuf_purge_dev+0xc4>
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL                                            
ffc12484:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc12488:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1248c:	41 9e 00 38 	beq-    cr7,ffc124c4 <rtems_bdbuf_purge_dev+0x13c>
ffc12490:	7f ca f3 78 	mr      r10,r30                                
ffc12494:	48 00 00 08 	b       ffc1249c <rtems_bdbuf_purge_dev+0x114> 
ffc12498:	7d 09 43 78 	mr      r9,r8                                  
             && (cur == (*prev)->avl.right || (*prev)->avl.right == NULL))
ffc1249c:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc124a0:	7d 5e 53 78 	mr      r30,r10                                
ffc124a4:	7f 88 f8 00 	cmpw    cr7,r8,r31                             
ffc124a8:	41 9e 00 0c 	beq-    cr7,ffc124b4 <rtems_bdbuf_purge_dev+0x12c>
ffc124ac:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc124b0:	40 9e 01 20 	bne-    cr7,ffc125d0 <rtems_bdbuf_purge_dev+0x248>
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL                                            
ffc124b4:	85 0a ff fc 	lwzu    r8,-4(r10)                             
ffc124b8:	7d 3f 4b 78 	mr      r31,r9                                 
ffc124bc:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc124c0:	40 9e ff d8 	bne+    cr7,ffc12498 <rtems_bdbuf_purge_dev+0x110>
ffc124c4:	80 61 00 88 	lwz     r3,136(r1)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_purge_list (rtems_chain_control *purge_list)              
{                                                                     
  bool wake_buffer_waiters = false;                                   
ffc124c8:	39 00 00 00 	li      r8,0                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc124cc:	3b e0 00 01 	li      r31,1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc124d0:	7f 83 d0 00 	cmpw    cr7,r3,r26                             
ffc124d4:	41 9e 00 34 	beq-    cr7,ffc12508 <rtems_bdbuf_purge_dev+0x180>
                                                                      
  while ((node = rtems_chain_get_unprotected (purge_list)) != NULL)   
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
ffc124d8:	81 43 00 24 	lwz     r10,36(r3)                             
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc124dc:	81 23 00 00 	lwz     r9,0(r3)                               
ffc124e0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
  head->next = new_first;                                             
ffc124e4:	91 21 00 88 	stw     r9,136(r1)                             
  new_first->previous = head;                                         
ffc124e8:	93 89 00 04 	stw     r28,4(r9)                              
ffc124ec:	40 9e 00 cc 	bne-    cr7,ffc125b8 <rtems_bdbuf_purge_dev+0x230>
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc124f0:	93 e3 00 20 	stw     r31,32(r3)                             
ffc124f4:	4b ff df 15 	bl      ffc10408 <rtems_bdbuf_discard_buffer.part.9>
ffc124f8:	80 61 00 88 	lwz     r3,136(r1)                             
  while ((node = rtems_chain_get_unprotected (purge_list)) != NULL)   
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
      wake_buffer_waiters = true;                                     
ffc124fc:	39 00 00 01 	li      r8,1                                   
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc12500:	7f 83 d0 00 	cmpw    cr7,r3,r26                             
ffc12504:	40 9e ff d4 	bne+    cr7,ffc124d8 <rtems_bdbuf_purge_dev+0x150>
                                                                      
    rtems_bdbuf_discard_buffer (bd);                                  
  }                                                                   
                                                                      
  if (wake_buffer_waiters)                                            
ffc12508:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1250c:	41 be 00 0c 	beq+    cr7,ffc12518 <rtems_bdbuf_purge_dev+0x190>
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc12510:	38 7b 00 74 	addi    r3,r27,116                             
ffc12514:	4b ff d8 b5 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
  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 ();                                        
ffc12518:	4b ff d5 c1 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
}                                                                     
ffc1251c:	80 01 00 c4 	lwz     r0,196(r1)                             
ffc12520:	82 c1 00 98 	lwz     r22,152(r1)                            
ffc12524:	7c 08 03 a6 	mtlr    r0                                     
ffc12528:	82 e1 00 9c 	lwz     r23,156(r1)                            
ffc1252c:	83 01 00 a0 	lwz     r24,160(r1)                            
ffc12530:	83 21 00 a4 	lwz     r25,164(r1)                            
ffc12534:	83 41 00 a8 	lwz     r26,168(r1)                            
ffc12538:	83 61 00 ac 	lwz     r27,172(r1)                            
ffc1253c:	83 81 00 b0 	lwz     r28,176(r1)                            
ffc12540:	83 a1 00 b4 	lwz     r29,180(r1)                            
ffc12544:	83 c1 00 b8 	lwz     r30,184(r1)                            
ffc12548:	83 e1 00 bc 	lwz     r31,188(r1)                            
ffc1254c:	38 21 00 c0 	addi    r1,r1,192                              
ffc12550:	4e 80 00 20 	blr                                            
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if (cur->dd == dd)                                                
    {                                                                 
      switch (cur->state)                                             
ffc12554:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc12558:	7d 39 48 2e 	lwzx    r9,r25,r9                              
ffc1255c:	7d 29 ca 14 	add     r9,r9,r25                              
ffc12560:	7d 29 03 a6 	mtctr   r9                                     
ffc12564:	4e 80 04 20 	bctr                                           
        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);           
ffc12568:	7f 03 c3 78 	mr      r3,r24                                 
ffc1256c:	4b ff d8 5d 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc12570:	81 3f 00 28 	lwz     r9,40(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc12574:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc12578:	39 4a ff ff 	addi    r10,r10,-1                             
ffc1257c:	91 49 00 0c 	stw     r10,12(r9)                             
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc12580:	81 3f 00 00 	lwz     r9,0(r31)                              
  previous       = the_node->previous;                                
ffc12584:	81 1f 00 04 	lwz     r8,4(r31)                              
  next->previous = previous;                                          
ffc12588:	91 09 00 04 	stw     r8,4(r9)                               
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc1258c:	81 41 00 90 	lwz     r10,144(r1)                            
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
  previous->next = next;                                              
ffc12590:	91 28 00 00 	stw     r9,0(r8)                               
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc12594:	93 e1 00 90 	stw     r31,144(r1)                            
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc12598:	93 5f 00 00 	stw     r26,0(r31)                             
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc1259c:	91 5f 00 04 	stw     r10,4(r31)                             
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc125a0:	93 ea 00 00 	stw     r31,0(r10)                             
ffc125a4:	4b ff fe 9c 	b       ffc12440 <rtems_bdbuf_purge_dev+0xb8>  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc125a8:	92 df 00 20 	stw     r22,32(r31)                            
ffc125ac:	4b ff fe 94 	b       ffc12440 <rtems_bdbuf_purge_dev+0xb8>  
ffc125b0:	92 ff 00 20 	stw     r23,32(r31)                            
ffc125b4:	4b ff fe 8c 	b       ffc12440 <rtems_bdbuf_purge_dev+0xb8>  
ffc125b8:	93 e3 00 20 	stw     r31,32(r3)                             
ffc125bc:	7d 23 4b 78 	mr      r3,r9                                  
ffc125c0:	4b ff ff 10 	b       ffc124d0 <rtems_bdbuf_purge_dev+0x148> 
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc125c4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc125c8:	40 9e fe 24 	bne+    cr7,ffc123ec <rtems_bdbuf_purge_dev+0x64><== NEVER TAKEN
ffc125cc:	4b ff fe 34 	b       ffc12400 <rtems_bdbuf_purge_dev+0x78>  
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL                                            
             && (cur == (*prev)->avl.right || (*prev)->avl.right == NULL))
ffc125d0:	7d 1f 43 78 	mr      r31,r8                                 
ffc125d4:	4b ff fe 84 	b       ffc12458 <rtems_bdbuf_purge_dev+0xd0>  
                                                                      

ffc11df8 <rtems_bdbuf_read>: rtems_status_code rtems_bdbuf_read (rtems_disk_device *dd, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
ffc11df8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc11dfc:	7c 08 02 a6 	mflr    r0                                     
ffc11e00:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc11e04:	7c 7f 1b 78 	mr      r31,r3                                 
ffc11e08:	93 61 00 0c 	stw     r27,12(r1)                             
ffc11e0c:	7c bb 2b 78 	mr      r27,r5                                 
ffc11e10:	93 81 00 10 	stw     r28,16(r1)                             
ffc11e14:	7c 9c 23 78 	mr      r28,r4                                 
ffc11e18:	93 a1 00 14 	stw     r29,20(r1)                             
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
  }                                                                   
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_ID;                                            
ffc11e1c:	3b a0 00 04 	li      r29,4                                  
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (rtems_disk_device   *dd,                            
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc11e20:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_bdbuf_buffer   *bd = NULL;                                    
ffc11e24:	3b c0 00 00 	li      r30,0                                  
                                                                      
rtems_status_code                                                     
rtems_bdbuf_read (rtems_disk_device   *dd,                            
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
ffc11e28:	90 01 00 24 	stw     r0,36(r1)                              
ffc11e2c:	93 41 00 08 	stw     r26,8(r1)                              
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block;                                  
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11e30:	4b ff dc 45 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
ffc11e34:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc11e38:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc11e3c:	41 9c 00 38 	blt-    cr7,ffc11e74 <rtems_bdbuf_read+0x7c>   <== ALWAYS TAKEN
    }                                                                 
                                                                      
    rtems_bdbuf_check_read_ahead_trigger (dd, block);                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11e40:	4b ff dc 99 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  *bd_ptr = bd;                                                       
                                                                      
  return sc;                                                          
}                                                                     
ffc11e44:	80 01 00 24 	lwz     r0,36(r1)                              
    rtems_bdbuf_check_read_ahead_trigger (dd, block);                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  *bd_ptr = bd;                                                       
ffc11e48:	93 db 00 00 	stw     r30,0(r27)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc11e4c:	7f a3 eb 78 	mr      r3,r29                                 
ffc11e50:	7c 08 03 a6 	mtlr    r0                                     
ffc11e54:	83 41 00 08 	lwz     r26,8(r1)                              
ffc11e58:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc11e5c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11e60:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc11e64:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc11e68:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc11e6c:	38 21 00 20 	addi    r1,r1,32                               
ffc11e70:	4e 80 00 20 	blr                                            
}                                                                     
                                                                      
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)                            
ffc11e74:	80 9f 00 30 	lwz     r4,48(r31)                             
ffc11e78:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc11e7c:	41 9c 01 68 	blt-    cr7,ffc11fe4 <rtems_bdbuf_read+0x1ec>  <== NEVER TAKEN
    return block << dd->block_to_media_block_shift;                   
ffc11e80:	7f 84 20 30 	slw     r4,r28,r4                              
    /*                                                                
     * 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;
ffc11e84:	81 3f 00 18 	lwz     r9,24(r31)                             
  {                                                                   
    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);         
ffc11e88:	7f e3 fb 78 	mr      r3,r31                                 
ffc11e8c:	7c 84 4a 14 	add     r4,r4,r9                               
ffc11e90:	4b ff eb 75 	bl      ffc10a04 <rtems_bdbuf_get_buffer_for_access>
ffc11e94:	7c 7e 1b 78 	mr      r30,r3                                 
    switch (bd->state)                                                
ffc11e98:	80 63 00 20 	lwz     r3,32(r3)                              
ffc11e9c:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc11ea0:	41 9e 01 28 	beq-    cr7,ffc11fc8 <rtems_bdbuf_read+0x1d0>  
ffc11ea4:	2f 83 00 07 	cmpwi   cr7,r3,7                               
ffc11ea8:	41 9e 00 14 	beq-    cr7,ffc11ebc <rtems_bdbuf_read+0xc4>   
ffc11eac:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc11eb0:	41 9e 00 88 	beq-    cr7,ffc11f38 <rtems_bdbuf_read+0x140>  <== ALWAYS TAKEN
        {                                                             
          bd = NULL;                                                  
        }                                                             
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_4);
ffc11eb4:	38 80 00 10 	li      r4,16                                  <== NOT EXECUTED
ffc11eb8:	4b ff db cd 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== 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;                                        
ffc11ebc:	81 3f 00 44 	lwz     r9,68(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11ec0:	3b a0 00 00 	li      r29,0                                  
      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;                                        
ffc11ec4:	39 29 00 01 	addi    r9,r9,1                                
ffc11ec8:	91 3f 00 44 	stw     r9,68(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11ecc:	39 20 00 04 	li      r9,4                                   
ffc11ed0:	91 3e 00 20 	stw     r9,32(r30)                             
                                                                      
static void                                                           
rtems_bdbuf_check_read_ahead_trigger (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
  if (bdbuf_cache.read_ahead_task != 0                                
ffc11ed4:	3f 40 00 00 	lis     r26,0                                  
ffc11ed8:	3b 5a 29 68 	addi    r26,r26,10600                          
ffc11edc:	80 7a 00 84 	lwz     r3,132(r26)                            
ffc11ee0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc11ee4:	41 be ff 5c 	beq-    cr7,ffc11e40 <rtems_bdbuf_read+0x48>   
      && dd->read_ahead.trigger == block                              
ffc11ee8:	81 3f 00 6c 	lwz     r9,108(r31)                            
ffc11eec:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc11ef0:	40 9e ff 50 	bne+    cr7,ffc11e40 <rtems_bdbuf_read+0x48>   
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc11ef4:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc11ef8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11efc:	40 9e ff 44 	bne+    cr7,ffc11e40 <rtems_bdbuf_read+0x48>   <== NEVER TAKEN
ffc11f00:	81 3f 00 68 	lwz     r9,104(r31)                            
ffc11f04:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11f08:	40 9e ff 38 	bne+    cr7,ffc11e40 <rtems_bdbuf_read+0x48>   <== NEVER TAKEN
      && !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))                                 
ffc11f0c:	81 3a 00 88 	lwz     r9,136(r26)                            
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc11f10:	3b 9a 00 8c 	addi    r28,r26,140                            
ffc11f14:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc11f18:	41 9e 01 08 	beq-    cr7,ffc12020 <rtems_bdbuf_read+0x228>  <== ALWAYS TAKEN
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc11f1c:	81 3a 00 90 	lwz     r9,144(r26)                            
                             RTEMS_BDBUF_READ_AHEAD_WAKE_UP);         
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_RA_WAKE_UP);             
    }                                                                 
                                                                      
    rtems_chain_append_unprotected (chain, &dd->read_ahead.node);     
ffc11f20:	39 5f 00 64 	addi    r10,r31,100                            
                                                                      
  the_node->next = tail;                                              
ffc11f24:	93 9f 00 64 	stw     r28,100(r31)                           
  tail->previous = the_node;                                          
ffc11f28:	91 5a 00 90 	stw     r10,144(r26)                           
  old_last->next = the_node;                                          
ffc11f2c:	91 49 00 00 	stw     r10,0(r9)                              
  the_node->previous = old_last;                                      
ffc11f30:	91 3f 00 68 	stw     r9,104(r31)                            
ffc11f34:	4b ff ff 0c 	b       ffc11e40 <rtems_bdbuf_read+0x48>       
                                                                      
static void                                                           
rtems_bdbuf_set_read_ahead_trigger (rtems_disk_device *dd,            
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
ffc11f38:	81 5f 00 6c 	lwz     r10,108(r31)                           
      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;                                      
ffc11f3c:	81 3f 00 48 	lwz     r9,72(r31)                             
                                                                      
static void                                                           
rtems_bdbuf_set_read_ahead_trigger (rtems_disk_device *dd,            
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
ffc11f40:	7f 9c 50 00 	cmpw    cr7,r28,r10                            
      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;                                      
ffc11f44:	39 29 00 01 	addi    r9,r9,1                                
ffc11f48:	91 3f 00 48 	stw     r9,72(r31)                             
                                                                      
static void                                                           
rtems_bdbuf_set_read_ahead_trigger (rtems_disk_device *dd,            
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
ffc11f4c:	41 9e 00 38 	beq-    cr7,ffc11f84 <rtems_bdbuf_read+0x18c>  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc11f50:	81 3f 00 64 	lwz     r9,100(r31)                            
ffc11f54:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11f58:	41 9e 00 b8 	beq-    cr7,ffc12010 <rtems_bdbuf_read+0x218>  <== ALWAYS TAKEN
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc11f5c:	81 1f 00 68 	lwz     r8,104(r31)                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc11f60:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
ffc11f64:	91 09 00 04 	stw     r8,4(r9)                               <== NOT EXECUTED
  previous->next = next;                                              
ffc11f68:	91 28 00 00 	stw     r9,0(r8)                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc11f6c:	91 5f 00 68 	stw     r10,104(r31)                           <== NOT EXECUTED
ffc11f70:	91 5f 00 64 	stw     r10,100(r31)                           <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_read_ahead_cancel (dd);                               
    dd->read_ahead.trigger = block + 1;                               
ffc11f74:	39 5c 00 01 	addi    r10,r28,1                              
    dd->read_ahead.next = block + 2;                                  
ffc11f78:	39 3c 00 02 	addi    r9,r28,2                               
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
  {                                                                   
    rtems_bdbuf_read_ahead_cancel (dd);                               
    dd->read_ahead.trigger = block + 1;                               
ffc11f7c:	91 5f 00 6c 	stw     r10,108(r31)                           
    dd->read_ahead.next = block + 2;                                  
ffc11f80:	91 3f 00 70 	stw     r9,112(r31)                            
        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);            
ffc11f84:	7f e3 fb 78 	mr      r3,r31                                 
ffc11f88:	7f c4 f3 78 	mr      r4,r30                                 
ffc11f8c:	38 a0 00 01 	li      r5,1                                   
ffc11f90:	4b ff f5 e5 	bl      ffc11574 <rtems_bdbuf_execute_read_request>
        if (sc == RTEMS_SUCCESSFUL)                                   
ffc11f94:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc11f98:	40 82 00 70 	bne-    ffc12008 <rtems_bdbuf_read+0x210>      
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc11f9c:	81 3e 00 00 	lwz     r9,0(r30)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11fa0:	39 00 00 03 	li      r8,3                                   
  previous       = the_node->previous;                                
ffc11fa4:	81 5e 00 04 	lwz     r10,4(r30)                             
ffc11fa8:	91 1e 00 20 	stw     r8,32(r30)                             
  next->previous = previous;                                          
  previous->next = next;                                              
ffc11fac:	91 2a 00 00 	stw     r9,0(r10)                              
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
ffc11fb0:	91 49 00 04 	stw     r10,4(r9)                              
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc11fb4:	81 3e 00 28 	lwz     r9,40(r30)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
ffc11fb8:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc11fbc:	39 4a 00 01 	addi    r10,r10,1                              
ffc11fc0:	91 49 00 0c 	stw     r10,12(r9)                             
ffc11fc4:	4b ff ff 10 	b       ffc11ed4 <rtems_bdbuf_read+0xdc>       
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
    switch (bd->state)                                                
    {                                                                 
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
ffc11fc8:	81 3f 00 44 	lwz     r9,68(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11fcc:	3b a0 00 00 	li      r29,0                                  
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
    switch (bd->state)                                                
    {                                                                 
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
ffc11fd0:	39 29 00 01 	addi    r9,r9,1                                
ffc11fd4:	91 3f 00 44 	stw     r9,68(r31)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc11fd8:	39 20 00 03 	li      r9,3                                   
ffc11fdc:	91 3e 00 20 	stw     r9,32(r30)                             
ffc11fe0:	4b ff fe f4 	b       ffc11ed4 <rtems_bdbuf_read+0xdc>       
    /*                                                                
     * 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); 
ffc11fe4:	80 7f 00 24 	lwz     r3,36(r31)                             <== NOT EXECUTED
ffc11fe8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc11fec:	80 df 00 20 	lwz     r6,32(r31)                             <== NOT EXECUTED
ffc11ff0:	7d 5c 19 d6 	mullw   r10,r28,r3                             <== NOT EXECUTED
ffc11ff4:	7d 3c 18 16 	mulhwu  r9,r28,r3                              <== NOT EXECUTED
ffc11ff8:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc11ffc:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc12000:	48 00 99 29 	bl      ffc1b928 <__udivdi3>                   <== NOT EXECUTED
ffc12004:	4b ff fe 80 	b       ffc11e84 <rtems_bdbuf_read+0x8c>       <== NOT EXECUTED
          rtems_chain_extract_unprotected (&bd->link);                
          rtems_bdbuf_group_obtain (bd);                              
        }                                                             
        else                                                          
        {                                                             
          bd = NULL;                                                  
ffc12008:	3b c0 00 00 	li      r30,0                                  
ffc1200c:	4b ff fe c8 	b       ffc11ed4 <rtems_bdbuf_read+0xdc>       
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc12010:	81 5f 00 68 	lwz     r10,104(r31)                           
ffc12014:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc12018:	40 9e ff 44 	bne+    cr7,ffc11f5c <rtems_bdbuf_read+0x164>  <== NEVER TAKEN
ffc1201c:	4b ff ff 58 	b       ffc11f74 <rtems_bdbuf_read+0x17c>      
    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,             
ffc12020:	38 80 00 02 	li      r4,2                                   
ffc12024:	4b ff 89 bd 	bl      ffc0a9e0 <rtems_event_send>            
                             RTEMS_BDBUF_READ_AHEAD_WAKE_UP);         
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc12028:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1202c:	41 9e fe f0 	beq+    cr7,ffc11f1c <rtems_bdbuf_read+0x124>  <== ALWAYS TAKEN
        rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_RA_WAKE_UP);             
ffc12030:	38 60 00 07 	li      r3,7                                   <== NOT EXECUTED
ffc12034:	4b ff d9 e5 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc116d8 <rtems_bdbuf_read_ahead_task>: return sc; } static rtems_task rtems_bdbuf_read_ahead_task (rtems_task_argument arg) {
ffc116d8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc116dc:	7c 08 02 a6 	mflr    r0                                     
ffc116e0:	93 81 00 20 	stw     r28,32(r1)                             
  rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;         
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
ffc116e4:	3f 80 00 00 	lis     r28,0                                  
ffc116e8:	3b 9c 29 68 	addi    r28,r28,10600                          
ffc116ec:	89 3c 00 94 	lbz     r9,148(r28)                            
  return sc;                                                          
}                                                                     
                                                                      
static rtems_task                                                     
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)                 
{                                                                     
ffc116f0:	90 01 00 34 	stw     r0,52(r1)                              
  rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;         
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
ffc116f4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  return sc;                                                          
}                                                                     
                                                                      
static rtems_task                                                     
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)                 
{                                                                     
ffc116f8:	92 c1 00 08 	stw     r22,8(r1)                              
ffc116fc:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc11700:	93 01 00 10 	stw     r24,16(r1)                             
ffc11704:	93 21 00 14 	stw     r25,20(r1)                             
ffc11708:	93 41 00 18 	stw     r26,24(r1)                             
ffc1170c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc11710:	93 a1 00 24 	stw     r29,36(r1)                             
ffc11714:	93 c1 00 28 	stw     r30,40(r1)                             
ffc11718:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;         
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
ffc1171c:	41 9e 00 78 	beq-    cr7,ffc11794 <rtems_bdbuf_read_ahead_task+0xbc><== NEVER TAKEN
ffc11720:	3b 5c 00 8c 	addi    r26,r28,140                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc11724:	7f 9b e3 78 	mr      r27,r28                                
  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;                                         
ffc11728:	3b 3c 00 88 	addi    r25,r28,136                            
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc1172c:	3b a0 00 00 	li      r29,0                                  
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
        }                                                             
      }                                                               
      else                                                            
      {                                                               
        dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;    
ffc11730:	3a e0 ff ff 	li      r23,-1                                 
          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;
ffc11734:	3e c0 ff c2 	lis     r22,-62                                
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
  {                                                                   
    rtems_chain_node *node;                                           
                                                                      
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_READ_AHEAD_WAKE_UP);      
ffc11738:	38 60 00 02 	li      r3,2                                   
ffc1173c:	4b ff e5 69 	bl      ffc0fca4 <rtems_bdbuf_wait_for_event>  
    rtems_bdbuf_lock_cache ();                                        
ffc11740:	4b ff e3 35 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc11744:	83 fc 00 88 	lwz     r31,136(r28)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc11748:	7f 9f d0 00 	cmpw    cr7,r31,r26                            
ffc1174c:	41 9e 00 38 	beq-    cr7,ffc11784 <rtems_bdbuf_read_ahead_task+0xac>
                                                                      
    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;                  
ffc11750:	83 df 00 0c 	lwz     r30,12(r31)                            
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
ffc11754:	81 5f ff c4 	lwz     r10,-60(r31)                           
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc11758:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1175c:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
                                                                      
  head->next = new_first;                                             
ffc11760:	91 3b 00 88 	stw     r9,136(r27)                            
  new_first->previous = head;                                         
ffc11764:	93 29 00 04 	stw     r25,4(r9)                              
ffc11768:	41 9c 00 68 	blt-    cr7,ffc117d0 <rtems_bdbuf_read_ahead_task+0xf8>
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc1176c:	93 bf 00 00 	stw     r29,0(r31)                             
ffc11770:	93 bf 00 04 	stw     r29,4(r31)                             
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
        }                                                             
      }                                                               
      else                                                            
      {                                                               
        dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;    
ffc11774:	92 ff 00 08 	stw     r23,8(r31)                             
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc11778:	83 fc 00 88 	lwz     r31,136(r28)                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc1177c:	7f 9f d0 00 	cmpw    cr7,r31,r26                            
ffc11780:	40 9e ff d0 	bne+    cr7,ffc11750 <rtems_bdbuf_read_ahead_task+0x78><== NEVER TAKEN
      }                                                               
    }                                                                 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
ffc11784:	4b ff e3 55 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
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)                              
ffc11788:	89 3b 00 94 	lbz     r9,148(r27)                            
ffc1178c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11790:	40 9e ff a8 	bne+    cr7,ffc11738 <rtems_bdbuf_read_ahead_task+0x60><== ALWAYS TAKEN
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
}                                                                     
ffc11794:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc11798:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc1179c:	82 c1 00 08 	lwz     r22,8(r1)                              <== NOT EXECUTED
ffc117a0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc117a4:	82 e1 00 0c 	lwz     r23,12(r1)                             <== NOT EXECUTED
ffc117a8:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc117ac:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc117b0:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc117b4:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc117b8:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc117bc:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc117c0:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc117c4:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc117c8:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc117cc:	4b ff 9c 14 	b       ffc0b3e0 <rtems_task_delete>           <== 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)                            
ffc117d0:	80 9f ff cc 	lwz     r4,-52(r31)                            
ffc117d4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc117d8:	41 9c 00 78 	blt-    cr7,ffc11850 <rtems_bdbuf_read_ahead_task+0x178><== NEVER TAKEN
    return block << dd->block_to_media_block_shift;                   
ffc117dc:	7f c4 20 30 	slw     r4,r30,r4                              
    /*                                                                
     * 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;
ffc117e0:	81 3f ff b4 	lwz     r9,-76(r31)                            
    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 *)                   
ffc117e4:	3b 1f ff 9c 	addi    r24,r31,-100                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc117e8:	93 bf 00 04 	stw     r29,4(r31)                             
                                                                      
      rtems_chain_set_off_chain (&dd->read_ahead.node);               
                                                                      
      if (sc == RTEMS_SUCCESSFUL)                                     
      {                                                               
        rtems_bdbuf_buffer *bd =                                      
ffc117ec:	7f 03 c3 78 	mr      r3,r24                                 
ffc117f0:	7c 84 4a 14 	add     r4,r4,r9                               
ffc117f4:	93 bf 00 00 	stw     r29,0(r31)                             
ffc117f8:	4b ff f1 7d 	bl      ffc10974 <rtems_bdbuf_get_buffer_for_read_ahead>
          rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);    
                                                                      
        if (bd != NULL)                                               
ffc117fc:	7c 64 1b 79 	mr.     r4,r3                                  
ffc11800:	41 a2 ff 44 	beq-    ffc11744 <rtems_bdbuf_read_ahead_task+0x6c><== NEVER TAKEN
        {                                                             
          uint32_t transfer_count = dd->block_count - block;          
ffc11804:	80 bf ff c4 	lwz     r5,-60(r31)                            
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
ffc11808:	81 36 cc 5c 	lwz     r9,-13220(r22)                         
        rtems_bdbuf_buffer *bd =                                      
          rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);    
                                                                      
        if (bd != NULL)                                               
        {                                                             
          uint32_t transfer_count = dd->block_count - block;          
ffc1180c:	7c be 28 50 	subf    r5,r30,r5                              
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
                                                                      
          if (transfer_count >= max_transfer_count)                   
ffc11810:	7f 85 48 40 	cmplw   cr7,r5,r9                              
ffc11814:	41 9c 00 34 	blt-    cr7,ffc11848 <rtems_bdbuf_read_ahead_task+0x170>
          {                                                           
            transfer_count = max_transfer_count;                      
            dd->read_ahead.trigger = block + transfer_count / 2;      
ffc11818:	55 2a f8 7e 	rlwinm  r10,r9,31,1,31                         
ffc1181c:	7d 4a f2 14 	add     r10,r10,r30                            
            dd->read_ahead.next = block + transfer_count;             
ffc11820:	7f c9 f2 14 	add     r30,r9,r30                             
          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;      
ffc11824:	91 5f 00 08 	stw     r10,8(r31)                             
            dd->read_ahead.next = block + transfer_count;             
ffc11828:	7d 25 4b 78 	mr      r5,r9                                  
ffc1182c:	93 df 00 0c 	stw     r30,12(r31)                            
          else                                                        
          {                                                           
            dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;
          }                                                           
                                                                      
          ++dd->stats.read_ahead_transfers;                           
ffc11830:	81 3f ff e8 	lwz     r9,-24(r31)                            
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
ffc11834:	7f 03 c3 78 	mr      r3,r24                                 
          else                                                        
          {                                                           
            dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;
          }                                                           
                                                                      
          ++dd->stats.read_ahead_transfers;                           
ffc11838:	39 29 00 01 	addi    r9,r9,1                                
ffc1183c:	91 3f ff e8 	stw     r9,-24(r31)                            
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
ffc11840:	4b ff fd 35 	bl      ffc11574 <rtems_bdbuf_execute_read_request>
ffc11844:	4b ff ff 00 	b       ffc11744 <rtems_bdbuf_read_ahead_task+0x6c>
            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;
ffc11848:	92 ff 00 08 	stw     r23,8(r31)                             
ffc1184c:	4b ff ff e4 	b       ffc11830 <rtems_bdbuf_read_ahead_task+0x158>
    /*                                                                
     * 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); 
ffc11850:	80 7f ff c0 	lwz     r3,-64(r31)                            <== NOT EXECUTED
ffc11854:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc11858:	80 df ff bc 	lwz     r6,-68(r31)                            <== NOT EXECUTED
ffc1185c:	7d 43 f1 d6 	mullw   r10,r3,r30                             <== NOT EXECUTED
ffc11860:	7d 23 f0 16 	mulhwu  r9,r3,r30                              <== NOT EXECUTED
ffc11864:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc11868:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc1186c:	48 00 a0 bd 	bl      ffc1b928 <__udivdi3>                   <== NOT EXECUTED
ffc11870:	4b ff ff 70 	b       ffc117e0 <rtems_bdbuf_read_ahead_task+0x108><== NOT EXECUTED
                                                                      

ffc12038 <rtems_bdbuf_release>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release (rtems_bdbuf_buffer *bd) {
ffc12038:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1203c:	7c 08 02 a6 	mflr    r0                                     
ffc12040:	93 e1 00 0c 	stw     r31,12(r1)                             
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc12044:	7c 7f 1b 79 	mr.     r31,r3                                 
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release (rtems_bdbuf_buffer *bd)                          
{                                                                     
ffc12048:	90 01 00 14 	stw     r0,20(r1)                              
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc1204c:	41 82 00 2c 	beq-    ffc12078 <rtems_bdbuf_release+0x40>    <== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc12050:	4b ff da 25 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc12054:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc12058:	2f 83 00 04 	cmpwi   cr7,r3,4                               
ffc1205c:	41 9e 00 48 	beq-    cr7,ffc120a4 <rtems_bdbuf_release+0x6c>
ffc12060:	2b 83 00 04 	cmplwi  cr7,r3,4                               
ffc12064:	41 9d 00 2c 	bgt-    cr7,ffc12090 <rtems_bdbuf_release+0x58>
ffc12068:	2f 83 00 03 	cmpwi   cr7,r3,3                               
ffc1206c:	41 9e 00 5c 	beq-    cr7,ffc120c8 <rtems_bdbuf_release+0x90><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_0);
ffc12070:	38 80 00 0e 	li      r4,14                                  <== NOT EXECUTED
ffc12074:	4b ff da 11 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12078:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc1207c:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12080:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc12084:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc12088:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1208c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc12090:	2b 83 00 06 	cmplwi  cr7,r3,6                               
ffc12094:	41 bd ff dc 	bgt-    cr7,ffc12070 <rtems_bdbuf_release+0x38><== NEVER TAKEN
    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);                   
ffc12098:	7f e3 fb 78 	mr      r3,r31                                 
ffc1209c:	4b ff e3 c1 	bl      ffc1045c <rtems_bdbuf_discard_buffer_after_access>
      break;                                                          
ffc120a0:	48 00 00 0c 	b       ffc120ac <rtems_bdbuf_release+0x74>    
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
ffc120a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc120a8:	4b ff dd 61 	bl      ffc0fe08 <rtems_bdbuf_add_to_modified_list_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc120ac:	4b ff da 2d 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc120b0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc120b4:	83 e1 00 0c 	lwz     r31,12(r1)                             
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc120b8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc120bc:	7c 08 03 a6 	mtlr    r0                                     
ffc120c0:	38 21 00 10 	addi    r1,r1,16                               
ffc120c4:	4e 80 00 20 	blr                                            
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)                                                    
ffc120c8:	81 3f 00 24 	lwz     r9,36(r31)                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc120cc:	3c 60 00 00 	lis     r3,0                                   
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc120d0:	81 5f 00 28 	lwz     r10,40(r31)                            
ffc120d4:	38 63 29 68 	addi    r3,r3,10600                            
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)                                                    
ffc120d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc120dc:	81 23 00 48 	lwz     r9,72(r3)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
ffc120e0:	81 0a 00 0c 	lwz     r8,12(r10)                             
                                                                      
  the_node->next = tail;                                              
ffc120e4:	38 e3 00 44 	addi    r7,r3,68                               
ffc120e8:	39 08 ff ff 	addi    r8,r8,-1                               
ffc120ec:	91 0a 00 0c 	stw     r8,12(r10)                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc120f0:	39 40 00 02 	li      r10,2                                  
ffc120f4:	91 5f 00 20 	stw     r10,32(r31)                            
ffc120f8:	90 ff 00 00 	stw     r7,0(r31)                              
  tail->previous = the_node;                                          
ffc120fc:	93 e3 00 48 	stw     r31,72(r3)                             
  old_last->next = the_node;                                          
ffc12100:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->previous = old_last;                                      
ffc12104:	91 3f 00 04 	stw     r9,4(r31)                              
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)                                                    
ffc12108:	40 9e 00 10 	bne-    cr7,ffc12118 <rtems_bdbuf_release+0xe0>
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc1210c:	38 63 00 74 	addi    r3,r3,116                              
ffc12110:	4b ff dc b9 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc12114:	4b ff ff 98 	b       ffc120ac <rtems_bdbuf_release+0x74>    
{                                                                     
  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);                   
ffc12118:	38 63 00 64 	addi    r3,r3,100                              
ffc1211c:	4b ff dc ad 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc12120:	4b ff ff 8c 	b       ffc120ac <rtems_bdbuf_release+0x74>    
                                                                      

ffc12124 <rtems_bdbuf_release_modified>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd) {
ffc12124:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12128:	7c 08 02 a6 	mflr    r0                                     
ffc1212c:	93 e1 00 0c 	stw     r31,12(r1)                             
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc12130:	7c 7f 1b 79 	mr.     r31,r3                                 
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc12134:	90 01 00 14 	stw     r0,20(r1)                              
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc12138:	41 82 00 48 	beq-    ffc12180 <rtems_bdbuf_release_modified+0x5c><== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc1213c:	4b ff d9 39 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc12140:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc12144:	2b 83 00 03 	cmplwi  cr7,r3,3                               
ffc12148:	40 9c 00 0c 	bge-    cr7,ffc12154 <rtems_bdbuf_release_modified+0x30><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_6);
ffc1214c:	38 80 00 12 	li      r4,18                                  <== NOT EXECUTED
ffc12150:	4b ff d9 35 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc12154:	2b 83 00 05 	cmplwi  cr7,r3,5                               
ffc12158:	41 9d 00 40 	bgt-    cr7,ffc12198 <rtems_bdbuf_release_modified+0x74>
  {                                                                   
    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);             
ffc1215c:	7f e3 fb 78 	mr      r3,r31                                 
ffc12160:	4b ff dc a9 	bl      ffc0fe08 <rtems_bdbuf_add_to_modified_list_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc12164:	4b ff d9 75 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12168:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1216c:	83 e1 00 0c 	lwz     r31,12(r1)                             
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12170:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc12174:	7c 08 03 a6 	mtlr    r0                                     
ffc12178:	38 21 00 10 	addi    r1,r1,16                               
ffc1217c:	4e 80 00 20 	blr                                            
ffc12180:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc12184:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12188:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1218c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc12190:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc12194:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc12198:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc1219c:	40 9e ff b0 	bne+    cr7,ffc1214c <rtems_bdbuf_release_modified+0x28><== NEVER TAKEN
    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);                   
ffc121a0:	7f e3 fb 78 	mr      r3,r31                                 
ffc121a4:	4b ff e2 b9 	bl      ffc1045c <rtems_bdbuf_discard_buffer_after_access>
      break;                                                          
ffc121a8:	4b ff ff bc 	b       ffc12164 <rtems_bdbuf_release_modified+0x40>
                                                                      

ffc0ffdc <rtems_bdbuf_remove_from_tree>: return bdbuf_cache.buffer_waiters.count; } static void rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd) {
ffc0ffdc:	94 21 ff 60 	stwu    r1,-160(r1)                            
ffc0ffe0:	7c 08 02 a6 	mflr    r0                                     
  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));                           
ffc0ffe4:	38 80 00 00 	li      r4,0                                   
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0ffe8:	93 a1 00 94 	stw     r29,148(r1)                            
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc0ffec:	3f a0 00 00 	lis     r29,0                                  
ffc0fff0:	3b bd 29 68 	addi    r29,r29,10600                          
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0fff4:	93 61 00 8c 	stw     r27,140(r1)                            
  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));                           
ffc0fff8:	38 a0 00 80 	li      r5,128                                 
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc0fffc:	7c 7b 1b 78 	mr      r27,r3                                 
ffc10000:	93 81 00 90 	stw     r28,144(r1)                            
  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));                           
ffc10004:	3b 81 00 08 	addi    r28,r1,8                               
ffc10008:	7f 83 e3 78 	mr      r3,r28                                 
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
ffc1000c:	93 e1 00 9c 	stw     r31,156(r1)                            
ffc10010:	90 01 00 a4 	stw     r0,164(r1)                             
ffc10014:	93 41 00 88 	stw     r26,136(r1)                            
ffc10018:	93 c1 00 98 	stw     r30,152(r1)                            
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
ffc1001c:	83 fd 00 3c 	lwz     r31,60(r29)                            
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc10020:	83 db 00 14 	lwz     r30,20(r27)                            
ffc10024:	83 5b 00 18 	lwz     r26,24(r27)                            
  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));                           
ffc10028:	48 00 80 29 	bl      ffc18050 <memset>                      
                                                                      
  while (p != NULL)                                                   
ffc1002c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10030:	41 9e 00 58 	beq-    cr7,ffc10088 <rtems_bdbuf_remove_from_tree+0xac><== NEVER TAKEN
  rtems_bdbuf_buffer*  r;                                             
  rtems_bdbuf_buffer*  s;                                             
  rtems_bdbuf_buffer*  p1;                                            
  rtems_bdbuf_buffer*  p2;                                            
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
ffc10034:	7f 8a e3 78 	mr      r10,r28                                
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
ffc10038:	38 e0 00 01 	li      r7,1                                   
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
ffc1003c:	38 c0 ff ff 	li      r6,-1                                  
ffc10040:	48 00 00 20 	b       ffc10060 <rtems_bdbuf_remove_from_tree+0x84>
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
ffc10044:	7f 9e 40 00 	cmpw    cr7,r30,r8                             
ffc10048:	41 9e 00 4c 	beq-    cr7,ffc10094 <rtems_bdbuf_remove_from_tree+0xb8><== ALWAYS TAKEN
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
ffc1004c:	98 df 00 10 	stb     r6,16(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc10050:	7d 2a 4b 78 	mr      r10,r9                                 
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
      p = p->avl.left;                                                
ffc10054:	83 ff 00 08 	lwz     r31,8(r31)                             
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
ffc10058:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1005c:	41 9e 00 2c 	beq-    cr7,ffc10088 <rtems_bdbuf_remove_from_tree+0xac><== NEVER TAKEN
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
ffc10060:	81 1f 00 14 	lwz     r8,20(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc10064:	39 2a 00 04 	addi    r9,r10,4                               
ffc10068:	93 ea 00 00 	stw     r31,0(r10)                             
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
ffc1006c:	7f 88 f0 40 	cmplw   cr7,r8,r30                             
ffc10070:	40 bc ff d4 	bge-    cr7,ffc10044 <rtems_bdbuf_remove_from_tree+0x68><== ALWAYS TAKEN
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
ffc10074:	98 ff 00 10 	stb     r7,16(r31)                             
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc10078:	7d 2a 4b 78 	mr      r10,r9                                 
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
ffc1007c:	83 ff 00 0c 	lwz     r31,12(r31)                            
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
ffc10080:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc10084:	40 9e ff dc 	bne+    cr7,ffc10060 <rtems_bdbuf_remove_from_tree+0x84><== ALWAYS TAKEN
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM);
ffc10088:	80 7b 00 20 	lwz     r3,32(r27)                             <== NOT EXECUTED
ffc1008c:	38 80 00 1b 	li      r4,27                                  <== NOT EXECUTED
ffc10090:	4b ff f9 f5 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
ffc10094:	81 1f 00 18 	lwz     r8,24(r31)                             
ffc10098:	7f 9a 40 40 	cmplw   cr7,r26,r8                             
ffc1009c:	41 bd ff d8 	bgt-    cr7,ffc10074 <rtems_bdbuf_remove_from_tree+0x98>
    {                                                                 
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
ffc100a0:	7f 9a 40 00 	cmpw    cr7,r26,r8                             
ffc100a4:	40 9e ff a8 	bne+    cr7,ffc1004c <rtems_bdbuf_remove_from_tree+0x70>
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc100a8:	7f 9c 50 40 	cmplw   cr7,r28,r10                            
  {                                                                   
    p = *(buf_prev - 1);                                              
  }                                                                   
  else                                                                
  {                                                                   
    p = NULL;                                                         
ffc100ac:	38 80 00 00 	li      r4,0                                   
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
ffc100b0:	7d 2b 4b 78 	mr      r11,r9                                 
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
ffc100b4:	41 9c 01 30 	blt-    cr7,ffc101e4 <rtems_bdbuf_remove_from_tree+0x208>
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
ffc100b8:	80 bf 00 0c 	lwz     r5,12(r31)                             
ffc100bc:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc100c0:	41 9e 01 34 	beq-    cr7,ffc101f4 <rtems_bdbuf_remove_from_tree+0x218>
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
ffc100c4:	81 05 00 08 	lwz     r8,8(r5)                               
ffc100c8:	7c aa 2b 78 	mr      r10,r5                                 
                                                                      
      while (s->avl.left != NULL)                                     
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc100cc:	38 c0 ff ff 	li      r6,-1                                  
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
ffc100d0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc100d4:	40 be 00 10 	bne+    cr7,ffc100e4 <rtems_bdbuf_remove_from_tree+0x108>
ffc100d8:	48 00 02 f4 	b       ffc103cc <rtems_bdbuf_remove_from_tree+0x3f0>
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc100dc:	7d 0a 43 78 	mr      r10,r8                                 
ffc100e0:	7c e8 3b 78 	mr      r8,r7                                  
ffc100e4:	80 e8 00 08 	lwz     r7,8(r8)                               
      {                                                               
        *buf_prev++ = r = s;                                          
ffc100e8:	91 49 00 00 	stw     r10,0(r9)                              
ffc100ec:	39 29 00 04 	addi    r9,r9,4                                
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc100f0:	2f 87 00 00 	cmpwi   cr7,r7,0                               
      {                                                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
ffc100f4:	98 ca 00 10 	stb     r6,16(r10)                             
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
ffc100f8:	40 9e ff e4 	bne+    cr7,ffc100dc <rtems_bdbuf_remove_from_tree+0x100>
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc100fc:	80 df 00 08 	lwz     r6,8(r31)                              
      r->avl.left = s->avl.right;                                     
ffc10100:	80 68 00 0c 	lwz     r3,12(r8)                              
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
ffc10104:	88 ff 00 11 	lbz     r7,17(r31)                             
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
ffc10108:	90 c8 00 08 	stw     r6,8(r8)                               
      r->avl.left = s->avl.right;                                     
ffc1010c:	90 6a 00 08 	stw     r3,8(r10)                              
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
ffc10110:	39 40 00 01 	li      r10,1                                  
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
ffc10114:	90 a8 00 0c 	stw     r5,12(r8)                              
      s->avl.bal = q->avl.bal;                                        
ffc10118:	98 e8 00 11 	stb     r7,17(r8)                              
      s->avl.cache = 1;                                               
ffc1011c:	99 48 00 10 	stb     r10,16(r8)                             
                                                                      
      *t = q = s;                                                     
ffc10120:	91 0b ff fc 	stw     r8,-4(r11)                             
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
ffc10124:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc10128:	41 9e 00 e8 	beq-    cr7,ffc10210 <rtems_bdbuf_remove_from_tree+0x234>
  {                                                                   
    if (p->avl.cache == -1)                                           
ffc1012c:	89 44 00 10 	lbz     r10,16(r4)                             
ffc10130:	2f 8a 00 ff 	cmpwi   cr7,r10,255                            
ffc10134:	41 9e 02 48 	beq-    cr7,ffc1037c <rtems_bdbuf_remove_from_tree+0x3a0>
    {                                                                 
      p->avl.left = q;                                                
    }                                                                 
    else                                                              
    {                                                                 
      p->avl.right = q;                                               
ffc10138:	91 04 00 0c 	stw     r8,12(r4)                              
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
ffc1013c:	7f 9c 48 40 	cmplw   cr7,r28,r9                             
ffc10140:	40 9c 00 7c 	bge-    cr7,ffc101bc <rtems_bdbuf_remove_from_tree+0x1e0>
ffc10144:	7d 28 4b 78 	mr      r8,r9                                  
ffc10148:	85 28 ff fc 	lwzu    r9,-4(r8)                              
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
ffc1014c:	21 5c 00 03 	subfic  r10,r28,3                              
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc10150:	38 80 ff ff 	li      r4,-1                                  
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
ffc10154:	7d 4a 42 14 	add     r10,r10,r8                             
ffc10158:	88 e9 00 10 	lbz     r7,16(r9)                              
            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;
ffc1015c:	55 4a f0 be 	rlwinm  r10,r10,30,2,31                        
ffc10160:	39 4a 00 01 	addi    r10,r10,1                              
ffc10164:	7c e7 07 74 	extsb   r7,r7                                  
ffc10168:	7d 49 03 a6 	mtctr   r10                                    
ffc1016c:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
ffc10170:	38 a0 00 00 	li      r5,0                                   
            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;
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc10174:	38 00 ff ff 	li      r0,-1                                  
            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;
ffc10178:	39 60 00 01 	li      r11,1                                  
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc1017c:	89 49 00 11 	lbz     r10,17(r9)                             
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
ffc10180:	41 9e 00 e0 	beq-    cr7,ffc10260 <rtems_bdbuf_remove_from_tree+0x284>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc10184:	7d 47 07 75 	extsb.  r7,r10                                 
ffc10188:	40 82 00 90 	bne-    ffc10218 <rtems_bdbuf_remove_from_tree+0x23c>
        case +1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
                                                                      
        case  0:                                                      
          p->avl.bal = -1;                                            
ffc1018c:	98 89 00 11 	stb     r4,17(r9)                              
ffc10190:	7d 2a 4b 78 	mr      r10,r9                                 
          modified = false;                                           
ffc10194:	38 c0 00 00 	li      r6,0                                   
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc10198:	42 40 00 9c 	bdz-    ffc10234 <rtems_bdbuf_remove_from_tree+0x258>
    {                                                                 
      q = *(buf_prev - 1);                                            
ffc1019c:	85 28 ff fc 	lwzu    r9,-4(r8)                              
                                                                      
      if (q->avl.cache == -1)                                         
ffc101a0:	88 e9 00 10 	lbz     r7,16(r9)                              
ffc101a4:	7c e7 07 74 	extsb   r7,r7                                  
ffc101a8:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc101ac:	41 9e 00 cc 	beq-    cr7,ffc10278 <rtems_bdbuf_remove_from_tree+0x29c>
      {                                                               
        q->avl.left = p;                                              
      }                                                               
      else                                                            
      {                                                               
        q->avl.right = p;                                             
ffc101b0:	91 49 00 0c 	stw     r10,12(r9)                             
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
ffc101b4:	2f 06 00 00 	cmpwi   cr6,r6,0                               
ffc101b8:	40 9a ff c4 	bne+    cr6,ffc1017c <rtems_bdbuf_remove_from_tree+0x1a0>
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM);
}                                                                     
ffc101bc:	80 01 00 a4 	lwz     r0,164(r1)                             
ffc101c0:	83 41 00 88 	lwz     r26,136(r1)                            
ffc101c4:	7c 08 03 a6 	mtlr    r0                                     
ffc101c8:	83 61 00 8c 	lwz     r27,140(r1)                            
ffc101cc:	83 81 00 90 	lwz     r28,144(r1)                            
ffc101d0:	83 a1 00 94 	lwz     r29,148(r1)                            
ffc101d4:	83 c1 00 98 	lwz     r30,152(r1)                            
ffc101d8:	83 e1 00 9c 	lwz     r31,156(r1)                            
ffc101dc:	38 21 00 a0 	addi    r1,r1,160                              
ffc101e0:	4e 80 00 20 	blr                                            
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
ffc101e4:	80 bf 00 0c 	lwz     r5,12(r31)                             
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
  {                                                                   
    p = *(buf_prev - 1);                                              
ffc101e8:	80 89 ff f8 	lwz     r4,-8(r9)                              
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
ffc101ec:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc101f0:	40 9e fe d4 	bne+    cr7,ffc100c4 <rtems_bdbuf_remove_from_tree+0xe8>
  {                                                                   
    r = q->avl.left;                                                  
ffc101f4:	81 1f 00 08 	lwz     r8,8(r31)                              
    if (r != NULL)                                                    
ffc101f8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc101fc:	41 9e 02 04 	beq-    cr7,ffc10400 <rtems_bdbuf_remove_from_tree+0x424>
                                                                      
      *t = q = s;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
ffc10200:	2f 84 00 00 	cmpwi   cr7,r4,0                               
  if (q->avl.right == NULL)                                           
  {                                                                   
    r = q->avl.left;                                                  
    if (r != NULL)                                                    
    {                                                                 
      r->avl.bal = 0;                                                 
ffc10204:	98 a8 00 11 	stb     r5,17(r8)                              
ffc10208:	7d 49 53 78 	mr      r9,r10                                 
                                                                      
      *t = q = s;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
ffc1020c:	40 9e ff 20 	bne+    cr7,ffc1012c <rtems_bdbuf_remove_from_tree+0x150>
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
ffc10210:	91 1d 00 3c 	stw     r8,60(r29)                             
ffc10214:	4b ff ff 28 	b       ffc1013c <rtems_bdbuf_remove_from_tree+0x160>
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
ffc10218:	2f 87 00 01 	cmpwi   cr7,r7,1                               
ffc1021c:	41 9e 00 74 	beq-    cr7,ffc10290 <rtems_bdbuf_remove_from_tree+0x2b4>
ffc10220:	2f 87 ff ff 	cmpwi   cr7,r7,-1                              
ffc10224:	41 9e 00 7c 	beq-    cr7,ffc102a0 <rtems_bdbuf_remove_from_tree+0x2c4><== ALWAYS TAKEN
ffc10228:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
ffc1022c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
ffc10230:	42 00 ff 6c 	bdnz+   ffc1019c <rtems_bdbuf_remove_from_tree+0x1c0><== NOT EXECUTED
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM);
}                                                                     
ffc10234:	80 01 00 a4 	lwz     r0,164(r1)                             
ffc10238:	83 41 00 88 	lwz     r26,136(r1)                            
ffc1023c:	7c 08 03 a6 	mtlr    r0                                     
ffc10240:	83 61 00 8c 	lwz     r27,140(r1)                            
ffc10244:	83 81 00 90 	lwz     r28,144(r1)                            
ffc10248:	83 c1 00 98 	lwz     r30,152(r1)                            
ffc1024c:	83 e1 00 9c 	lwz     r31,156(r1)                            
        q->avl.right = p;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
ffc10250:	91 5d 00 3c 	stw     r10,60(r29)                            
static void                                                           
rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd)                 
{                                                                     
  if (rtems_bdbuf_avl_remove (&bdbuf_cache.tree, bd) != 0)            
    rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM);
}                                                                     
ffc10254:	83 a1 00 94 	lwz     r29,148(r1)                            
ffc10258:	38 21 00 a0 	addi    r1,r1,160                              
ffc1025c:	4e 80 00 20 	blr                                            
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc10260:	7d 46 07 75 	extsb.  r6,r10                                 
ffc10264:	40 82 00 1c 	bne-    ffc10280 <rtems_bdbuf_remove_from_tree+0x2a4>
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
        case  0:                                                      
          p->avl.bal = 1;                                             
ffc10268:	99 69 00 11 	stb     r11,17(r9)                             
ffc1026c:	7d 2a 4b 78 	mr      r10,r9                                 
          modified = false;                                           
ffc10270:	38 c0 00 00 	li      r6,0                                   
ffc10274:	4b ff ff 24 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
    {                                                                 
      q = *(buf_prev - 1);                                            
                                                                      
      if (q->avl.cache == -1)                                         
      {                                                               
        q->avl.left = p;                                              
ffc10278:	91 49 00 08 	stw     r10,8(r9)                              
ffc1027c:	4b ff ff 38 	b       ffc101b4 <rtems_bdbuf_remove_from_tree+0x1d8>
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
ffc10280:	2f 86 00 01 	cmpwi   cr7,r6,1                               
ffc10284:	41 9e 00 74 	beq-    cr7,ffc102f8 <rtems_bdbuf_remove_from_tree+0x31c>
ffc10288:	2f 86 ff ff 	cmpwi   cr7,r6,-1                              
ffc1028c:	40 9e ff 9c 	bne+    cr7,ffc10228 <rtems_bdbuf_remove_from_tree+0x24c><== NEVER TAKEN
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
ffc10290:	98 a9 00 11 	stb     r5,17(r9)                              
ffc10294:	7d 2a 4b 78 	mr      r10,r9                                 
ffc10298:	38 c0 00 01 	li      r6,1                                   
ffc1029c:	4b ff fe fc 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
          p->avl.bal = -1;                                            
          modified = false;                                           
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
ffc102a0:	80 e9 00 08 	lwz     r7,8(r9)                               
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
ffc102a4:	89 47 00 11 	lbz     r10,17(r7)                             
ffc102a8:	7d 46 07 75 	extsb.  r6,r10                                 
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc102ac:	81 47 00 0c 	lwz     r10,12(r7)                             
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
ffc102b0:	40 81 00 74 	ble-    ffc10324 <rtems_bdbuf_remove_from_tree+0x348>
            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;
ffc102b4:	88 6a 00 11 	lbz     r3,17(r10)                             
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc102b8:	80 ca 00 08 	lwz     r6,8(r10)                              
            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;
ffc102bc:	2f 83 00 ff 	cmpwi   cr7,r3,255                             
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
ffc102c0:	90 ea 00 08 	stw     r7,8(r10)                              
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
ffc102c4:	90 c7 00 0c 	stw     r6,12(r7)                              
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc102c8:	80 ca 00 0c 	lwz     r6,12(r10)                             
            p2->avl.right = p;                                        
ffc102cc:	91 2a 00 0c 	stw     r9,12(r10)                             
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
ffc102d0:	90 c9 00 08 	stw     r6,8(r9)                               
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
ffc102d4:	41 9e 00 6c 	beq-    cr7,ffc10340 <rtems_bdbuf_remove_from_tree+0x364>
ffc102d8:	98 a9 00 11 	stb     r5,17(r9)                              
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc102dc:	89 2a 00 11 	lbz     r9,17(r10)                             
ffc102e0:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc102e4:	41 9e 00 6c 	beq-    cr7,ffc10350 <rtems_bdbuf_remove_from_tree+0x374>
ffc102e8:	98 a7 00 11 	stb     r5,17(r7)                              
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc102ec:	98 aa 00 11 	stb     r5,17(r10)                             
ffc102f0:	38 c0 00 01 	li      r6,1                                   
ffc102f4:	4b ff fe a4 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
          p->avl.bal = 1;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
ffc102f8:	81 49 00 0c 	lwz     r10,12(r9)                             
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
ffc102fc:	88 ca 00 11 	lbz     r6,17(r10)                             
ffc10300:	7c c3 07 75 	extsb.  r3,r6                                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10304:	80 ca 00 08 	lwz     r6,8(r10)                              
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
ffc10308:	41 80 00 7c 	blt-    ffc10384 <rtems_bdbuf_remove_from_tree+0x3a8>
          {                                                           
            p->avl.right = p1->avl.left;                              
            p1->avl.left = p;                                         
ffc1030c:	91 2a 00 08 	stw     r9,8(r10)                              
        case +1:                                                      
          p1 = p->avl.right;                                          
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
ffc10310:	90 c9 00 0c 	stw     r6,12(r9)                              
            p1->avl.left = p;                                         
                                                                      
            if (p1->avl.bal == 0)                                     
ffc10314:	40 82 00 44 	bne-    ffc10358 <rtems_bdbuf_remove_from_tree+0x37c>
            {                                                         
              p1->avl.bal = -1;                                       
ffc10318:	98 ea 00 11 	stb     r7,17(r10)                             
              modified = false;                                       
ffc1031c:	38 c0 00 00 	li      r6,0                                   
ffc10320:	4b ff fe 78 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
ffc10324:	91 27 00 0c 	stw     r9,12(r7)                              
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
          {                                                           
            p->avl.left = p1->avl.right;                              
ffc10328:	91 49 00 08 	stw     r10,8(r9)                              
            p1->avl.right = p;                                        
            if (p1->avl.bal == 0)                                     
ffc1032c:	40 82 00 3c 	bne-    ffc10368 <rtems_bdbuf_remove_from_tree+0x38c>
            {                                                         
              p1->avl.bal = 1;                                        
ffc10330:	99 67 00 11 	stb     r11,17(r7)                             
ffc10334:	7c ea 3b 78 	mr      r10,r7                                 
              modified = false;                                       
ffc10338:	38 c0 00 00 	li      r6,0                                   
ffc1033c:	4b ff fe 5c 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
            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;
ffc10340:	99 69 00 11 	stb     r11,17(r9)                             
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
ffc10344:	89 2a 00 11 	lbz     r9,17(r10)                             
ffc10348:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc1034c:	40 9e ff 9c 	bne+    cr7,ffc102e8 <rtems_bdbuf_remove_from_tree+0x30c><== ALWAYS TAKEN
ffc10350:	98 07 00 11 	stb     r0,17(r7)                              
ffc10354:	4b ff ff 98 	b       ffc102ec <rtems_bdbuf_remove_from_tree+0x310>
              p1->avl.bal = -1;                                       
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
ffc10358:	98 a9 00 11 	stb     r5,17(r9)                              
              p1->avl.bal = 0;                                        
ffc1035c:	38 c0 00 01 	li      r6,1                                   
ffc10360:	98 aa 00 11 	stb     r5,17(r10)                             
ffc10364:	4b ff fe 34 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
              p1->avl.bal = 1;                                        
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
ffc10368:	98 a9 00 11 	stb     r5,17(r9)                              
              p1->avl.bal = 0;                                        
ffc1036c:	7c ea 3b 78 	mr      r10,r7                                 
ffc10370:	38 c0 00 01 	li      r6,1                                   
ffc10374:	98 a7 00 11 	stb     r5,17(r7)                              
ffc10378:	4b ff fe 20 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
                                                                      
  if (p != NULL)                                                      
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      p->avl.left = q;                                                
ffc1037c:	91 04 00 08 	stw     r8,8(r4)                               
ffc10380:	4b ff fd bc 	b       ffc1013c <rtems_bdbuf_remove_from_tree+0x160>
            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;
ffc10384:	8b e6 00 11 	lbz     r31,17(r6)                             
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc10388:	80 66 00 0c 	lwz     r3,12(r6)                              
            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;
ffc1038c:	2f 9f 00 01 	cmpwi   cr7,r31,1                              
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
ffc10390:	91 46 00 0c 	stw     r10,12(r6)                             
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
ffc10394:	90 6a 00 08 	stw     r3,8(r10)                              
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc10398:	80 66 00 08 	lwz     r3,8(r6)                               
            p2->avl.left = p;                                         
ffc1039c:	91 26 00 08 	stw     r9,8(r6)                               
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
ffc103a0:	90 69 00 0c 	stw     r3,12(r9)                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
ffc103a4:	41 9e 00 54 	beq-    cr7,ffc103f8 <rtems_bdbuf_remove_from_tree+0x41c>
ffc103a8:	98 a9 00 11 	stb     r5,17(r9)                              
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
ffc103ac:	89 26 00 11 	lbz     r9,17(r6)                              
ffc103b0:	2f 89 00 ff 	cmpwi   cr7,r9,255                             
ffc103b4:	41 9e 00 3c 	beq-    cr7,ffc103f0 <rtems_bdbuf_remove_from_tree+0x414><== NEVER TAKEN
ffc103b8:	98 aa 00 11 	stb     r5,17(r10)                             
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
ffc103bc:	98 a6 00 11 	stb     r5,17(r6)                              
ffc103c0:	7c ca 33 78 	mr      r10,r6                                 
ffc103c4:	38 c0 00 01 	li      r6,1                                   
ffc103c8:	4b ff fd d0 	b       ffc10198 <rtems_bdbuf_remove_from_tree+0x1bc>
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
ffc103cc:	89 5f 00 11 	lbz     r10,17(r31)                            
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc103d0:	81 1f 00 08 	lwz     r8,8(r31)                              
      r->avl.bal = q->avl.bal;                                        
ffc103d4:	99 45 00 11 	stb     r10,17(r5)                             
      r->avl.cache = 1;                                               
ffc103d8:	39 40 00 01 	li      r10,1                                  
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
ffc103dc:	91 05 00 08 	stw     r8,8(r5)                               
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
ffc103e0:	7c a8 2b 78 	mr      r8,r5                                  
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
ffc103e4:	99 45 00 10 	stb     r10,16(r5)                             
      *buf_prev++ = q = r;                                            
ffc103e8:	90 a9 ff fc 	stw     r5,-4(r9)                              
ffc103ec:	4b ff fd 38 	b       ffc10124 <rtems_bdbuf_remove_from_tree+0x148>
            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;
ffc103f0:	99 6a 00 11 	stb     r11,17(r10)                            <== NOT EXECUTED
ffc103f4:	4b ff ff c8 	b       ffc103bc <rtems_bdbuf_remove_from_tree+0x3e0><== 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;
ffc103f8:	98 e9 00 11 	stb     r7,17(r9)                              
ffc103fc:	4b ff ff b0 	b       ffc103ac <rtems_bdbuf_remove_from_tree+0x3d0>
                                                                      
  /* 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)                                                    
ffc10400:	7d 49 53 78 	mr      r9,r10                                 
ffc10404:	4b ff fd 20 	b       ffc10124 <rtems_bdbuf_remove_from_tree+0x148>
                                                                      

ffc104e4 <rtems_bdbuf_remove_from_tree_and_lru_list>: rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM); } static void rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd) {
ffc104e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc104e8:	7c 08 02 a6 	mflr    r0                                     
ffc104ec:	90 01 00 14 	stw     r0,20(r1)                              
  switch (bd->state)                                                  
ffc104f0:	81 23 00 20 	lwz     r9,32(r3)                              
    rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_TREE_RM);
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd)    
{                                                                     
ffc104f4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc104f8:	7c 7f 1b 78 	mr      r31,r3                                 
  switch (bd->state)                                                  
ffc104fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10500:	41 9e 00 1c 	beq-    cr7,ffc1051c <rtems_bdbuf_remove_from_tree_and_lru_list+0x38>
ffc10504:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc10508:	41 9e 00 10 	beq-    cr7,ffc10518 <rtems_bdbuf_remove_from_tree_and_lru_list+0x34><== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_10);
ffc1050c:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc10510:	38 80 00 16 	li      r4,22                                  <== NOT EXECUTED
ffc10514:	4b ff f5 71 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
  switch (bd->state)                                                  
  {                                                                   
    case RTEMS_BDBUF_STATE_FREE:                                      
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
ffc10518:	4b ff fa c5 	bl      ffc0ffdc <rtems_bdbuf_remove_from_tree>
    default:                                                          
      rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_10);
  }                                                                   
                                                                      
  rtems_chain_extract_unprotected (&bd->link);                        
}                                                                     
ffc1051c:	80 01 00 14 	lwz     r0,20(r1)                              
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc10520:	81 5f 00 00 	lwz     r10,0(r31)                             
ffc10524:	7c 08 03 a6 	mtlr    r0                                     
  previous       = the_node->previous;                                
ffc10528:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc1052c:	83 e1 00 0c 	lwz     r31,12(r1)                             
  next->previous = previous;                                          
ffc10530:	91 2a 00 04 	stw     r9,4(r10)                              
  previous->next = next;                                              
ffc10534:	91 49 00 00 	stw     r10,0(r9)                              
ffc10538:	38 21 00 10 	addi    r1,r1,16                               
ffc1053c:	4e 80 00 20 	blr                                            
                                                                      

ffc0fb6c <rtems_bdbuf_restore_preemption>: return prev_mode; } static void rtems_bdbuf_restore_preemption (rtems_mode prev_mode) {
ffc0fb6c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fb70:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
ffc0fb74:	38 80 00 00 	li      r4,0                                   
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0fb78:	7c 25 0b 78 	mr      r5,r1                                  
ffc0fb7c:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
ffc0fb80:	60 84 ff ff 	ori     r4,r4,65535                            
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
ffc0fb84:	94 65 00 08 	stwu    r3,8(r5)                               
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
ffc0fb88:	48 00 4e 8d 	bl      ffc14a14 <rtems_task_mode>             
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0fb8c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fb90:	40 9e 00 14 	bne-    cr7,ffc0fba4 <rtems_bdbuf_restore_preemption+0x38><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_PREEMPT_RST);                
}                                                                     
ffc0fb94:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fb98:	38 21 00 10 	addi    r1,r1,16                               
ffc0fb9c:	7c 08 03 a6 	mtlr    r0                                     
ffc0fba0:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_task_mode (prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode); 
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_PREEMPT_RST);                
ffc0fba4:	38 60 00 06 	li      r3,6                                   <== NOT EXECUTED
ffc0fba8:	4b ff fe 71 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc125d8 <rtems_bdbuf_set_block_size>: /* * We do not care about the synchronization status since we will purge the * device later. */ if (sync)
ffc125d8:	2f 85 00 00 	cmpwi   cr7,r5,0                               
                                                                      
rtems_status_code                                                     
rtems_bdbuf_set_block_size (rtems_disk_device *dd,                    
                            uint32_t           block_size,            
                            bool               sync)                  
{                                                                     
ffc125dc:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc125e0:	7c 08 02 a6 	mflr    r0                                     
ffc125e4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc125e8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc125ec:	93 e1 00 14 	stw     r31,20(r1)                             
ffc125f0:	7c 9f 23 78 	mr      r31,r4                                 
ffc125f4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc125f8:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
  /*                                                                  
   * We do not care about the synchronization status since we will purge the
   * device later.                                                    
   */                                                                 
  if (sync)                                                           
ffc125fc:	40 9e 01 10 	bne-    cr7,ffc1270c <rtems_bdbuf_set_block_size+0x134>
    rtems_bdbuf_syncdev (dd);                                         
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc12600:	4b ff d4 75 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  if (block_size > 0)                                                 
ffc12604:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
ffc12608:	3b c0 00 0a 	li      r30,10                                 
  if (sync)                                                           
    rtems_bdbuf_syncdev (dd);                                         
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  if (block_size > 0)                                                 
ffc1260c:	40 9e 00 28 	bne-    cr7,ffc12634 <rtems_bdbuf_set_block_size+0x5c>
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc12610:	4b ff d4 c9 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return sc;                                                          
}                                                                     
ffc12614:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc12618:	7f c3 f3 78 	mr      r3,r30                                 
ffc1261c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc12620:	7c 08 03 a6 	mtlr    r0                                     
ffc12624:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc12628:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1262c:	38 21 00 18 	addi    r1,r1,24                               
ffc12630:	4e 80 00 20 	blr                                            
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
ffc12634:	3d 20 ff c2 	lis     r9,-62                                 
ffc12638:	39 29 cc 5c 	addi    r9,r9,-13220                           
ffc1263c:	81 49 00 28 	lwz     r10,40(r9)                             
ffc12640:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc12644:	41 bd ff cc 	bgt-    cr7,ffc12610 <rtems_bdbuf_set_block_size+0x38><== NEVER TAKEN
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
ffc12648:	81 29 00 24 	lwz     r9,36(r9)                              
ffc1264c:	39 5f ff ff 	addi    r10,r31,-1                             
ffc12650:	7d 4a 4b 96 	divwu   r10,r10,r9                             
ffc12654:	39 4a 00 01 	addi    r10,r10,1                              
                                                                      
  for (bds_per_size = 1;                                              
ffc12658:	2b 8a 00 01 	cmplwi  cr7,r10,1                              
ffc1265c:	39 20 00 01 	li      r9,1                                   
ffc12660:	40 9d 00 10 	ble-    cr7,ffc12670 <rtems_bdbuf_set_block_size+0x98>
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
ffc12664:	55 29 08 3c 	rlwinm  r9,r9,1,0,30                           
  if (size > bdbuf_config.buffer_max)                                 
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
                                                                      
  for (bds_per_size = 1;                                              
ffc12668:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc1266c:	41 9d ff f8 	bgt+    cr7,ffc12664 <rtems_bdbuf_set_block_size+0x8c>
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
    ;                                                                 
                                                                      
  return bdbuf_cache.max_bds_per_group / bds_per_size;                
ffc12670:	3d 40 00 00 	lis     r10,0                                  
ffc12674:	81 4a 29 88 	lwz     r10,10632(r10)                         
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
ffc12678:	3b c0 00 0a 	li      r30,10                                 
  for (bds_per_size = 1;                                              
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
    ;                                                                 
                                                                      
  return bdbuf_cache.max_bds_per_group / bds_per_size;                
ffc1267c:	7d 2a 4b 96 	divwu   r9,r10,r9                              
                                                                      
  if (block_size > 0)                                                 
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (block_size);    
                                                                      
    if (bds_per_group != 0)                                           
ffc12680:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12684:	41 be ff 8c 	beq-    cr7,ffc12610 <rtems_bdbuf_set_block_size+0x38><== NEVER TAKEN
    {                                                                 
      int block_to_media_block_shift = 0;                             
      uint32_t media_blocks_per_block = block_size / dd->media_block_size;
ffc12688:	80 bd 00 20 	lwz     r5,32(r29)                             
      uint32_t one = 1;                                               
                                                                      
      while ((one << block_to_media_block_shift) < media_blocks_per_block)
ffc1268c:	39 40 00 00 	li      r10,0                                  
    size_t bds_per_group = rtems_bdbuf_bds_per_group (block_size);    
                                                                      
    if (bds_per_group != 0)                                           
    {                                                                 
      int block_to_media_block_shift = 0;                             
      uint32_t media_blocks_per_block = block_size / dd->media_block_size;
ffc12690:	7c ff 2b 96 	divwu   r7,r31,r5                              
      uint32_t one = 1;                                               
                                                                      
      while ((one << block_to_media_block_shift) < media_blocks_per_block)
ffc12694:	2b 87 00 01 	cmplwi  cr7,r7,1                               
ffc12698:	40 9d 00 18 	ble-    cr7,ffc126b0 <rtems_bdbuf_set_block_size+0xd8>
ffc1269c:	38 c0 00 01 	li      r6,1                                   
      {                                                               
        ++block_to_media_block_shift;                                 
ffc126a0:	39 4a 00 01 	addi    r10,r10,1                              
    {                                                                 
      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)
ffc126a4:	7c c8 50 30 	slw     r8,r6,r10                              
ffc126a8:	7f 87 40 40 	cmplw   cr7,r7,r8                              
ffc126ac:	41 9d ff f4 	bgt+    cr7,ffc126a0 <rtems_bdbuf_set_block_size+0xc8>
      {                                                               
        ++block_to_media_block_shift;                                 
      }                                                               
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
ffc126b0:	7c a5 50 30 	slw     r5,r5,r10                              
ffc126b4:	7f 85 f8 00 	cmpw    cr7,r5,r31                             
ffc126b8:	41 9e 00 08 	beq-    cr7,ffc126c0 <rtems_bdbuf_set_block_size+0xe8><== ALWAYS TAKEN
        block_to_media_block_shift = -1;                              
ffc126bc:	39 40 ff ff 	li      r10,-1                                 <== NOT EXECUTED
                                                                      
      dd->block_size = block_size;                                    
      dd->block_count = dd->size / media_blocks_per_block;            
ffc126c0:	81 1d 00 1c 	lwz     r8,28(r29)                             
      dd->media_blocks_per_block = media_blocks_per_block;            
      dd->block_to_media_block_shift = block_to_media_block_shift;    
      dd->bds_per_group = bds_per_group;                              
                                                                      
      rtems_bdbuf_purge_dev (dd);                                     
ffc126c4:	7f a3 eb 78 	mr      r3,r29                                 
      }                                                               
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
        block_to_media_block_shift = -1;                              
                                                                      
      dd->block_size = block_size;                                    
ffc126c8:	93 fd 00 24 	stw     r31,36(r29)                            
rtems_status_code                                                     
rtems_bdbuf_set_block_size (rtems_disk_device *dd,                    
                            uint32_t           block_size,            
                            bool               sync)                  
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc126cc:	3b c0 00 00 	li      r30,0                                  
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
        block_to_media_block_shift = -1;                              
                                                                      
      dd->block_size = block_size;                                    
      dd->block_count = dd->size / media_blocks_per_block;            
ffc126d0:	7d 08 3b 96 	divwu   r8,r8,r7                               
      dd->media_blocks_per_block = media_blocks_per_block;            
ffc126d4:	90 fd 00 2c 	stw     r7,44(r29)                             
      dd->block_to_media_block_shift = block_to_media_block_shift;    
ffc126d8:	91 5d 00 30 	stw     r10,48(r29)                            
      dd->bds_per_group = bds_per_group;                              
ffc126dc:	91 3d 00 34 	stw     r9,52(r29)                             
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
        block_to_media_block_shift = -1;                              
                                                                      
      dd->block_size = block_size;                                    
      dd->block_count = dd->size / media_blocks_per_block;            
ffc126e0:	91 1d 00 28 	stw     r8,40(r29)                             
      dd->media_blocks_per_block = media_blocks_per_block;            
      dd->block_to_media_block_shift = block_to_media_block_shift;    
      dd->bds_per_group = bds_per_group;                              
                                                                      
      rtems_bdbuf_purge_dev (dd);                                     
ffc126e4:	4b ff fc a5 	bl      ffc12388 <rtems_bdbuf_purge_dev>       
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc126e8:	4b ff d3 f1 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return sc;                                                          
}                                                                     
ffc126ec:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc126f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc126f4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc126f8:	7c 08 03 a6 	mtlr    r0                                     
ffc126fc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc12700:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc12704:	38 21 00 18 	addi    r1,r1,24                               
ffc12708:	4e 80 00 20 	blr                                            
  /*                                                                  
   * We do not care about the synchronization status since we will purge the
   * device later.                                                    
   */                                                                 
  if (sync)                                                           
    rtems_bdbuf_syncdev (dd);                                         
ffc1270c:	4b ff fc 05 	bl      ffc12310 <rtems_bdbuf_syncdev>         
ffc12710:	4b ff fe f0 	b       ffc12600 <rtems_bdbuf_set_block_size+0x28>
                                                                      

ffc0f898 <rtems_bdbuf_swapout_modified_processing>: */ RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first( const Chain_Control *the_chain ) { return _Chain_Immutable_head( the_chain )->next;
ffc0f898:	81 24 00 00 	lwz     r9,0(r4)                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc0f89c:	38 84 00 04 	addi    r4,r4,4                                
                                         rtems_chain_control* chain,  
                                         rtems_chain_control* transfer,
                                         bool                 sync_active,
                                         bool                 update_timers,
                                         uint32_t             timer_delta)
{                                                                     
ffc0f8a0:	7d 80 00 26 	mfcr    r12                                    
ffc0f8a4:	94 21 ff e8 	stwu    r1,-24(r1)                             
  if (!rtems_chain_is_empty (chain))                                  
ffc0f8a8:	7f 89 20 00 	cmpw    cr7,r9,r4                              
                                         rtems_chain_control* chain,  
                                         rtems_chain_control* transfer,
                                         bool                 sync_active,
                                         bool                 update_timers,
                                         uint32_t             timer_delta)
{                                                                     
ffc0f8ac:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f8b0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0f8b4:	91 81 00 0c 	stw     r12,12(r1)                             
  if (!rtems_chain_is_empty (chain))                                  
ffc0f8b8:	41 9e 00 a0 	beq-    cr7,ffc0f958 <rtems_bdbuf_swapout_modified_processing+0xc0>
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
ffc0f8bc:	2c 86 00 00 	cmpwi   cr1,r6,0                               
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
ffc0f8c0:	39 40 00 00 	li      r10,0                                  
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
ffc0f8c4:	41 86 00 10 	beq-    cr1,ffc0f8d4 <rtems_bdbuf_swapout_modified_processing+0x3c>
ffc0f8c8:	81 43 00 00 	lwz     r10,0(r3)                              
ffc0f8cc:	7d 4a 00 34 	cntlzw  r10,r10                                
ffc0f8d0:	55 4a d9 7e 	rlwinm  r10,r10,27,5,31                        
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
ffc0f8d4:	3c c0 00 00 	lis     r6,0                                   
ffc0f8d8:	83 e6 29 dc 	lwz     r31,10716(r6)                          
ffc0f8dc:	2f 0a 00 00 	cmpwi   cr6,r10,0                              
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
      {                                                               
        if (update_timers)                                            
ffc0f8e0:	2c 07 00 00 	cmpwi   r7,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))            
          || rtems_bdbuf_has_buffer_waiters ())                       
ffc0f8e4:	2e 1f 00 00 	cmpwi   cr4,r31,0                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0f8e8:	3b c0 00 09 	li      r30,9                                  
       * @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))            
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
ffc0f8ec:	38 c0 00 00 	li      r6,0                                   
       * 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))            
ffc0f8f0:	40 9a 00 cc 	bne-    cr6,ffc0f9bc <rtems_bdbuf_swapout_modified_processing+0x124>
ffc0f8f4:	41 86 00 14 	beq-    cr1,ffc0f908 <rtems_bdbuf_swapout_modified_processing+0x70>
ffc0f8f8:	81 43 00 00 	lwz     r10,0(r3)                              
ffc0f8fc:	81 69 00 14 	lwz     r11,20(r9)                             
ffc0f900:	7f 8a 58 00 	cmpw    cr7,r10,r11                            
ffc0f904:	41 9e 00 c0 	beq-    cr7,ffc0f9c4 <rtems_bdbuf_swapout_modified_processing+0x12c>
          || rtems_bdbuf_has_buffer_waiters ())                       
ffc0f908:	40 92 00 b4 	bne-    cr4,ffc0f9bc <rtems_bdbuf_swapout_modified_processing+0x124>
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
ffc0f90c:	81 49 00 2c 	lwz     r10,44(r9)                             
ffc0f910:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0f914:	41 9e 00 20 	beq-    cr7,ffc0f934 <rtems_bdbuf_swapout_modified_processing+0x9c><== NEVER TAKEN
      {                                                               
        if (update_timers)                                            
ffc0f918:	41 82 00 34 	beq-    ffc0f94c <rtems_bdbuf_swapout_modified_processing+0xb4>
        {                                                             
          if (bd->hold_timer > timer_delta)                           
ffc0f91c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc0f920:	40 9d 00 e8 	ble-    cr7,ffc0fa08 <rtems_bdbuf_swapout_modified_processing+0x170>
            bd->hold_timer -= timer_delta;                            
ffc0f924:	7d 48 50 50 	subf    r10,r8,r10                             
          else                                                        
            bd->hold_timer = 0;                                       
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
ffc0f928:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
      if (bd->hold_timer)                                             
      {                                                               
        if (update_timers)                                            
        {                                                             
          if (bd->hold_timer > timer_delta)                           
            bd->hold_timer -= timer_delta;                            
ffc0f92c:	91 49 00 2c 	stw     r10,44(r9)                             
          else                                                        
            bd->hold_timer = 0;                                       
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
ffc0f930:	40 9e 00 1c 	bne-    cr7,ffc0f94c <rtems_bdbuf_swapout_modified_processing+0xb4><== ALWAYS TAKEN
ffc0f934:	81 43 00 00 	lwz     r10,0(r3)                              <== NOT EXECUTED
ffc0f938:	81 69 00 14 	lwz     r11,20(r9)                             <== 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)                               
ffc0f93c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0f940:	41 9e 00 90 	beq-    cr7,ffc0f9d0 <rtems_bdbuf_swapout_modified_processing+0x138>
        *dd_ptr = bd->dd;                                             
                                                                      
      if (bd->dd == *dd_ptr)                                          
ffc0f944:	7f 8b 50 00 	cmpw    cr7,r11,r10                            
ffc0f948:	41 9e 00 28 	beq-    cr7,ffc0f970 <rtems_bdbuf_swapout_modified_processing+0xd8><== ALWAYS TAKEN
                                                                      
        node = next_node;                                             
      }                                                               
      else                                                            
      {                                                               
        node = node->next;                                            
ffc0f94c:	81 29 00 00 	lwz     r9,0(r9)                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
ffc0f950:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc0f954:	40 9e ff 9c 	bne+    cr7,ffc0f8f0 <rtems_bdbuf_swapout_modified_processing+0x58>
      {                                                               
        node = node->next;                                            
      }                                                               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f958:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc0f95c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f960:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f964:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0f968:	38 21 00 18 	addi    r1,r1,24                               
ffc0f96c:	4e 80 00 20 	blr                                            
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
ffc0f970:	81 49 00 04 	lwz     r10,4(r9)                              
      if (*dd_ptr == BDBUF_INVALID_DEV)                               
        *dd_ptr = bd->dd;                                             
                                                                      
      if (bd->dd == *dd_ptr)                                          
      {                                                               
        rtems_chain_node* next_node = node->next;                     
ffc0f974:	81 89 00 00 	lwz     r12,0(r9)                              
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc0f978:	93 c9 00 20 	stw     r30,32(r9)                             
  next->previous = previous;                                          
ffc0f97c:	91 4c 00 04 	stw     r10,4(r12)                             
  previous->next = next;                                              
ffc0f980:	91 8a 00 00 	stw     r12,0(r10)                             
                                                                      
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);       
                                                                      
        rtems_chain_extract_unprotected (node);                       
                                                                      
        tnode = tnode->previous;                                      
ffc0f984:	81 45 00 08 	lwz     r10,8(r5)                              
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0f988:	7f 8a 28 00 	cmpw    cr7,r10,r5                             
ffc0f98c:	41 9e 00 60 	beq-    cr7,ffc0f9ec <rtems_bdbuf_swapout_modified_processing+0x154>
        {                                                             
          rtems_bdbuf_buffer* tbd = (rtems_bdbuf_buffer*) tnode;      
                                                                      
          if (bd->block > tbd->block)                                 
ffc0f990:	81 6a 00 18 	lwz     r11,24(r10)                            
ffc0f994:	80 09 00 18 	lwz     r0,24(r9)                              
ffc0f998:	7f 80 58 40 	cmplw   cr7,r0,r11                             
ffc0f99c:	40 9d 00 44 	ble-    cr7,ffc0f9e0 <rtems_bdbuf_swapout_modified_processing+0x148>
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0f9a0:	81 6a 00 00 	lwz     r11,0(r10)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0f9a4:	91 49 00 04 	stw     r10,4(r9)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0f9a8:	91 2a 00 00 	stw     r9,0(r10)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0f9ac:	91 2b 00 04 	stw     r9,4(r11)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0f9b0:	91 69 00 00 	stw     r11,0(r9)                              
  before_node->previous = the_node;                                   
ffc0f9b4:	7d 89 63 78 	mr      r9,r12                                 
ffc0f9b8:	4b ff ff 98 	b       ffc0f950 <rtems_bdbuf_swapout_modified_processing+0xb8>
ffc0f9bc:	81 43 00 00 	lwz     r10,0(r3)                              
ffc0f9c0:	81 69 00 14 	lwz     r11,20(r9)                             
      /*                                                              
       * 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)                               
ffc0f9c4:	2f 8a 00 00 	cmpwi   cr7,r10,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))            
          || rtems_bdbuf_has_buffer_waiters ())                       
        bd->hold_timer = 0;                                           
ffc0f9c8:	90 c9 00 2c 	stw     r6,44(r9)                              
      /*                                                              
       * 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)                               
ffc0f9cc:	40 9e ff 78 	bne+    cr7,ffc0f944 <rtems_bdbuf_swapout_modified_processing+0xac>
        *dd_ptr = bd->dd;                                             
ffc0f9d0:	91 63 00 00 	stw     r11,0(r3)                              
ffc0f9d4:	7d 6a 5b 78 	mr      r10,r11                                
ffc0f9d8:	81 69 00 14 	lwz     r11,20(r9)                             
ffc0f9dc:	4b ff ff 68 	b       ffc0f944 <rtems_bdbuf_swapout_modified_processing+0xac>
          {                                                           
            rtems_chain_insert_unprotected (tnode, node);             
            node = NULL;                                              
          }                                                           
          else                                                        
            tnode = tnode->previous;                                  
ffc0f9e0:	81 4a 00 04 	lwz     r10,4(r10)                             
                                                                      
        rtems_chain_extract_unprotected (node);                       
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
ffc0f9e4:	7f 8a 28 00 	cmpw    cr7,r10,r5                             
ffc0f9e8:	40 9e ff a8 	bne+    cr7,ffc0f990 <rtems_bdbuf_swapout_modified_processing+0xf8>
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0f9ec:	81 45 00 00 	lwz     r10,0(r5)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0f9f0:	90 a9 00 04 	stw     r5,4(r9)                               
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0f9f4:	91 25 00 00 	stw     r9,0(r5)                               
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0f9f8:	91 2a 00 04 	stw     r9,4(r10)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0f9fc:	91 49 00 00 	stw     r10,0(r9)                              
  before_node->previous = the_node;                                   
ffc0fa00:	7d 89 63 78 	mr      r9,r12                                 
ffc0fa04:	4b ff ff 4c 	b       ffc0f950 <rtems_bdbuf_swapout_modified_processing+0xb8>
        if (update_timers)                                            
        {                                                             
          if (bd->hold_timer > timer_delta)                           
            bd->hold_timer -= timer_delta;                            
          else                                                        
            bd->hold_timer = 0;                                       
ffc0fa08:	93 e9 00 2c 	stw     r31,44(r9)                             
ffc0fa0c:	81 43 00 00 	lwz     r10,0(r3)                              
ffc0fa10:	81 69 00 14 	lwz     r11,20(r9)                             
ffc0fa14:	4b ff ff 28 	b       ffc0f93c <rtems_bdbuf_swapout_modified_processing+0xa4>
                                                                      

ffc110d0 <rtems_bdbuf_swapout_task>: * not this. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_task (rtems_task_argument arg) {
ffc110d0:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc110d4:	7c 08 02 a6 	mflr    r0                                     
ffc110d8:	92 e1 00 4c 	stw     r23,76(r1)                             
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;
ffc110dc:	3e e0 ff c2 	lis     r23,-62                                
ffc110e0:	3a f7 cc 5c 	addi    r23,r23,-13220                         
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc110e4:	93 61 00 5c 	stw     r27,92(r1)                             
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;
ffc110e8:	83 77 00 0c 	lwz     r27,12(r23)                            
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc110ec:	90 01 00 74 	stw     r0,116(r1)                             
ffc110f0:	92 a1 00 44 	stw     r21,68(r1)                             
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc110f4:	1e bb 03 e8 	mulli   r21,r27,1000                           
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
{                                                                     
ffc110f8:	92 c1 00 48 	stw     r22,72(r1)                             
ffc110fc:	93 01 00 50 	stw     r24,80(r1)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11100:	3b 01 00 0c 	addi    r24,r1,12                              
ffc11104:	93 41 00 58 	stw     r26,88(r1)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc11108:	3b 41 00 08 	addi    r26,r1,8                               
ffc1110c:	93 a1 00 64 	stw     r29,100(r1)                            
 * @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)                    
ffc11110:	3b a0 00 61 	li      r29,97                                 
{                                                                     
ffc11114:	91 e1 00 2c 	stw     r15,44(r1)                             
ffc11118:	92 01 00 30 	stw     r16,48(r1)                             
ffc1111c:	92 21 00 34 	stw     r17,52(r1)                             
ffc11120:	92 41 00 38 	stw     r18,56(r1)                             
ffc11124:	92 61 00 3c 	stw     r19,60(r1)                             
ffc11128:	92 81 00 40 	stw     r20,64(r1)                             
ffc1112c:	93 21 00 54 	stw     r25,84(r1)                             
ffc11130:	93 81 00 60 	stw     r28,96(r1)                             
ffc11134:	93 c1 00 68 	stw     r30,104(r1)                            
ffc11138:	93 e1 00 6c 	stw     r31,108(r1)                            
  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 ();         
ffc1113c:	4b ff eb c5 	bl      ffc0fd00 <rtems_bdbuf_swapout_writereq_alloc>
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc11140:	3d 20 ff c2 	lis     r9,-62                                 
ffc11144:	81 49 cc 20 	lwz     r10,-13280(r9)                         
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11148:	39 20 00 00 	li      r9,0                                   
  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 ();         
ffc1114c:	90 61 00 1c 	stw     r3,28(r1)                              
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
ffc11150:	7e b5 53 96 	divwu   r21,r21,r10                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11154:	93 01 00 08 	stw     r24,8(r1)                              
  head->previous = NULL;                                              
ffc11158:	91 21 00 0c 	stw     r9,12(r1)                              
  tail->previous = head;                                              
ffc1115c:	93 41 00 10 	stw     r26,16(r1)                             
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
  rtems_chain_initialize_empty (&transfer.bds);                       
  transfer.dd = BDBUF_INVALID_DEV;                                    
ffc11160:	91 21 00 14 	stw     r9,20(r1)                              
  transfer.syncing = false;                                           
ffc11164:	99 21 00 18 	stb     r9,24(r1)                              
rtems_bdbuf_swapout_workers_open (void)                               
{                                                                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11168:	4b ff e9 0d 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc1116c:	82 d7 00 14 	lwz     r22,20(r23)                            
ffc11170:	2f 96 00 00 	cmpwi   cr7,r22,0                              
 * @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)                    
ffc11174:	3a d6 00 61 	addi    r22,r22,97                             
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc11178:	41 9e 03 08 	beq-    cr7,ffc11480 <rtems_bdbuf_swapout_task+0x3b0><== ALWAYS TAKEN
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc1117c:	3f 80 00 00 	lis     r28,0                                  <== NOT EXECUTED
ffc11180:	3b 9c 29 68 	addi    r28,r28,10600                          <== 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),
ffc11184:	3e 80 ff c1 	lis     r20,-63                                <== NOT EXECUTED
                                                                      
  the_node->next = tail;                                              
ffc11188:	3a 5c 00 0c 	addi    r18,r28,12                             <== NOT EXECUTED
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WK_NOMEM);              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
ffc1118c:	3a 60 00 01 	li      r19,1                                  <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11190:	3b 20 00 00 	li      r25,0                                  <== 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),
ffc11194:	3a 94 14 a4 	addi    r20,r20,5284                           <== NOT EXECUTED
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
ffc11198:	38 60 00 28 	li      r3,40                                  <== NOT EXECUTED
ffc1119c:	4b ff 51 cd 	bl      ffc06368 <malloc>                      <== NOT EXECUTED
    if (!worker)                                                      
ffc111a0:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc111a4:	41 82 02 e8 	beq-    ffc1148c <rtems_bdbuf_swapout_task+0x3bc><== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc111a8:	81 3c 00 10 	lwz     r9,16(r28)                             <== NOT EXECUTED
ffc111ac:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
                                                                      
  the_node->next = tail;                                              
ffc111b0:	92 5f 00 00 	stw     r18,0(r31)                             <== NOT EXECUTED
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
ffc111b4:	91 3f 00 04 	stw     r9,4(r31)                              <== NOT EXECUTED
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
ffc111b8:	93 e9 00 00 	stw     r31,0(r9)                              <== NOT EXECUTED
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
ffc111bc:	93 fc 00 10 	stw     r31,16(r28)                            <== NOT EXECUTED
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WK_NOMEM);              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
ffc111c0:	9a 7f 00 0c 	stb     r19,12(r31)                            <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
ffc111c4:	4b ff eb 3d 	bl      ffc0fd00 <rtems_bdbuf_swapout_writereq_alloc><== 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 );                        
ffc111c8:	39 3f 00 10 	addi    r9,r31,16                              <== NOT EXECUTED
ffc111cc:	39 5f 00 14 	addi    r10,r31,20                             <== NOT EXECUTED
ffc111d0:	90 7f 00 24 	stw     r3,36(r31)                             <== 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),
ffc111d4:	67 a3 42 44 	oris    r3,r29,16964                           <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
ffc111d8:	91 5f 00 10 	stw     r10,16(r31)                            <== NOT EXECUTED
ffc111dc:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc111e0:	60 63 6f 00 	ori     r3,r3,28416                            <== NOT EXECUTED
  head->previous = NULL;                                              
ffc111e4:	93 3f 00 14 	stw     r25,20(r31)                            <== NOT EXECUTED
ffc111e8:	7e 85 a3 78 	mr      r5,r20                                 <== NOT EXECUTED
ffc111ec:	38 ff 00 08 	addi    r7,r31,8                               <== NOT EXECUTED
  tail->previous = head;                                              
ffc111f0:	91 3f 00 18 	stw     r9,24(r31)                             <== 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;                          
ffc111f4:	93 3f 00 1c 	stw     r25,28(r31)                            <== NOT EXECUTED
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
ffc111f8:	80 97 00 18 	lwz     r4,24(r23)                             <== NOT EXECUTED
ffc111fc:	4b ff ed 3d 	bl      ffc0ff38 <rtems_bdbuf_create_task.constprop.15><== 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)                                       
ffc11200:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc11204:	40 9e 02 90 	bne-    cr7,ffc11494 <rtems_bdbuf_swapout_task+0x3c4><== NOT EXECUTED
ffc11208:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
ffc1120c:	7f 9d b0 00 	cmpw    cr7,r29,r22                            <== NOT EXECUTED
ffc11210:	40 9e ff 88 	bne+    cr7,ffc11198 <rtems_bdbuf_swapout_task+0xc8><== NOT EXECUTED
                                  &worker->id);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WK_CREATE);             
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11214:	4b ff e8 c5 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc11218:	89 3e 00 04 	lbz     r9,4(r30)                              
ffc1121c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11220:	41 9e 01 b0 	beq-    cr7,ffc113d0 <rtems_bdbuf_swapout_task+0x300><== NEVER TAKEN
ffc11224:	3e e0 00 00 	lis     r23,0                                  
ffc11228:	3a f7 29 c0 	addi    r23,r23,10688                          
ffc1122c:	3a d7 ff f4 	addi    r22,r23,-12                            
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11230:	3b 80 00 00 	li      r28,0                                  
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc11234:	3a 60 00 01 	li      r19,1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc11238:	3a 9e 00 0c 	addi    r20,r30,12                             
  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;                                         
ffc1123c:	3a 5e 00 08 	addi    r18,r30,8                              
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
    sync_requester = bdbuf_cache.sync_requester;                      
    bdbuf_cache.sync_active = false;                                  
ffc11240:	3a 20 00 00 	li      r17,0                                  
 * @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)                    
ffc11244:	3a 00 00 01 	li      r16,1                                  
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc11248:	4b ff e8 2d 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
   * 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)                                        
ffc1124c:	89 3e 00 30 	lbz     r9,48(r30)                             
ffc11250:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11254:	40 9e 00 a8 	bne-    cr7,ffc112fc <rtems_bdbuf_swapout_task+0x22c>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc11258:	83 be 00 08 	lwz     r29,8(r30)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc1125c:	7f 9d a0 00 	cmpw    cr7,r29,r20                            
ffc11260:	41 9e 02 0c 	beq-    cr7,ffc1146c <rtems_bdbuf_swapout_task+0x39c><== ALWAYS TAKEN
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc11264:	81 3d 00 00 	lwz     r9,0(r29)                              <== NOT EXECUTED
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get_unprotected (&bdbuf_cache.swapout_workers);     
    if (worker)                                                       
      transfer = &worker->transfer;                                   
ffc11268:	3b fd 00 10 	addi    r31,r29,16                             <== NOT EXECUTED
                                                                      
  head->next = new_first;                                             
ffc1126c:	91 3e 00 08 	stw     r9,8(r30)                              <== NOT EXECUTED
  new_first->previous = head;                                         
ffc11270:	92 49 00 04 	stw     r18,4(r9)                              <== 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 );                        
ffc11274:	3b 3f 00 04 	addi    r25,r31,4                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11278:	93 9f 00 04 	stw     r28,4(r31)                             
                                                                      
  /*                                                                  
   * 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,             
ffc1127c:	39 ff 00 0c 	addi    r15,r31,12                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11280:	93 3f 00 00 	stw     r25,0(r31)                             
ffc11284:	38 c0 00 01 	li      r6,1                                   
ffc11288:	38 e0 00 00 	li      r7,0                                   
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc1128c:	93 ff 00 08 	stw     r31,8(r31)                             
ffc11290:	7f 68 db 78 	mr      r8,r27                                 
ffc11294:	7d e3 7b 78 	mr      r3,r15                                 
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
ffc11298:	93 9f 00 0c 	stw     r28,12(r31)                            
                                                                      
  /*                                                                  
   * 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,             
ffc1129c:	7e e4 bb 78 	mr      r4,r23                                 
ffc112a0:	7f e5 fb 78 	mr      r5,r31                                 
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc112a4:	9b 9f 00 10 	stb     r28,16(r31)                            
                                                                      
  /*                                                                  
   * 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,             
ffc112a8:	4b ff e5 f1 	bl      ffc0f898 <rtems_bdbuf_swapout_modified_processing>
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
ffc112ac:	88 de 00 30 	lbz     r6,48(r30)                             
ffc112b0:	7d e3 7b 78 	mr      r3,r15                                 
ffc112b4:	7e c4 b3 78 	mr      r4,r22                                 
ffc112b8:	7f e5 fb 78 	mr      r5,r31                                 
ffc112bc:	7e 07 83 78 	mr      r7,r16                                 
ffc112c0:	7f 68 db 78 	mr      r8,r27                                 
ffc112c4:	4b ff e5 d5 	bl      ffc0f898 <rtems_bdbuf_swapout_modified_processing>
  /*                                                                  
   * 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 ();                                        
ffc112c8:	4b ff e8 11 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc112cc:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc112d0:	7f 89 c8 00 	cmpw    cr7,r9,r25                             
ffc112d4:	41 9e 00 98 	beq-    cr7,ffc1136c <rtems_bdbuf_swapout_task+0x29c>
  {                                                                   
    if (worker)                                                       
ffc112d8:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc112dc:	41 9e 00 84 	beq-    cr7,ffc11360 <rtems_bdbuf_swapout_task+0x290><== ALWAYS TAKEN
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
ffc112e0:	80 7d 00 08 	lwz     r3,8(r29)                              <== NOT EXECUTED
ffc112e4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc112e8:	4b ff 96 f9 	bl      ffc0a9e0 <rtems_event_send>            <== NOT EXECUTED
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc112ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc112f0:	40 9e 01 88 	bne-    cr7,ffc11478 <rtems_bdbuf_swapout_task+0x3a8><== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * Only update the timers once.                                 
       */                                                             
      update_timers = false;                                          
ffc112f4:	3a 00 00 00 	li      r16,0                                  
ffc112f8:	4b ff ff 50 	b       ffc11248 <rtems_bdbuf_swapout_task+0x178>
   * 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;                           
ffc112fc:	81 3e 00 38 	lwz     r9,56(r30)                             
                                                                      
  /*                                                                  
   * 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,             
ffc11300:	38 c0 00 01 	li      r6,1                                   
ffc11304:	38 e0 00 00 	li      r7,0                                   
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11308:	93 01 00 08 	stw     r24,8(r1)                              
ffc1130c:	7f 68 db 78 	mr      r8,r27                                 
ffc11310:	38 61 00 14 	addi    r3,r1,20                               
   * 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;                           
ffc11314:	91 21 00 14 	stw     r9,20(r1)                              
                                                                      
  /*                                                                  
   * 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,             
ffc11318:	7e e4 bb 78 	mr      r4,r23                                 
ffc1131c:	7f 45 d3 78 	mr      r5,r26                                 
  head->previous = NULL;                                              
ffc11320:	93 81 00 0c 	stw     r28,12(r1)                             
  tail->previous = head;                                              
ffc11324:	93 41 00 10 	stw     r26,16(r1)                             
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
  transfer->syncing = bdbuf_cache.sync_active;                        
ffc11328:	9a 61 00 18 	stb     r19,24(r1)                             
                                                                      
  /*                                                                  
   * 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,             
ffc1132c:	4b ff e5 6d 	bl      ffc0f898 <rtems_bdbuf_swapout_modified_processing>
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
ffc11330:	38 61 00 14 	addi    r3,r1,20                               
ffc11334:	88 de 00 30 	lbz     r6,48(r30)                             
ffc11338:	7e c4 b3 78 	mr      r4,r22                                 
ffc1133c:	7f 45 d3 78 	mr      r5,r26                                 
ffc11340:	7e 07 83 78 	mr      r7,r16                                 
ffc11344:	7f 68 db 78 	mr      r8,r27                                 
ffc11348:	4b ff e5 51 	bl      ffc0f898 <rtems_bdbuf_swapout_modified_processing>
  /*                                                                  
   * 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 ();                                        
ffc1134c:	4b ff e7 8d 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
ffc11350:	81 21 00 08 	lwz     r9,8(r1)                               
ffc11354:	7f 89 c0 00 	cmpw    cr7,r9,r24                             
ffc11358:	41 9e 00 14 	beq-    cr7,ffc1136c <rtems_bdbuf_swapout_task+0x29c>
ffc1135c:	7f 5f d3 78 	mr      r31,r26                                
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WAKE_2);              
    }                                                                 
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
ffc11360:	7f e3 fb 78 	mr      r3,r31                                 
ffc11364:	4b ff fb 79 	bl      ffc10edc <rtems_bdbuf_swapout_write>   
ffc11368:	4b ff ff 8c 	b       ffc112f4 <rtems_bdbuf_swapout_task+0x224>
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
ffc1136c:	89 3e 00 30 	lbz     r9,48(r30)                             
ffc11370:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11374:	41 9e 00 2c 	beq-    cr7,ffc113a0 <rtems_bdbuf_swapout_task+0x2d0>
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
ffc11378:	4b ff e6 fd 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
    sync_requester = bdbuf_cache.sync_requester;                      
ffc1137c:	83 fe 00 34 	lwz     r31,52(r30)                            
    bdbuf_cache.sync_active = false;                                  
ffc11380:	9a 3e 00 30 	stb     r17,48(r30)                            
    bdbuf_cache.sync_requester = 0;                                   
ffc11384:	93 9e 00 34 	stw     r28,52(r30)                            
    rtems_bdbuf_unlock_cache ();                                      
ffc11388:	4b ff e7 51 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
    if (sync_requester)                                               
ffc1138c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc11390:	41 be 00 10 	beq+    cr7,ffc113a0 <rtems_bdbuf_swapout_task+0x2d0><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_status_code rtems_event_transient_send(    
  rtems_id id                                                         
)                                                                     
{                                                                     
  return rtems_event_system_send( id, RTEMS_EVENT_SYSTEM_TRANSIENT ); 
ffc11394:	7f e3 fb 78 	mr      r3,r31                                 
ffc11398:	3c 80 80 00 	lis     r4,-32768                              
ffc1139c:	4b ff 9e 2d 	bl      ffc0b1c8 <rtems_event_system_send>     
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
ffc113a0:	38 60 00 04 	li      r3,4                                   
ffc113a4:	38 80 00 00 	li      r4,0                                   
ffc113a8:	7e a5 ab 78 	mr      r5,r21                                 
ffc113ac:	38 c1 00 20 	addi    r6,r1,32                               
ffc113b0:	4b ff 94 2d 	bl      ffc0a7dc <rtems_event_receive>         
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
ffc113b4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc113b8:	41 82 00 0c 	beq-    ffc113c4 <rtems_bdbuf_swapout_task+0x2f4>
ffc113bc:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc113c0:	40 9e 00 dc 	bne-    cr7,ffc1149c <rtems_bdbuf_swapout_task+0x3cc><== NEVER TAKEN
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
ffc113c4:	89 3e 00 04 	lbz     r9,4(r30)                              
ffc113c8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc113cc:	40 9e fe 78 	bne+    cr7,ffc11244 <rtems_bdbuf_swapout_task+0x174><== ALWAYS TAKEN
static void                                                           
rtems_bdbuf_swapout_workers_close (void)                              
{                                                                     
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
ffc113d0:	4b ff e6 a5 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc113d4:	83 fe 00 08 	lwz     r31,8(r30)                             <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_tail(         
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return &the_chain->Tail.Node;                                       
ffc113d8:	3b de 00 0c 	addi    r30,r30,12                             <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
ffc113dc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
ffc113e0:	3b a0 00 00 	li      r29,0                                  <== 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))   
ffc113e4:	41 9e 00 20 	beq-    cr7,ffc11404 <rtems_bdbuf_swapout_task+0x334><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
ffc113e8:	9b bf 00 0c 	stb     r29,12(r31)                            <== NOT EXECUTED
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
ffc113ec:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc113f0:	80 7f 00 08 	lwz     r3,8(r31)                              <== NOT EXECUTED
ffc113f4:	4b ff 95 ed 	bl      ffc0a9e0 <rtems_event_send>            <== NOT EXECUTED
void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd)           
{                                                                     
  rtems_bdbuf_lock_cache ();                                          
  memset (&dd->stats, 0, sizeof(dd->stats));                          
  rtems_bdbuf_unlock_cache ();                                        
}                                                                     
ffc113f8:	83 ff 00 00 	lwz     r31,0(r31)                             <== 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))   
ffc113fc:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
ffc11400:	40 9e ff e8 	bne+    cr7,ffc113e8 <rtems_bdbuf_swapout_task+0x318><== NOT EXECUTED
    worker->enabled = false;                                          
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc11404:	4b ff e6 d5 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    <== NOT EXECUTED
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SWAPOUT_RE);               
  }                                                                   
                                                                      
  rtems_bdbuf_swapout_workers_close ();                               
                                                                      
  free (transfer.write_req);                                          
ffc11408:	80 61 00 1c 	lwz     r3,28(r1)                              <== NOT EXECUTED
ffc1140c:	4b ff 49 0d 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc11410:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc11414:	4b ff 9f cd 	bl      ffc0b3e0 <rtems_task_delete>           <== NOT EXECUTED
}                                                                     
ffc11418:	80 01 00 74 	lwz     r0,116(r1)                             <== NOT EXECUTED
ffc1141c:	81 e1 00 2c 	lwz     r15,44(r1)                             <== NOT EXECUTED
ffc11420:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11424:	82 01 00 30 	lwz     r16,48(r1)                             <== NOT EXECUTED
ffc11428:	82 21 00 34 	lwz     r17,52(r1)                             <== NOT EXECUTED
ffc1142c:	82 41 00 38 	lwz     r18,56(r1)                             <== NOT EXECUTED
ffc11430:	82 61 00 3c 	lwz     r19,60(r1)                             <== NOT EXECUTED
ffc11434:	82 81 00 40 	lwz     r20,64(r1)                             <== NOT EXECUTED
ffc11438:	82 a1 00 44 	lwz     r21,68(r1)                             <== NOT EXECUTED
ffc1143c:	82 c1 00 48 	lwz     r22,72(r1)                             <== NOT EXECUTED
ffc11440:	82 e1 00 4c 	lwz     r23,76(r1)                             <== NOT EXECUTED
ffc11444:	83 01 00 50 	lwz     r24,80(r1)                             <== NOT EXECUTED
ffc11448:	83 21 00 54 	lwz     r25,84(r1)                             <== NOT EXECUTED
ffc1144c:	83 41 00 58 	lwz     r26,88(r1)                             <== NOT EXECUTED
ffc11450:	83 61 00 5c 	lwz     r27,92(r1)                             <== NOT EXECUTED
ffc11454:	83 81 00 60 	lwz     r28,96(r1)                             <== NOT EXECUTED
ffc11458:	83 a1 00 64 	lwz     r29,100(r1)                            <== NOT EXECUTED
ffc1145c:	83 c1 00 68 	lwz     r30,104(r1)                            <== NOT EXECUTED
ffc11460:	83 e1 00 6c 	lwz     r31,108(r1)                            <== NOT EXECUTED
ffc11464:	38 21 00 70 	addi    r1,r1,112                              <== NOT EXECUTED
ffc11468:	4e 80 00 20 	blr                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc1146c:	3b a0 00 00 	li      r29,0                                  
ffc11470:	7f 5f d3 78 	mr      r31,r26                                
ffc11474:	4b ff fe 00 	b       ffc11274 <rtems_bdbuf_swapout_task+0x1a4>
    if (worker)                                                       
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WAKE_2);              
ffc11478:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc1147c:	4b ff e5 9d 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
ffc11480:	3f c0 00 00 	lis     r30,0                                  
ffc11484:	3b de 29 68 	addi    r30,r30,10600                          
ffc11488:	4b ff fd 8c 	b       ffc11214 <rtems_bdbuf_swapout_task+0x144>
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WK_NOMEM);              
ffc1148c:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc11490:	4b ff e5 89 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                  RTEMS_BDBUF_SWAPOUT_WORKER_TASK_PRIORITY_DEFAULT,
                                  rtems_bdbuf_swapout_worker_task,    
                                  (rtems_task_argument) worker,       
                                  &worker->id);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WK_CREATE);             
ffc11494:	38 60 00 0d 	li      r3,13                                  <== NOT EXECUTED
ffc11498:	4b ff e5 81 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SWAPOUT_RE);               
ffc1149c:	38 60 00 18 	li      r3,24                                  <== NOT EXECUTED
ffc114a0:	4b ff e5 79 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc114a4 <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) {
ffc114a4:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc114a8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc114ac:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc114b0:	89 23 00 0c 	lbz     r9,12(r3)                              <== NOT EXECUTED
 * @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)             
{                                                                     
ffc114b4:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc114b8:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc114bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
 * @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)             
{                                                                     
ffc114c0:	93 41 00 08 	stw     r26,8(r1)                              <== NOT EXECUTED
ffc114c4:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc114c8:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc114cc:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc114d0:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
ffc114d4:	41 9e 00 64 	beq-    cr7,ffc11538 <rtems_bdbuf_swapout_worker_task+0x94><== NOT EXECUTED
ffc114d8:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
ffc114dc:	3b de 29 68 	addi    r30,r30,10600                          <== NOT EXECUTED
ffc114e0:	3b 83 00 10 	addi    r28,r3,16                              <== NOT EXECUTED
ffc114e4:	3b 43 00 14 	addi    r26,r3,20                              <== NOT EXECUTED
ffc114e8:	3b 7e 00 0c 	addi    r27,r30,12                             <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc114ec:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
ffc114f0:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc114f4:	4b ff e7 b1 	bl      ffc0fca4 <rtems_bdbuf_wait_for_event>  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
ffc114f8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc114fc:	4b ff f9 e1 	bl      ffc10edc <rtems_bdbuf_swapout_write>   <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
ffc11500:	4b ff e5 75 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      <== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc11504:	81 3e 00 10 	lwz     r9,16(r30)                             <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc11508:	93 5f 00 10 	stw     r26,16(r31)                            <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
ffc1150c:	93 bf 00 1c 	stw     r29,28(r31)                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
ffc11510:	93 7f 00 00 	stw     r27,0(r31)                             <== NOT EXECUTED
  tail->previous = the_node;                                          
ffc11514:	93 fe 00 10 	stw     r31,16(r30)                            <== NOT EXECUTED
  old_last->next = the_node;                                          
ffc11518:	93 e9 00 00 	stw     r31,0(r9)                              <== NOT EXECUTED
  the_node->previous = old_last;                                      
ffc1151c:	91 3f 00 04 	stw     r9,4(r31)                              <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc11520:	93 bf 00 14 	stw     r29,20(r31)                            <== NOT EXECUTED
  tail->previous = head;                                              
ffc11524:	93 9f 00 18 	stw     r28,24(r31)                            <== NOT EXECUTED
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
ffc11528:	4b ff e5 b1 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    <== 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)                                             
ffc1152c:	89 3f 00 0c 	lbz     r9,12(r31)                             <== NOT EXECUTED
ffc11530:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc11534:	40 9e ff bc 	bne+    cr7,ffc114f0 <rtems_bdbuf_swapout_worker_task+0x4c><== NOT EXECUTED
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
ffc11538:	80 7f 00 24 	lwz     r3,36(r31)                             <== NOT EXECUTED
ffc1153c:	4b ff 47 dd 	bl      ffc05d18 <free>                        <== NOT EXECUTED
  free (worker);                                                      
ffc11540:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc11544:	4b ff 47 d5 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
}                                                                     
ffc11548:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1154c:	83 41 00 08 	lwz     r26,8(r1)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
  free (worker);                                                      
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc11550:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc11554:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11558:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc1155c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc11560:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc11564:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc11568:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1156c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
  free (worker);                                                      
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
ffc11570:	4b ff 9e 70 	b       ffc0b3e0 <rtems_task_delete>           <== NOT EXECUTED
                                                                      

ffc10edc <rtems_bdbuf_swapout_write>: * * @param transfer The transfer transaction. */ static void rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer) {
ffc10edc:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10ee0:	7c 08 02 a6 	mflr    r0                                     
ffc10ee4:	7d 80 00 26 	mfcr    r12                                    
ffc10ee8:	90 01 00 34 	stw     r0,52(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
ffc10eec:	81 23 00 00 	lwz     r9,0(r3)                               
ffc10ef0:	93 41 00 18 	stw     r26,24(r1)                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
ffc10ef4:	3b 43 00 04 	addi    r26,r3,4                               
    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))                         
ffc10ef8:	7f 89 d0 00 	cmpw    cr7,r9,r26                             
 *                                                                    
 * @param transfer The transfer transaction.                          
 */                                                                   
static void                                                           
rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer)    
{                                                                     
ffc10efc:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc10f00:	7c 7f 1b 78 	mr      r31,r3                                 
ffc10f04:	93 01 00 10 	stw     r24,16(r1)                             
ffc10f08:	93 21 00 14 	stw     r25,20(r1)                             
ffc10f0c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc10f10:	93 81 00 20 	stw     r28,32(r1)                             
ffc10f14:	93 a1 00 24 	stw     r29,36(r1)                             
ffc10f18:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10f1c:	91 81 00 0c 	stw     r12,12(r1)                             
    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))                         
ffc10f20:	41 9e 00 e8 	beq-    cr7,ffc11008 <rtems_bdbuf_swapout_write+0x12c><== NEVER TAKEN
     * 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;                             
ffc10f24:	83 23 00 0c 	lwz     r25,12(r3)                             
     * 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;              
ffc10f28:	39 00 00 0c 	li      r8,12                                  
ffc10f2c:	80 83 00 14 	lwz     r4,20(r3)                              
  {                                                                   
    /*                                                                
     * The last block number used when the driver only supports       
     * continuous blocks in a single request.                         
     */                                                               
    uint32_t last_block = 0;                                          
ffc10f30:	3b c0 00 00 	li      r30,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;
ffc10f34:	81 59 00 08 	lwz     r10,8(r25)                             
    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;                              
ffc10f38:	3b 80 00 00 	li      r28,0                                  
     * 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;     
ffc10f3c:	83 79 00 2c 	lwz     r27,44(r25)                            
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc10f40:	3b a0 00 0c 	li      r29,12                                 
    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;
ffc10f44:	81 4a 00 0c 	lwz     r10,12(r10)                            
       * 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))
ffc10f48:	3f 00 ff c2 	lis     r24,-62                                
     * 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;              
ffc10f4c:	91 04 00 0c 	stw     r8,12(r4)                              
ffc10f50:	55 48 07 fe 	clrlwi  r8,r10,31                              
ffc10f54:	2e 08 00 00 	cmpwi   cr4,r8,0                               
    transfer->write_req->bufnum = 0;                                  
ffc10f58:	39 40 00 00 	li      r10,0                                  
ffc10f5c:	91 44 00 10 	stw     r10,16(r4)                             
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
ffc10f60:	81 49 00 00 	lwz     r10,0(r9)                              
                                                                      
  head->next = new_first;                                             
ffc10f64:	91 5f 00 00 	stw     r10,0(r31)                             
  new_first->previous = head;                                         
ffc10f68:	93 ea 00 04 	stw     r31,4(r10)                             
      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 &&    
ffc10f6c:	40 92 00 d4 	bne-    cr4,ffc11040 <rtems_bdbuf_swapout_write+0x164>
ffc10f70:	80 a9 00 18 	lwz     r5,24(r9)                              
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc10f74:	80 c4 00 10 	lwz     r6,16(r4)                              
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
ffc10f78:	7c be 2b 78 	mr      r30,r5                                 
        buf->length = dd->block_size;                                 
        buf->buffer = bd->buffer;                                     
ffc10f7c:	81 69 00 1c 	lwz     r11,28(r9)                             
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc10f80:	38 c6 00 01 	addi    r6,r6,1                                
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
ffc10f84:	80 19 00 24 	lwz     r0,36(r25)                             
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc10f88:	54 c7 20 36 	rlwinm  r7,r6,4,0,27                           
        transfer->write_req->bufnum++;                                
ffc10f8c:	90 c4 00 10 	stw     r6,16(r4)                              
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
ffc10f90:	7c e4 3a 14 	add     r7,r4,r7                               
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
ffc10f94:	90 a7 00 08 	stw     r5,8(r7)                               
    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;                              
ffc10f98:	38 c0 00 00 	li      r6,0                                   
        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;                                 
ffc10f9c:	90 07 00 0c 	stw     r0,12(r7)                              
        buf->buffer = bd->buffer;                                     
ffc10fa0:	91 67 00 10 	stw     r11,16(r7)                             
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
ffc10fa4:	91 27 00 14 	stw     r9,20(r7)                              
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
        buf->buffer = bd->buffer;                                     
ffc10fa8:	7d 49 53 78 	mr      r9,r10                                 
      /*                                                              
       * 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) ||                    
ffc10fac:	7f 9a 48 00 	cmpw    cr7,r26,r9                             
ffc10fb0:	41 9e 00 18 	beq-    cr7,ffc10fc8 <rtems_bdbuf_swapout_write+0xec>
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
ffc10fb4:	39 18 cc 5c 	addi    r8,r24,-13220                          
      /*                                                              
       * 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) ||                    
ffc10fb8:	81 44 00 10 	lwz     r10,16(r4)                             
ffc10fbc:	81 08 00 04 	lwz     r8,4(r8)                               
ffc10fc0:	7f 0a 40 40 	cmplw   cr6,r10,r8                             
ffc10fc4:	41 98 00 b4 	blt-    cr6,ffc11078 <rtems_bdbuf_swapout_write+0x19c>
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
ffc10fc8:	7f 23 cb 78 	mr      r3,r25                                 
ffc10fcc:	38 a0 00 00 	li      r5,0                                   
ffc10fd0:	4b ff fc e5 	bl      ffc10cb4 <rtems_bdbuf_execute_transfer_request>
ffc10fd4:	81 3f 00 00 	lwz     r9,0(r31)                              
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
ffc10fd8:	80 9f 00 14 	lwz     r4,20(r31)                             
ffc10fdc:	7f 9a 48 00 	cmpw    cr7,r26,r9                             
ffc10fe0:	93 a4 00 0c 	stw     r29,12(r4)                             
        transfer->write_req->bufnum = 0;                              
ffc10fe4:	93 84 00 10 	stw     r28,16(r4)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc10fe8:	40 9e ff 78 	bne+    cr7,ffc10f60 <rtems_bdbuf_swapout_write+0x84>
                                                                      
    /*                                                                
     * If sync'ing and the deivce is capability of handling a sync IO control
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
ffc10fec:	89 3f 00 10 	lbz     r9,16(r31)                             
ffc10ff0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc10ff4:	41 9e 00 14 	beq-    cr7,ffc11008 <rtems_bdbuf_swapout_write+0x12c>
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
ffc10ff8:	80 79 00 08 	lwz     r3,8(r25)                              
ffc10ffc:	81 23 00 0c 	lwz     r9,12(r3)                              
                                                                      
    /*                                                                
     * If sync'ing and the deivce is capability of handling a sync IO control
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
ffc11000:	71 2a 00 02 	andi.   r10,r9,2                               
ffc11004:	40 82 00 84 	bne-    ffc11088 <rtems_bdbuf_swapout_write+0x1ac><== NEVER TAKEN
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
      /* How should the error be handled ? */                         
    }                                                                 
  }                                                                   
}                                                                     
ffc11008:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1100c:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc11010:	7c 08 03 a6 	mtlr    r0                                     
ffc11014:	83 01 00 10 	lwz     r24,16(r1)                             
ffc11018:	83 21 00 14 	lwz     r25,20(r1)                             
ffc1101c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc11020:	83 41 00 18 	lwz     r26,24(r1)                             
ffc11024:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc11028:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1102c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc11030:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc11034:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc11038:	38 21 00 30 	addi    r1,r1,48                               
ffc1103c:	4e 80 00 20 	blr                                            
      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 &&    
ffc11040:	81 04 00 10 	lwz     r8,16(r4)                              
ffc11044:	80 a9 00 18 	lwz     r5,24(r9)                              
ffc11048:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1104c:	41 be ff 28 	beq-    cr7,ffc10f74 <rtems_bdbuf_swapout_write+0x98>
          bd->block != last_block + media_blocks_per_block)           
ffc11050:	7d 1e da 14 	add     r8,r30,r27                             
      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 &&    
ffc11054:	7f 85 40 00 	cmpw    cr7,r5,r8                              
ffc11058:	41 be ff 1c 	beq-    cr7,ffc10f74 <rtems_bdbuf_swapout_write+0x98>
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc1105c:	91 3f 00 00 	stw     r9,0(r31)                              
          bd->block != last_block + media_blocks_per_block)           
      {                                                               
        rtems_chain_prepend_unprotected (&transfer->bds, &bd->link);  
        write = true;                                                 
ffc11060:	38 c0 00 01 	li      r6,1                                   
  the_node->next        = before_node;                                
ffc11064:	91 49 00 00 	stw     r10,0(r9)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc11068:	93 e9 00 04 	stw     r31,4(r9)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc1106c:	91 2a 00 04 	stw     r9,4(r10)                              
ffc11070:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc11074:	4b ff ff 38 	b       ffc10fac <rtems_bdbuf_swapout_write+0xd0>
                                                                      
      if (rtems_chain_is_empty (&transfer->bds) ||                    
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
ffc11078:	2f 06 00 00 	cmpwi   cr6,r6,0                               
ffc1107c:	40 ba ff 4c 	bne-    cr6,ffc10fc8 <rtems_bdbuf_swapout_write+0xec>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
ffc11080:	40 9e fe e0 	bne+    cr7,ffc10f60 <rtems_bdbuf_swapout_write+0x84><== ALWAYS TAKEN
ffc11084:	4b ff ff 68 	b       ffc10fec <rtems_bdbuf_swapout_write+0x110><== NOT EXECUTED
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc11088:	81 39 00 38 	lwz     r9,56(r25)                             <== NOT EXECUTED
ffc1108c:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
      /* How should the error be handled ? */                         
    }                                                                 
  }                                                                   
}                                                                     
ffc11090:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc11094:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
      /* How should the error be handled ? */                         
    }                                                                 
  }                                                                   
}                                                                     
ffc11098:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc1109c:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
      /* How should the error be handled ? */                         
    }                                                                 
  }                                                                   
}                                                                     
ffc110a0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc110a4:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc110a8:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc110ac:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc110b0:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc110b4:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc110b8:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc110bc:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc110c0:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc110c4:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc110c8:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
ffc110cc:	4e 80 04 20 	bctr                                           <== NOT EXECUTED
                                                                      

ffc0fd00 <rtems_bdbuf_swapout_writereq_alloc>: * 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)));
ffc0fd00:	3d 20 ff c2 	lis     r9,-62                                 
 *                                                                    
 * @return rtems_blkdev_request* The write reference memory.          
 */                                                                   
static rtems_blkdev_request*                                          
rtems_bdbuf_swapout_writereq_alloc (void)                             
{                                                                     
ffc0fd04:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0fd08:	7c 08 02 a6 	mflr    r0                                     
   * 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)));
ffc0fd0c:	80 69 cc 60 	lwz     r3,-13216(r9)                          
 *                                                                    
 * @return rtems_blkdev_request* The write reference memory.          
 */                                                                   
static rtems_blkdev_request*                                          
rtems_bdbuf_swapout_writereq_alloc (void)                             
{                                                                     
ffc0fd10:	93 e1 00 0c 	stw     r31,12(r1)                             
   * 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)));
ffc0fd14:	54 63 20 36 	rlwinm  r3,r3,4,0,27                           
   * @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 =                                   
ffc0fd18:	38 63 00 18 	addi    r3,r3,24                               
 *                                                                    
 * @return rtems_blkdev_request* The write reference memory.          
 */                                                                   
static rtems_blkdev_request*                                          
rtems_bdbuf_swapout_writereq_alloc (void)                             
{                                                                     
ffc0fd1c:	90 01 00 14 	stw     r0,20(r1)                              
   * @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 =                                   
ffc0fd20:	4b ff 66 49 	bl      ffc06368 <malloc>                      
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
ffc0fd24:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc0fd28:	41 82 00 38 	beq-    ffc0fd60 <rtems_bdbuf_swapout_writereq_alloc+0x60><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_REQ_NOMEM);               
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
ffc0fd2c:	39 20 00 01 	li      r9,1                                   
ffc0fd30:	91 3f 00 00 	stw     r9,0(r31)                              
  write_req->done = rtems_bdbuf_transfer_done;                        
ffc0fd34:	3d 20 ff c1 	lis     r9,-63                                 
ffc0fd38:	39 29 16 c8 	addi    r9,r9,5832                             
ffc0fd3c:	91 3f 00 04 	stw     r9,4(r31)                              
  write_req->io_task = rtems_task_self ();                            
ffc0fd40:	48 00 4e c9 	bl      ffc14c08 <rtems_task_self>             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0fd44:	80 01 00 14 	lwz     r0,20(r1)                              
  if (!write_req)                                                     
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_REQ_NOMEM);               
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
  write_req->done = rtems_bdbuf_transfer_done;                        
  write_req->io_task = rtems_task_self ();                            
ffc0fd48:	90 7f 00 14 	stw     r3,20(r31)                             
                                                                      
  return write_req;                                                   
}                                                                     
ffc0fd4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0fd50:	7c 08 03 a6 	mtlr    r0                                     
ffc0fd54:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fd58:	38 21 00 10 	addi    r1,r1,16                               
ffc0fd5c:	4e 80 00 20 	blr                                            
  rtems_blkdev_request* write_req =                                   
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_REQ_NOMEM);               
ffc0fd60:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
ffc0fd64:	4b ff fc b5 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc121ac <rtems_bdbuf_sync>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_sync (rtems_bdbuf_buffer *bd) {
ffc121ac:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc121b0:	7c 08 02 a6 	mflr    r0                                     
ffc121b4:	93 e1 00 14 	stw     r31,20(r1)                             
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc121b8:	7c 7f 1b 79 	mr.     r31,r3                                 
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_sync (rtems_bdbuf_buffer *bd)                             
{                                                                     
ffc121bc:	90 01 00 1c 	stw     r0,28(r1)                              
ffc121c0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc121c4:	93 c1 00 10 	stw     r30,16(r1)                             
}                                                                     
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
ffc121c8:	41 82 00 b8 	beq-    ffc12280 <rtems_bdbuf_sync+0xd4>       <== NEVER TAKEN
  if (rtems_bdbuf_tracer)                                             
  {                                                                   
    printf ("bdbuf:%s: %" PRIu32 "\n", kind, bd->block);              
    rtems_bdbuf_show_users (kind, bd);                                
  }                                                                   
  rtems_bdbuf_lock_cache();                                           
ffc121cc:	4b ff d8 a9 	bl      ffc0fa74 <rtems_bdbuf_lock_cache>      
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc121d0:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc121d4:	2b 83 00 03 	cmplwi  cr7,r3,3                               
ffc121d8:	40 9c 00 0c 	bge-    cr7,ffc121e4 <rtems_bdbuf_sync+0x38>   <== ALWAYS TAKEN
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_5);
ffc121dc:	38 80 00 11 	li      r4,17                                  <== NOT EXECUTED
ffc121e0:	4b ff d8 a5 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
ffc121e4:	2b 83 00 05 	cmplwi  cr7,r3,5                               
ffc121e8:	40 9d 00 38 	ble-    cr7,ffc12220 <rtems_bdbuf_sync+0x74>   
ffc121ec:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc121f0:	40 9e ff ec 	bne+    cr7,ffc121dc <rtems_bdbuf_sync+0x30>   <== NEVER TAKEN
    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);                   
ffc121f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc121f8:	4b ff e2 65 	bl      ffc1045c <rtems_bdbuf_discard_buffer_after_access>
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
ffc121fc:	4b ff d8 dd 	bl      ffc0fad8 <rtems_bdbuf_unlock_cache>    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12200:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc12204:	83 a1 00 0c 	lwz     r29,12(r1)                             
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc12208:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1220c:	7c 08 03 a6 	mtlr    r0                                     
ffc12210:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc12214:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc12218:	38 21 00 18 	addi    r1,r1,24                               
ffc1221c:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append_unprotected (&bdbuf_cache.sync, &bd->link);      
                                                                      
  if (bd->waiters)                                                    
ffc12220:	81 3f 00 24 	lwz     r9,36(r31)                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
ffc12224:	3f c0 00 00 	lis     r30,0                                  
ffc12228:	3b de 29 68 	addi    r30,r30,10600                          
ffc1222c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc12230:	81 3e 00 60 	lwz     r9,96(r30)                             
                                                                      
  the_node->next = tail;                                              
ffc12234:	39 5e 00 5c 	addi    r10,r30,92                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc12238:	39 00 00 08 	li      r8,8                                   
ffc1223c:	91 5f 00 00 	stw     r10,0(r31)                             
ffc12240:	91 1f 00 20 	stw     r8,32(r31)                             
  tail->previous = the_node;                                          
ffc12244:	93 fe 00 60 	stw     r31,96(r30)                            
  old_last->next = the_node;                                          
ffc12248:	93 e9 00 00 	stw     r31,0(r9)                              
  the_node->previous = old_last;                                      
ffc1224c:	91 3f 00 04 	stw     r9,4(r31)                              
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append_unprotected (&bdbuf_cache.sync, &bd->link);      
                                                                      
  if (bd->waiters)                                                    
ffc12250:	40 9e 00 50 	bne-    cr7,ffc122a0 <rtems_bdbuf_sync+0xf4>   
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
ffc12254:	4b ff d8 95 	bl      ffc0fae8 <rtems_bdbuf_wake_swapper>    
      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);         
ffc12258:	3b be 00 6c 	addi    r29,r30,108                            
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
ffc1225c:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc12260:	2b 83 00 01 	cmplwi  cr7,r3,1                               
ffc12264:	41 9c 00 14 	blt-    cr7,ffc12278 <rtems_bdbuf_sync+0xcc>   <== NEVER TAKEN
ffc12268:	2b 83 00 07 	cmplwi  cr7,r3,7                               
ffc1226c:	40 9d 00 50 	ble-    cr7,ffc122bc <rtems_bdbuf_sync+0x110>  
ffc12270:	2b 83 00 0a 	cmplwi  cr7,r3,10                              
ffc12274:	40 9d 00 38 	ble-    cr7,ffc122ac <rtems_bdbuf_sync+0x100>  <== ALWAYS TAKEN
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal_with_state (bd->state, RTEMS_BDBUF_FATAL_STATE_9);
ffc12278:	38 80 00 15 	li      r4,21                                  <== NOT EXECUTED
ffc1227c:	4b ff d8 09 	bl      ffc0fa84 <rtems_bdbuf_fatal_with_state><== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12280:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                                                                      
static rtems_status_code                                              
rtems_bdbuf_check_bd_and_lock_cache (rtems_bdbuf_buffer *bd, const char *kind)
{                                                                     
  if (bd == NULL)                                                     
    return RTEMS_INVALID_ADDRESS;                                     
ffc12284:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc12288:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc1228c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc12290:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc12294:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc12298:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc1229c:	4e 80 00 20 	blr                                            <== 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);                   
ffc122a0:	38 7e 00 64 	addi    r3,r30,100                             
ffc122a4:	4b ff db 25 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc122a8:	4b ff ff ac 	b       ffc12254 <rtems_bdbuf_sync+0xa8>       
      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);         
ffc122ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc122b0:	7f a4 eb 78 	mr      r4,r29                                 
ffc122b4:	4b ff d9 89 	bl      ffc0fc3c <rtems_bdbuf_wait>            
ffc122b8:	4b ff ff a4 	b       ffc1225c <rtems_bdbuf_sync+0xb0>       
  rtems_bdbuf_wait_for_sync_done (bd);                                
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
ffc122bc:	83 bf 00 24 	lwz     r29,36(r31)                            
ffc122c0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc122c4:	40 be ff 38 	bne-    cr7,ffc121fc <rtems_bdbuf_sync+0x50>   
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
ffc122c8:	39 23 ff ff 	addi    r9,r3,-1                               
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
ffc122cc:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc122d0:	41 9d ff 2c 	bgt+    cr7,ffc121fc <rtems_bdbuf_sync+0x50>   <== NEVER TAKEN
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
ffc122d4:	2f 83 00 01 	cmpwi   cr7,r3,1                               
ffc122d8:	41 9e 00 10 	beq-    cr7,ffc122e8 <rtems_bdbuf_sync+0x13c>  
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
      rtems_bdbuf_make_free_and_add_to_lru_list (bd);                 
    }                                                                 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
ffc122dc:	38 7e 00 74 	addi    r3,r30,116                             
ffc122e0:	4b ff da e9 	bl      ffc0fdc8 <rtems_bdbuf_wake>            
ffc122e4:	4b ff ff 18 	b       ffc121fc <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);                              
ffc122e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc122ec:	4b ff dc f1 	bl      ffc0ffdc <rtems_bdbuf_remove_from_tree>
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc122f0:	81 3e 00 40 	lwz     r9,64(r30)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc122f4:	39 5e 00 40 	addi    r10,r30,64                             
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
ffc122f8:	93 bf 00 20 	stw     r29,32(r31)                            
ffc122fc:	91 5f 00 04 	stw     r10,4(r31)                             
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc12300:	93 fe 00 40 	stw     r31,64(r30)                            
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc12304:	93 e9 00 04 	stw     r31,4(r9)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc12308:	91 3f 00 00 	stw     r9,0(r31)                              
ffc1230c:	4b ff ff d0 	b       ffc122dc <rtems_bdbuf_sync+0x130>      
                                                                      

ffc0fa9c <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) {
ffc0fa9c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0faa0:	7c 08 02 a6 	mflr    r0                                     
ffc0faa4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0faa8:	7c 9f 23 78 	mr      r31,r4                                 
ffc0faac:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc = rtems_semaphore_release (lock);              
ffc0fab0:	4b ff b6 39 	bl      ffc0b0e8 <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0fab4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fab8:	40 9e 00 18 	bne-    cr7,ffc0fad0 <rtems_bdbuf_unlock+0x34> <== NEVER TAKEN
    rtems_bdbuf_fatal (fatal_error_code);                             
}                                                                     
ffc0fabc:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0fac0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0fac4:	7c 08 03 a6 	mtlr    r0                                     
ffc0fac8:	38 21 00 10 	addi    r1,r1,16                               
ffc0facc:	4e 80 00 20 	blr                                            
static void                                                           
rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code)         
{                                                                     
  rtems_status_code sc = rtems_semaphore_release (lock);              
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_bdbuf_fatal (fatal_error_code);                             
ffc0fad0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0fad4:	4b ff ff 45 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc0fca4 <rtems_bdbuf_wait_for_event>: return RTEMS_UNSATISFIED; } static void rtems_bdbuf_wait_for_event (rtems_event_set event) {
ffc0fca4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0fca8:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0fcac:	39 20 00 00 	li      r9,0                                   
ffc0fcb0:	7c 26 0b 78 	mr      r6,r1                                  
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0fcb4:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0fcb8:	38 80 00 00 	li      r4,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0fcbc:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0fcc0:	38 a0 00 00 	li      r5,0                                   
  return RTEMS_UNSATISFIED;                                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_event (rtems_event_set event)                    
{                                                                     
ffc0fcc4:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
ffc0fcc8:	95 26 00 08 	stwu    r9,8(r6)                               
                                                                      
  sc = rtems_event_receive (event,                                    
ffc0fccc:	4b ff ab 11 	bl      ffc0a7dc <rtems_event_receive>         
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
ffc0fcd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fcd4:	40 9e 00 24 	bne-    cr7,ffc0fcf8 <rtems_bdbuf_wait_for_event+0x54><== NEVER TAKEN
ffc0fcd8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0fcdc:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc0fce0:	40 9e 00 18 	bne-    cr7,ffc0fcf8 <rtems_bdbuf_wait_for_event+0x54><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_WAIT_EVNT);                  
}                                                                     
ffc0fce4:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0fce8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0fcec:	7c 08 03 a6 	mtlr    r0                                     
ffc0fcf0:	38 21 00 20 	addi    r1,r1,32                               
ffc0fcf4:	4e 80 00 20 	blr                                            
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_WAIT_EVNT);                  
ffc0fcf8:	38 60 00 1c 	li      r3,28                                  <== NOT EXECUTED
ffc0fcfc:	4b ff fd 1d 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc10c74 <rtems_bdbuf_wait_for_transient_event>: rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_WAIT_EVNT); } static void rtems_bdbuf_wait_for_transient_event (void) {
ffc10c74:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc10c78:	7c 08 02 a6 	mflr    r0                                     
  rtems_interval ticks                                                
)                                                                     
{                                                                     
  rtems_event_set event_out;                                          
                                                                      
  return rtems_event_system_receive(                                  
ffc10c7c:	3c 60 80 00 	lis     r3,-32768                              
ffc10c80:	38 80 00 00 	li      r4,0                                   
ffc10c84:	90 01 00 1c 	stw     r0,28(r1)                              
ffc10c88:	38 a0 00 00 	li      r5,0                                   
ffc10c8c:	38 c1 00 08 	addi    r6,r1,8                                
ffc10c90:	48 00 3c ed 	bl      ffc1497c <rtems_event_system_receive>  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_event_transient_receive (RTEMS_WAIT, RTEMS_NO_TIMEOUT);  
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc10c94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc10c98:	40 9e 00 14 	bne-    cr7,ffc10cac <rtems_bdbuf_wait_for_transient_event+0x38><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_WAIT_TRANS_EVNT);            
}                                                                     
ffc10c9c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc10ca0:	38 21 00 18 	addi    r1,r1,24                               
ffc10ca4:	7c 08 03 a6 	mtlr    r0                                     
ffc10ca8:	4e 80 00 20 	blr                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc = rtems_event_transient_receive (RTEMS_WAIT, RTEMS_NO_TIMEOUT);  
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_WAIT_TRANS_EVNT);            
ffc10cac:	38 60 00 1d 	li      r3,29                                  <== NOT EXECUTED
ffc10cb0:	4b ff ed 69 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc0fdc8 <rtems_bdbuf_wake>: static void rtems_bdbuf_wake (const rtems_bdbuf_waiters *waiters) { rtems_status_code sc = RTEMS_SUCCESSFUL; if (waiters->count > 0)
ffc0fdc8:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0fdcc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0fdd0:	4d be 00 20 	beqlr+  cr7                                    
 * 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)                 
{                                                                     
ffc0fdd4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0fdd8:	7c 08 02 a6 	mflr    r0                                     
ffc0fddc:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
ffc0fde0:	80 63 00 04 	lwz     r3,4(r3)                               
ffc0fde4:	48 00 4a f1 	bl      ffc148d4 <rtems_semaphore_flush>       
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0fde8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fdec:	40 9e 00 14 	bne-    cr7,ffc0fe00 <rtems_bdbuf_wake+0x38>   <== NEVER TAKEN
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAKE);               
  }                                                                   
}                                                                     
ffc0fdf0:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0fdf4:	38 21 00 08 	addi    r1,r1,8                                
ffc0fdf8:	7c 08 03 a6 	mtlr    r0                                     
ffc0fdfc:	4e 80 00 20 	blr                                            
                                                                      
  if (waiters->count > 0)                                             
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_CACHE_WAKE);               
ffc0fe00:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc0fe04:	4b ff fc 15 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc0fae8 <rtems_bdbuf_wake_swapper>: } static void rtems_bdbuf_wake_swapper (void) { rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,
ffc0fae8:	3d 20 00 00 	lis     r9,0                                   
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0faec:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc0faf0:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0faf4:	38 80 00 04 	li      r4,4                                   
ffc0faf8:	80 69 29 68 	lwz     r3,10600(r9)                           
  }                                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
ffc0fafc:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
ffc0fb00:	4b ff ae e1 	bl      ffc0a9e0 <rtems_event_send>            
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc0fb04:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0fb08:	40 9e 00 14 	bne-    cr7,ffc0fb1c <rtems_bdbuf_wake_swapper+0x34><== NEVER TAKEN
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WAKE_1);                  
}                                                                     
ffc0fb0c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0fb10:	38 21 00 08 	addi    r1,r1,8                                
ffc0fb14:	7c 08 03 a6 	mtlr    r0                                     
ffc0fb18:	4e 80 00 20 	blr                                            
rtems_bdbuf_wake_swapper (void)                                       
{                                                                     
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_bdbuf_fatal (RTEMS_BDBUF_FATAL_SO_WAKE_1);                  
ffc0fb1c:	38 60 00 0b 	li      r3,11                                  <== NOT EXECUTED
ffc0fb20:	4b ff fe f9 	bl      ffc0fa18 <rtems_bdbuf_fatal>           <== NOT EXECUTED
                                                                      

ffc04174 <rtems_bdpart_create>: const rtems_bdpart_format *format, rtems_bdpart_partition *pt, const unsigned *dist, size_t count ) {
ffc04174:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04178:	7c 08 02 a6 	mflr    r0                                     
ffc0417c:	93 e1 00 34 	stw     r31,52(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
ffc04180:	7c 9f 23 79 	mr.     r31,r4                                 
  const rtems_bdpart_format *format,                                  
  rtems_bdpart_partition *pt,                                         
  const unsigned *dist,                                               
  size_t count                                                        
)                                                                     
{                                                                     
ffc04184:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04188:	93 61 00 24 	stw     r27,36(r1)                             
ffc0418c:	93 81 00 28 	stw     r28,40(r1)                             
ffc04190:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04194:	93 c1 00 30 	stw     r30,48(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
ffc04198:	41 82 00 f4 	beq-    ffc0428c <rtems_bdpart_create+0x118>   <== NEVER TAKEN
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
ffc0419c:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc041a0:	7c bd 2b 78 	mr      r29,r5                                 
ffc041a4:	7c de 33 78 	mr      r30,r6                                 
ffc041a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc041ac:	40 9e 00 10 	bne-    cr7,ffc041bc <rtems_bdpart_create+0x48><== NEVER TAKEN
    && format->mbr.dos_compatibility;                                 
ffc041b0:	89 5f 00 08 	lbz     r10,8(r31)                             
ffc041b4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc041b8:	40 9e 00 20 	bne-    cr7,ffc041d8 <rtems_bdpart_create+0x64><== ALWAYS TAKEN
  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) {                                                   
ffc041bc:	2f 87 00 00 	cmpwi   cr7,r7,0                               <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_blkdev_bnum disk_end = 0;                                     
ffc041c0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc041c4:	91 21 00 08 	stw     r9,8(r1)                               <== 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) {                                                   
ffc041c8:	41 9e 00 1c 	beq-    cr7,ffc041e4 <rtems_bdpart_create+0x70><== NOT EXECUTED
  const unsigned *dist,                                               
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
ffc041cc:	3b 60 00 00 	li      r27,0                                  <== 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 =                                    
ffc041d0:	3b 80 00 01 	li      r28,1                                  <== NOT EXECUTED
ffc041d4:	48 00 00 40 	b       ffc04214 <rtems_bdpart_create+0xa0>    <== 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) {                                                   
ffc041d8:	2f 87 00 00 	cmpwi   cr7,r7,0                               
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_blkdev_bnum disk_end = 0;                                     
ffc041dc:	91 21 00 08 	stw     r9,8(r1)                               
  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) {                                                   
ffc041e0:	40 be 00 2c 	bne+    cr7,ffc0420c <rtems_bdpart_create+0x98><== ALWAYS TAKEN
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
ffc041e4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc041e8:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc041ec:	83 61 00 24 	lwz     r27,36(r1)                             
ffc041f0:	7c 08 03 a6 	mtlr    r0                                     
ffc041f4:	83 81 00 28 	lwz     r28,40(r1)                             
ffc041f8:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc041fc:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04200:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04204:	38 21 00 38 	addi    r1,r1,56                               
ffc04208:	4e 80 00 20 	blr                                            
  const unsigned *dist,                                               
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
ffc0420c:	3b 60 00 01 	li      r27,1                                  
    && 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 =                                    
ffc04210:	3b 80 00 3f 	li      r28,63                                 
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || dist == NULL) {                 
ffc04214:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04218:	41 9e 00 7c 	beq-    cr7,ffc04294 <rtems_bdpart_create+0x120><== NEVER TAKEN
ffc0421c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04220:	41 9e 00 74 	beq-    cr7,ffc04294 <rtems_bdpart_create+0x120><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, NULL, NULL, &disk_end); 
ffc04224:	38 80 00 00 	li      r4,0                                   
ffc04228:	90 e1 00 18 	stw     r7,24(r1)                              
ffc0422c:	38 a0 00 00 	li      r5,0                                   
ffc04230:	38 c1 00 08 	addi    r6,r1,8                                
ffc04234:	48 00 06 09 	bl      ffc0483c <rtems_bdpart_get_disk_data>  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04238:	80 e1 00 18 	lwz     r7,24(r1)                              
ffc0423c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04240:	40 a2 ff a8 	bne-    ffc041e8 <rtems_bdpart_create+0x74>    <== NEVER TAKEN
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
    unsigned prev_sum = dist_sum;                                     
                                                                      
    dist_sum += dist [i];                                             
ffc04244:	80 de 00 00 	lwz     r6,0(r30)                              
                                                                      
    if (dist_sum < prev_sum) {                                        
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
ffc04248:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc0424c:	41 9e 00 38 	beq-    cr7,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
ffc04250:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc04254:	7c e9 03 a6 	mtctr   r7                                     
ffc04258:	7f c4 f3 78 	mr      r4,r30                                 
ffc0425c:	7c c9 33 78 	mr      r9,r6                                  
ffc04260:	41 9e 01 84 	beq-    cr7,ffc043e4 <rtems_bdpart_create+0x270><== NEVER TAKEN
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
ffc04264:	42 40 00 58 	bdz-    ffc042bc <rtems_bdpart_create+0x148>   
    unsigned prev_sum = dist_sum;                                     
                                                                      
    dist_sum += dist [i];                                             
ffc04268:	85 04 00 04 	lwzu    r8,4(r4)                               
ffc0426c:	7d 49 42 14 	add     r10,r9,r8                              
                                                                      
    if (dist_sum < prev_sum) {                                        
ffc04270:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
ffc04274:	2f 08 00 00 	cmpwi   cr6,r8,0                               
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
    unsigned prev_sum = dist_sum;                                     
                                                                      
    dist_sum += dist [i];                                             
ffc04278:	7d 49 53 78 	mr      r9,r10                                 
                                                                      
    if (dist_sum < prev_sum) {                                        
ffc0427c:	41 9c 00 08 	blt-    cr7,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
ffc04280:	40 9a ff e4 	bne+    cr6,ffc04264 <rtems_bdpart_create+0xf0><== ALWAYS TAKEN
      return RTEMS_INVALID_NUMBER;                                    
ffc04284:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc04288:	4b ff ff 60 	b       ffc041e8 <rtems_bdpart_create+0x74>    <== 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) {                                                   
ffc0428c:	2f 87 00 00 	cmpwi   cr7,r7,0                               <== NOT EXECUTED
ffc04290:	41 be ff 54 	beq-    cr7,ffc041e4 <rtems_bdpart_create+0x70><== NOT EXECUTED
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04294:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || dist == NULL) {                 
    return RTEMS_INVALID_ADDRESS;                                     
ffc04298:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0429c:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc042a0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc042a4:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc042a8:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc042ac:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc042b0:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc042b4:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc042b8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
  }                                                                   
                                                                      
  /* Check format */                                                  
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
ffc042bc:	81 5f 00 00 	lwz     r10,0(r31)                             
ffc042c0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc042c4:	41 9e 00 0c 	beq-    cr7,ffc042d0 <rtems_bdpart_create+0x15c><== ALWAYS TAKEN
    return RTEMS_NOT_IMPLEMENTED;                                     
ffc042c8:	38 60 00 18 	li      r3,24                                  <== NOT EXECUTED
ffc042cc:	4b ff ff 1c 	b       ffc041e8 <rtems_bdpart_create+0x74>    <== NOT EXECUTED
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
ffc042d0:	2f 1b 00 00 	cmpwi   cr6,r27,0                              
ffc042d4:	40 9a 00 44 	bne-    cr6,ffc04318 <rtems_bdpart_create+0x1a4><== ALWAYS TAKEN
ffc042d8:	83 e1 00 08 	lwz     r31,8(r1)                              <== NOT EXECUTED
                                                                      
  /*                                                                  
   * In case we need an extended partition and logical partitions we have to
   * account for the space of each EBR.                               
   */                                                                 
  if (count > 4) {                                                    
ffc042dc:	2b 87 00 04 	cmplwi  cr7,r7,4                               
ffc042e0:	7f 80 e3 78 	mr      r0,r28                                 
ffc042e4:	40 9d 00 10 	ble-    cr7,ffc042f4 <rtems_bdpart_create+0x180><== NEVER TAKEN
    overhead += (count - 3) * record_space;                           
ffc042e8:	38 07 ff fd 	addi    r0,r7,-3                               
ffc042ec:	7c 1c 01 d6 	mullw   r0,r28,r0                              
ffc042f0:	7c 00 e2 14 	add     r0,r0,r28                              
                                                                      
  /*                                                                  
   * Account space to align every partition on cylinder boundaries if 
   * necessary.                                                       
   */                                                                 
  if (dos_compatibility) {                                            
ffc042f4:	41 9a 00 10 	beq-    cr6,ffc04304 <rtems_bdpart_create+0x190><== NEVER TAKEN
    overhead += (count - 1) * record_space;                           
ffc042f8:	39 47 ff ff 	addi    r10,r7,-1                              
ffc042fc:	7d 5c 51 d6 	mullw   r10,r28,r10                            
ffc04300:	7c 00 52 14 	add     r0,r0,r10                              
  }                                                                   
                                                                      
  /* Check disk space */                                              
  if ((overhead + count) > disk_end) {                                
ffc04304:	7d 40 3a 14 	add     r10,r0,r7                              
ffc04308:	7f 8a f8 40 	cmplw   cr7,r10,r31                            
ffc0430c:	40 9d 00 1c 	ble-    cr7,ffc04328 <rtems_bdpart_create+0x1b4><== ALWAYS TAKEN
    return RTEMS_IO_ERROR;                                            
ffc04310:	38 60 00 1b 	li      r3,27                                  <== NOT EXECUTED
ffc04314:	4b ff fe d4 	b       ffc041e8 <rtems_bdpart_create+0x74>    <== NOT EXECUTED
    return RTEMS_NOT_IMPLEMENTED;                                     
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
ffc04318:	81 41 00 08 	lwz     r10,8(r1)                              
ffc0431c:	7d 4a e3 96 	divwu   r10,r10,r28                            
ffc04320:	7f ea e1 d6 	mullw   r31,r10,r28                            
ffc04324:	4b ff ff b8 	b       ffc042dc <rtems_bdpart_create+0x168>   
                                                                      
  /* Begin of first primary partition */                              
  pos = record_space;                                                 
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
ffc04328:	7c 00 f8 50 	subf    r0,r0,r31                              
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
ffc0432c:	7d 00 31 d6 	mullw   r8,r0,r6                               
    if (s < free_space || s < dist [i]) {                             
ffc04330:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc04334:	41 bd ff 50 	bgt-    cr7,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
ffc04338:	7f 88 30 40 	cmplw   cr7,r8,r6                              
ffc0433c:	41 bc ff 48 	blt-    cr7,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
ffc04340:	2f 87 00 00 	cmpwi   cr7,r7,0                               
    }                                                                 
    s /= dist_sum;                                                    
                                                                      
    /* Ensure that the partition is not empty */                      
    if (s == 0) {                                                     
      s = 1;                                                          
ffc04344:	7c e9 03 a6 	mtctr   r7                                     
#endif                                                                
                                                                      
#include <rtems.h>                                                    
#include <rtems/bdpart.h>                                             
                                                                      
rtems_status_code rtems_bdpart_create(                                
ffc04348:	38 9d 00 30 	addi    r4,r29,48                              
ffc0434c:	7f a5 eb 78 	mr      r5,r29                                 
ffc04350:	7f 8a e3 78 	mr      r10,r28                                
  pos = record_space;                                                 
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04354:	38 c0 00 00 	li      r6,0                                   
ffc04358:	40 be 00 28 	bne+    cr7,ffc04380 <rtems_bdpart_create+0x20c><== ALWAYS TAKEN
ffc0435c:	48 00 00 7c 	b       ffc043d8 <rtems_bdpart_create+0x264>   <== NOT EXECUTED
    rtems_bdpart_partition *p = pt + i;                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
ffc04360:	85 7e 00 04 	lwzu    r11,4(r30)                             
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
ffc04364:	7c 85 23 78 	mr      r5,r4                                  
ffc04368:	38 84 00 30 	addi    r4,r4,48                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
ffc0436c:	7d 00 59 d6 	mullw   r8,r0,r11                              
    if (s < free_space || s < dist [i]) {                             
ffc04370:	7f 80 40 40 	cmplw   cr7,r0,r8                              
ffc04374:	7f 0b 40 40 	cmplw   cr6,r11,r8                             
ffc04378:	41 bd ff 0c 	bgt-    cr7,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
ffc0437c:	41 b9 ff 08 	bgt-    cr6,ffc04284 <rtems_bdpart_create+0x110><== NEVER TAKEN
      /* TODO: Calculate without overflow */                          
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
    s /= dist_sum;                                                    
ffc04380:	7d 08 4b 96 	divwu   r8,r8,r9                               
                                                                      
    /* Ensure that the partition is not empty */                      
    if (s == 0) {                                                     
ffc04384:	2f 08 00 00 	cmpwi   cr6,r8,0                               
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
                                                                      
    /* Reserve space for the EBR if necessary */                      
    if (count > 4 && i > 2) {                                         
ffc04388:	28 86 00 02 	cmplwi  cr1,r6,2                               
ffc0438c:	2b 87 00 04 	cmplwi  cr7,r7,4                               
  pos = record_space;                                                 
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04390:	38 c6 00 01 	addi    r6,r6,1                                
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
    s /= dist_sum;                                                    
                                                                      
    /* Ensure that the partition is not empty */                      
    if (s == 0) {                                                     
ffc04394:	40 9a 00 08 	bne-    cr6,ffc0439c <rtems_bdpart_create+0x228><== ALWAYS TAKEN
      s = 1;                                                          
ffc04398:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
ffc0439c:	7d 08 e3 96 	divwu   r8,r8,r28                              
ffc043a0:	7d 08 e1 d6 	mullw   r8,r8,r28                              
ffc043a4:	7d 1c 42 14 	add     r8,r28,r8                              
                                                                      
    /* Reserve space for the EBR if necessary */                      
    if (count > 4 && i > 2) {                                         
ffc043a8:	40 9d 00 0c 	ble-    cr7,ffc043b4 <rtems_bdpart_create+0x240><== NEVER TAKEN
ffc043ac:	40 85 00 08 	ble-    cr1,ffc043b4 <rtems_bdpart_create+0x240>
      pos += record_space;                                            
ffc043b0:	7d 4a e2 14 	add     r10,r10,r28                            
    }                                                                 
                                                                      
    /* Partition begin and end */                                     
    p->begin = pos;                                                   
ffc043b4:	91 45 00 00 	stw     r10,0(r5)                              
    pos += s;                                                         
ffc043b8:	7d 4a 42 14 	add     r10,r10,r8                             
    p->end = pos;                                                     
ffc043bc:	91 45 00 04 	stw     r10,4(r5)                              
  pos = record_space;                                                 
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc043c0:	42 00 ff a0 	bdnz+   ffc04360 <rtems_bdpart_create+0x1ec>   
    pos += s;                                                         
    p->end = pos;                                                     
  }                                                                   
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
ffc043c4:	39 27 ff ff 	addi    r9,r7,-1                               
ffc043c8:	1d 29 00 30 	mulli   r9,r9,48                               
ffc043cc:	7f bd 4a 14 	add     r29,r29,r9                             
ffc043d0:	93 fd 00 04 	stw     r31,4(r29)                             
ffc043d4:	4b ff fe 14 	b       ffc041e8 <rtems_bdpart_create+0x74>    
ffc043d8:	39 60 00 01 	li      r11,1                                  <== NOT EXECUTED
ffc043dc:	7d 69 03 a6 	mtctr   r11                                    <== NOT EXECUTED
ffc043e0:	4b ff ff a0 	b       ffc04380 <rtems_bdpart_create+0x20c>   <== NOT EXECUTED
ffc043e4:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc043e8:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
ffc043ec:	4b ff fe 78 	b       ffc04264 <rtems_bdpart_create+0xf0>    <== NOT EXECUTED
                                                                      

ffc043f0 <rtems_bdpart_dump>: { uuid_unparse_lower( type, str); } void rtems_bdpart_dump( const rtems_bdpart_partition *pt, size_t count) {
ffc043f0:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc043f4:	7c 08 02 a6 	mflr    r0                                     
ffc043f8:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc043fc:	7c 7f 1b 78 	mr      r31,r3                                 
  size_t i = 0;                                                       
                                                                      
  printf(                                                             
ffc04400:	3c 60 ff c3 	lis     r3,-61                                 
{                                                                     
  uuid_unparse_lower( type, str);                                     
}                                                                     
                                                                      
void rtems_bdpart_dump( const rtems_bdpart_partition *pt, size_t count)
{                                                                     
ffc04404:	93 81 00 70 	stw     r28,112(r1)                            
  size_t i = 0;                                                       
                                                                      
  printf(                                                             
ffc04408:	38 63 8e 4c 	addi    r3,r3,-29108                           
{                                                                     
  uuid_unparse_lower( type, str);                                     
}                                                                     
                                                                      
void rtems_bdpart_dump( const rtems_bdpart_partition *pt, size_t count)
{                                                                     
ffc0440c:	7c 9c 23 78 	mr      r28,r4                                 
ffc04410:	90 01 00 84 	stw     r0,132(r1)                             
ffc04414:	92 61 00 4c 	stw     r19,76(r1)                             
ffc04418:	92 81 00 50 	stw     r20,80(r1)                             
ffc0441c:	92 a1 00 54 	stw     r21,84(r1)                             
ffc04420:	92 c1 00 58 	stw     r22,88(r1)                             
ffc04424:	92 e1 00 5c 	stw     r23,92(r1)                             
ffc04428:	93 01 00 60 	stw     r24,96(r1)                             
ffc0442c:	93 21 00 64 	stw     r25,100(r1)                            
ffc04430:	93 41 00 68 	stw     r26,104(r1)                            
ffc04434:	93 61 00 6c 	stw     r27,108(r1)                            
ffc04438:	93 a1 00 74 	stw     r29,116(r1)                            
ffc0443c:	93 c1 00 78 	stw     r30,120(r1)                            
  size_t i = 0;                                                       
                                                                      
  printf(                                                             
ffc04440:	48 01 5d 71 	bl      ffc1a1b0 <puts>                        
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04444:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04448:	41 9e 00 e8 	beq-    cr7,ffc04530 <rtems_bdpart_dump+0x140> <== NEVER TAKEN
ffc0444c:	3f 40 ff c3 	lis     r26,-61                                
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
ffc04450:	3e 80 ff c3 	lis     r20,-61                                
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04454:	3b c0 00 00 	li      r30,0                                  
ffc04458:	3b 5a 8f 94 	addi    r26,r26,-28780                         
    const rtems_bdpart_partition *p = pt + i;                         
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
ffc0445c:	3b 60 00 00 	li      r27,0                                  
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
ffc04460:	3e 60 ff c3 	lis     r19,-61                                
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
ffc04464:	3a 94 8f 8c 	addi    r20,r20,-28788                         
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
ffc04468:	3e a0 ff c3 	lis     r21,-61                                
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
ffc0446c:	3e c0 ff c3 	lis     r22,-61                                
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
ffc04470:	3e e0 ff c3 	lis     r23,-61                                
    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";                                            
ffc04474:	3f 00 ff c3 	lis     r24,-61                                
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
ffc04478:	3f 20 ff c3 	lis     r25,-61                                
ffc0447c:	48 00 00 64 	b       ffc044e0 <rtems_bdpart_dump+0xf0>      
    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) {                                             
ffc04480:	88 c1 00 3c 	lbz     r6,60(r1)                              
ffc04484:	2f 86 00 0b 	cmpwi   cr7,r6,11                              
ffc04488:	41 9e 01 28 	beq-    cr7,ffc045b0 <rtems_bdpart_dump+0x1c0> <== ALWAYS TAKEN
ffc0448c:	2b 86 00 0b 	cmplwi  cr7,r6,11                              <== NOT EXECUTED
ffc04490:	41 9d 00 f0 	bgt-    cr7,ffc04580 <rtems_bdpart_dump+0x190> <== NOT EXECUTED
ffc04494:	2f 86 00 01 	cmpwi   cr7,r6,1                               <== NOT EXECUTED
ffc04498:	41 9e 01 28 	beq-    cr7,ffc045c0 <rtems_bdpart_dump+0x1d0> <== NOT EXECUTED
ffc0449c:	2f 86 00 04 	cmpwi   cr7,r6,4                               <== NOT EXECUTED
ffc044a0:	41 9e 01 18 	beq-    cr7,ffc045b8 <rtems_bdpart_dump+0x1c8> <== NOT EXECUTED
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
ffc044a4:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc044a8:	38 80 00 34 	li      r4,52                                  <== NOT EXECUTED
ffc044ac:	7e 85 a3 78 	mr      r5,r20                                 <== NOT EXECUTED
ffc044b0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc044b4:	48 01 5e 19 	bl      ffc1a2cc <snprintf>                    <== NOT EXECUTED
          type = type_buffer;                                         
ffc044b8:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
ffc044bc:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc044c0:	7f 43 d3 78 	mr      r3,r26                                 
ffc044c4:	80 bf 00 04 	lwz     r5,4(r31)                              
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc044c8:	3b de 00 01 	addi    r30,r30,1                              
ffc044cc:	3b ff 00 30 	addi    r31,r31,48                             
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
ffc044d0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc044d4:	48 01 5b 81 	bl      ffc1a054 <printf>                      
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc044d8:	7f 9e e0 00 	cmpw    cr7,r30,r28                            
ffc044dc:	41 9e 00 54 	beq-    cr7,ffc04530 <rtems_bdpart_dump+0x140> 
    const rtems_bdpart_partition *p = pt + i;                         
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
ffc044e0:	3b bf 00 08 	addi    r29,r31,8                              
                                                                      
  for (i = 0; i < count; ++i) {                                       
    const rtems_bdpart_partition *p = pt + i;                         
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
ffc044e4:	9b 61 00 3c 	stb     r27,60(r1)                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
ffc044e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc044ec:	38 81 00 3c 	addi    r4,r1,60                               
ffc044f0:	48 00 03 09 	bl      ffc047f8 <rtems_bdpart_to_mbr_partition_type>
ffc044f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc044f8:	40 9e ff 88 	bne+    cr7,ffc04480 <rtems_bdpart_dump+0x90>  <== ALWAYS TAKEN
static void rtems_bdpart_type_to_string(                              
  const uuid_t type,                                                  
  char str [37]                                                       
)                                                                     
{                                                                     
  uuid_unparse_lower( type, str);                                     
ffc044fc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc04500:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc04504:	48 00 d3 49 	bl      ffc1184c <uuid_unparse_lower>          <== NOT EXECUTED
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
ffc04508:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc0450c:	80 bf 00 04 	lwz     r5,4(r31)                              <== NOT EXECUTED
          type = type_buffer;                                         
          break;                                                      
      }                                                               
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
ffc04510:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
    }                                                                 
                                                                      
    printf(                                                           
ffc04514:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04518:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
ffc0451c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc04520:	48 01 5b 35 	bl      ffc1a054 <printf>                      <== NOT EXECUTED
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
ffc04524:	7f 9e e0 00 	cmpw    cr7,r30,r28                            <== NOT EXECUTED
ffc04528:	3b ff 00 30 	addi    r31,r31,48                             <== NOT EXECUTED
ffc0452c:	40 9e ff b4 	bne+    cr7,ffc044e0 <rtems_bdpart_dump+0xf0>  <== NOT EXECUTED
      p->end,                                                         
      type                                                            
    );                                                                
  }                                                                   
                                                                      
  puts( "------------+------------+-----------------------------------------------------");
ffc04530:	3c 60 ff c3 	lis     r3,-61                                 
ffc04534:	38 63 8f 3c 	addi    r3,r3,-28868                           
ffc04538:	48 01 5c 79 	bl      ffc1a1b0 <puts>                        
}                                                                     
ffc0453c:	80 01 00 84 	lwz     r0,132(r1)                             
ffc04540:	82 61 00 4c 	lwz     r19,76(r1)                             
ffc04544:	7c 08 03 a6 	mtlr    r0                                     
ffc04548:	82 81 00 50 	lwz     r20,80(r1)                             
ffc0454c:	82 a1 00 54 	lwz     r21,84(r1)                             
ffc04550:	82 c1 00 58 	lwz     r22,88(r1)                             
ffc04554:	82 e1 00 5c 	lwz     r23,92(r1)                             
ffc04558:	83 01 00 60 	lwz     r24,96(r1)                             
ffc0455c:	83 21 00 64 	lwz     r25,100(r1)                            
ffc04560:	83 41 00 68 	lwz     r26,104(r1)                            
ffc04564:	83 61 00 6c 	lwz     r27,108(r1)                            
ffc04568:	83 81 00 70 	lwz     r28,112(r1)                            
ffc0456c:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc04570:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc04574:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc04578:	38 21 00 80 	addi    r1,r1,128                              
ffc0457c:	4e 80 00 20 	blr                                            
    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) {                                             
ffc04580:	2f 86 00 0e 	cmpwi   cr7,r6,14                              <== NOT EXECUTED
ffc04584:	41 9e 00 24 	beq-    cr7,ffc045a8 <rtems_bdpart_dump+0x1b8> <== NOT EXECUTED
ffc04588:	2f 86 00 da 	cmpwi   cr7,r6,218                             <== NOT EXECUTED
ffc0458c:	41 9e 00 14 	beq-    cr7,ffc045a0 <rtems_bdpart_dump+0x1b0> <== NOT EXECUTED
ffc04590:	2f 86 00 0c 	cmpwi   cr7,r6,12                              <== NOT EXECUTED
ffc04594:	40 9e ff 10 	bne+    cr7,ffc044a4 <rtems_bdpart_dump+0xb4>  <== NOT EXECUTED
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
ffc04598:	38 d7 8e 2c 	addi    r6,r23,-29140                          <== NOT EXECUTED
          break;                                                      
ffc0459c:	4b ff ff 20 	b       ffc044bc <rtems_bdpart_dump+0xcc>      <== NOT EXECUTED
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
ffc045a0:	38 d6 8e 24 	addi    r6,r22,-29148                          <== NOT EXECUTED
          break;                                                      
ffc045a4:	4b ff ff 18 	b       ffc044bc <rtems_bdpart_dump+0xcc>      <== NOT EXECUTED
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
ffc045a8:	38 d5 8e 40 	addi    r6,r21,-29120                          <== NOT EXECUTED
          break;                                                      
ffc045ac:	4b ff ff 10 	b       ffc044bc <rtems_bdpart_dump+0xcc>      <== NOT EXECUTED
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
ffc045b0:	38 d3 8e 38 	addi    r6,r19,-29128                          
          break;                                                      
ffc045b4:	4b ff ff 08 	b       ffc044bc <rtems_bdpart_dump+0xcc>      
      switch (type_mbr) {                                             
        case RTEMS_BDPART_MBR_FAT_12:                                 
          type = "FAT 12";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
ffc045b8:	38 d9 8e 14 	addi    r6,r25,-29164                          <== NOT EXECUTED
ffc045bc:	4b ff ff 00 	b       ffc044bc <rtems_bdpart_dump+0xcc>      <== 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";                                            
ffc045c0:	38 d8 8e 1c 	addi    r6,r24,-29156                          <== NOT EXECUTED
ffc045c4:	4b ff fe f8 	b       ffc044bc <rtems_bdpart_dump+0xcc>      <== NOT EXECUTED
                                                                      

ffc0483c <rtems_bdpart_get_disk_data>: const char *disk_name, int *fd_ptr, rtems_disk_device **dd_ptr, rtems_blkdev_bnum *disk_end ) {
ffc0483c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc04840:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int rv = 0;                                                         
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
ffc04844:	39 20 00 00 	li      r9,0                                   
  const char *disk_name,                                              
  int *fd_ptr,                                                        
  rtems_disk_device **dd_ptr,                                         
  rtems_blkdev_bnum *disk_end                                         
)                                                                     
{                                                                     
ffc04848:	93 81 00 20 	stw     r28,32(r1)                             
ffc0484c:	7c 9c 23 78 	mr      r28,r4                                 
  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);                                      
ffc04850:	38 80 00 02 	li      r4,2                                   
  const char *disk_name,                                              
  int *fd_ptr,                                                        
  rtems_disk_device **dd_ptr,                                         
  rtems_blkdev_bnum *disk_end                                         
)                                                                     
{                                                                     
ffc04854:	93 61 00 1c 	stw     r27,28(r1)                             
ffc04858:	7c db 33 78 	mr      r27,r6                                 
ffc0485c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc04860:	93 c1 00 28 	stw     r30,40(r1)                             
ffc04864:	7c be 2b 78 	mr      r30,r5                                 
ffc04868:	90 01 00 34 	stw     r0,52(r1)                              
ffc0486c:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int rv = 0;                                                         
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
ffc04870:	91 21 00 08 	stw     r9,8(r1)                               
  rtems_blkdev_bnum disk_begin = 0;                                   
  rtems_blkdev_bnum block_size = 0;                                   
                                                                      
  /* Open device file */                                              
  fd = open( disk_name, O_RDWR);                                      
ffc04874:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04878:	48 00 42 e1 	bl      ffc08b58 <open>                        
  if (fd < 0) {                                                       
ffc0487c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc04880:	40 80 00 38 	bge-    ffc048b8 <rtems_bdpart_get_disk_data+0x7c><== ALWAYS TAKEN
    sc = RTEMS_INVALID_NAME;                                          
ffc04884:	3b e0 00 03 	li      r31,3                                  <== NOT EXECUTED
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
    *fd_ptr = fd;                                                     
    *dd_ptr = dd;                                                     
  } else {                                                            
    close( fd);                                                       
ffc04888:	7f a3 eb 78 	mr      r3,r29                                 
ffc0488c:	48 00 30 b1 	bl      ffc0793c <close>                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04890:	80 01 00 34 	lwz     r0,52(r1)                              
ffc04894:	7f e3 fb 78 	mr      r3,r31                                 
ffc04898:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0489c:	7c 08 03 a6 	mtlr    r0                                     
ffc048a0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc048a4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc048a8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc048ac:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc048b0:	38 21 00 30 	addi    r1,r1,48                               
ffc048b4:	4e 80 00 20 	blr                                            
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
ffc048b8:	3c 80 40 04 	lis     r4,16388                               
ffc048bc:	60 84 42 09 	ori     r4,r4,16905                            
ffc048c0:	38 a1 00 08 	addi    r5,r1,8                                
ffc048c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc048c8:	48 00 33 81 	bl      ffc07c48 <ioctl>                       
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk handle */                                               
  rv = rtems_disk_fd_get_disk_device( fd, &dd);                       
  if (rv != 0) {                                                      
ffc048cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc048d0:	40 9e ff b4 	bne+    cr7,ffc04884 <rtems_bdpart_get_disk_data+0x48><== NEVER TAKEN
    sc = RTEMS_INVALID_NAME;                                          
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk begin, end and block size */                            
  disk_begin = dd->start;                                             
ffc048d4:	81 21 00 08 	lwz     r9,8(r1)                               
  *disk_end = dd->size;                                               
  block_size = dd->block_size;                                        
                                                                      
  /* Check block size */                                              
  if (block_size < RTEMS_BDPART_BLOCK_SIZE) {                         
    sc = RTEMS_IO_ERROR;                                              
ffc048d8:	3b e0 00 1b 	li      r31,27                                 
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk begin, end and block size */                            
  disk_begin = dd->start;                                             
  *disk_end = dd->size;                                               
ffc048dc:	81 49 00 1c 	lwz     r10,28(r9)                             
    sc = RTEMS_INVALID_NAME;                                          
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk begin, end and block size */                            
  disk_begin = dd->start;                                             
ffc048e0:	81 09 00 18 	lwz     r8,24(r9)                              
  *disk_end = dd->size;                                               
ffc048e4:	91 5b 00 00 	stw     r10,0(r27)                             
  block_size = dd->block_size;                                        
                                                                      
  /* Check block size */                                              
  if (block_size < RTEMS_BDPART_BLOCK_SIZE) {                         
ffc048e8:	81 49 00 24 	lwz     r10,36(r9)                             
ffc048ec:	2b 8a 01 ff 	cmplwi  cr7,r10,511                            
ffc048f0:	40 9d ff 98 	ble+    cr7,ffc04888 <rtems_bdpart_get_disk_data+0x4c><== NEVER TAKEN
    sc = RTEMS_IO_ERROR;                                              
    goto error;                                                       
  }                                                                   
                                                                      
  /* Check that we have do not have a logical disk */                 
  if (disk_begin != 0) {                                              
ffc048f4:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc048f8:	40 9e ff 90 	bne+    cr7,ffc04888 <rtems_bdpart_get_disk_data+0x4c><== NEVER TAKEN
    goto error;                                                       
  }                                                                   
                                                                      
error:                                                                
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
ffc048fc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04900:	41 9e 00 40 	beq-    cr7,ffc04940 <rtems_bdpart_get_disk_data+0x104>
ffc04904:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc04908:	41 9e 00 38 	beq-    cr7,ffc04940 <rtems_bdpart_get_disk_data+0x104><== NEVER TAKEN
  } else {                                                            
    close( fd);                                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0490c:	80 01 00 34 	lwz     r0,52(r1)                              
  int *fd_ptr,                                                        
  rtems_disk_device **dd_ptr,                                         
  rtems_blkdev_bnum *disk_end                                         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc04910:	3b e0 00 00 	li      r31,0                                  
  }                                                                   
                                                                      
error:                                                                
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
    *fd_ptr = fd;                                                     
ffc04914:	93 bc 00 00 	stw     r29,0(r28)                             
  } else {                                                            
    close( fd);                                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04918:	7f e3 fb 78 	mr      r3,r31                                 
ffc0491c:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
error:                                                                
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
    *fd_ptr = fd;                                                     
    *dd_ptr = dd;                                                     
ffc04920:	91 3e 00 00 	stw     r9,0(r30)                              
  } else {                                                            
    close( fd);                                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04924:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc04928:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0492c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc04930:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc04934:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc04938:	38 21 00 30 	addi    r1,r1,48                               
ffc0493c:	4e 80 00 20 	blr                                            
  int *fd_ptr,                                                        
  rtems_disk_device **dd_ptr,                                         
  rtems_blkdev_bnum *disk_end                                         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc04940:	3b e0 00 00 	li      r31,0                                  
ffc04944:	4b ff ff 44 	b       ffc04888 <rtems_bdpart_get_disk_data+0x4c>
                                                                      

ffc28270 <rtems_bdpart_mount>: const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count, const char *mount_base ) {
ffc28270:	94 21 ff d0 	stwu    r1,-48(r1)                             <== NOT EXECUTED
ffc28274:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
ffc28278:	38 80 00 2f 	li      r4,47                                  <== NOT EXECUTED
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
ffc2827c:	90 01 00 34 	stw     r0,52(r1)                              <== NOT EXECUTED
ffc28280:	93 01 00 10 	stw     r24,16(r1)                             <== 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;                                           
ffc28284:	3b 00 00 1a 	li      r24,26                                 <== NOT EXECUTED
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
ffc28288:	93 21 00 14 	stw     r25,20(r1)                             <== NOT EXECUTED
ffc2828c:	7c d9 33 78 	mr      r25,r6                                 <== NOT EXECUTED
ffc28290:	93 41 00 18 	stw     r26,24(r1)                             <== NOT EXECUTED
ffc28294:	93 61 00 1c 	stw     r27,28(r1)                             <== NOT EXECUTED
ffc28298:	7c bb 2b 78 	mr      r27,r5                                 <== NOT EXECUTED
ffc2829c:	93 81 00 20 	stw     r28,32(r1)                             <== NOT EXECUTED
ffc282a0:	93 a1 00 24 	stw     r29,36(r1)                             <== NOT EXECUTED
ffc282a4:	93 c1 00 28 	stw     r30,40(r1)                             <== NOT EXECUTED
ffc282a8:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc282ac:	93 e1 00 2c 	stw     r31,44(r1)                             <== NOT EXECUTED
ffc282b0:	92 c1 00 08 	stw     r22,8(r1)                              <== NOT EXECUTED
ffc282b4:	92 e1 00 0c 	stw     r23,12(r1)                             <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
ffc282b8:	48 02 36 79 	bl      ffc4b930 <strrchr>                     <== NOT EXECUTED
ffc282bc:	7c 7a 1b 78 	mr      r26,r3                                 <== 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);                         
ffc282c0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc282c4:	48 02 27 01 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
ffc282c8:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
  size_t mount_base_size = strlen( mount_base);                       
ffc282cc:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc282d0:	48 02 26 f5 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
ffc282d4:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  size_t i = 0;                                                       
                                                                      
  /* Create logical disk name base */                                 
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
ffc282d8:	38 7d 00 04 	addi    r3,r29,4                               <== NOT EXECUTED
ffc282dc:	4b fd c6 d1 	bl      ffc049ac <malloc>                      <== NOT EXECUTED
  if (logical_disk_name == NULL) {                                    
ffc282e0:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc282e4:	41 82 01 28 	beq-    ffc2840c <rtems_bdpart_mount+0x19c>    <== NOT EXECUTED
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
ffc282e8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc282ec:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc282f0:	48 02 29 4d 	bl      ffc4ac3c <strncpy>                     <== NOT EXECUTED
                                                                      
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
ffc282f4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc282f8:	41 9e 01 50 	beq-    cr7,ffc28448 <rtems_bdpart_mount+0x1d8><== NOT EXECUTED
    disk_file_name += 1;                                              
ffc282fc:	3b 5a 00 01 	addi    r26,r26,1                              <== NOT EXECUTED
    disk_file_name_size = strlen( disk_file_name);                    
ffc28300:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc28304:	48 02 26 c1 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
ffc28308:	7c 76 1b 78 	mr      r22,r3                                 <== 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);
ffc2830c:	7e f6 fa 14 	add     r23,r22,r31                            <== NOT EXECUTED
ffc28310:	38 77 00 05 	addi    r3,r23,5                               <== NOT EXECUTED
ffc28314:	4b fd c6 99 	bl      ffc049ac <malloc>                      <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
ffc28318:	3b 00 00 1a 	li      r24,26                                 <== NOT EXECUTED
    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);
  if (mount_point == NULL) {                                          
ffc2831c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc28320:	41 82 00 dc 	beq-    ffc283fc <rtems_bdpart_mount+0x18c>    <== NOT EXECUTED
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
ffc28324:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc28328:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc2832c:	48 02 29 11 	bl      ffc4ac3c <strncpy>                     <== NOT EXECUTED
  mount_point [mount_base_size] = '/';                                
ffc28330:	39 20 00 2f 	li      r9,47                                  <== NOT EXECUTED
ffc28334:	7d 3e f9 ae 	stbx    r9,r30,r31                             <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
ffc28338:	38 7f 00 01 	addi    r3,r31,1                               <== NOT EXECUTED
ffc2833c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc28340:	7c 7e 1a 14 	add     r3,r30,r3                              <== NOT EXECUTED
ffc28344:	7e c5 b3 78 	mr      r5,r22                                 <== NOT EXECUTED
ffc28348:	48 02 28 f5 	bl      ffc4ac3c <strncpy>                     <== 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) {                                       
ffc2834c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
  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;           
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
ffc28350:	3b 57 00 01 	addi    r26,r23,1                              <== 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;           
ffc28354:	7f bc ea 14 	add     r29,r28,r29                            <== NOT EXECUTED
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
ffc28358:	7f 5e d2 14 	add     r26,r30,r26                            <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
ffc2835c:	41 9e 00 9c 	beq-    cr7,ffc283f8 <rtems_bdpart_mount+0x188><== NOT EXECUTED
ffc28360:	3f 20 ff c6 	lis     r25,-58                                <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
ffc28364:	3f 00 ff c6 	lis     r24,-58                                <== 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) {                                       
ffc28368:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc2836c:	3b 39 7a c8 	addi    r25,r25,31432                          <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
ffc28370:	3b 18 5b d8 	addi    r24,r24,23512                          <== NOT EXECUTED
ffc28374:	48 00 00 0c 	b       ffc28380 <rtems_bdpart_mount+0x110>    <== 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) {                                       
ffc28378:	7f 9f d8 00 	cmpw    cr7,r31,r27                            <== NOT EXECUTED
ffc2837c:	41 9e 00 7c 	beq-    cr7,ffc283f8 <rtems_bdpart_mount+0x188><== NOT EXECUTED
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
ffc28380:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
ffc28384:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc28388:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc2838c:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc28390:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc28394:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc28398:	48 02 18 79 	bl      ffc49c10 <snprintf>                    <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
ffc2839c:	38 a0 00 04 	li      r5,4                                   <== 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) {                             
ffc283a0:	2f 83 00 03 	cmpwi   cr7,r3,3                               <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
ffc283a4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc283a8:	7f 43 d3 78 	mr      r3,r26                                 <== 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) {                             
ffc283ac:	41 9d 00 a8 	bgt-    cr7,ffc28454 <rtems_bdpart_mount+0x1e4><== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
ffc283b0:	48 02 28 8d 	bl      ffc4ac3c <strncpy>                     <== NOT EXECUTED
    rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO);      
ffc283b4:	38 80 01 ff 	li      r4,511                                 <== NOT EXECUTED
ffc283b8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc283bc:	48 00 52 6d 	bl      ffc2d628 <rtems_mkdir>                 <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
ffc283c0:	7f c4 f3 78 	mr      r4,r30                                 <== 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) {                                                    
ffc283c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
ffc283c8:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc283cc:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc283d0:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc283d4:	7f 83 e3 78 	mr      r3,r28                                 <== 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) {                                                    
ffc283d8:	40 9e 00 94 	bne-    cr7,ffc2846c <rtems_bdpart_mount+0x1fc><== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
ffc283dc:	4b fd c8 2d 	bl      ffc04c08 <mount>                       <== NOT EXECUTED
      mount_point,                                                    
      "msdos",                                                        
      0,                                                              
      NULL                                                            
    );                                                                
    if (rv != 0) {                                                    
ffc283e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc283e4:	41 9e ff 94 	beq+    cr7,ffc28378 <rtems_bdpart_mount+0x108><== NOT EXECUTED
      rmdir( mount_point);                                            
ffc283e8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc283ec:	48 00 51 65 	bl      ffc2d550 <rmdir>                       <== 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) {                                       
ffc283f0:	7f 9f d8 00 	cmpw    cr7,r31,r27                            <== NOT EXECUTED
ffc283f4:	40 9e ff 8c 	bne+    cr7,ffc28380 <rtems_bdpart_mount+0x110><== NOT EXECUTED
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc283f8:	3b 00 00 00 	li      r24,0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
ffc283fc:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc28400:	4b fd c1 81 	bl      ffc04580 <free>                        <== NOT EXECUTED
  free( mount_point);                                                 
ffc28404:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc28408:	4b fd c1 79 	bl      ffc04580 <free>                        <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
ffc2840c:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc28410:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc28414:	82 c1 00 08 	lwz     r22,8(r1)                              <== NOT EXECUTED
ffc28418:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2841c:	82 e1 00 0c 	lwz     r23,12(r1)                             <== NOT EXECUTED
ffc28420:	83 01 00 10 	lwz     r24,16(r1)                             <== NOT EXECUTED
ffc28424:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc28428:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc2842c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc28430:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc28434:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc28438:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc2843c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc28440:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc28444:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (disk_file_name != NULL) {                                       
    disk_file_name += 1;                                              
    disk_file_name_size = strlen( disk_file_name);                    
  } else {                                                            
    disk_file_name = disk_name;                                       
    disk_file_name_size = disk_name_size;                             
ffc28448:	7f b6 eb 78 	mr      r22,r29                                <== 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;                                       
ffc2844c:	7f da f3 78 	mr      r26,r30                                <== NOT EXECUTED
ffc28450:	4b ff fe bc 	b       ffc2830c <rtems_bdpart_mount+0x9c>     <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
ffc28454:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc28458:	4b fd c1 29 	bl      ffc04580 <free>                        <== NOT EXECUTED
  free( mount_point);                                                 
ffc2845c:	7f c3 f3 78 	mr      r3,r30                                 <== 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;                                       
ffc28460:	3b 00 00 03 	li      r24,3                                  <== NOT EXECUTED
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
  free( mount_point);                                                 
ffc28464:	4b fd c1 1d 	bl      ffc04580 <free>                        <== NOT EXECUTED
ffc28468:	4b ff ff a4 	b       ffc2840c <rtems_bdpart_mount+0x19c>    <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
ffc2846c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc28470:	4b fd c1 11 	bl      ffc04580 <free>                        <== NOT EXECUTED
  free( mount_point);                                                 
ffc28474:	7f c3 f3 78 	mr      r3,r30                                 <== 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;                                           
ffc28478:	3b 00 00 1b 	li      r24,27                                 <== NOT EXECUTED
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
  free( mount_point);                                                 
ffc2847c:	4b fd c1 05 	bl      ffc04580 <free>                        <== NOT EXECUTED
ffc28480:	4b ff ff 8c 	b       ffc2840c <rtems_bdpart_mount+0x19c>    <== NOT EXECUTED
                                                                      

ffc04ee8 <rtems_bdpart_new_record>: static rtems_status_code rtems_bdpart_new_record( rtems_disk_device *dd, rtems_blkdev_bnum index, rtems_bdbuf_buffer **block ) {
ffc04ee8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc04eec:	7c 08 02 a6 	mflr    r0                                     
ffc04ef0:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Synchronize previous block if necessary */                       
  if (*block != NULL) {                                               
ffc04ef4:	81 25 00 00 	lwz     r9,0(r5)                               
static rtems_status_code rtems_bdpart_new_record(                     
  rtems_disk_device *dd,                                              
  rtems_blkdev_bnum index,                                            
  rtems_bdbuf_buffer **block                                          
)                                                                     
{                                                                     
ffc04ef8:	93 81 00 08 	stw     r28,8(r1)                              
ffc04efc:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Synchronize previous block if necessary */                       
  if (*block != NULL) {                                               
ffc04f00:	2f 89 00 00 	cmpwi   cr7,r9,0                               
static rtems_status_code rtems_bdpart_new_record(                     
  rtems_disk_device *dd,                                              
  rtems_blkdev_bnum index,                                            
  rtems_bdbuf_buffer **block                                          
)                                                                     
{                                                                     
ffc04f04:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc04f08:	7c 7d 1b 78 	mr      r29,r3                                 
ffc04f0c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc04f10:	7c bf 2b 78 	mr      r31,r5                                 
ffc04f14:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Synchronize previous block if necessary */                       
  if (*block != NULL) {                                               
ffc04f18:	41 9e 00 14 	beq-    cr7,ffc04f2c <rtems_bdpart_new_record+0x44>
    sc = rtems_bdbuf_sync( *block);                                   
ffc04f1c:	7d 23 4b 78 	mr      r3,r9                                  
ffc04f20:	48 00 f2 65 	bl      ffc14184 <rtems_bdbuf_sync>            
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04f24:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04f28:	40 82 00 58 	bne-    ffc04f80 <rtems_bdpart_new_record+0x98><== NEVER TAKEN
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  /* Read the new record block (this accounts for disk block sizes > 512) */
  sc = rtems_bdbuf_read( dd, index, block);                           
ffc04f2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04f30:	7f 84 e3 78 	mr      r4,r28                                 
ffc04f34:	7f e5 fb 78 	mr      r5,r31                                 
ffc04f38:	48 00 ee 99 	bl      ffc13dd0 <rtems_bdbuf_read>            
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04f3c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04f40:	40 82 00 40 	bne-    ffc04f80 <rtems_bdpart_new_record+0x98><== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
ffc04f44:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc04f48:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f4c:	41 9e 00 58 	beq-    cr7,ffc04fa4 <rtems_bdpart_new_record+0xbc><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Clear record */                                                  
  memset( (*block)->buffer, 0, RTEMS_BDPART_BLOCK_SIZE);              
ffc04f50:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc04f54:	38 80 00 00 	li      r4,0                                   
ffc04f58:	38 a0 02 00 	li      r5,512                                 
ffc04f5c:	48 01 4f 59 	bl      ffc19eb4 <memset>                      
                                                                      
  /* Write signature */                                               
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_0] =            
ffc04f60:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc04f64:	39 40 00 55 	li      r10,85                                 
ffc04f68:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc04f6c:	99 49 01 fe 	stb     r10,510(r9)                            
    RTEMS_BDPART_MBR_SIGNATURE_0;                                     
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1] =            
ffc04f70:	39 40 ff aa 	li      r10,-86                                
ffc04f74:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc04f78:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc04f7c:	99 49 01 ff 	stb     r10,511(r9)                            
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04f80:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04f84:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f88:	83 81 00 08 	lwz     r28,8(r1)                              
ffc04f8c:	7c 08 03 a6 	mtlr    r0                                     
ffc04f90:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04f94:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04f98:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04f9c:	38 21 00 18 	addi    r1,r1,24                               
ffc04fa0:	4e 80 00 20 	blr                                            
ffc04fa4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
    return RTEMS_INVALID_ADDRESS;                                     
ffc04fa8:	3b c0 00 09 	li      r30,9                                  <== NOT EXECUTED
    RTEMS_BDPART_MBR_SIGNATURE_0;                                     
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1] =            
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04fac:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc04fb0:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc04fb4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04fb8:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc04fbc:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc04fc0:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc04fc4:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc04fc8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04948 <rtems_bdpart_read>: const char *disk_name, rtems_bdpart_format *format, rtems_bdpart_partition *pt, size_t *count ) {
ffc04948:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc0494c:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
ffc04950:	39 25 ff d0 	addi    r9,r5,-48                              
  const char *disk_name,                                              
  rtems_bdpart_format *format,                                        
  rtems_bdpart_partition *pt,                                         
  size_t *count                                                       
)                                                                     
{                                                                     
ffc04954:	93 a1 00 3c 	stw     r29,60(r1)                             
  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);
ffc04958:	7c dd 33 79 	mr.     r29,r6                                 
  size_t *count                                                       
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
ffc0495c:	39 40 00 00 	li      r10,0                                  
  const char *disk_name,                                              
  rtems_bdpart_format *format,                                        
  rtems_bdpart_partition *pt,                                         
  size_t *count                                                       
)                                                                     
{                                                                     
ffc04960:	93 81 00 38 	stw     r28,56(r1)                             
ffc04964:	7c 9c 23 78 	mr      r28,r4                                 
ffc04968:	93 e1 00 44 	stw     r31,68(r1)                             
ffc0496c:	7c bf 2b 78 	mr      r31,r5                                 
ffc04970:	90 01 00 4c 	stw     r0,76(r1)                              
ffc04974:	93 21 00 2c 	stw     r25,44(r1)                             
ffc04978:	93 41 00 30 	stw     r26,48(r1)                             
ffc0497c:	93 61 00 34 	stw     r27,52(r1)                             
ffc04980:	93 c1 00 40 	stw     r30,64(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
ffc04984:	91 41 00 1c 	stw     r10,28(r1)                             
  rtems_bdpart_partition *p = pt - 1;                                 
ffc04988:	91 21 00 18 	stw     r9,24(r1)                              
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
ffc0498c:	41 82 00 c8 	beq-    ffc04a54 <rtems_bdpart_read+0x10c>     <== NEVER TAKEN
ffc04990:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc04994:	1f 69 00 30 	mulli   r27,r9,48                              
  const uint8_t *data = NULL;                                         
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || count == NULL) {                
ffc04998:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  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 */      
ffc0499c:	39 20 00 00 	li      r9,0                                   
  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;                                                        
ffc049a0:	39 40 ff ff 	li      r10,-1                                 
  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 */      
ffc049a4:	91 21 00 14 	stw     r9,20(r1)                              
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || count == NULL) {                
    return RTEMS_INVALID_ADDRESS;                                     
ffc049a8:	3b c0 00 09 	li      r30,9                                  
  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 */      
  rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */   
  rtems_blkdev_bnum disk_end = 0;                                     
ffc049ac:	91 21 00 10 	stw     r9,16(r1)                              
  size_t i = 0;                                                       
  const uint8_t *data = NULL;                                         
  int fd = -1;                                                        
ffc049b0:	91 41 00 0c 	stw     r10,12(r1)                             
  rtems_disk_device *dd = NULL;                                       
ffc049b4:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || count == NULL) {                
ffc049b8:	41 9e 00 2c 	beq-    cr7,ffc049e4 <rtems_bdpart_read+0x9c>  <== NEVER TAKEN
ffc049bc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc049c0:	41 9e 00 24 	beq-    cr7,ffc049e4 <rtems_bdpart_read+0x9c>  <== NEVER TAKEN
ffc049c4:	41 82 00 20 	beq-    ffc049e4 <rtems_bdpart_read+0x9c>      <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Set count to a save value */                                     
  *count = 0;                                                         
ffc049c8:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc049cc:	38 81 00 0c 	addi    r4,r1,12                               
ffc049d0:	38 a1 00 08 	addi    r5,r1,8                                
ffc049d4:	38 c1 00 10 	addi    r6,r1,16                               
ffc049d8:	4b ff fe 65 	bl      ffc0483c <rtems_bdpart_get_disk_data>  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc049dc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc049e0:	41 82 00 34 	beq-    ffc04a14 <rtems_bdpart_read+0xcc>      <== ALWAYS TAKEN
  if (block != NULL) {                                                
    rtems_bdbuf_release( block);                                      
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
ffc049e4:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc049e8:	7f c3 f3 78 	mr      r3,r30                                 
ffc049ec:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc049f0:	7c 08 03 a6 	mtlr    r0                                     
ffc049f4:	83 41 00 30 	lwz     r26,48(r1)                             
ffc049f8:	83 61 00 34 	lwz     r27,52(r1)                             
ffc049fc:	83 81 00 38 	lwz     r28,56(r1)                             
ffc04a00:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc04a04:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc04a08:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc04a0c:	38 21 00 48 	addi    r1,r1,72                               
ffc04a10:	4e 80 00 20 	blr                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  /* Read MBR */                                                      
  sc = rtems_bdpart_read_record( dd, 0, &block);                      
ffc04a14:	80 61 00 08 	lwz     r3,8(r1)                               
ffc04a18:	38 80 00 00 	li      r4,0                                   
ffc04a1c:	38 a1 00 1c 	addi    r5,r1,28                               
ffc04a20:	4b ff fb a9 	bl      ffc045c8 <rtems_bdpart_read_record>    
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04a24:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a28:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04a2c:	41 9e 00 30 	beq-    cr7,ffc04a5c <rtems_bdpart_read+0x114> <== ALWAYS TAKEN
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
                                                                      
cleanup:                                                              
                                                                      
  if (fd >= 0) {                                                      
ffc04a30:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc04a34:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a38:	41 9c 00 08 	blt-    cr7,ffc04a40 <rtems_bdpart_read+0xf8>  <== NEVER TAKEN
    close( fd);                                                       
ffc04a3c:	48 00 2f 01 	bl      ffc0793c <close>                       
  }                                                                   
                                                                      
  if (block != NULL) {                                                
ffc04a40:	80 61 00 1c 	lwz     r3,28(r1)                              
ffc04a44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a48:	41 be ff 9c 	beq-    cr7,ffc049e4 <rtems_bdpart_read+0x9c>  <== NEVER TAKEN
    rtems_bdbuf_release( block);                                      
ffc04a4c:	48 00 f5 c5 	bl      ffc14010 <rtems_bdbuf_release>         
ffc04a50:	4b ff ff 94 	b       ffc049e4 <rtems_bdpart_read+0x9c>      
{                                                                     
  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);
ffc04a54:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc04a58:	4b ff ff 40 	b       ffc04998 <rtems_bdpart_read+0x50>      <== NOT EXECUTED
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
ffc04a5c:	81 21 00 1c 	lwz     r9,28(r1)                              
{                                                                     
  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);
ffc04a60:	7f 7f da 14 	add     r27,r31,r27                            
    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);  
ffc04a64:	38 81 00 18 	addi    r4,r1,24                               
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
ffc04a68:	83 29 00 1c 	lwz     r25,28(r9)                             
  sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);  
ffc04a6c:	7f 65 db 78 	mr      r5,r27                                 
ffc04a70:	38 c1 00 14 	addi    r6,r1,20                               
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
ffc04a74:	3b 59 01 be 	addi    r26,r25,446                            
  sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);  
ffc04a78:	7f 43 d3 78 	mr      r3,r26                                 
ffc04a7c:	4b ff fc 51 	bl      ffc046cc <rtems_bdpart_read_mbr_partition>
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04a80:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a84:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04a88:	40 be ff a8 	bne-    cr7,ffc04a30 <rtems_bdpart_read+0xe8>  <== NEVER TAKEN
    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) {
ffc04a8c:	81 21 00 18 	lwz     r9,24(r1)                              
    esc = RTEMS_NOT_IMPLEMENTED;                                      
ffc04a90:	3b c0 00 18 	li      r30,24                                 
    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) {
ffc04a94:	89 29 00 08 	lbz     r9,8(r9)                               
ffc04a98:	2f 89 00 ee 	cmpwi   cr7,r9,238                             
ffc04a9c:	41 be ff 94 	beq-    cr7,ffc04a30 <rtems_bdpart_read+0xe8>  <== NEVER TAKEN
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
ffc04aa0:	39 40 00 04 	li      r10,4                                  
    esc = RTEMS_NOT_IMPLEMENTED;                                      
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
ffc04aa4:	90 7c 00 00 	stw     r3,0(r28)                              
ffc04aa8:	7d 49 03 a6 	mtctr   r10                                    
ffc04aac:	39 20 00 00 	li      r9,0                                   
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
ffc04ab0:	81 41 00 1c 	lwz     r10,28(r1)                             
ffc04ab4:	81 4a 00 1c 	lwz     r10,28(r10)                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_read(                                  
ffc04ab8:	39 4a 01 bc 	addi    r10,r10,444                            
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
ffc04abc:	8d 0a ff ff 	lbzu    r8,-1(r10)                             
ffc04ac0:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc04ac4:	7d 28 4a 14 	add     r9,r8,r9                               
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) {                                          
ffc04ac8:	42 00 ff f4 	bdnz+   ffc04abc <rtems_bdpart_read+0x174>     
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
ffc04acc:	91 3c 00 04 	stw     r9,4(r28)                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
  format->mbr.dos_compatibility = true;                               
ffc04ad0:	39 20 00 01 	li      r9,1                                   
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_read(                                  
ffc04ad4:	3b 39 01 ee 	addi    r25,r25,494                            
  /* 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;                               
ffc04ad8:	99 3c 00 08 	stb     r9,8(r28)                              
                                                                      
  /* Iterate through the rest of the primary partition table */       
  for (i = 1; i < 4; ++i) {                                           
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
ffc04adc:	3b 5a 00 10 	addi    r26,r26,16                             
                                                                      
    sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);
ffc04ae0:	7f 43 d3 78 	mr      r3,r26                                 
ffc04ae4:	38 81 00 18 	addi    r4,r1,24                               
ffc04ae8:	7f 65 db 78 	mr      r5,r27                                 
ffc04aec:	38 c1 00 14 	addi    r6,r1,20                               
ffc04af0:	4b ff fb dd 	bl      ffc046cc <rtems_bdpart_read_mbr_partition>
    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) {                                           
ffc04af4:	7f 9a c8 00 	cmpw    cr7,r26,r25                            
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
                                                                      
    sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04af8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04afc:	40 82 01 00 	bne-    ffc04bfc <rtems_bdpart_read+0x2b4>     <== NEVER TAKEN
    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) {                                           
ffc04b00:	40 9e ff dc 	bne+    cr7,ffc04adc <rtems_bdpart_read+0x194> 
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Iterate through the logical partitions within the extended partition */
  ebr = ep_begin;                                                     
ffc04b04:	83 81 00 14 	lwz     r28,20(r1)                             
ffc04b08:	80 c1 00 18 	lwz     r6,24(r1)                              
  while (ebr != 0) {                                                  
ffc04b0c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc04b10:	41 9e 00 a8 	beq-    cr7,ffc04bb8 <rtems_bdpart_read+0x270> <== NEVER TAKEN
    rtems_blkdev_bnum tmp = 0;                                        
                                                                      
    /* Read EBR */                                                    
    sc = rtems_bdpart_read_record( dd, ebr, &block);                  
ffc04b14:	80 61 00 08 	lwz     r3,8(r1)                               
ffc04b18:	7f 84 e3 78 	mr      r4,r28                                 
ffc04b1c:	38 a1 00 1c 	addi    r5,r1,28                               
ffc04b20:	4b ff fa a9 	bl      ffc045c8 <rtems_bdpart_read_record>    
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04b24:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04b28:	40 82 00 d4 	bne-    ffc04bfc <rtems_bdpart_read+0x2b4>     <== NEVER TAKEN
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read first partition entry */                                  
    sc = rtems_bdpart_read_mbr_partition(                             
ffc04b2c:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc04b30:	38 81 00 18 	addi    r4,r1,24                               
ffc04b34:	7f 65 db 78 	mr      r5,r27                                 
ffc04b38:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc04b3c:	38 c0 00 00 	li      r6,0                                   
ffc04b40:	38 63 01 be 	addi    r3,r3,446                              
ffc04b44:	4b ff fb 89 	bl      ffc046cc <rtems_bdpart_read_mbr_partition>
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0,                
      &p,                                                             
      p_end,                                                          
      NULL                                                            
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04b48:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04b4c:	40 82 00 b0 	bne-    ffc04bfc <rtems_bdpart_read+0x2b4>     <== NEVER TAKEN
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Adjust partition begin */                                      
    tmp = p->begin + ebr;                                             
ffc04b50:	80 c1 00 18 	lwz     r6,24(r1)                              
ffc04b54:	81 46 00 00 	lwz     r10,0(r6)                              
ffc04b58:	7d 1c 52 14 	add     r8,r28,r10                             
    if (tmp > p->begin) {                                             
ffc04b5c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc04b60:	40 9c 00 94 	bge-    cr7,ffc04bf4 <rtems_bdpart_read+0x2ac> <== NEVER TAKEN
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Adjust partition end */                                        
    tmp = p->end + ebr;                                               
ffc04b64:	81 46 00 04 	lwz     r10,4(r6)                              
    }                                                                 
                                                                      
    /* Adjust partition begin */                                      
    tmp = p->begin + ebr;                                             
    if (tmp > p->begin) {                                             
      p->begin = tmp;                                                 
ffc04b68:	91 06 00 00 	stw     r8,0(r6)                               
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Adjust partition end */                                        
    tmp = p->end + ebr;                                               
ffc04b6c:	7f 9c 52 14 	add     r28,r28,r10                            
    if (tmp > p->end) {                                               
ffc04b70:	7f 8a e0 40 	cmplw   cr7,r10,r28                            
ffc04b74:	40 9c 00 80 	bge-    cr7,ffc04bf4 <rtems_bdpart_read+0x2ac> <== NEVER TAKEN
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
ffc04b78:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc04b7c:	39 40 00 03 	li      r10,3                                  
    }                                                                 
                                                                      
    /* Adjust partition end */                                        
    tmp = p->end + ebr;                                               
    if (tmp > p->end) {                                               
      p->end = tmp;                                                   
ffc04b80:	93 86 00 04 	stw     r28,4(r6)                              
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
ffc04b84:	39 00 00 00 	li      r8,0                                   
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
ffc04b88:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc04b8c:	39 20 00 04 	li      r9,4                                   
ffc04b90:	7d 29 03 a6 	mtctr   r9                                     
}                                                                     
                                                                      
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);
ffc04b94:	38 83 01 d6 	addi    r4,r3,470                              
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
ffc04b98:	7c e4 50 ae 	lbzx    r7,r4,r10                              
ffc04b9c:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
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) {                                          
ffc04ba0:	39 4a ff ff 	addi    r10,r10,-1                             
    value = (value << 8) + data [i];                                  
ffc04ba4:	7d 07 42 14 	add     r8,r7,r8                               
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) {                                          
ffc04ba8:	42 00 ff f0 	bdnz+   ffc04b98 <rtems_bdpart_read+0x250>     
  uint8_t type = data [RTEMS_BDPART_MBR_OFFSET_TYPE];                 
                                                                      
  if (type == RTEMS_BDPART_MBR_EXTENDED) {                            
ffc04bac:	89 23 01 d2 	lbz     r9,466(r3)                             
ffc04bb0:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc04bb4:	41 9e 00 28 	beq-    cr7,ffc04bdc <rtems_bdpart_read+0x294> 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
ffc04bb8:	7d 5f 30 50 	subf    r10,r31,r6                             
ffc04bbc:	3d 20 aa aa 	lis     r9,-21846                              
ffc04bc0:	7d 4a 26 70 	srawi   r10,r10,4                              
ffc04bc4:	61 29 aa ab 	ori     r9,r9,43691                            
ffc04bc8:	7d 2a 49 d6 	mullw   r9,r10,r9                              
  rtems_bdpart_partition *pt,                                         
  size_t *count                                                       
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc04bcc:	3b c0 00 00 	li      r30,0                                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
ffc04bd0:	39 29 00 01 	addi    r9,r9,1                                
ffc04bd4:	91 3d 00 00 	stw     r9,0(r29)                              
ffc04bd8:	4b ff fe 58 	b       ffc04a30 <rtems_bdpart_read+0xe8>      
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
    );                                                                
    if (ebr != 0) {                                                   
ffc04bdc:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc04be0:	41 be ff d8 	beq-    cr7,ffc04bb8 <rtems_bdpart_read+0x270> <== NEVER TAKEN
      /* Adjust partition EBR block index */                          
      tmp = ebr + ep_begin;                                           
ffc04be4:	83 81 00 14 	lwz     r28,20(r1)                             
ffc04be8:	7f 88 e2 14 	add     r28,r8,r28                             
      if (tmp > ebr) {                                                
ffc04bec:	7f 9c 40 40 	cmplw   cr7,r28,r8                             
ffc04bf0:	41 9d ff 24 	bgt+    cr7,ffc04b14 <rtems_bdpart_read+0x1cc> <== ALWAYS TAKEN
    /* Adjust partition begin */                                      
    tmp = p->begin + ebr;                                             
    if (tmp > p->begin) {                                             
      p->begin = tmp;                                                 
    } else {                                                          
      esc = RTEMS_IO_ERROR;                                           
ffc04bf4:	3b c0 00 1b 	li      r30,27                                 <== NOT EXECUTED
ffc04bf8:	4b ff fe 38 	b       ffc04a30 <rtems_bdpart_read+0xe8>      <== NOT EXECUTED
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read first partition entry */                                  
    sc = rtems_bdpart_read_mbr_partition(                             
ffc04bfc:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
ffc04c00:	4b ff fe 30 	b       ffc04a30 <rtems_bdpart_read+0xe8>      <== NOT EXECUTED
                                                                      

ffc046cc <rtems_bdpart_read_mbr_partition>: return value; } static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data) { uint32_t value = 0;
ffc046cc:	39 40 00 04 	li      r10,4                                  
  const uint8_t *data,                                                
  rtems_bdpart_partition **p,                                         
  const rtems_bdpart_partition *p_end,                                
  rtems_blkdev_bnum *ep_begin                                         
)                                                                     
{                                                                     
ffc046d0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc046d4:	7c 08 02 a6 	mflr    r0                                     
  } else {                                                            
    return 0;                                                         
  }                                                                   
}                                                                     
                                                                      
static rtems_status_code rtems_bdpart_read_mbr_partition(             
ffc046d8:	39 03 00 0c 	addi    r8,r3,12                               
ffc046dc:	7d 49 03 a6 	mtctr   r10                                    
  const uint8_t *data,                                                
  rtems_bdpart_partition **p,                                         
  const rtems_bdpart_partition *p_end,                                
  rtems_blkdev_bnum *ep_begin                                         
)                                                                     
{                                                                     
ffc046e0:	93 61 00 0c 	stw     r27,12(r1)                             
  } else {                                                            
    return 0;                                                         
  }                                                                   
}                                                                     
                                                                      
static rtems_status_code rtems_bdpart_read_mbr_partition(             
ffc046e4:	7d 09 43 78 	mr      r9,r8                                  
  const uint8_t *data,                                                
  rtems_bdpart_partition **p,                                         
  const rtems_bdpart_partition *p_end,                                
  rtems_blkdev_bnum *ep_begin                                         
)                                                                     
{                                                                     
ffc046e8:	90 01 00 24 	stw     r0,36(r1)                              
ffc046ec:	93 a1 00 14 	stw     r29,20(r1)                             
ffc046f0:	93 81 00 10 	stw     r28,16(r1)                             
ffc046f4:	7c 9c 23 78 	mr      r28,r4                                 
ffc046f8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc046fc:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04700:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc04704:	3b e0 00 00 	li      r31,0                                  
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
ffc04708:	8d 49 ff ff 	lbzu    r10,-1(r9)                             
ffc0470c:	57 ff 40 2e 	rlwinm  r31,r31,8,0,23                         
ffc04710:	7f ea fa 14 	add     r31,r10,r31                            
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) {                                          
ffc04714:	42 00 ff f4 	bdnz+   ffc04708 <rtems_bdpart_read_mbr_partition+0x3c>
  } else {                                                            
    return 0;                                                         
  }                                                                   
}                                                                     
                                                                      
static rtems_status_code rtems_bdpart_read_mbr_partition(             
ffc04718:	39 3e 00 10 	addi    r9,r30,16                              
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
ffc0471c:	7d 08 48 50 	subf    r8,r8,r9                               
ffc04720:	7d 09 03 a6 	mtctr   r8                                     
ffc04724:	39 40 00 00 	li      r10,0                                  
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
ffc04728:	8d 09 ff ff 	lbzu    r8,-1(r9)                              
ffc0472c:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc04730:	7d 48 52 14 	add     r10,r8,r10                             
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) {                                          
ffc04734:	42 00 ff f4 	bdnz+   ffc04728 <rtems_bdpart_read_mbr_partition+0x5c>
  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;                               
  uint8_t type = data [RTEMS_BDPART_MBR_OFFSET_TYPE];                 
ffc04738:	8b be 00 04 	lbz     r29,4(r30)                             
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
    return RTEMS_SUCCESSFUL;                                          
ffc0473c:	38 60 00 00 	li      r3,0                                   
  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) {                               
ffc04740:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc04744:	41 9e 00 24 	beq-    cr7,ffc04768 <rtems_bdpart_read_mbr_partition+0x9c><== NEVER TAKEN
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
ffc04748:	81 3c 00 00 	lwz     r9,0(r28)                              
    return RTEMS_TOO_MANY;                                            
ffc0474c:	38 60 00 05 	li      r3,5                                   
  rtems_blkdev_bnum end = begin + size;                               
  uint8_t type = data [RTEMS_BDPART_MBR_OFFSET_TYPE];                 
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
ffc04750:	7f 89 28 00 	cmpw    cr7,r9,r5                              
ffc04754:	41 9e 00 14 	beq-    cr7,ffc04768 <rtems_bdpart_read_mbr_partition+0x9c><== NEVER TAKEN
{                                                                     
  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;                               
ffc04758:	7f 6a fa 14 	add     r27,r10,r31                            
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
    return RTEMS_TOO_MANY;                                            
  } else if (begin >= end) {                                          
ffc0475c:	7f 9b f8 40 	cmplw   cr7,r27,r31                            
    return RTEMS_IO_ERROR;                                            
ffc04760:	38 60 00 1b 	li      r3,27                                  
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
    return RTEMS_TOO_MANY;                                            
  } else if (begin >= end) {                                          
ffc04764:	41 9d 00 28 	bgt-    cr7,ffc0478c <rtems_bdpart_read_mbr_partition+0xc0><== ALWAYS TAKEN
    rtems_bdpart_to_partition_type( type, (*p)->type);                
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04768:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0476c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc04770:	7c 08 03 a6 	mtlr    r0                                     
ffc04774:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04778:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0477c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04780:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04784:	38 21 00 20 	addi    r1,r1,32                               
ffc04788:	4e 80 00 20 	blr                                            
    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) {                     
ffc0478c:	2f 9d 00 05 	cmpwi   cr7,r29,5                              
ffc04790:	40 9e 00 18 	bne-    cr7,ffc047a8 <rtems_bdpart_read_mbr_partition+0xdc>
    if (ep_begin != NULL) {                                           
ffc04794:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc04798:	41 9e 00 58 	beq-    cr7,ffc047f0 <rtems_bdpart_read_mbr_partition+0x124><== NEVER TAKEN
      *ep_begin = begin;                                              
ffc0479c:	93 e6 00 00 	stw     r31,0(r6)                              
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc047a0:	38 60 00 00 	li      r3,0                                   
ffc047a4:	4b ff ff c4 	b       ffc04768 <rtems_bdpart_read_mbr_partition+0x9c>
    if (ep_begin != NULL) {                                           
      *ep_begin = begin;                                              
    }                                                                 
  } else {                                                            
    /* Increment partition index */                                   
    ++(*p);                                                           
ffc047a8:	38 69 00 30 	addi    r3,r9,48                               
ffc047ac:	90 7c 00 00 	stw     r3,0(r28)                              
                                                                      
    /* Clear partition */                                             
    memset( *p, 0, sizeof( rtems_bdpart_partition));                  
ffc047b0:	38 80 00 00 	li      r4,0                                   
ffc047b4:	38 a0 00 30 	li      r5,48                                  
ffc047b8:	48 01 56 fd 	bl      ffc19eb4 <memset>                      
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
ffc047bc:	81 3c 00 00 	lwz     r9,0(r28)                              
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
ffc047c0:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
    /* Clear partition */                                             
    memset( *p, 0, sizeof( rtems_bdpart_partition));                  
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
ffc047c4:	93 e9 00 00 	stw     r31,0(r9)                              
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
ffc047c8:	38 89 00 08 	addi    r4,r9,8                                
    /* Clear partition */                                             
    memset( *p, 0, sizeof( rtems_bdpart_partition));                  
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
    (*p)->end = end;                                                  
ffc047cc:	93 69 00 04 	stw     r27,4(r9)                              
    rtems_bdpart_to_partition_type( type, (*p)->type);                
ffc047d0:	4b ff fe c1 	bl      ffc04690 <rtems_bdpart_to_partition_type>
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
ffc047d4:	89 5e 00 00 	lbz     r10,0(r30)                             
ffc047d8:	81 3c 00 00 	lwz     r9,0(r28)                              
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc047dc:	38 60 00 00 	li      r3,0                                   
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
ffc047e0:	91 49 00 2c 	stw     r10,44(r9)                             
ffc047e4:	39 40 00 00 	li      r10,0                                  
ffc047e8:	91 49 00 28 	stw     r10,40(r9)                             
ffc047ec:	4b ff ff 7c 	b       ffc04768 <rtems_bdpart_read_mbr_partition+0x9c>
    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) {                               
    return RTEMS_SUCCESSFUL;                                          
ffc047f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc047f4:	4b ff ff 74 	b       ffc04768 <rtems_bdpart_read_mbr_partition+0x9c><== NOT EXECUTED
                                                                      

ffc045c8 <rtems_bdpart_read_record>: static rtems_status_code rtems_bdpart_read_record( rtems_disk_device *dd, rtems_blkdev_bnum index, rtems_bdbuf_buffer **block ) {
ffc045c8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc045cc:	7c 08 02 a6 	mflr    r0                                     
ffc045d0:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Release previous block if necessary */                           
  if (*block != NULL) {                                               
ffc045d4:	81 25 00 00 	lwz     r9,0(r5)                               
static rtems_status_code rtems_bdpart_read_record(                    
  rtems_disk_device *dd,                                              
  rtems_blkdev_bnum index,                                            
  rtems_bdbuf_buffer **block                                          
)                                                                     
{                                                                     
ffc045d8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc045dc:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Release previous block if necessary */                           
  if (*block != NULL) {                                               
ffc045e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
static rtems_status_code rtems_bdpart_read_record(                    
  rtems_disk_device *dd,                                              
  rtems_blkdev_bnum index,                                            
  rtems_bdbuf_buffer **block                                          
)                                                                     
{                                                                     
ffc045e4:	93 c1 00 10 	stw     r30,16(r1)                             
ffc045e8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc045ec:	93 e1 00 14 	stw     r31,20(r1)                             
ffc045f0:	7c bf 2b 78 	mr      r31,r5                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Release previous block if necessary */                           
  if (*block != NULL) {                                               
ffc045f4:	41 9e 00 14 	beq-    cr7,ffc04608 <rtems_bdpart_read_record+0x40>
    sc = rtems_bdbuf_release( *block);                                
ffc045f8:	7d 23 4b 78 	mr      r3,r9                                  
ffc045fc:	48 00 fa 15 	bl      ffc14010 <rtems_bdbuf_release>         
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04600:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04604:	40 82 00 3c 	bne-    ffc04640 <rtems_bdpart_read_record+0x78><== NEVER TAKEN
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  /* Read the record block */                                         
  sc = rtems_bdbuf_read( dd, index, block);                           
ffc04608:	7f c3 f3 78 	mr      r3,r30                                 
ffc0460c:	7f a4 eb 78 	mr      r4,r29                                 
ffc04610:	7f e5 fb 78 	mr      r5,r31                                 
ffc04614:	48 00 f7 bd 	bl      ffc13dd0 <rtems_bdbuf_read>            
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04618:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0461c:	40 82 00 24 	bne-    ffc04640 <rtems_bdpart_read_record+0x78><== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
ffc04620:	81 5f 00 00 	lwz     r10,0(r31)                             
ffc04624:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04628:	41 9e 00 48 	beq-    cr7,ffc04670 <rtems_bdpart_read_record+0xa8><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Check MBR signature */                                           
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
ffc0462c:	81 4a 00 1c 	lwz     r10,28(r10)                            
                                                                      
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]                     
ffc04630:	89 0a 01 fe 	lbz     r8,510(r10)                            
ffc04634:	2f 88 00 55 	cmpwi   cr7,r8,85                              
ffc04638:	41 9e 00 24 	beq-    cr7,ffc0465c <rtems_bdpart_read_record+0x94><== ALWAYS TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Check MBR signature */                                           
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
    return RTEMS_IO_ERROR;                                            
ffc0463c:	38 60 00 1b 	li      r3,27                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04640:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc04644:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc04648:	7c 08 03 a6 	mtlr    r0                                     
ffc0464c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc04650:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc04654:	38 21 00 18 	addi    r1,r1,24                               
ffc04658:	4e 80 00 20 	blr                                            
                                                                      
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]                     
ffc0465c:	89 4a 01 ff 	lbz     r10,511(r10)                           
ffc04660:	2f 8a 00 aa 	cmpwi   cr7,r10,170                            
ffc04664:	41 be ff dc 	beq-    cr7,ffc04640 <rtems_bdpart_read_record+0x78><== ALWAYS TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Check MBR signature */                                           
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
    return RTEMS_IO_ERROR;                                            
ffc04668:	38 60 00 1b 	li      r3,27                                  <== NOT EXECUTED
ffc0466c:	4b ff ff d4 	b       ffc04640 <rtems_bdpart_read_record+0x78><== NOT EXECUTED
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04670:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
    return RTEMS_INVALID_ADDRESS;                                     
ffc04674:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
    return RTEMS_IO_ERROR;                                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04678:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc0467c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04680:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc04684:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc04688:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0468c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04c04 <rtems_bdpart_register>: rtems_status_code rtems_bdpart_register( const char *disk_name, const rtems_bdpart_partition *pt, size_t count ) {
ffc04c04:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc04c08:	7c 08 02 a6 	mflr    r0                                     
ffc04c0c:	93 e1 00 3c 	stw     r31,60(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
ffc04c10:	3b e0 00 00 	li      r31,0                                  
rtems_status_code rtems_bdpart_register(                              
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
ffc04c14:	90 01 00 44 	stw     r0,68(r1)                              
ffc04c18:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc04c1c:	93 41 00 28 	stw     r26,40(r1)                             
ffc04c20:	7c 7a 1b 78 	mr      r26,r3                                 
ffc04c24:	93 61 00 2c 	stw     r27,44(r1)                             
ffc04c28:	7c bb 2b 78 	mr      r27,r5                                 
ffc04c2c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc04c30:	7c 9e 23 78 	mr      r30,r4                                 
ffc04c34:	93 01 00 20 	stw     r24,32(r1)                             
ffc04c38:	93 21 00 24 	stw     r25,36(r1)                             
ffc04c3c:	93 81 00 30 	stw     r28,48(r1)                             
ffc04c40:	93 a1 00 34 	stw     r29,52(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
ffc04c44:	93 e1 00 10 	stw     r31,16(r1)                             
  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);                         
ffc04c48:	48 01 5b ad 	bl      ffc1a7f4 <strlen>                      
ffc04c4c:	7c 77 1b 78 	mr      r23,r3                                 
  size_t i = 0;                                                       
  int fd = -1;                                                        
ffc04c50:	39 20 ff ff 	li      r9,-1                                  
  rtems_disk_device *dd = NULL;                                       
ffc04c54:	93 e1 00 08 	stw     r31,8(r1)                              
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc04c58:	7f 43 d3 78 	mr      r3,r26                                 
ffc04c5c:	38 81 00 0c 	addi    r4,r1,12                               
  dev_t logical_disk = 0;                                             
  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;                                                        
ffc04c60:	91 21 00 0c 	stw     r9,12(r1)                              
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc04c64:	38 a1 00 08 	addi    r5,r1,8                                
ffc04c68:	38 c1 00 10 	addi    r6,r1,16                               
ffc04c6c:	4b ff fb d1 	bl      ffc0483c <rtems_bdpart_get_disk_data>  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04c70:	7c 6a 1b 79 	mr.     r10,r3                                 
ffc04c74:	41 82 00 3c 	beq-    ffc04cb0 <rtems_bdpart_register+0xac>  <== ALWAYS TAKEN
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
                                                                      
  return esc;                                                         
}                                                                     
ffc04c78:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc04c7c:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc04c80:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc04c84:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04c88:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc04c8c:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc04c90:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc04c94:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc04c98:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc04c9c:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc04ca0:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc04ca4:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc04ca8:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc04cac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04cb0:	81 21 00 08 	lwz     r9,8(r1)                               
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
ffc04cb4:	80 61 00 0c 	lwz     r3,12(r1)                              
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04cb8:	83 09 00 04 	lwz     r24,4(r9)                              
ffc04cbc:	83 89 00 00 	lwz     r28,0(r9)                              
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
ffc04cc0:	48 00 2c 7d 	bl      ffc0793c <close>                       
                                                                      
  /* 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);
ffc04cc4:	38 77 00 04 	addi    r3,r23,4                               
ffc04cc8:	48 00 34 a5 	bl      ffc0816c <malloc>                      
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  return temp.__overlay.minor;                                        
ffc04ccc:	7f 1d c3 78 	mr      r29,r24                                
  if (logical_disk_name == NULL) {                                    
ffc04cd0:	7c 79 1b 79 	mr.     r25,r3                                 
    return RTEMS_NO_MEMORY;                                           
ffc04cd4:	39 40 00 1a 	li      r10,26                                 
  /* 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) {                                    
ffc04cd8:	41 a2 ff a0 	beq-    ffc04c78 <rtems_bdpart_register+0x74>  <== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
ffc04cdc:	7e e5 bb 78 	mr      r5,r23                                 
ffc04ce0:	7f 44 d3 78 	mr      r4,r26                                 
ffc04ce4:	48 01 5c e5 	bl      ffc1a9c8 <strncpy>                     
  logical_disk_marker = logical_disk_name + disk_name_size;           
                                                                      
  /* Create a logical disk for each partition */                      
  for (i = 0; i < count; ++i) {                                       
ffc04ce8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  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;           
ffc04cec:	7e f9 ba 14 	add     r23,r25,r23                            
                                                                      
  /* Create a logical disk for each partition */                      
  for (i = 0; i < count; ++i) {                                       
ffc04cf0:	41 9e 00 bc 	beq-    cr7,ffc04dac <rtems_bdpart_register+0x1a8><== NEVER TAKEN
ffc04cf4:	3f 40 ff c3 	lis     r26,-61                                
ffc04cf8:	3b e0 00 00 	li      r31,0                                  
ffc04cfc:	3b 5a 8f bc 	addi    r26,r26,-28740                         
ffc04d00:	48 00 00 08 	b       ffc04d08 <rtems_bdpart_register+0x104> 
ffc04d04:	41 9e 00 a8 	beq-    cr7,ffc04dac <rtems_bdpart_register+0x1a8>
                                                                      
    /* 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);
ffc04d08:	3b ff 00 01 	addi    r31,r31,1                              
ffc04d0c:	38 80 00 04 	li      r4,4                                   
ffc04d10:	7f 45 d3 78 	mr      r5,r26                                 
ffc04d14:	7f e6 fb 78 	mr      r6,r31                                 
ffc04d18:	7e e3 bb 78 	mr      r3,r23                                 
ffc04d1c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04d20:	48 01 55 ad 	bl      ffc1a2cc <snprintf>                    
  for (i = 0; i < count; ++i) {                                       
    const rtems_bdpart_partition *p = pt + i;                         
    int rv = 0;                                                       
                                                                      
    /* New minor number */                                            
    ++minor;                                                          
ffc04d24:	3b bd 00 01 	addi    r29,r29,1                              
    /* 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) {                             
ffc04d28:	2f 83 00 03 	cmpwi   cr7,r3,3                               
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
ffc04d2c:	7f 85 e3 78 	mr      r5,r28                                 
ffc04d30:	7f 06 c3 78 	mr      r6,r24                                 
ffc04d34:	7f 29 cb 78 	mr      r9,r25                                 
ffc04d38:	7f 83 e3 78 	mr      r3,r28                                 
ffc04d3c:	7f a4 eb 78 	mr      r4,r29                                 
    /* 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) {                             
ffc04d40:	41 9d 00 74 	bgt-    cr7,ffc04db4 <rtems_bdpart_register+0x1b0><== NEVER TAKEN
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
      logical_disk,                                                   
      disk,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
ffc04d44:	80 fe 00 00 	lwz     r7,0(r30)                              
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
ffc04d48:	81 1e 00 04 	lwz     r8,4(r30)                              
ffc04d4c:	3b de 00 30 	addi    r30,r30,48                             
ffc04d50:	7d 07 40 50 	subf    r8,r7,r8                               
ffc04d54:	48 00 12 65 	bl      ffc05fb8 <rtems_disk_create_log>       
  }                                                                   
  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) {                                       
ffc04d58:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
      disk,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
      logical_disk_name                                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04d5c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04d60:	41 82 ff a4 	beq+    ffc04d04 <rtems_bdpart_register+0x100> <== ALWAYS TAKEN
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
ffc04d64:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
ffc04d68:	7f 23 cb 78 	mr      r3,r25                                 
ffc04d6c:	48 00 2c 69 	bl      ffc079d4 <free>                        
                                                                      
  return esc;                                                         
}                                                                     
ffc04d70:	80 01 00 44 	lwz     r0,68(r1)                              
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
                                                                      
  return esc;                                                         
ffc04d74:	7f ea fb 78 	mr      r10,r31                                
}                                                                     
ffc04d78:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc04d7c:	7c 08 03 a6 	mtlr    r0                                     
ffc04d80:	83 01 00 20 	lwz     r24,32(r1)                             
ffc04d84:	83 21 00 24 	lwz     r25,36(r1)                             
ffc04d88:	7d 43 53 78 	mr      r3,r10                                 
ffc04d8c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc04d90:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc04d94:	83 81 00 30 	lwz     r28,48(r1)                             
ffc04d98:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04d9c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04da0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc04da4:	38 21 00 40 	addi    r1,r1,64                               
ffc04da8:	4e 80 00 20 	blr                                            
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc04dac:	3b e0 00 00 	li      r31,0                                  
ffc04db0:	4b ff ff b8 	b       ffc04d68 <rtems_bdpart_register+0x164> 
    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;                                       
ffc04db4:	3b e0 00 03 	li      r31,3                                  <== NOT EXECUTED
ffc04db8:	4b ff ff b0 	b       ffc04d68 <rtems_bdpart_register+0x164> <== NOT EXECUTED
                                                                      

ffc04dbc <rtems_bdpart_register_from_disk>: return esc; } rtems_status_code rtems_bdpart_register_from_disk( const char *disk_name) {
ffc04dbc:	94 21 fc d0 	stwu    r1,-816(r1)                            
ffc04dc0:	7c 08 02 a6 	mflr    r0                                     
  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;                  
ffc04dc4:	39 20 00 10 	li      r9,16                                  
                                                                      
  /* Read partitions */                                               
  sc = rtems_bdpart_read( disk_name, &format, pt, &count);            
ffc04dc8:	38 81 03 08 	addi    r4,r1,776                              
                                                                      
  return esc;                                                         
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_register_from_disk( const char *disk_name)
{                                                                     
ffc04dcc:	93 e1 03 2c 	stw     r31,812(r1)                            
  rtems_bdpart_format format;                                         
  rtems_bdpart_partition pt [RTEMS_BDPART_PARTITION_NUMBER_HINT];     
  size_t count = RTEMS_BDPART_PARTITION_NUMBER_HINT;                  
                                                                      
  /* Read partitions */                                               
  sc = rtems_bdpart_read( disk_name, &format, pt, &count);            
ffc04dd0:	38 a1 00 08 	addi    r5,r1,8                                
ffc04dd4:	38 c1 03 1c 	addi    r6,r1,796                              
                                                                      
  return esc;                                                         
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_register_from_disk( const char *disk_name)
{                                                                     
ffc04dd8:	90 01 03 34 	stw     r0,820(r1)                             
ffc04ddc:	7c 7f 1b 78 	mr      r31,r3                                 
  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;                  
ffc04de0:	91 21 03 1c 	stw     r9,796(r1)                             
                                                                      
  /* Read partitions */                                               
  sc = rtems_bdpart_read( disk_name, &format, pt, &count);            
ffc04de4:	4b ff fb 65 	bl      ffc04948 <rtems_bdpart_read>           
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04de8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04dec:	40 a2 00 14 	bne+    ffc04e00 <rtems_bdpart_register_from_disk+0x44><== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  /* Register partitions */                                           
  return rtems_bdpart_register( disk_name, pt, count);                
ffc04df0:	80 a1 03 1c 	lwz     r5,796(r1)                             
ffc04df4:	7f e3 fb 78 	mr      r3,r31                                 
ffc04df8:	38 81 00 08 	addi    r4,r1,8                                
ffc04dfc:	4b ff fe 09 	bl      ffc04c04 <rtems_bdpart_register>       
}                                                                     
ffc04e00:	80 01 03 34 	lwz     r0,820(r1)                             
ffc04e04:	83 e1 03 2c 	lwz     r31,812(r1)                            
ffc04e08:	7c 08 03 a6 	mtlr    r0                                     
ffc04e0c:	38 21 03 30 	addi    r1,r1,816                              
ffc04e10:	4e 80 00 20 	blr                                            
                                                                      

ffc28484 <rtems_bdpart_unmount>: const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count, const char *mount_base ) {
ffc28484:	94 21 ff d8 	stwu    r1,-40(r1)                             <== NOT EXECUTED
ffc28488:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
ffc2848c:	38 80 00 2f 	li      r4,47                                  <== NOT EXECUTED
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
ffc28490:	90 01 00 2c 	stw     r0,44(r1)                              <== NOT EXECUTED
ffc28494:	93 01 00 08 	stw     r24,8(r1)                              <== NOT EXECUTED
ffc28498:	7c 78 1b 78 	mr      r24,r3                                 <== NOT EXECUTED
ffc2849c:	93 21 00 0c 	stw     r25,12(r1)                             <== NOT EXECUTED
ffc284a0:	93 61 00 14 	stw     r27,20(r1)                             <== NOT EXECUTED
ffc284a4:	7c db 33 78 	mr      r27,r6                                 <== NOT EXECUTED
ffc284a8:	93 a1 00 1c 	stw     r29,28(r1)                             <== NOT EXECUTED
ffc284ac:	7c bd 2b 78 	mr      r29,r5                                 <== NOT EXECUTED
ffc284b0:	93 c1 00 20 	stw     r30,32(r1)                             <== NOT EXECUTED
ffc284b4:	93 e1 00 24 	stw     r31,36(r1)                             <== NOT EXECUTED
ffc284b8:	93 41 00 10 	stw     r26,16(r1)                             <== NOT EXECUTED
ffc284bc:	93 81 00 18 	stw     r28,24(r1)                             <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
ffc284c0:	48 02 34 71 	bl      ffc4b930 <strrchr>                     <== NOT EXECUTED
ffc284c4:	7c 7e 1b 78 	mr      r30,r3                                 <== 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);                         
ffc284c8:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc284cc:	48 02 24 f9 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
ffc284d0:	7c 79 1b 78 	mr      r25,r3                                 <== NOT EXECUTED
  size_t mount_base_size = strlen( mount_base);                       
ffc284d4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc284d8:	48 02 24 ed 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
  size_t i = 0;                                                       
                                                                      
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
ffc284dc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
  const char *disk_file_name = strrchr( disk_name, '/');              
  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);                       
ffc284e0:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  size_t i = 0;                                                       
                                                                      
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
ffc284e4:	41 9e 00 14 	beq-    cr7,ffc284f8 <rtems_bdpart_unmount+0x74><== NOT EXECUTED
    disk_file_name += 1;                                              
ffc284e8:	3b 1e 00 01 	addi    r24,r30,1                              <== NOT EXECUTED
    disk_file_name_size = strlen( disk_file_name);                    
ffc284ec:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc284f0:	48 02 24 d5 	bl      ffc4a9c4 <strlen>                      <== NOT EXECUTED
ffc284f4:	7c 79 1b 78 	mr      r25,r3                                 <== 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);
ffc284f8:	7f 99 fa 14 	add     r28,r25,r31                            <== NOT EXECUTED
ffc284fc:	38 7c 00 05 	addi    r3,r28,5                               <== NOT EXECUTED
ffc28500:	4b fd c4 ad 	bl      ffc049ac <malloc>                      <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
ffc28504:	3b 40 00 1a 	li      r26,26                                 <== NOT EXECUTED
    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);
  if (mount_point == NULL) {                                          
ffc28508:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc2850c:	41 82 00 9c 	beq-    ffc285a8 <rtems_bdpart_unmount+0x124>  <== NOT EXECUTED
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
ffc28510:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc28514:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc28518:	48 02 27 25 	bl      ffc4ac3c <strncpy>                     <== NOT EXECUTED
  mount_point [mount_base_size] = '/';                                
ffc2851c:	39 20 00 2f 	li      r9,47                                  <== NOT EXECUTED
ffc28520:	7d 3e f9 ae 	stbx    r9,r30,r31                             <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
ffc28524:	38 7f 00 01 	addi    r3,r31,1                               <== NOT EXECUTED
ffc28528:	7c 7e 1a 14 	add     r3,r30,r3                              <== NOT EXECUTED
ffc2852c:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc28530:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc28534:	48 02 27 09 	bl      ffc4ac3c <strncpy>                     <== 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) {                                       
ffc28538:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== 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;
ffc2853c:	3b 9c 00 01 	addi    r28,r28,1                              <== NOT EXECUTED
ffc28540:	7f 9e e2 14 	add     r28,r30,r28                            <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
ffc28544:	41 9e 00 a0 	beq-    cr7,ffc285e4 <rtems_bdpart_unmount+0x160><== NOT EXECUTED
ffc28548:	3f 60 ff c6 	lis     r27,-58                                <== NOT EXECUTED
ffc2854c:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc28550:	3b 7b 7a c8 	addi    r27,r27,31432                          <== NOT EXECUTED
ffc28554:	48 00 00 0c 	b       ffc28560 <rtems_bdpart_unmount+0xdc>   <== NOT EXECUTED
ffc28558:	7f 9f e8 00 	cmpw    cr7,r31,r29                            <== NOT EXECUTED
ffc2855c:	41 9e 00 88 	beq-    cr7,ffc285e4 <rtems_bdpart_unmount+0x160><== NOT EXECUTED
    /* Create mount point */                                          
    int rv = snprintf( mount_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
ffc28560:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
ffc28564:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc28568:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc2856c:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc28570:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc28574:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc28578:	48 02 16 99 	bl      ffc49c10 <snprintf>                    <== NOT EXECUTED
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
ffc2857c:	2f 83 00 03 	cmpwi   cr7,r3,3                               <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Unmount */                                                     
    rv = unmount( mount_point);                                       
ffc28580:	7f c3 f3 78 	mr      r3,r30                                 <== 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);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
ffc28584:	41 9d 00 a0 	bgt-    cr7,ffc28624 <rtems_bdpart_unmount+0x1a0><== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Unmount */                                                     
    rv = unmount( mount_point);                                       
ffc28588:	48 00 58 65 	bl      ffc2ddec <unmount>                     <== NOT EXECUTED
    if (rv == 0) {                                                    
ffc2858c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc28590:	40 9e ff c8 	bne+    cr7,ffc28558 <rtems_bdpart_unmount+0xd4><== NOT EXECUTED
      /* Remove mount point */                                        
      rv = rmdir( mount_point);                                       
ffc28594:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc28598:	48 00 4f b9 	bl      ffc2d550 <rmdir>                       <== NOT EXECUTED
      if (rv != 0) {                                                  
ffc2859c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc285a0:	41 9e ff b8 	beq+    cr7,ffc28558 <rtems_bdpart_unmount+0xd4><== NOT EXECUTED
        esc = RTEMS_IO_ERROR;                                         
ffc285a4:	3b 40 00 1b 	li      r26,27                                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
ffc285a8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc285ac:	4b fd bf d5 	bl      ffc04580 <free>                        <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
ffc285b0:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc285b4:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc285b8:	83 01 00 08 	lwz     r24,8(r1)                              <== NOT EXECUTED
ffc285bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc285c0:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc285c4:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc285c8:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc285cc:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc285d0:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc285d4:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc285d8:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc285dc:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc285e0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
ffc285e4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc285e8:	4b fd bf 99 	bl      ffc04580 <free>                        <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
ffc285ec:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc285f0:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
                                                                      
  return esc;                                                         
}                                                                     
ffc285f4:	83 01 00 08 	lwz     r24,8(r1)                              <== NOT EXECUTED
ffc285f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc285fc:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc28600:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc28604:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc28608:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc2860c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc28610:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc28614:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc28618:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc2861c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc28620:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
ffc28624:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc28628:	4b fd bf 59 	bl      ffc04580 <free>                        <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
ffc2862c:	80 01 00 2c 	lwz     r0,44(r1)                              <== 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);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
      esc = RTEMS_INVALID_NAME;                                       
ffc28630:	3b 40 00 03 	li      r26,3                                  <== NOT EXECUTED
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
                                                                      
  return esc;                                                         
}                                                                     
ffc28634:	83 01 00 08 	lwz     r24,8(r1)                              <== NOT EXECUTED
ffc28638:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2863c:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc28640:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc28644:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc28648:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc2864c:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc28650:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc28654:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc28658:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc2865c:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc28660:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04e14 <rtems_bdpart_unregister>: rtems_status_code rtems_bdpart_unregister( const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count ) {
ffc04e14:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc04e18:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
ffc04e1c:	39 20 00 00 	li      r9,0                                   
rtems_status_code rtems_bdpart_unregister(                            
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count                                                        
)                                                                     
{                                                                     
ffc04e20:	93 c1 00 20 	stw     r30,32(r1)                             
  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;                                                        
ffc04e24:	39 40 ff ff 	li      r10,-1                                 
rtems_status_code rtems_bdpart_unregister(                            
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count                                                        
)                                                                     
{                                                                     
ffc04e28:	7c be 2b 78 	mr      r30,r5                                 
  size_t i = 0;                                                       
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc04e2c:	38 81 00 0c 	addi    r4,r1,12                               
rtems_status_code rtems_bdpart_unregister(                            
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count                                                        
)                                                                     
{                                                                     
ffc04e30:	93 81 00 18 	stw     r28,24(r1)                             
  size_t i = 0;                                                       
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc04e34:	38 a1 00 08 	addi    r5,r1,8                                
ffc04e38:	38 c1 00 10 	addi    r6,r1,16                               
rtems_status_code rtems_bdpart_unregister(                            
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count                                                        
)                                                                     
{                                                                     
ffc04e3c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc04e40:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc04e44:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
ffc04e48:	91 21 00 10 	stw     r9,16(r1)                              
  dev_t disk = 0;                                                     
  dev_t logical_disk = 0;                                             
  size_t i = 0;                                                       
  int fd = -1;                                                        
ffc04e4c:	91 41 00 0c 	stw     r10,12(r1)                             
  rtems_disk_device *dd = NULL;                                       
ffc04e50:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc04e54:	4b ff f9 e9 	bl      ffc0483c <rtems_bdpart_get_disk_data>  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04e58:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc04e5c:	41 82 00 28 	beq-    ffc04e84 <rtems_bdpart_unregister+0x70><== ALWAYS TAKEN
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04e60:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc04e64:	7f 83 e3 78 	mr      r3,r28                                 
ffc04e68:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc04e6c:	7c 08 03 a6 	mtlr    r0                                     
ffc04e70:	83 81 00 18 	lwz     r28,24(r1)                             
ffc04e74:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc04e78:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc04e7c:	38 21 00 28 	addi    r1,r1,40                               
ffc04e80:	4e 80 00 20 	blr                                            
ffc04e84:	81 21 00 08 	lwz     r9,8(r1)                               
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
ffc04e88:	80 61 00 0c 	lwz     r3,12(r1)                              
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04e8c:	83 e9 00 04 	lwz     r31,4(r9)                              
ffc04e90:	83 a9 00 00 	lwz     r29,0(r9)                              
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
ffc04e94:	48 00 2a a9 	bl      ffc0793c <close>                       
                                                                      
  /* 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) {                                       
ffc04e98:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                                                                      
  /* Register partitions */                                           
  return rtems_bdpart_register( disk_name, pt, count);                
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_unregister(                            
ffc04e9c:	7f de fa 14 	add     r30,r30,r31                            
                                                                      
  /* 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) {                                       
ffc04ea0:	41 be ff c0 	beq-    cr7,ffc04e60 <rtems_bdpart_unregister+0x4c>
    /* New minor number */                                            
    ++minor;                                                          
ffc04ea4:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
    /* Get the device identifier */                                   
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Delete logical disk */                                         
    sc = rtems_disk_delete( logical_disk);                            
ffc04ea8:	7f a3 eb 78 	mr      r3,r29                                 
ffc04eac:	7f e4 fb 78 	mr      r4,r31                                 
ffc04eb0:	48 00 0e 6d 	bl      ffc05d1c <rtems_disk_delete>           
                                                                      
  /* 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) {                                       
ffc04eb4:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
    /* Get the device identifier */                                   
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Delete logical disk */                                         
    sc = rtems_disk_delete( logical_disk);                            
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc04eb8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc04ebc:	41 82 ff e4 	beq+    ffc04ea0 <rtems_bdpart_unregister+0x8c><== ALWAYS TAKEN
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04ec0:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
                                                                      
    /* Get the device identifier */                                   
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Delete logical disk */                                         
    sc = rtems_disk_delete( logical_disk);                            
ffc04ec4:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04ec8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc04ecc:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc04ed0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04ed4:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc04ed8:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc04edc:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc04ee0:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc04ee4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04fcc <rtems_bdpart_write>: const char *disk_name, const rtems_bdpart_format *format, const rtems_bdpart_partition *pt, size_t count ) {
ffc04fcc:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc04fd0:	7c 08 02 a6 	mflr    r0                                     
ffc04fd4:	93 a1 00 44 	stw     r29,68(r1)                             
  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;                                 
ffc04fd8:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *disk_name,                                              
  const rtems_bdpart_format *format,                                  
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
ffc04fdc:	93 c1 00 48 	stw     r30,72(r1)                             
ffc04fe0:	7c de 33 78 	mr      r30,r6                                 
ffc04fe4:	90 01 00 54 	stw     r0,84(r1)                              
ffc04fe8:	92 c1 00 28 	stw     r22,40(r1)                             
ffc04fec:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc04ff0:	93 01 00 30 	stw     r24,48(r1)                             
ffc04ff4:	93 21 00 34 	stw     r25,52(r1)                             
ffc04ff8:	93 41 00 38 	stw     r26,56(r1)                             
ffc04ffc:	93 61 00 3c 	stw     r27,60(r1)                             
ffc05000:	93 81 00 40 	stw     r28,64(r1)                             
ffc05004:	93 e1 00 4c 	stw     r31,76(r1)                             
  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;                                 
ffc05008:	41 82 00 50 	beq-    ffc05058 <rtems_bdpart_write+0x8c>     <== NEVER TAKEN
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
ffc0500c:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc05010:	7c bc 2b 78 	mr      r28,r5                                 
ffc05014:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05018:	40 9e 00 10 	bne-    cr7,ffc05028 <rtems_bdpart_write+0x5c> <== NEVER TAKEN
    && format->mbr.dos_compatibility;                                 
ffc0501c:	89 5d 00 08 	lbz     r10,8(r29)                             
ffc05020:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc05024:	40 9e 00 80 	bne-    cr7,ffc050a4 <rtems_bdpart_write+0xd8> <== ALWAYS TAKEN
  uint8_t *data = NULL;                                               
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
ffc05028:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== 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;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
ffc0502c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  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;                                                        
ffc05030:	39 40 ff ff 	li      r10,-1                                 <== 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;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
ffc05034:	91 21 00 14 	stw     r9,20(r1)                              <== NOT EXECUTED
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
ffc05038:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_blkdev_bnum disk_end = 0;                                     
ffc0503c:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
  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;                                                        
ffc05040:	91 41 00 0c 	stw     r10,12(r1)                             <== NOT EXECUTED
  rtems_disk_device *dd = NULL;                                       
ffc05044:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
ffc05048:	41 9e 00 20 	beq-    cr7,ffc05068 <rtems_bdpart_write+0x9c> <== NOT EXECUTED
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
ffc0504c:	3b 40 00 00 	li      r26,0                                  <== 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 =                                    
ffc05050:	3b 60 00 01 	li      r27,1                                  <== NOT EXECUTED
ffc05054:	48 00 00 78 	b       ffc050cc <rtems_bdpart_write+0x100>    <== NOT EXECUTED
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL) {                                 
    return RTEMS_INVALID_ADDRESS;                                     
ffc05058:	33 e6 ff ff 	addic   r31,r6,-1                              <== NOT EXECUTED
ffc0505c:	7f ff f9 10 	subfe   r31,r31,r31                            <== NOT EXECUTED
ffc05060:	57 ff 07 76 	rlwinm  r31,r31,0,29,27                        <== NOT EXECUTED
ffc05064:	3b ff 00 09 	addi    r31,r31,9                              <== NOT EXECUTED
  if (block != NULL) {                                                
    rtems_bdbuf_sync( block);                                         
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
ffc05068:	80 01 00 54 	lwz     r0,84(r1)                              <== NOT EXECUTED
ffc0506c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc05070:	82 c1 00 28 	lwz     r22,40(r1)                             <== NOT EXECUTED
ffc05074:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05078:	82 e1 00 2c 	lwz     r23,44(r1)                             <== NOT EXECUTED
ffc0507c:	83 01 00 30 	lwz     r24,48(r1)                             <== NOT EXECUTED
ffc05080:	83 21 00 34 	lwz     r25,52(r1)                             <== NOT EXECUTED
ffc05084:	83 41 00 38 	lwz     r26,56(r1)                             <== NOT EXECUTED
ffc05088:	83 61 00 3c 	lwz     r27,60(r1)                             <== NOT EXECUTED
ffc0508c:	83 81 00 40 	lwz     r28,64(r1)                             <== NOT EXECUTED
ffc05090:	83 a1 00 44 	lwz     r29,68(r1)                             <== NOT EXECUTED
ffc05094:	83 c1 00 48 	lwz     r30,72(r1)                             <== NOT EXECUTED
ffc05098:	83 e1 00 4c 	lwz     r31,76(r1)                             <== NOT EXECUTED
ffc0509c:	38 21 00 50 	addi    r1,r1,80                               <== NOT EXECUTED
ffc050a0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  uint8_t *data = NULL;                                               
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
ffc050a4:	2f 86 00 00 	cmpwi   cr7,r6,0                               
  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;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
ffc050a8:	91 21 00 14 	stw     r9,20(r1)                              
  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;                                                        
ffc050ac:	39 40 ff ff 	li      r10,-1                                 
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
ffc050b0:	3b e0 00 00 	li      r31,0                                  
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_blkdev_bnum disk_end = 0;                                     
ffc050b4:	91 21 00 10 	stw     r9,16(r1)                              
  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;                                                        
ffc050b8:	91 41 00 0c 	stw     r10,12(r1)                             
  rtems_disk_device *dd = NULL;                                       
ffc050bc:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
ffc050c0:	41 be ff a8 	beq-    cr7,ffc05068 <rtems_bdpart_write+0x9c> <== NEVER TAKEN
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
ffc050c4:	3b 40 00 01 	li      r26,1                                  
    && 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 =                                    
ffc050c8:	3b 60 00 3f 	li      r27,63                                 
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL) {                                 
ffc050cc:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc050d0:	3b e0 00 09 	li      r31,9                                  
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL) {                                 
ffc050d4:	41 be ff 94 	beq-    cr7,ffc05068 <rtems_bdpart_write+0x9c> <== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
ffc050d8:	38 81 00 0c 	addi    r4,r1,12                               
ffc050dc:	38 a1 00 08 	addi    r5,r1,8                                
ffc050e0:	38 c1 00 10 	addi    r6,r1,16                               
ffc050e4:	4b ff f7 59 	bl      ffc0483c <rtems_bdpart_get_disk_data>  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc050e8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc050ec:	40 a2 ff 7c 	bne-    ffc05068 <rtems_bdpart_write+0x9c>     <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
ffc050f0:	2c 9a 00 00 	cmpwi   cr1,r26,0                              
    disk_end -= (disk_end % record_space);                            
ffc050f4:	80 61 00 10 	lwz     r3,16(r1)                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
ffc050f8:	41 86 00 10 	beq-    cr1,ffc05108 <rtems_bdpart_write+0x13c><== NEVER TAKEN
    disk_end -= (disk_end % record_space);                            
ffc050fc:	7c 63 db 96 	divwu   r3,r3,r27                              
ffc05100:	7c 63 d9 d6 	mullw   r3,r3,r27                              
ffc05104:	90 61 00 10 	stw     r3,16(r1)                              
  /* 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) {                  
ffc05108:	80 dc 00 00 	lwz     r6,0(r28)                              
ffc0510c:	7f 86 18 40 	cmplw   cr7,r6,r3                              
ffc05110:	40 9c 00 74 	bge-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
ffc05114:	81 3c 00 04 	lwz     r9,4(r28)                              
ffc05118:	7f 89 18 40 	cmplw   cr7,r9,r3                              
ffc0511c:	41 9d 00 68 	bgt-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
ffc05120:	7f 86 48 40 	cmplw   cr7,r6,r9                              
ffc05124:	40 9c 00 60 	bge-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
ffc05128:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
  }                                                                   
                                                                      
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
ffc0512c:	7f c9 03 a6 	mtctr   r30                                    
ffc05130:	7f 9a e3 78 	mr      r26,r28                                
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
ffc05134:	7f 89 e3 78 	mr      r9,r28                                 
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
  }                                                                   
                                                                      
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
ffc05138:	39 00 00 00 	li      r8,0                                   
ffc0513c:	41 9e 03 f8 	beq-    cr7,ffc05534 <rtems_bdpart_write+0x568><== NEVER TAKEN
ffc05140:	39 08 00 01 	addi    r8,r8,1                                
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that partitions do not overlap */                        
    if (i > 0 && pt [i - 1].end > p->begin) {                         
ffc05144:	2f 08 00 00 	cmpwi   cr6,r8,0                               
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
  }                                                                   
                                                                      
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
ffc05148:	42 40 00 9c 	bdz-    ffc051e4 <rtems_bdpart_write+0x218>    
    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) {                  
ffc0514c:	81 49 00 30 	lwz     r10,48(r9)                             
ffc05150:	7f 8a 18 40 	cmplw   cr7,r10,r3                             
ffc05154:	40 9c 00 30 	bge-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
ffc05158:	80 e9 00 34 	lwz     r7,52(r9)                              
ffc0515c:	7f 87 18 40 	cmplw   cr7,r7,r3                              
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
ffc05160:	7c 0a 38 40 	cmplw   r10,r7                                 
  /* 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) {                  
ffc05164:	41 9d 00 20 	bgt-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
ffc05168:	40 80 00 1c 	bge-    ffc05184 <rtems_bdpart_write+0x1b8>    <== NEVER TAKEN
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that partitions do not overlap */                        
    if (i > 0 && pt [i - 1].end > p->begin) {                         
ffc0516c:	41 9a 00 10 	beq-    cr6,ffc0517c <rtems_bdpart_write+0x1b0><== NEVER TAKEN
ffc05170:	80 e9 00 04 	lwz     r7,4(r9)                               
ffc05174:	7f 8a 38 40 	cmplw   cr7,r10,r7                             
ffc05178:	41 9c 00 0c 	blt-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
ffc0517c:	39 29 00 30 	addi    r9,r9,48                               
ffc05180:	4b ff ff c0 	b       ffc05140 <rtems_bdpart_write+0x174>    
  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;                                     
ffc05184:	3b e0 00 0a 	li      r31,10                                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  if (fd >= 0) {                                                      
ffc05188:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0518c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05190:	41 9c 00 08 	blt-    cr7,ffc05198 <rtems_bdpart_write+0x1cc><== NEVER TAKEN
    close( fd);                                                       
ffc05194:	48 00 27 a9 	bl      ffc0793c <close>                       
  }                                                                   
                                                                      
  if (block != NULL) {                                                
ffc05198:	80 61 00 14 	lwz     r3,20(r1)                              
ffc0519c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc051a0:	41 be fe c8 	beq-    cr7,ffc05068 <rtems_bdpart_write+0x9c> <== NEVER TAKEN
    rtems_bdbuf_sync( block);                                         
ffc051a4:	48 00 ef e1 	bl      ffc14184 <rtems_bdbuf_sync>            
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
ffc051a8:	80 01 00 54 	lwz     r0,84(r1)                              
ffc051ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc051b0:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc051b4:	7c 08 03 a6 	mtlr    r0                                     
ffc051b8:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc051bc:	83 01 00 30 	lwz     r24,48(r1)                             
ffc051c0:	83 21 00 34 	lwz     r25,52(r1)                             
ffc051c4:	83 41 00 38 	lwz     r26,56(r1)                             
ffc051c8:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc051cc:	83 81 00 40 	lwz     r28,64(r1)                             
ffc051d0:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc051d4:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc051d8:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc051dc:	38 21 00 50 	addi    r1,r1,80                               
ffc051e0:	4e 80 00 20 	blr                                            
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check format */                                                  
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
ffc051e4:	81 3d 00 00 	lwz     r9,0(r29)                              
    esc = RTEMS_NOT_IMPLEMENTED;                                      
ffc051e8:	3b e0 00 18 	li      r31,24                                 
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check format */                                                  
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
ffc051ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc051f0:	40 be ff 98 	bne-    cr7,ffc05188 <rtems_bdpart_write+0x1bc><== NEVER TAKEN
   * 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;                                       
ffc051f4:	2b 9e 00 04 	cmplwi  cr7,r30,4                              
ffc051f8:	7f d8 f3 78 	mr      r24,r30                                
ffc051fc:	40 9d 00 08 	ble-    cr7,ffc05204 <rtems_bdpart_write+0x238><== NEVER TAKEN
ffc05200:	3b 00 00 03 	li      r24,3                                  
                                                                      
  /*                                                                  
   * 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) {
ffc05204:	41 86 00 10 	beq-    cr1,ffc05214 <rtems_bdpart_write+0x248><== NEVER TAKEN
ffc05208:	2f 86 00 3f 	cmpwi   cr7,r6,63                              
    esc = RTEMS_INVALID_NUMBER;                                       
ffc0520c:	3b e0 00 0a 	li      r31,10                                 
                                                                      
  /*                                                                  
   * 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) {
ffc05210:	40 9e ff 78 	bne+    cr7,ffc05188 <rtems_bdpart_write+0x1bc><== NEVER TAKEN
   * 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) {                                     
ffc05214:	7f 98 f0 40 	cmplw   cr7,r24,r30                            
ffc05218:	40 9c 00 64 	bge-    cr7,ffc0527c <rtems_bdpart_write+0x2b0><== NEVER TAKEN
    if ((pt [i].begin - pt [i - 1].end) < record_space) {             
ffc0521c:	39 38 ff ff 	addi    r9,r24,-1                              
ffc05220:	1d 29 00 30 	mulli   r9,r9,48                               
ffc05224:	1c d8 00 30 	mulli   r6,r24,48                              
ffc05228:	7d 3c 4a 14 	add     r9,r28,r9                              
ffc0522c:	7d 1c 30 2e 	lwzx    r8,r28,r6                              
ffc05230:	81 49 00 04 	lwz     r10,4(r9)                              
ffc05234:	7d 3c 32 14 	add     r9,r28,r6                              
ffc05238:	7d 4a 40 50 	subf    r10,r10,r8                             
ffc0523c:	7f 9b 50 40 	cmplw   cr7,r27,r10                            
ffc05240:	41 bd ff 44 	bgt-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
ffc05244:	39 58 00 01 	addi    r10,r24,1                              
ffc05248:	7f 8a f0 40 	cmplw   cr7,r10,r30                            
ffc0524c:	7c 98 f0 50 	subf    r4,r24,r30                             
ffc05250:	7c 89 03 a6 	mtctr   r4                                     
ffc05254:	40 bd 00 20 	ble+    cr7,ffc05274 <rtems_bdpart_write+0x2a8><== ALWAYS TAKEN
ffc05258:	48 00 02 d0 	b       ffc05528 <rtems_bdpart_write+0x55c>    <== NOT EXECUTED
ffc0525c:	81 0a 00 30 	lwz     r8,48(r10)                             
ffc05260:	39 29 00 30 	addi    r9,r9,48                               
ffc05264:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc05268:	7d 4a 40 50 	subf    r10,r10,r8                             
ffc0526c:	7f 8a d8 40 	cmplw   cr7,r10,r27                            
ffc05270:	41 bc ff 14 	blt-    cr7,ffc05184 <rtems_bdpart_write+0x1b8><== NEVER TAKEN
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05274:	7d 2a 4b 78 	mr      r10,r9                                 
   * 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) {                                     
ffc05278:	42 00 ff e4 	bdnz+   ffc0525c <rtems_bdpart_write+0x290>    
ffc0527c:	7f 99 e3 78 	mr      r25,r28                                
ffc05280:	3b e0 00 00 	li      r31,0                                  
ffc05284:	3a e1 00 18 	addi    r23,r1,24                              
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
    uint8_t type = 0;                                                 
ffc05288:	3a c0 00 00 	li      r22,0                                  
ffc0528c:	48 00 00 24 	b       ffc052b0 <rtems_bdpart_write+0x2e4>    
      esc =  RTEMS_INVALID_ID;                                        
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check flags */                                                 
    if (p->flags > 0xffU) {                                           
ffc05290:	81 39 00 28 	lwz     r9,40(r25)                             
ffc05294:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05298:	40 9e 00 38 	bne-    cr7,ffc052d0 <rtems_bdpart_write+0x304><== NEVER TAKEN
ffc0529c:	81 39 00 2c 	lwz     r9,44(r25)                             
ffc052a0:	3b 39 00 30 	addi    r25,r25,48                             
ffc052a4:	2b 89 00 ff 	cmplwi  cr7,r9,255                             
ffc052a8:	41 9d 00 28 	bgt-    cr7,ffc052d0 <rtems_bdpart_write+0x304><== NEVER TAKEN
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
ffc052ac:	40 99 00 2c 	ble-    cr6,ffc052d8 <rtems_bdpart_write+0x30c>
    uint8_t type = 0;                                                 
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
ffc052b0:	38 79 00 08 	addi    r3,r25,8                               
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
    uint8_t type = 0;                                                 
ffc052b4:	9a c1 00 18 	stb     r22,24(r1)                             
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
ffc052b8:	7e e4 bb 78 	mr      r4,r23                                 
ffc052bc:	4b ff f5 3d 	bl      ffc047f8 <rtems_bdpart_to_mbr_partition_type>
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
ffc052c0:	3b ff 00 01 	addi    r31,r31,1                              
    uint8_t type = 0;                                                 
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
ffc052c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
ffc052c8:	7f 1e f8 40 	cmplw   cr6,r30,r31                            
    uint8_t type = 0;                                                 
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
ffc052cc:	40 9e ff c4 	bne+    cr7,ffc05290 <rtems_bdpart_write+0x2c4><== ALWAYS TAKEN
ffc052d0:	3b e0 00 04 	li      r31,4                                  <== NOT EXECUTED
ffc052d4:	4b ff fe b4 	b       ffc05188 <rtems_bdpart_write+0x1bc>    <== NOT EXECUTED
    /* Check ID */                                                    
    /* TODO */                                                        
  }                                                                   
                                                                      
  /* New MBR */                                                       
  sc = rtems_bdpart_new_record( dd, 0, &block);                       
ffc052d8:	80 61 00 08 	lwz     r3,8(r1)                               
ffc052dc:	38 80 00 00 	li      r4,0                                   
ffc052e0:	38 a1 00 14 	addi    r5,r1,20                               
ffc052e4:	4b ff fc 05 	bl      ffc04ee8 <rtems_bdpart_new_record>     
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc052e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc052ec:	7c 7f 1b 78 	mr      r31,r3                                 
ffc052f0:	40 be fe 98 	bne-    cr7,ffc05188 <rtems_bdpart_write+0x1bc><== NEVER TAKEN
  }                                                                   
                                                                      
  /* Write disk ID */                                                 
  rtems_uint32_to_little_endian(                                      
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
ffc052f4:	81 41 00 14 	lwz     r10,20(r1)                             
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc052f8:	38 c0 00 04 	li      r6,4                                   
ffc052fc:	7c c9 03 a6 	mtctr   r6                                     
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Write disk ID */                                                 
  rtems_uint32_to_little_endian(                                      
ffc05300:	81 3d 00 04 	lwz     r9,4(r29)                              
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
ffc05304:	81 4a 00 1c 	lwz     r10,28(r10)                            
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05308:	39 4a 01 b7 	addi    r10,r10,439                            
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;                                       
ffc0530c:	9d 2a 00 01 	stbu    r9,1(r10)                              
    value >>= 8;                                                      
ffc05310:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc05314:	42 00 ff f8 	bdnz+   ffc0530c <rtems_bdpart_write+0x340>    
    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) {                                         
ffc05318:	2f 98 00 00 	cmpwi   cr7,r24,0                              
    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;             
ffc0531c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc05320:	38 c0 00 00 	li      r6,0                                   
ffc05324:	80 e9 00 1c 	lwz     r7,28(r9)                              
ffc05328:	38 67 01 be 	addi    r3,r7,446                              
  for (i = 0; i < ppc; ++i) {                                         
ffc0532c:	41 9e 00 80 	beq-    cr7,ffc053ac <rtems_bdpart_write+0x3e0><== NEVER TAKEN
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05330:	1c d8 00 30 	mulli   r6,r24,48                              
ffc05334:	38 e7 01 c9 	addi    r7,r7,457                              
ffc05338:	7d 7c 32 14 	add     r11,r28,r6                             
ffc0533c:	38 00 00 04 	li      r0,4                                   
                                                                      
    /* Write partition entry */                                       
    rtems_bdpart_write_mbr_partition(                                 
      data,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
ffc05340:	81 3a 00 00 	lwz     r9,0(r26)                              
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05344:	7c 09 03 a6 	mtctr   r0                                     
  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(                                 
ffc05348:	81 5a 00 04 	lwz     r10,4(r26)                             
  if (block != NULL) {                                                
    rtems_bdbuf_sync( block);                                         
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
ffc0534c:	88 9a 00 08 	lbz     r4,8(r26)                              
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05350:	39 07 ff fc 	addi    r8,r7,-4                               
  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(                                 
ffc05354:	88 ba 00 2f 	lbz     r5,47(r26)                             
ffc05358:	7d 49 50 50 	subf    r10,r9,r10                             
    data [i] = (uint8_t) value;                                       
ffc0535c:	9d 28 00 01 	stbu    r9,1(r8)                               
    value >>= 8;                                                      
ffc05360:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc05364:	42 00 ff f8 	bdnz+   ffc0535c <rtems_bdpart_write+0x390>    
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05368:	39 00 00 04 	li      r8,4                                   
ffc0536c:	7d 09 03 a6 	mtctr   r8                                     
ffc05370:	7c e9 3b 78 	mr      r9,r7                                  
    data [i] = (uint8_t) value;                                       
ffc05374:	9d 49 00 01 	stbu    r10,1(r9)                              
    value >>= 8;                                                      
ffc05378:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc0537c:	42 00 ff f8 	bdnz+   ffc05374 <rtems_bdpart_write+0x3a8>    
ffc05380:	3b 5a 00 30 	addi    r26,r26,48                             
  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;                         
ffc05384:	98 87 ff f9 	stb     r4,-7(r7)                              
    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) {                                         
ffc05388:	7f 9a 58 00 	cmpw    cr7,r26,r11                            
)                                                                     
{                                                                     
  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;                         
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
ffc0538c:	98 a7 ff f5 	stb     r5,-11(r7)                             
ffc05390:	38 e7 00 10 	addi    r7,r7,16                               
    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) {                                         
ffc05394:	40 9e ff a8 	bne+    cr7,ffc0533c <rtems_bdpart_write+0x370>
                                                                      
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
  }                                                                   
                                                                      
  /* Write extended partition with logical partitions if necessary */ 
  if (ppc != count) {                                                 
ffc05398:	7f 98 f0 00 	cmpw    cr7,r24,r30                            
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc0539c:	57 09 20 36 	rlwinm  r9,r24,4,0,27                          
ffc053a0:	7c 63 4a 14 	add     r3,r3,r9                               
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc053a4:	3b e0 00 00 	li      r31,0                                  
                                                                      
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
  }                                                                   
                                                                      
  /* Write extended partition with logical partitions if necessary */ 
  if (ppc != count) {                                                 
ffc053a8:	41 be fd e0 	beq-    cr7,ffc05188 <rtems_bdpart_write+0x1bc><== NEVER TAKEN
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc053ac:	38 00 00 04 	li      r0,4                                   
  /* 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;       
ffc053b0:	7f 5c 30 2e 	lwzx    r26,r28,r6                             
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc053b4:	7c 09 03 a6 	mtctr   r0                                     
                                                                      
    /* Begin of extended partition */                                 
    rtems_blkdev_bnum ep_begin = pt [ppc].begin - record_space;       
                                                                      
    /* Write extended partition */                                    
    rtems_bdpart_write_mbr_partition(                                 
ffc053b8:	81 21 00 10 	lwz     r9,16(r1)                              
  /* 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;       
ffc053bc:	7f 5b d0 50 	subf    r26,r27,r26                            
ffc053c0:	7f bc 32 14 	add     r29,r28,r6                             
                                                                      
    /* Write extended partition */                                    
    rtems_bdpart_write_mbr_partition(                                 
ffc053c4:	7d 3a 48 50 	subf    r9,r26,r9                              
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc053c8:	39 03 00 07 	addi    r8,r3,7                                
ffc053cc:	38 e3 00 0b 	addi    r7,r3,11                               
ffc053d0:	7f 4a d3 78 	mr      r10,r26                                
    data [i] = (uint8_t) value;                                       
ffc053d4:	9d 48 00 01 	stbu    r10,1(r8)                              
    value >>= 8;                                                      
ffc053d8:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc053dc:	42 00 ff f8 	bdnz+   ffc053d4 <rtems_bdpart_write+0x408>    
ffc053e0:	38 80 00 04 	li      r4,4                                   
ffc053e4:	7c 89 03 a6 	mtctr   r4                                     
ffc053e8:	7c ea 3b 78 	mr      r10,r7                                 
    data [i] = (uint8_t) value;                                       
ffc053ec:	9d 2a 00 01 	stbu    r9,1(r10)                              
    value >>= 8;                                                      
ffc053f0:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc053f4:	42 00 ff f8 	bdnz+   ffc053ec <rtems_bdpart_write+0x420>    
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
ffc053f8:	7f 98 f0 40 	cmplw   cr7,r24,r30                            
  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;                         
ffc053fc:	39 20 00 05 	li      r9,5                                   
ffc05400:	99 23 00 04 	stb     r9,4(r3)                               
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
ffc05404:	39 20 00 00 	li      r9,0                                   
ffc05408:	99 23 00 00 	stb     r9,0(r3)                               
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
ffc0540c:	40 9c 01 14 	bge-    cr7,ffc05520 <rtems_bdpart_write+0x554><== NEVER TAKEN
ffc05410:	3b 38 00 01 	addi    r25,r24,1                              
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
ffc05414:	1d 39 00 30 	mulli   r9,r25,48                              
    data [i] = (uint8_t) value;                                       
ffc05418:	3a c0 00 00 	li      r22,0                                  
ffc0541c:	7f 9c 4a 14 	add     r28,r28,r9                             
  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;                         
ffc05420:	3a e0 00 05 	li      r23,5                                  
          0                                                           
        );                                                            
      }                                                               
                                                                      
      /* New EBR */                                                   
      ebr = p->begin - record_space;                                  
ffc05424:	80 9d 00 00 	lwz     r4,0(r29)                              
      sc = rtems_bdpart_new_record( dd, ebr, &block);                 
ffc05428:	38 a1 00 14 	addi    r5,r1,20                               
ffc0542c:	80 61 00 08 	lwz     r3,8(r1)                               
ffc05430:	7c 9b 20 50 	subf    r4,r27,r4                              
ffc05434:	4b ff fa b5 	bl      ffc04ee8 <rtems_bdpart_new_record>     
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc05438:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0543c:	40 82 00 dc 	bne-    ffc05518 <rtems_bdpart_write+0x54c>    <== NEVER TAKEN
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
        block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0,              
ffc05440:	81 21 00 14 	lwz     r9,20(r1)                              
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc05444:	38 00 00 04 	li      r0,4                                   
ffc05448:	7c 09 03 a6 	mtctr   r0                                     
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
ffc0544c:	81 5d 00 04 	lwz     r10,4(r29)                             
        block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0,              
ffc05450:	81 09 00 1c 	lwz     r8,28(r9)                              
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
ffc05454:	81 3d 00 00 	lwz     r9,0(r29)                              
  if (block != NULL) {                                                
    rtems_bdbuf_sync( block);                                         
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
ffc05458:	88 bd 00 08 	lbz     r5,8(r29)                              
  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);
ffc0545c:	38 e8 01 ca 	addi    r7,r8,458                              
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
ffc05460:	88 dd 00 2f 	lbz     r6,47(r29)                             
ffc05464:	7d 49 50 50 	subf    r10,r9,r10                             
    data [i] = (uint8_t) value;                                       
ffc05468:	9b 68 01 c6 	stb     r27,454(r8)                            
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc0546c:	39 20 00 00 	li      r9,0                                   
    data [i] = (uint8_t) value;                                       
ffc05470:	98 68 01 c7 	stb     r3,455(r8)                             
ffc05474:	9a c8 01 c8 	stb     r22,456(r8)                            
ffc05478:	9a c8 01 c9 	stb     r22,457(r8)                            
ffc0547c:	7d 47 49 ae 	stbx    r10,r7,r9                              
    value >>= 8;                                                      
ffc05480:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc05484:	39 29 00 01 	addi    r9,r9,1                                
ffc05488:	42 00 ff f4 	bdnz+   ffc0547c <rtems_bdpart_write+0x4b0>    
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
ffc0548c:	7f 99 f0 00 	cmpw    cr7,r25,r30                            
  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;                         
ffc05490:	98 a8 01 c2 	stb     r5,450(r8)                             
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
ffc05494:	98 c8 01 be 	stb     r6,446(r8)                             
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
ffc05498:	41 9e 00 88 	beq-    cr7,ffc05520 <rtems_bdpart_write+0x554>
      const rtems_bdpart_partition *p = pt + i;                       
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
ffc0549c:	7f 99 c0 40 	cmplw   cr7,r25,r24                            
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
      const rtems_bdpart_partition *p = pt + i;                       
ffc054a0:	7f 9d e3 78 	mr      r29,r28                                
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
ffc054a4:	40 9d 00 68 	ble-    cr7,ffc0550c <rtems_bdpart_write+0x540><== NEVER TAKEN
        rtems_blkdev_bnum begin = p->begin - record_space;            
                                                                      
        rtems_bdpart_write_mbr_partition(                             
          block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1,            
ffc054a8:	81 41 00 14 	lwz     r10,20(r1)                             
ffc054ac:	38 a0 00 04 	li      r5,4                                   
    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;            
ffc054b0:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc054b4:	7c a9 03 a6 	mtctr   r5                                     
                                                                      
        rtems_bdpart_write_mbr_partition(                             
          block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1,            
ffc054b8:	80 ea 00 1c 	lwz     r7,28(r10)                             
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
                                                                      
        rtems_bdpart_write_mbr_partition(                             
ffc054bc:	81 41 00 10 	lwz     r10,16(r1)                             
    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;            
ffc054c0:	7d 3b 48 50 	subf    r9,r27,r9                              
                                                                      
        rtems_bdpart_write_mbr_partition(                             
ffc054c4:	7d 1a 48 50 	subf    r8,r26,r9                              
ffc054c8:	7d 49 50 50 	subf    r10,r9,r10                             
  uint32_t size,                                                      
  uint8_t type,                                                       
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
ffc054cc:	38 c7 01 d6 	addi    r6,r7,470                              
ffc054d0:	39 20 00 00 	li      r9,0                                   
    data [i] = (uint8_t) value;                                       
ffc054d4:	7d 06 49 ae 	stbx    r8,r6,r9                               
    value >>= 8;                                                      
ffc054d8:	55 08 c2 3e 	rlwinm  r8,r8,24,8,31                          
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc054dc:	39 29 00 01 	addi    r9,r9,1                                
ffc054e0:	42 00 ff f4 	bdnz+   ffc054d4 <rtems_bdpart_write+0x508>    
ffc054e4:	38 c0 00 04 	li      r6,4                                   
ffc054e8:	7c c9 03 a6 	mtctr   r6                                     
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
ffc054ec:	39 07 01 da 	addi    r8,r7,474                              
ffc054f0:	39 20 00 00 	li      r9,0                                   
    data [i] = (uint8_t) value;                                       
ffc054f4:	7d 48 49 ae 	stbx    r10,r8,r9                              
    value >>= 8;                                                      
ffc054f8:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
ffc054fc:	39 29 00 01 	addi    r9,r9,1                                
ffc05500:	42 00 ff f4 	bdnz+   ffc054f4 <rtems_bdpart_write+0x528>    
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
ffc05504:	9a e7 01 d2 	stb     r23,466(r7)                            
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
ffc05508:	9a c7 01 ce 	stb     r22,462(r7)                            
ffc0550c:	3b 39 00 01 	addi    r25,r25,1                              
ffc05510:	3b 9c 00 30 	addi    r28,r28,48                             
ffc05514:	4b ff ff 10 	b       ffc05424 <rtems_bdpart_write+0x458>    
      }                                                               
                                                                      
      /* New EBR */                                                   
      ebr = p->begin - record_space;                                  
      sc = rtems_bdpart_new_record( dd, ebr, &block);                 
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc05518:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc0551c:	4b ff fc 6c 	b       ffc05188 <rtems_bdpart_write+0x1bc>    <== NOT EXECUTED
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
ffc05520:	3b e0 00 00 	li      r31,0                                  
ffc05524:	4b ff fc 64 	b       ffc05188 <rtems_bdpart_write+0x1bc>    
ffc05528:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0552c:	7c a9 03 a6 	mtctr   r5                                     <== NOT EXECUTED
ffc05530:	4b ff fd 44 	b       ffc05274 <rtems_bdpart_write+0x2a8>    <== NOT EXECUTED
ffc05534:	38 00 00 01 	li      r0,1                                   <== NOT EXECUTED
ffc05538:	7c 09 03 a6 	mtctr   r0                                     <== NOT EXECUTED
ffc0553c:	4b ff fc 04 	b       ffc05140 <rtems_bdpart_write+0x174>    <== NOT EXECUTED
                                                                      

ffc04cac <rtems_blkdev_create_partition>: const char *partition, const char *parent_block_device, rtems_blkdev_bnum media_block_begin, rtems_blkdev_bnum media_block_count ) {
ffc04cac:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc04cb0:	7c 08 02 a6 	mflr    r0                                     
ffc04cb4:	93 61 00 5c 	stw     r27,92(r1)                             
ffc04cb8:	7c 7b 1b 78 	mr      r27,r3                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int fd = open(parent_block_device, O_RDWR);                         
ffc04cbc:	7c 83 23 78 	mr      r3,r4                                  
ffc04cc0:	38 80 00 02 	li      r4,2                                   
  const char *partition,                                              
  const char *parent_block_device,                                    
  rtems_blkdev_bnum media_block_begin,                                
  rtems_blkdev_bnum media_block_count                                 
)                                                                     
{                                                                     
ffc04cc4:	93 81 00 60 	stw     r28,96(r1)                             
ffc04cc8:	7c bc 2b 78 	mr      r28,r5                                 
ffc04ccc:	93 a1 00 64 	stw     r29,100(r1)                            
ffc04cd0:	7c dd 33 78 	mr      r29,r6                                 
ffc04cd4:	93 c1 00 68 	stw     r30,104(r1)                            
ffc04cd8:	93 e1 00 6c 	stw     r31,108(r1)                            
                                                                      
    if (sc != RTEMS_SUCCESSFUL) {                                     
      close(fd);                                                      
    }                                                                 
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
ffc04cdc:	3b e0 00 04 	li      r31,4                                  
  const char *partition,                                              
  const char *parent_block_device,                                    
  rtems_blkdev_bnum media_block_begin,                                
  rtems_blkdev_bnum media_block_count                                 
)                                                                     
{                                                                     
ffc04ce0:	90 01 00 74 	stw     r0,116(r1)                             
ffc04ce4:	93 41 00 58 	stw     r26,88(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int fd = open(parent_block_device, O_RDWR);                         
ffc04ce8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04cec:	48 00 2f dd 	bl      ffc07cc8 <open>                        
                                                                      
  if (fd >= 0) {                                                      
ffc04cf0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc04cf4:	40 80 00 30 	bge-    ffc04d24 <rtems_blkdev_create_partition+0x78>
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04cf8:	80 01 00 74 	lwz     r0,116(r1)                             
ffc04cfc:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d00:	83 41 00 58 	lwz     r26,88(r1)                             
ffc04d04:	7c 08 03 a6 	mtlr    r0                                     
ffc04d08:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc04d0c:	83 81 00 60 	lwz     r28,96(r1)                             
ffc04d10:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc04d14:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc04d18:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc04d1c:	38 21 00 70 	addi    r1,r1,112                              
ffc04d20:	4e 80 00 20 	blr                                            
                                                                      
  if (fd >= 0) {                                                      
    int rv;                                                           
    struct stat st;                                                   
                                                                      
    rv = fstat(fd, &st);                                              
ffc04d24:	38 81 00 08 	addi    r4,r1,8                                
ffc04d28:	48 00 1f 09 	bl      ffc06c30 <fstat>                       
    if (rv == 0 && S_ISBLK(st.st_mode)) {                             
ffc04d2c:	3b e0 00 15 	li      r31,21                                 
ffc04d30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04d34:	40 9e 00 14 	bne-    cr7,ffc04d48 <rtems_blkdev_create_partition+0x9c><== NEVER TAKEN
ffc04d38:	81 21 00 14 	lwz     r9,20(r1)                              
ffc04d3c:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
ffc04d40:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc04d44:	41 9e 00 38 	beq-    cr7,ffc04d7c <rtems_blkdev_create_partition+0xd0>
    } else {                                                          
      sc = RTEMS_INVALID_NODE;                                        
    }                                                                 
                                                                      
    if (sc != RTEMS_SUCCESSFUL) {                                     
      close(fd);                                                      
ffc04d48:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d4c:	48 00 1d 61 	bl      ffc06aac <close>                       
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04d50:	80 01 00 74 	lwz     r0,116(r1)                             
ffc04d54:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d58:	83 41 00 58 	lwz     r26,88(r1)                             
ffc04d5c:	7c 08 03 a6 	mtlr    r0                                     
ffc04d60:	83 61 00 5c 	lwz     r27,92(r1)                             
ffc04d64:	83 81 00 60 	lwz     r28,96(r1)                             
ffc04d68:	83 a1 00 64 	lwz     r29,100(r1)                            
ffc04d6c:	83 c1 00 68 	lwz     r30,104(r1)                            
ffc04d70:	83 e1 00 6c 	lwz     r31,108(r1)                            
ffc04d74:	38 21 00 70 	addi    r1,r1,112                              
ffc04d78:	4e 80 00 20 	blr                                            
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
ffc04d7c:	3c 80 40 04 	lis     r4,16388                               
ffc04d80:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d84:	60 84 42 09 	ori     r4,r4,16905                            
ffc04d88:	38 a1 00 50 	addi    r5,r1,80                               
ffc04d8c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04d90:	48 00 20 29 	bl      ffc06db8 <ioctl>                       
          }                                                           
        } else {                                                      
          sc = RTEMS_NO_MEMORY;                                       
        }                                                             
      } else {                                                        
        sc = RTEMS_NOT_IMPLEMENTED;                                   
ffc04d94:	3b e0 00 18 	li      r31,24                                 
    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) {                                                  
ffc04d98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04d9c:	40 9e ff ac 	bne+    cr7,ffc04d48 <rtems_blkdev_create_partition+0x9c>
        rtems_blkdev_imfs_context *ctx = malloc(sizeof(*ctx));        
ffc04da0:	38 60 00 80 	li      r3,128                                 
ffc04da4:	48 00 25 39 	bl      ffc072dc <malloc>                      
                                                                      
        if (ctx != NULL) {                                            
ffc04da8:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc04dac:	41 82 00 5c 	beq-    ffc04e08 <rtems_blkdev_create_partition+0x15c>
          sc = rtems_disk_init_log(                                   
ffc04db0:	80 81 00 50 	lwz     r4,80(r1)                              
ffc04db4:	7f 85 e3 78 	mr      r5,r28                                 
ffc04db8:	7f a6 eb 78 	mr      r6,r29                                 
ffc04dbc:	48 00 02 dd 	bl      ffc05098 <rtems_disk_init_log>         
            phys_dd,                                                  
            media_block_begin,                                        
            media_block_count                                         
          );                                                          
                                                                      
          if (sc == RTEMS_SUCCESSFUL) {                               
ffc04dc0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc04dc4:	40 82 00 38 	bne-    ffc04dfc <rtems_blkdev_create_partition+0x150>
            ctx->fd = fd;                                             
ffc04dc8:	93 da 00 78 	stw     r30,120(r26)                           
                                                                      
            rv = IMFS_make_generic_node(                              
ffc04dcc:	3c a0 ff c2 	lis     r5,-62                                 
ffc04dd0:	7f 63 db 78 	mr      r3,r27                                 
ffc04dd4:	38 80 61 ff 	li      r4,25087                               
ffc04dd8:	38 a5 df 74 	addi    r5,r5,-8332                            
ffc04ddc:	7f 46 d3 78 	mr      r6,r26                                 
ffc04de0:	48 00 14 3d 	bl      ffc0621c <IMFS_make_generic_node>      
              S_IFBLK | S_IRWXU | S_IRWXG | S_IRWXO,                  
              &rtems_blkdev_imfs_control,                             
              ctx                                                     
            );                                                        
                                                                      
            if (rv != 0) {                                            
ffc04de4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04de8:	41 9e ff 10 	beq+    cr7,ffc04cf8 <rtems_blkdev_create_partition+0x4c>
              free(ctx);                                              
ffc04dec:	7f 43 d3 78 	mr      r3,r26                                 
ffc04df0:	48 00 1d 55 	bl      ffc06b44 <free>                        
              sc = RTEMS_UNSATISFIED;                                 
ffc04df4:	3b e0 00 0d 	li      r31,13                                 
ffc04df8:	4b ff ff 50 	b       ffc04d48 <rtems_blkdev_create_partition+0x9c>
            }                                                         
          } else {                                                    
            free(ctx);                                                
ffc04dfc:	7f 43 d3 78 	mr      r3,r26                                 
ffc04e00:	48 00 1d 45 	bl      ffc06b44 <free>                        
ffc04e04:	4b ff ff 44 	b       ffc04d48 <rtems_blkdev_create_partition+0x9c>
          }                                                           
        } else {                                                      
          sc = RTEMS_NO_MEMORY;                                       
ffc04e08:	3b e0 00 1a 	li      r31,26                                 
ffc04e0c:	4b ff ff 3c 	b       ffc04d48 <rtems_blkdev_create_partition+0x9c>
                                                                      

ffc12d04 <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) {
ffc12d04:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12d08:	7c 08 02 a6 	mflr    r0                                     
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
ffc12d0c:	3d 20 c0 18 	lis     r9,-16360                              
rtems_device_driver                                                   
rtems_blkdev_generic_ioctl(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12d10:	90 01 00 14 	stw     r0,20(r1)                              
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
ffc12d14:	61 29 42 01 	ori     r9,r9,16897                            
ffc12d18:	80 85 00 04 	lwz     r4,4(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_ioctl(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12d1c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc12d20:	7c bf 2b 78 	mr      r31,r5                                 
    rtems_libio_ioctl_args_t *args = arg;                             
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
ffc12d24:	7f 84 48 00 	cmpw    cr7,r4,r9                              
    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;                               
ffc12d28:	81 25 00 00 	lwz     r9,0(r5)                               
ffc12d2c:	80 69 00 30 	lwz     r3,48(r9)                              
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
ffc12d30:	40 9e 00 24 	bne-    cr7,ffc12d54 <rtems_blkdev_generic_ioctl+0x50><== ALWAYS TAKEN
         */                                                           
        args->ioctl_return = -1;                                      
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12d34:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
    {                                                                 
        /*                                                            
         * It is not allowed to directly access the driver circumventing the
         * cache.                                                     
         */                                                           
        args->ioctl_return = -1;                                      
ffc12d38:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12d3c:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc12d40:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc12d44:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
    {                                                                 
        /*                                                            
         * It is not allowed to directly access the driver circumventing the
         * cache.                                                     
         */                                                           
        args->ioctl_return = -1;                                      
ffc12d48:	91 25 00 0c 	stw     r9,12(r5)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12d4c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc12d50:	4e 80 00 20 	blr                                            <== 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,                            
ffc12d54:	81 23 00 38 	lwz     r9,56(r3)                              
ffc12d58:	80 a5 00 08 	lwz     r5,8(r5)                               
ffc12d5c:	7d 29 03 a6 	mtctr   r9                                     
ffc12d60:	4e 80 04 21 	bctrl                                          
         */                                                           
        args->ioctl_return = -1;                                      
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12d64:	80 01 00 14 	lwz     r0,20(r1)                              
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
    {                                                                 
        args->ioctl_return = dd->ioctl(dd,                            
ffc12d68:	90 7f 00 0c 	stw     r3,12(r31)                             
         */                                                           
        args->ioctl_return = -1;                                      
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc12d6c:	38 60 00 00 	li      r3,0                                   
ffc12d70:	7c 08 03 a6 	mtlr    r0                                     
ffc12d74:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12d78:	38 21 00 10 	addi    r1,r1,16                               
ffc12d7c:	4e 80 00 20 	blr                                            
                                                                      

ffc12994 <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) {
ffc12994:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc12998:	7c 08 02 a6 	mflr    r0                                     
ffc1299c:	90 01 00 3c 	stw     r0,60(r1)                              
    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;                               
ffc129a0:	81 25 00 00 	lwz     r9,0(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc129a4:	93 01 00 18 	stw     r24,24(r1)                             
    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;                               
ffc129a8:	83 09 00 30 	lwz     r24,48(r9)                             
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc129ac:	93 21 00 1c 	stw     r25,28(r1)                             
ffc129b0:	93 c1 00 30 	stw     r30,48(r1)                             
    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;                             
ffc129b4:	83 38 00 24 	lwz     r25,36(r24)                            
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc129b8:	83 c5 00 08 	lwz     r30,8(r5)                              
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc129bc:	93 e1 00 34 	stw     r31,52(r1)                             
    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);
ffc129c0:	7f 26 cb 78 	mr      r6,r25                                 
ffc129c4:	7f c3 f3 78 	mr      r3,r30                                 
ffc129c8:	83 e5 00 0c 	lwz     r31,12(r5)                             
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc129cc:	93 41 00 20 	stw     r26,32(r1)                             
ffc129d0:	7c ba 2b 78 	mr      r26,r5                                 
    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);
ffc129d4:	7f e4 fb 78 	mr      r4,r31                                 
ffc129d8:	38 a0 00 00 	li      r5,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc129dc:	93 61 00 24 	stw     r27,36(r1)                             
ffc129e0:	93 81 00 28 	stw     r28,40(r1)                             
ffc129e4:	93 a1 00 2c 	stw     r29,44(r1)                             
    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);
ffc129e8:	48 00 87 7d 	bl      ffc1b164 <__divdi3>                    
ffc129ec:	7c 9c 23 78 	mr      r28,r4                                 
    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;                                     
ffc129f0:	83 ba 00 14 	lwz     r29,20(r26)                            
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc129f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc129f8:	7f e4 fb 78 	mr      r4,r31                                 
    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;                             
    char *buf = args->buffer;                                         
ffc129fc:	83 7a 00 10 	lwz     r27,16(r26)                            
    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);         
ffc12a00:	38 a0 00 00 	li      r5,0                                   
ffc12a04:	7f 26 cb 78 	mr      r6,r25                                 
ffc12a08:	48 00 8b 81 	bl      ffc1b588 <__moddi3>                    
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc12a0c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    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);         
                                                                      
    args->bytes_moved = 0;                                            
ffc12a10:	39 20 00 00 	li      r9,0                                   
    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);         
ffc12a14:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
    args->bytes_moved = 0;                                            
ffc12a18:	91 3a 00 1c 	stw     r9,28(r26)                             
                                                                      
    while (count > 0)                                                 
ffc12a1c:	40 be 00 54 	bne+    cr7,ffc12a70 <rtems_blkdev_generic_read+0xdc><== ALWAYS TAKEN
ffc12a20:	48 00 00 ac 	b       ffc12acc <rtems_blkdev_generic_read+0x138><== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc12a24:	81 21 00 08 	lwz     r9,8(r1)                               
ffc12a28:	40 9d 00 08 	ble-    cr7,ffc12a30 <rtems_blkdev_generic_read+0x9c><== ALWAYS TAKEN
ffc12a2c:	7f bf eb 78 	mr      r31,r29                                <== NOT EXECUTED
ffc12a30:	80 89 00 1c 	lwz     r4,28(r9)                              
ffc12a34:	7f e5 fb 78 	mr      r5,r31                                 
    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)                                                 
ffc12a38:	7f bf e8 50 	subf    r29,r31,r29                            
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc12a3c:	7c 84 f2 14 	add     r4,r4,r30                              
ffc12a40:	48 00 55 1d 	bl      ffc17f5c <memcpy>                      
        rc = rtems_bdbuf_release(diskbuf);                            
ffc12a44:	80 61 00 08 	lwz     r3,8(r1)                               
        args->bytes_moved += copy;                                    
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
ffc12a48:	7f 7b fa 14 	add     r27,r27,r31                            
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
ffc12a4c:	4b ff f5 ed 	bl      ffc12038 <rtems_bdbuf_release>         
        args->bytes_moved += copy;                                    
ffc12a50:	81 5a 00 1c 	lwz     r10,28(r26)                            
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12a54:	7c 69 1b 79 	mr.     r9,r3                                  
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
        args->bytes_moved += copy;                                    
ffc12a58:	7f ea fa 14 	add     r31,r10,r31                            
    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)                                                 
ffc12a5c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
        args->bytes_moved += copy;                                    
ffc12a60:	93 fa 00 1c 	stw     r31,28(r26)                            
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12a64:	40 82 00 34 	bne-    ffc12a98 <rtems_blkdev_generic_read+0x104><== NEVER TAKEN
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
ffc12a68:	3b c0 00 00 	li      r30,0                                  
    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)                                                 
ffc12a6c:	41 9e 00 60 	beq-    cr7,ffc12acc <rtems_blkdev_generic_read+0x138><== ALWAYS TAKEN
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dd, block, &diskbuf);                   
ffc12a70:	7f 84 e3 78 	mr      r4,r28                                 
ffc12a74:	38 a1 00 08 	addi    r5,r1,8                                
ffc12a78:	7f 03 c3 78 	mr      r3,r24                                 
ffc12a7c:	4b ff f3 7d 	bl      ffc11df8 <rtems_bdbuf_read>            
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
ffc12a80:	7f fe c8 50 	subf    r31,r30,r25                            
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dd, block, &diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12a84:	7c 69 1b 79 	mr.     r9,r3                                  
ffc12a88:	7f 9f e8 40 	cmplw   cr7,r31,r29                            
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
ffc12a8c:	7f 63 db 78 	mr      r3,r27                                 
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
        block++;                                                      
ffc12a90:	3b 9c 00 01 	addi    r28,r28,1                              
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dd, block, &diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12a94:	41 82 ff 90 	beq+    ffc12a24 <rtems_blkdev_generic_read+0x90><== ALWAYS TAKEN
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12a98:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc12a9c:	7d 23 4b 78 	mr      r3,r9                                  <== NOT EXECUTED
ffc12aa0:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc12aa4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc12aa8:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc12aac:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc12ab0:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc12ab4:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc12ab8:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc12abc:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc12ac0:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc12ac4:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc12ac8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc12acc:	80 01 00 3c 	lwz     r0,60(r1)                              
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;                          
ffc12ad0:	39 20 00 00 	li      r9,0                                   
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12ad4:	83 01 00 18 	lwz     r24,24(r1)                             
ffc12ad8:	7d 23 4b 78 	mr      r3,r9                                  
ffc12adc:	7c 08 03 a6 	mtlr    r0                                     
ffc12ae0:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc12ae4:	83 41 00 20 	lwz     r26,32(r1)                             
ffc12ae8:	83 61 00 24 	lwz     r27,36(r1)                             
ffc12aec:	83 81 00 28 	lwz     r28,40(r1)                             
ffc12af0:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc12af4:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc12af8:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc12afc:	38 21 00 38 	addi    r1,r1,56                               
ffc12b00:	4e 80 00 20 	blr                                            
                                                                      

ffc12b04 <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) {
ffc12b04:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc12b08:	7c 08 02 a6 	mflr    r0                                     
ffc12b0c:	90 01 00 44 	stw     r0,68(r1)                              
    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;                               
ffc12b10:	81 25 00 00 	lwz     r9,0(r5)                               
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12b14:	92 e1 00 1c 	stw     r23,28(r1)                             
    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;                               
ffc12b18:	82 e9 00 30 	lwz     r23,48(r9)                             
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12b1c:	93 01 00 20 	stw     r24,32(r1)                             
ffc12b20:	93 c1 00 38 	stw     r30,56(r1)                             
    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;                             
ffc12b24:	83 17 00 24 	lwz     r24,36(r23)                            
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
ffc12b28:	83 c5 00 08 	lwz     r30,8(r5)                              
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12b2c:	93 e1 00 3c 	stw     r31,60(r1)                             
    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);
ffc12b30:	7f 06 c3 78 	mr      r6,r24                                 
ffc12b34:	7f c3 f3 78 	mr      r3,r30                                 
ffc12b38:	83 e5 00 0c 	lwz     r31,12(r5)                             
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12b3c:	93 41 00 28 	stw     r26,40(r1)                             
ffc12b40:	7c ba 2b 78 	mr      r26,r5                                 
    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);
ffc12b44:	7f e4 fb 78 	mr      r4,r31                                 
ffc12b48:	38 a0 00 00 	li      r5,0                                   
rtems_device_driver                                                   
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
ffc12b4c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc12b50:	93 81 00 30 	stw     r28,48(r1)                             
ffc12b54:	93 a1 00 34 	stw     r29,52(r1)                             
ffc12b58:	93 21 00 24 	stw     r25,36(r1)                             
    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);
ffc12b5c:	48 00 86 09 	bl      ffc1b164 <__divdi3>                    
ffc12b60:	7c 9c 23 78 	mr      r28,r4                                 
    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;                                     
ffc12b64:	83 ba 00 14 	lwz     r29,20(r26)                            
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
ffc12b68:	7f c3 f3 78 	mr      r3,r30                                 
ffc12b6c:	7f e4 fb 78 	mr      r4,r31                                 
    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;                             
    char *buf = args->buffer;                                         
ffc12b70:	83 7a 00 10 	lwz     r27,16(r26)                            
    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);         
ffc12b74:	38 a0 00 00 	li      r5,0                                   
ffc12b78:	7f 06 c3 78 	mr      r6,r24                                 
ffc12b7c:	48 00 8a 0d 	bl      ffc1b588 <__moddi3>                    
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
ffc12b80:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    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);         
                                                                      
    args->bytes_moved = 0;                                            
ffc12b84:	39 20 00 00 	li      r9,0                                   
ffc12b88:	91 3a 00 1c 	stw     r9,28(r26)                             
                                                                      
    while (count > 0)                                                 
ffc12b8c:	41 9e 00 d8 	beq-    cr7,ffc12c64 <rtems_blkdev_generic_write+0x160><== NEVER TAKEN
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc12b90:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc12b94:	7c 9e 23 78 	mr      r30,r4                                 
ffc12b98:	3b 21 00 08 	addi    r25,r1,8                               
ffc12b9c:	41 be 00 74 	beq+    cr7,ffc12c10 <rtems_blkdev_generic_write+0x10c><== ALWAYS TAKEN
            rc = rtems_bdbuf_get(dd, block, &diskbuf);                
        else                                                          
            rc = rtems_bdbuf_read(dd, block, &diskbuf);               
ffc12ba0:	7e e3 bb 78 	mr      r3,r23                                 <== NOT EXECUTED
ffc12ba4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc12ba8:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc12bac:	4b ff f2 4d 	bl      ffc11df8 <rtems_bdbuf_read>            <== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12bb0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc12bb4:	40 9e 00 7c 	bne-    cr7,ffc12c30 <rtems_blkdev_generic_write+0x12c><== NOT EXECUTED
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
ffc12bb8:	7f fe c0 50 	subf    r31,r30,r24                            
ffc12bbc:	7f 9f e8 40 	cmplw   cr7,r31,r29                            
ffc12bc0:	40 9d 00 08 	ble-    cr7,ffc12bc8 <rtems_blkdev_generic_write+0xc4><== ALWAYS TAKEN
ffc12bc4:	7f bf eb 78 	mr      r31,r29                                <== NOT EXECUTED
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
ffc12bc8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc12bcc:	7f 64 db 78 	mr      r4,r27                                 
ffc12bd0:	7f e5 fb 78 	mr      r5,r31                                 
ffc12bd4:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc12bd8:	7c 63 f2 14 	add     r3,r3,r30                              
ffc12bdc:	48 00 53 81 	bl      ffc17f5c <memcpy>                      
        args->bytes_moved += copy;                                    
ffc12be0:	81 3a 00 1c 	lwz     r9,28(r26)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc12be4:	80 61 00 08 	lwz     r3,8(r1)                               
                                                                      
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
        args->bytes_moved += copy;                                    
ffc12be8:	7d 29 fa 14 	add     r9,r9,r31                              
ffc12bec:	91 3a 00 1c 	stw     r9,28(r26)                             
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
ffc12bf0:	4b ff f5 35 	bl      ffc12124 <rtems_bdbuf_release_modified>
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12bf4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc12bf8:	40 82 00 38 	bne-    ffc12c30 <rtems_blkdev_generic_write+0x12c><== NEVER TAKEN
    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)                                                 
ffc12bfc:	7f bf e8 51 	subf.   r29,r31,r29                            
        rc = rtems_bdbuf_release_modified(diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
ffc12c00:	7f 7b fa 14 	add     r27,r27,r31                            
        blkofs = 0;                                                   
        block++;                                                      
ffc12c04:	3b 9c 00 01 	addi    r28,r28,1                              
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
ffc12c08:	3b c0 00 00 	li      r30,0                                  
    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)                                                 
ffc12c0c:	41 82 00 58 	beq-    ffc12c64 <rtems_blkdev_generic_write+0x160><== ALWAYS TAKEN
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
ffc12c10:	7f 98 e8 40 	cmplw   cr7,r24,r29                            
ffc12c14:	41 9d ff 8c 	bgt+    cr7,ffc12ba0 <rtems_blkdev_generic_write+0x9c><== NEVER TAKEN
            rc = rtems_bdbuf_get(dd, block, &diskbuf);                
ffc12c18:	7e e3 bb 78 	mr      r3,r23                                 
ffc12c1c:	7f 84 e3 78 	mr      r4,r28                                 
ffc12c20:	7f 25 cb 78 	mr      r5,r25                                 
ffc12c24:	4b ff f0 69 	bl      ffc11c8c <rtems_bdbuf_get>             
        else                                                          
            rc = rtems_bdbuf_read(dd, block, &diskbuf);               
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc12c28:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc12c2c:	41 9e ff 8c 	beq+    cr7,ffc12bb8 <rtems_blkdev_generic_write+0xb4><== ALWAYS TAKEN
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12c30:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc12c34:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc12c38:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc12c3c:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc12c40:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc12c44:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc12c48:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc12c4c:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc12c50:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc12c54:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc12c58:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc12c5c:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc12c60:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc12c64:	80 01 00 44 	lwz     r0,68(r1)                              
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;                          
ffc12c68:	38 60 00 00 	li      r3,0                                   
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12c6c:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc12c70:	7c 08 03 a6 	mtlr    r0                                     
ffc12c74:	83 01 00 20 	lwz     r24,32(r1)                             
ffc12c78:	83 21 00 24 	lwz     r25,36(r1)                             
ffc12c7c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc12c80:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc12c84:	83 81 00 30 	lwz     r28,48(r1)                             
ffc12c88:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc12c8c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc12c90:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc12c94:	38 21 00 40 	addi    r1,r1,64                               
ffc12c98:	4e 80 00 20 	blr                                            
                                                                      

ffc04af0 <rtems_blkdev_imfs_fsync_or_fdatasync>: } static int rtems_blkdev_imfs_fsync_or_fdatasync( rtems_libio_t *iop ) {
ffc04af0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc04af4:	7c 08 02 a6 	mflr    r0                                     
ffc04af8:	90 01 00 0c 	stw     r0,12(r1)                              
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04afc:	81 23 00 1c 	lwz     r9,28(r3)                              
)                                                                     
{                                                                     
  int rv = 0;                                                         
  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);                     
ffc04b00:	80 69 00 50 	lwz     r3,80(r9)                              
ffc04b04:	48 00 e7 b5 	bl      ffc132b8 <rtems_bdbuf_syncdev>         
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04b08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04b0c:	40 9e 00 18 	bne-    cr7,ffc04b24 <rtems_blkdev_imfs_fsync_or_fdatasync+0x34><== NEVER TAKEN
                                                                      
static int rtems_blkdev_imfs_fsync_or_fdatasync(                      
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  int rv = 0;                                                         
ffc04b10:	38 60 00 00 	li      r3,0                                   
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04b14:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04b18:	38 21 00 08 	addi    r1,r1,8                                
ffc04b1c:	7c 08 03 a6 	mtlr    r0                                     
ffc04b20:	4e 80 00 20 	blr                                            
  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;                                                      
ffc04b24:	48 01 30 3d 	bl      ffc17b60 <__errno>                     <== NOT EXECUTED
ffc04b28:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc04b2c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc04b30:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04b34:	4b ff ff e0 	b       ffc04b14 <rtems_blkdev_imfs_fsync_or_fdatasync+0x24><== NOT EXECUTED
                                                                      

ffc04b38 <rtems_blkdev_imfs_ioctl>: void *buffer ) { int rv = 0; if (request != RTEMS_BLKIO_REQUEST) {
ffc04b38:	6c 89 c0 18 	xoris   r9,r4,49176                            
ffc04b3c:	2f 89 42 01 	cmpwi   cr7,r9,16897                           
ffc04b40:	41 9e 00 18 	beq-    cr7,ffc04b58 <rtems_blkdev_imfs_ioctl+0x20><== NEVER TAKEN
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04b44:	81 23 00 1c 	lwz     r9,28(r3)                              
ffc04b48:	80 69 00 50 	lwz     r3,80(r9)                              
                                                                      
  if (request != RTEMS_BLKIO_REQUEST) {                               
    rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
    rtems_disk_device *dd = &ctx->dd;                                 
                                                                      
    rv = (*dd->ioctl)(dd, request, buffer);                           
ffc04b4c:	81 23 00 38 	lwz     r9,56(r3)                              
ffc04b50:	7d 29 03 a6 	mtctr   r9                                     
ffc04b54:	4e 80 04 20 	bctr                                           
static int rtems_blkdev_imfs_ioctl(                                   
  rtems_libio_t *iop,                                                 
  uint32_t request,                                                   
  void *buffer                                                        
)                                                                     
{                                                                     
ffc04b58:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc04b5c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc04b60:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    rv = (*dd->ioctl)(dd, request, buffer);                           
  } else {                                                            
    /*                                                                
     * It is not allowed to directly access the driver circumventing the cache.
     */                                                               
    errno = EINVAL;                                                   
ffc04b64:	48 01 2f fd 	bl      ffc17b60 <__errno>                     <== NOT EXECUTED
ffc04b68:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04b6c:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
    rv = (*dd->ioctl)(dd, request, buffer);                           
  } else {                                                            
    /*                                                                
     * It is not allowed to directly access the driver circumventing the cache.
     */                                                               
    errno = EINVAL;                                                   
ffc04b70:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04b74:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc04b78:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04b7c:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc04b80:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc04878 <rtems_blkdev_imfs_read>: static ssize_t rtems_blkdev_imfs_read( rtems_libio_t *iop, void *buffer, size_t count ) {
ffc04878:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0487c:	7c 08 02 a6 	mflr    r0                                     
ffc04880:	90 01 00 44 	stw     r0,68(r1)                              
ffc04884:	92 e1 00 1c 	stw     r23,28(r1)                             
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc04888:	81 23 00 1c 	lwz     r9,28(r3)                              
static ssize_t rtems_blkdev_imfs_read(                                
  rtems_libio_t *iop,                                                 
  void *buffer,                                                       
  size_t count                                                        
)                                                                     
{                                                                     
ffc0488c:	93 01 00 20 	stw     r24,32(r1)                             
ffc04890:	7c 78 1b 78 	mr      r24,r3                                 
ffc04894:	93 21 00 24 	stw     r25,36(r1)                             
ffc04898:	7c b9 2b 78 	mr      r25,r5                                 
ffc0489c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc048a0:	93 81 00 30 	stw     r28,48(r1)                             
ffc048a4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc048a8:	7c 9d 23 78 	mr      r29,r4                                 
ffc048ac:	93 c1 00 38 	stw     r30,56(r1)                             
ffc048b0:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc048b4:	92 c1 00 18 	stw     r22,24(r1)                             
ffc048b8:	93 41 00 28 	stw     r26,40(r1)                             
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc048bc:	82 c9 00 50 	lwz     r22,80(r9)                             
{                                                                     
  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;                                         
ffc048c0:	83 e3 00 0c 	lwz     r31,12(r3)                             
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
ffc048c4:	82 f6 00 24 	lwz     r23,36(r22)                            
{                                                                     
  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;                                         
ffc048c8:	83 c3 00 08 	lwz     r30,8(r3)                              
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
ffc048cc:	7f e4 fb 78 	mr      r4,r31                                 
ffc048d0:	7e fb fe 70 	srawi   r27,r23,31                             
ffc048d4:	7f 65 db 78 	mr      r5,r27                                 
ffc048d8:	7e e6 bb 78 	mr      r6,r23                                 
ffc048dc:	7f c3 f3 78 	mr      r3,r30                                 
ffc048e0:	48 01 71 2d 	bl      ffc1ba0c <__divdi3>                    
  ssize_t block_offset = (ssize_t) (offset % block_size);             
ffc048e4:	7f c3 f3 78 	mr      r3,r30                                 
  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);
ffc048e8:	7c 9c 23 78 	mr      r28,r4                                 
  ssize_t block_offset = (ssize_t) (offset % block_size);             
ffc048ec:	7f 65 db 78 	mr      r5,r27                                 
ffc048f0:	7f e4 fb 78 	mr      r4,r31                                 
ffc048f4:	7e e6 bb 78 	mr      r6,r23                                 
ffc048f8:	48 01 75 39 	bl      ffc1be30 <__moddi3>                    
  char *dst = buffer;                                                 
                                                                      
  while (remaining > 0) {                                             
ffc048fc:	2c 19 00 00 	cmpwi   r25,0                                  
ffc04900:	40 81 00 b8 	ble-    ffc049b8 <rtems_blkdev_imfs_read+0x140><== NEVER TAKEN
ffc04904:	7c 9b 23 78 	mr      r27,r4                                 
ffc04908:	7f 3e cb 78 	mr      r30,r25                                
    rtems_bdbuf_buffer *bd;                                           
    rtems_status_code sc = rtems_bdbuf_read(dd, block, &bd);          
ffc0490c:	7f 84 e3 78 	mr      r4,r28                                 
ffc04910:	38 a1 00 08 	addi    r5,r1,8                                
ffc04914:	7e c3 b3 78 	mr      r3,r22                                 
ffc04918:	48 00 e4 89 	bl      ffc12da0 <rtems_bdbuf_read>            
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ssize_t copy = block_size - block_offset;                       
ffc0491c:	7f fb b8 50 	subf    r31,r27,r23                            
                                                                      
  while (remaining > 0) {                                             
    rtems_bdbuf_buffer *bd;                                           
    rtems_status_code sc = rtems_bdbuf_read(dd, block, &bd);          
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc04920:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04924:	7f 1f f0 00 	cmpw    cr6,r31,r30                            
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
ffc04928:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  while (remaining > 0) {                                             
    rtems_bdbuf_buffer *bd;                                           
    rtems_status_code sc = rtems_bdbuf_read(dd, block, &bd);          
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc0492c:	41 9e 00 4c 	beq-    cr7,ffc04978 <rtems_blkdev_imfs_read+0x100><== ALWAYS TAKEN
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04930:	48 01 32 31 	bl      ffc17b60 <__errno>                     <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04934:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04938:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0493c:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
ffc04940:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04944:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc04948:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0494c:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc04950:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc04954:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc04958:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc0495c:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc04960:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc04964:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc04968:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc0496c:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc04970:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc04974:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
ffc04978:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0497c:	40 99 00 08 	ble-    cr6,ffc04984 <rtems_blkdev_imfs_read+0x10c>
ffc04980:	7f df f3 78 	mr      r31,r30                                
ffc04984:	80 9a 00 1c 	lwz     r4,28(r26)                             
ffc04988:	7f e5 fb 78 	mr      r5,r31                                 
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
      if (sc == RTEMS_SUCCESSFUL) {                                   
        block_offset = 0;                                             
        remaining -= copy;                                            
        dst += copy;                                                  
ffc0498c:	7f bd fa 14 	add     r29,r29,r31                            
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
ffc04990:	7c 84 da 14 	add     r4,r4,r27                              
ffc04994:	48 01 3d c1 	bl      ffc18754 <memcpy>                      
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
ffc04998:	7f 43 d3 78 	mr      r3,r26                                 
ffc0499c:	48 00 e6 45 	bl      ffc12fe0 <rtems_bdbuf_release>         
      if (sc == RTEMS_SUCCESSFUL) {                                   
        block_offset = 0;                                             
        remaining -= copy;                                            
        dst += copy;                                                  
        ++block;                                                      
ffc049a0:	3b 9c 00 01 	addi    r28,r28,1                              
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
      if (sc == RTEMS_SUCCESSFUL) {                                   
ffc049a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  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) {                                             
ffc049a8:	7f df f0 51 	subf.   r30,r31,r30                            
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
      if (sc == RTEMS_SUCCESSFUL) {                                   
        block_offset = 0;                                             
ffc049ac:	3b 60 00 00 	li      r27,0                                  
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
      if (sc == RTEMS_SUCCESSFUL) {                                   
ffc049b0:	40 be ff 80 	bne-    cr7,ffc04930 <rtems_blkdev_imfs_read+0xb8><== NEVER TAKEN
  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) {                                             
ffc049b4:	41 81 ff 58 	bgt+    ffc0490c <rtems_blkdev_imfs_read+0x94> 
    } else {                                                          
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
ffc049b8:	40 a2 ff 78 	bne-    ffc04930 <rtems_blkdev_imfs_read+0xb8> <== NEVER TAKEN
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc049bc:	80 01 00 44 	lwz     r0,68(r1)                              
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc049c0:	7f 2b cb 78 	mr      r11,r25                                
ffc049c4:	81 18 00 08 	lwz     r8,8(r24)                              
ffc049c8:	39 40 00 00 	li      r10,0                                  
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc049cc:	7c 08 03 a6 	mtlr    r0                                     
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc049d0:	81 38 00 0c 	lwz     r9,12(r24)                             
)                                                                     
{                                                                     
  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;                                
ffc049d4:	7f 23 cb 78 	mr      r3,r25                                 
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc049d8:	82 c1 00 18 	lwz     r22,24(r1)                             
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc049dc:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc049e0:	7d 4a 41 14 	adde    r10,r10,r8                             
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc049e4:	82 e1 00 1c 	lwz     r23,28(r1)                             
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc049e8:	91 58 00 08 	stw     r10,8(r24)                             
ffc049ec:	91 78 00 0c 	stw     r11,12(r24)                            
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc049f0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc049f4:	83 01 00 20 	lwz     r24,32(r1)                             
ffc049f8:	83 41 00 28 	lwz     r26,40(r1)                             
ffc049fc:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc04a00:	83 81 00 30 	lwz     r28,48(r1)                             
ffc04a04:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04a08:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04a0c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc04a10:	38 21 00 40 	addi    r1,r1,64                               
ffc04a14:	4e 80 00 20 	blr                                            
                                                                      

ffc046b0 <rtems_blkdev_imfs_write>: static ssize_t rtems_blkdev_imfs_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
ffc046b0:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc046b4:	7c 08 02 a6 	mflr    r0                                     
ffc046b8:	90 01 00 44 	stw     r0,68(r1)                              
ffc046bc:	92 e1 00 1c 	stw     r23,28(r1)                             
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc046c0:	81 23 00 1c 	lwz     r9,28(r3)                              
static ssize_t rtems_blkdev_imfs_write(                               
  rtems_libio_t *iop,                                                 
  const void *buffer,                                                 
  size_t count                                                        
)                                                                     
{                                                                     
ffc046c4:	93 01 00 20 	stw     r24,32(r1)                             
ffc046c8:	7c 78 1b 78 	mr      r24,r3                                 
ffc046cc:	93 21 00 24 	stw     r25,36(r1)                             
ffc046d0:	7c b9 2b 78 	mr      r25,r5                                 
ffc046d4:	93 41 00 28 	stw     r26,40(r1)                             
ffc046d8:	93 81 00 30 	stw     r28,48(r1)                             
ffc046dc:	7c 9c 23 78 	mr      r28,r4                                 
ffc046e0:	93 a1 00 34 	stw     r29,52(r1)                             
ffc046e4:	93 c1 00 38 	stw     r30,56(r1)                             
ffc046e8:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc046ec:	92 c1 00 18 	stw     r22,24(r1)                             
ffc046f0:	93 61 00 2c 	stw     r27,44(r1)                             
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc046f4:	82 c9 00 50 	lwz     r22,80(r9)                             
{                                                                     
  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;                                         
ffc046f8:	83 e3 00 0c 	lwz     r31,12(r3)                             
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
ffc046fc:	83 56 00 24 	lwz     r26,36(r22)                            
{                                                                     
  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;                                         
ffc04700:	83 c3 00 08 	lwz     r30,8(r3)                              
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
ffc04704:	7f e4 fb 78 	mr      r4,r31                                 
ffc04708:	7f 5d fe 70 	srawi   r29,r26,31                             
ffc0470c:	7f a5 eb 78 	mr      r5,r29                                 
ffc04710:	7f 46 d3 78 	mr      r6,r26                                 
ffc04714:	7f c3 f3 78 	mr      r3,r30                                 
ffc04718:	48 01 72 f5 	bl      ffc1ba0c <__divdi3>                    
  ssize_t block_offset = (ssize_t) (offset % block_size);             
ffc0471c:	7f c3 f3 78 	mr      r3,r30                                 
  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);
ffc04720:	7c 97 23 78 	mr      r23,r4                                 
  ssize_t block_offset = (ssize_t) (offset % block_size);             
ffc04724:	7f a5 eb 78 	mr      r5,r29                                 
ffc04728:	7f e4 fb 78 	mr      r4,r31                                 
ffc0472c:	7f 46 d3 78 	mr      r6,r26                                 
ffc04730:	48 01 77 01 	bl      ffc1be30 <__moddi3>                    
  const char *src = buffer;                                           
                                                                      
  while (remaining > 0) {                                             
ffc04734:	2c 19 00 00 	cmpwi   r25,0                                  
ffc04738:	40 81 00 cc 	ble-    ffc04804 <rtems_blkdev_imfs_write+0x154><== NEVER TAKEN
    rtems_status_code sc;                                             
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
ffc0473c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc04740:	7c 9d 23 78 	mr      r29,r4                                 
ffc04744:	3b 61 00 08 	addi    r27,r1,8                               
  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) {                                             
ffc04748:	7f 3f cb 78 	mr      r31,r25                                
    rtems_status_code sc;                                             
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
ffc0474c:	40 9e 00 0c 	bne-    cr7,ffc04758 <rtems_blkdev_imfs_write+0xa8>
ffc04750:	7f 9a f8 00 	cmpw    cr7,r26,r31                            
ffc04754:	40 9d 01 10 	ble-    cr7,ffc04864 <rtems_blkdev_imfs_write+0x1b4>
       sc = rtems_bdbuf_get(dd, block, &bd);                          
    } else {                                                          
       sc = rtems_bdbuf_read(dd, block, &bd);                         
ffc04758:	7e c3 b3 78 	mr      r3,r22                                 
ffc0475c:	7e e4 bb 78 	mr      r4,r23                                 
ffc04760:	7f 65 db 78 	mr      r5,r27                                 
ffc04764:	48 00 e6 3d 	bl      ffc12da0 <rtems_bdbuf_read>            
    }                                                                 
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc04768:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0476c:	41 9e 00 4c 	beq-    cr7,ffc047b8 <rtems_blkdev_imfs_write+0x108><== ALWAYS TAKEN
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04770:	48 01 33 f1 	bl      ffc17b60 <__errno>                     <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04774:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04778:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0477c:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
ffc04780:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
ffc04784:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    rv = -1;                                                          
ffc04788:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0478c:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc04790:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc04794:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc04798:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc0479c:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc047a0:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc047a4:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc047a8:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc047ac:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc047b0:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc047b4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    } else {                                                          
       sc = rtems_bdbuf_read(dd, block, &bd);                         
    }                                                                 
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ssize_t copy = block_size - block_offset;                       
ffc047b8:	7f dd d0 50 	subf    r30,r29,r26                            
ffc047bc:	7f 9e f8 00 	cmpw    cr7,r30,r31                            
ffc047c0:	40 9d 00 08 	ble-    cr7,ffc047c8 <rtems_blkdev_imfs_write+0x118>
ffc047c4:	7f fe fb 78 	mr      r30,r31                                
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy((char *) bd->buffer + block_offset, src, (size_t) copy); 
ffc047c8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc047cc:	7f 84 e3 78 	mr      r4,r28                                 
ffc047d0:	7f c5 f3 78 	mr      r5,r30                                 
ffc047d4:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc047d8:	7c 63 ea 14 	add     r3,r3,r29                              
ffc047dc:	48 01 3f 79 	bl      ffc18754 <memcpy>                      
                                                                      
      sc = rtems_bdbuf_release_modified(bd);                          
ffc047e0:	80 61 00 08 	lwz     r3,8(r1)                               
ffc047e4:	48 00 e8 e9 	bl      ffc130cc <rtems_bdbuf_release_modified>
      if (sc == RTEMS_SUCCESSFUL) {                                   
ffc047e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc047ec:	40 be ff 84 	bne-    cr7,ffc04770 <rtems_blkdev_imfs_write+0xc0><== NEVER TAKEN
  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) {                                             
ffc047f0:	7f fe f8 51 	subf.   r31,r30,r31                            
                                                                      
      sc = rtems_bdbuf_release_modified(bd);                          
      if (sc == RTEMS_SUCCESSFUL) {                                   
        block_offset = 0;                                             
        remaining -= copy;                                            
        src += copy;                                                  
ffc047f4:	7f 9c f2 14 	add     r28,r28,r30                            
        ++block;                                                      
ffc047f8:	3a f7 00 01 	addi    r23,r23,1                              
                                                                      
      memcpy((char *) bd->buffer + block_offset, src, (size_t) copy); 
                                                                      
      sc = rtems_bdbuf_release_modified(bd);                          
      if (sc == RTEMS_SUCCESSFUL) {                                   
        block_offset = 0;                                             
ffc047fc:	3b a0 00 00 	li      r29,0                                  
  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) {                                             
ffc04800:	41 81 ff 50 	bgt+    ffc04750 <rtems_blkdev_imfs_write+0xa0>
    } else {                                                          
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
ffc04804:	40 a2 ff 6c 	bne-    ffc04770 <rtems_blkdev_imfs_write+0xc0><== NEVER TAKEN
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04808:	80 01 00 44 	lwz     r0,68(r1)                              
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc0480c:	7f 2b cb 78 	mr      r11,r25                                
ffc04810:	81 18 00 08 	lwz     r8,8(r24)                              
ffc04814:	39 40 00 00 	li      r10,0                                  
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04818:	7c 08 03 a6 	mtlr    r0                                     
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc0481c:	81 38 00 0c 	lwz     r9,12(r24)                             
)                                                                     
{                                                                     
  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;                                
ffc04820:	7f 23 cb 78 	mr      r3,r25                                 
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04824:	82 c1 00 18 	lwz     r22,24(r1)                             
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc04828:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc0482c:	7d 4a 41 14 	adde    r10,r10,r8                             
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc04830:	82 e1 00 1c 	lwz     r23,28(r1)                             
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
ffc04834:	91 58 00 08 	stw     r10,8(r24)                             
ffc04838:	91 78 00 0c 	stw     r11,12(r24)                            
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc0483c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc04840:	83 01 00 20 	lwz     r24,32(r1)                             
ffc04844:	83 41 00 28 	lwz     r26,40(r1)                             
ffc04848:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0484c:	83 81 00 30 	lwz     r28,48(r1)                             
ffc04850:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc04854:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc04858:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0485c:	38 21 00 40 	addi    r1,r1,64                               
ffc04860:	4e 80 00 20 	blr                                            
  while (remaining > 0) {                                             
    rtems_status_code sc;                                             
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
       sc = rtems_bdbuf_get(dd, block, &bd);                          
ffc04864:	7e c3 b3 78 	mr      r3,r22                                 
ffc04868:	7e e4 bb 78 	mr      r4,r23                                 
ffc0486c:	7f 65 db 78 	mr      r5,r27                                 
ffc04870:	48 00 e3 c5 	bl      ffc12c34 <rtems_bdbuf_get>             
ffc04874:	4b ff fe f4 	b       ffc04768 <rtems_blkdev_imfs_write+0xb8>
                                                                      

ffc127dc <rtems_blkdev_ioctl>: rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) { rtems_status_code sc; int rc = 0; switch (req)
ffc127dc:	3d 20 40 04 	lis     r9,16388                               
#include <rtems/blkdev.h>                                             
#include <rtems/bdbuf.h>                                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
ffc127e0:	94 21 ff f8 	stwu    r1,-8(r1)                              
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc127e4:	61 29 42 03 	ori     r9,r9,16899                            
#include <rtems/blkdev.h>                                             
#include <rtems/bdbuf.h>                                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
ffc127e8:	7c 08 02 a6 	mflr    r0                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc127ec:	7f 84 48 00 	cmpw    cr7,r4,r9                              
#include <rtems/blkdev.h>                                             
#include <rtems/bdbuf.h>                                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
ffc127f0:	90 01 00 0c 	stw     r0,12(r1)                              
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc127f4:	41 9e 01 84 	beq-    cr7,ffc12978 <rtems_blkdev_ioctl+0x19c>
ffc127f8:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc127fc:	40 9d 00 4c 	ble-    cr7,ffc12848 <rtems_blkdev_ioctl+0x6c> 
ffc12800:	3d 20 40 04 	lis     r9,16388                               
ffc12804:	61 29 42 09 	ori     r9,r9,16905                            
ffc12808:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc1280c:	41 9e 00 f8 	beq-    cr7,ffc12904 <rtems_blkdev_ioctl+0x128>
ffc12810:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc12814:	3d 20 40 04 	lis     r9,16388                               
ffc12818:	41 9d 00 80 	bgt-    cr7,ffc12898 <rtems_blkdev_ioctl+0xbc> 
ffc1281c:	61 29 42 05 	ori     r9,r9,16901                            
ffc12820:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc12824:	41 9e 00 ec 	beq-    cr7,ffc12910 <rtems_blkdev_ioctl+0x134><== ALWAYS TAKEN
        case RTEMS_BLKIO_RESETDEVSTATS:                               
            rtems_bdbuf_reset_device_stats(dd);                       
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
ffc12828:	48 00 4b 41 	bl      ffc17368 <__errno>                     
ffc1282c:	39 20 00 16 	li      r9,22                                  
ffc12830:	91 23 00 00 	stw     r9,0(r3)                               
            rc = -1;                                                  
ffc12834:	38 60 ff ff 	li      r3,-1                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12838:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1283c:	38 21 00 08 	addi    r1,r1,8                                
ffc12840:	7c 08 03 a6 	mtlr    r0                                     
ffc12844:	4e 80 00 20 	blr                                            
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc12848:	3d 20 20 00 	lis     r9,8192                                
ffc1284c:	61 29 42 0a 	ori     r9,r9,16906                            
ffc12850:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc12854:	41 9e 01 0c 	beq-    cr7,ffc12960 <rtems_blkdev_ioctl+0x184>
ffc12858:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc1285c:	3d 20 20 00 	lis     r9,8192                                
ffc12860:	40 9d 00 78 	ble-    cr7,ffc128d8 <rtems_blkdev_ioctl+0xfc> 
ffc12864:	61 29 42 0c 	ori     r9,r9,16908                            
ffc12868:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc1286c:	41 9e 00 c0 	beq-    cr7,ffc1292c <rtems_blkdev_ioctl+0x150>
ffc12870:	6c 89 40 04 	xoris   r9,r4,16388                            
ffc12874:	2f 89 42 02 	cmpwi   cr7,r9,16898                           
ffc12878:	40 9e ff b0 	bne+    cr7,ffc12828 <rtems_blkdev_ioctl+0x4c> <== NEVER TAKEN
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1287c:	80 01 00 0c 	lwz     r0,12(r1)                              
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
ffc12880:	81 23 00 20 	lwz     r9,32(r3)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12884:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12888:	7c 08 03 a6 	mtlr    r0                                     
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
ffc1288c:	91 25 00 00 	stw     r9,0(r5)                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12890:	38 21 00 08 	addi    r1,r1,8                                
ffc12894:	4e 80 00 20 	blr                                            
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc12898:	61 29 42 0b 	ori     r9,r9,16907                            
ffc1289c:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc128a0:	41 9e 00 a4 	beq-    cr7,ffc12944 <rtems_blkdev_ioctl+0x168>
ffc128a4:	6c 89 80 04 	xoris   r9,r4,32772                            
ffc128a8:	2f 89 42 04 	cmpwi   cr7,r9,16900                           
ffc128ac:	40 9e ff 7c 	bne+    cr7,ffc12828 <rtems_blkdev_ioctl+0x4c> <== NEVER TAKEN
        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, true);
ffc128b0:	80 85 00 00 	lwz     r4,0(r5)                               
ffc128b4:	38 a0 00 01 	li      r5,1                                   
ffc128b8:	4b ff fd 21 	bl      ffc125d8 <rtems_bdbuf_set_block_size>  
            if (sc != RTEMS_SUCCESSFUL) {                             
ffc128bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc128c0:	40 9e 00 30 	bne-    cr7,ffc128f0 <rtems_blkdev_ioctl+0x114><== NEVER TAKEN
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc128c4:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc128c8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc128cc:	38 21 00 08 	addi    r1,r1,8                                
ffc128d0:	7c 08 03 a6 	mtlr    r0                                     
ffc128d4:	4e 80 00 20 	blr                                            
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
ffc128d8:	61 29 42 06 	ori     r9,r9,16902                            
ffc128dc:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc128e0:	40 9e ff 48 	bne+    cr7,ffc12828 <rtems_blkdev_ioctl+0x4c> 
        case RTEMS_BLKIO_GETSIZE:                                     
            *(rtems_blkdev_bnum *) argp = dd->size;                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            sc = rtems_bdbuf_syncdev(dd);                             
ffc128e4:	4b ff fa 2d 	bl      ffc12310 <rtems_bdbuf_syncdev>         
            if (sc != RTEMS_SUCCESSFUL) {                             
ffc128e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc128ec:	41 9e ff d8 	beq+    cr7,ffc128c4 <rtems_blkdev_ioctl+0xe8> <== ALWAYS TAKEN
                errno = EIO;                                          
ffc128f0:	48 00 4a 79 	bl      ffc17368 <__errno>                     <== NOT EXECUTED
ffc128f4:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc128f8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
                rc = -1;                                              
ffc128fc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc12900:	4b ff ff 38 	b       ffc12838 <rtems_blkdev_ioctl+0x5c>     <== NOT EXECUTED
            }                                                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETDISKDEV:                                  
            *(rtems_disk_device **) argp = dd;                        
ffc12904:	90 65 00 00 	stw     r3,0(r5)                               
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12908:	38 60 00 00 	li      r3,0                                   
ffc1290c:	4b ff ff bc 	b       ffc128c8 <rtems_blkdev_ioctl+0xec>     
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12910:	80 01 00 0c 	lwz     r0,12(r1)                              
                rc = -1;                                              
            }                                                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *(rtems_blkdev_bnum *) argp = dd->size;                   
ffc12914:	81 23 00 1c 	lwz     r9,28(r3)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12918:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1291c:	7c 08 03 a6 	mtlr    r0                                     
                rc = -1;                                              
            }                                                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *(rtems_blkdev_bnum *) argp = dd->size;                   
ffc12920:	91 25 00 00 	stw     r9,0(r5)                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12924:	38 21 00 08 	addi    r1,r1,8                                
ffc12928:	4e 80 00 20 	blr                                            
        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);                       
ffc1292c:	4b ff fe 61 	bl      ffc1278c <rtems_bdbuf_reset_device_stats>
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12930:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12934:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12938:	7c 08 03 a6 	mtlr    r0                                     
ffc1293c:	38 21 00 08 	addi    r1,r1,8                                
ffc12940:	4e 80 00 20 	blr                                            
        case RTEMS_BLKIO_PURGEDEV:                                    
            rtems_bdbuf_purge_dev(dd);                                
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETDEVSTATS:                                 
            rtems_bdbuf_get_device_stats(dd, (rtems_blkdev_stats *) argp);
ffc12944:	7c a4 2b 78 	mr      r4,r5                                  
ffc12948:	4b ff fd cd 	bl      ffc12714 <rtems_bdbuf_get_device_stats>
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1294c:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12950:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12954:	7c 08 03 a6 	mtlr    r0                                     
ffc12958:	38 21 00 08 	addi    r1,r1,8                                
ffc1295c:	4e 80 00 20 	blr                                            
        case RTEMS_BLKIO_GETDISKDEV:                                  
            *(rtems_disk_device **) argp = dd;                        
            break;                                                    
                                                                      
        case RTEMS_BLKIO_PURGEDEV:                                    
            rtems_bdbuf_purge_dev(dd);                                
ffc12960:	4b ff fa 29 	bl      ffc12388 <rtems_bdbuf_purge_dev>       
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12964:	80 01 00 0c 	lwz     r0,12(r1)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12968:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1296c:	7c 08 03 a6 	mtlr    r0                                     
ffc12970:	38 21 00 08 	addi    r1,r1,8                                
ffc12974:	4e 80 00 20 	blr                                            
ffc12978:	80 01 00 0c 	lwz     r0,12(r1)                              
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *(uint32_t *) argp = dd->block_size;                      
ffc1297c:	81 23 00 24 	lwz     r9,36(r3)                              
                                                                      
int                                                                   
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
ffc12980:	38 60 00 00 	li      r3,0                                   
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc12984:	7c 08 03 a6 	mtlr    r0                                     
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *(uint32_t *) argp = dd->block_size;                      
ffc12988:	91 25 00 00 	stw     r9,0(r5)                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
ffc1298c:	38 21 00 08 	addi    r1,r1,8                                
ffc12990:	4e 80 00 20 	blr                                            
                                                                      

ffc295dc <rtems_blkstats>: #include <fcntl.h> #include <unistd.h> #include <errno.h> void rtems_blkstats(FILE *output, const char *device, bool reset) {
ffc295dc:	94 21 ff 78 	stwu    r1,-136(r1)                            <== NOT EXECUTED
ffc295e0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc295e4:	93 e1 00 84 	stw     r31,132(r1)                            <== NOT EXECUTED
ffc295e8:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  int fd = open(device, O_RDONLY);                                    
ffc295ec:	7c 83 23 78 	mr      r3,r4                                  <== NOT EXECUTED
ffc295f0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
#include <fcntl.h>                                                    
#include <unistd.h>                                                   
#include <errno.h>                                                    
                                                                      
void rtems_blkstats(FILE *output, const char *device, bool reset)     
{                                                                     
ffc295f4:	93 a1 00 7c 	stw     r29,124(r1)                            <== NOT EXECUTED
ffc295f8:	7c bd 2b 78 	mr      r29,r5                                 <== NOT EXECUTED
ffc295fc:	93 c1 00 80 	stw     r30,128(r1)                            <== NOT EXECUTED
ffc29600:	90 01 00 8c 	stw     r0,140(r1)                             <== NOT EXECUTED
  int fd = open(device, O_RDONLY);                                    
ffc29604:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc29608:	4b fd bd 91 	bl      ffc05398 <open>                        <== NOT EXECUTED
                                                                      
  if (fd >= 0) {                                                      
ffc2960c:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc29610:	41 80 00 cc 	blt-    ffc296dc <rtems_blkstats+0x100>        <== NOT EXECUTED
    struct stat st;                                                   
    int rv;                                                           
                                                                      
    rv = fstat(fd, &st);                                              
ffc29614:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc29618:	48 00 26 f9 	bl      ffc2bd10 <fstat>                       <== NOT EXECUTED
    if (rv == 0) {                                                    
ffc2961c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc29620:	40 9e 00 fc 	bne-    cr7,ffc2971c <rtems_blkstats+0x140>    <== NOT EXECUTED
      if (S_ISBLK(st.st_mode)) {                                      
ffc29624:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc29628:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          <== NOT EXECUTED
ffc2962c:	2f 89 60 00 	cmpwi   cr7,r9,24576                           <== NOT EXECUTED
ffc29630:	41 9e 00 6c 	beq-    cr7,ffc2969c <rtems_blkstats+0xc0>     <== NOT EXECUTED
          } else {                                                    
            fprintf(output, "error: get stats: %s\n", strerror(errno));
          }                                                           
        }                                                             
      } else {                                                        
        fprintf(output, "error: not a block device\n");               
ffc29634:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc29638:	38 63 5c 20 	addi    r3,r3,23584                            <== NOT EXECUTED
ffc2963c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc29640:	38 a0 00 1a 	li      r5,26                                  <== NOT EXECUTED
ffc29644:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc29648:	48 01 b9 15 	bl      ffc44f5c <fwrite>                      <== NOT EXECUTED
      }                                                               
    } else {                                                          
      fprintf(output, "error: get file stats: %s\n", strerror(errno));
    }                                                                 
                                                                      
    rv = close(fd);                                                   
ffc2964c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc29650:	48 00 21 01 	bl      ffc2b750 <close>                       <== NOT EXECUTED
    if (rv != 0) {                                                    
ffc29654:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc29658:	41 be 00 28 	beq+    cr7,ffc29680 <rtems_blkstats+0xa4>     <== NOT EXECUTED
      fprintf(output, "error: close device: %s\n", strerror(errno));  
ffc2965c:	48 01 94 09 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc29660:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc29664:	48 02 12 e5 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc29668:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc2966c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc29670:	38 84 5c 58 	addi    r4,r4,23640                            <== NOT EXECUTED
ffc29674:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc29678:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2967c:	48 01 a2 21 	bl      ffc4389c <fprintf>                     <== NOT EXECUTED
    }                                                                 
  } else {                                                            
    fprintf(output, "error: open device: %s\n", strerror(errno));     
  }                                                                   
}                                                                     
ffc29680:	80 01 00 8c 	lwz     r0,140(r1)                             <== NOT EXECUTED
ffc29684:	83 a1 00 7c 	lwz     r29,124(r1)                            <== NOT EXECUTED
ffc29688:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2968c:	83 c1 00 80 	lwz     r30,128(r1)                            <== NOT EXECUTED
ffc29690:	83 e1 00 84 	lwz     r31,132(r1)                            <== NOT EXECUTED
ffc29694:	38 21 00 88 	addi    r1,r1,136                              <== NOT EXECUTED
ffc29698:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    int rv;                                                           
                                                                      
    rv = fstat(fd, &st);                                              
    if (rv == 0) {                                                    
      if (S_ISBLK(st.st_mode)) {                                      
        if (reset) {                                                  
ffc2969c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
  return ioctl(fd, RTEMS_BLKIO_GETDEVSTATS, stats);                   
}                                                                     
                                                                      
static inline int rtems_disk_fd_reset_device_stats(int fd)            
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_RESETDEVSTATS);                        
ffc296a0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc296a4:	40 9e 00 a0 	bne-    cr7,ffc29744 <rtems_blkstats+0x168>    <== NOT EXECUTED
static inline int rtems_disk_fd_get_device_stats(                     
  int fd,                                                             
  rtems_blkdev_stats *stats                                           
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDEVSTATS, stats);                   
ffc296a8:	3c 80 40 04 	lis     r4,16388                               <== NOT EXECUTED
ffc296ac:	60 84 42 0b 	ori     r4,r4,16907                            <== NOT EXECUTED
ffc296b0:	38 a1 00 50 	addi    r5,r1,80                               <== NOT EXECUTED
ffc296b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc296b8:	48 00 35 2d 	bl      ffc2cbe4 <ioctl>                       <== NOT EXECUTED
          }                                                           
        } else {                                                      
          rtems_blkdev_stats stats;                                   
                                                                      
          rv = rtems_disk_fd_get_device_stats(fd, &stats);            
          if (rv == 0) {                                              
ffc296bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc296c0:	40 9e 00 c4 	bne-    cr7,ffc29784 <rtems_blkstats+0x1a8>    <== NOT EXECUTED
            rtems_blkdev_print_stats(                                 
ffc296c4:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc296c8:	38 61 00 50 	addi    r3,r1,80                               <== NOT EXECUTED
ffc296cc:	38 84 38 9c 	addi    r4,r4,14492                            <== NOT EXECUTED
ffc296d0:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc296d4:	48 00 00 d9 	bl      ffc297ac <rtems_blkdev_print_stats>    <== NOT EXECUTED
ffc296d8:	4b ff ff 74 	b       ffc2964c <rtems_blkstats+0x70>         <== 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));     
ffc296dc:	48 01 93 89 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc296e0:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc296e4:	48 02 12 65 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc296e8:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc296ec:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc296f0:	38 84 5c 74 	addi    r4,r4,23668                            <== NOT EXECUTED
ffc296f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc296f8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc296fc:	48 01 a1 a1 	bl      ffc4389c <fprintf>                     <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc29700:	80 01 00 8c 	lwz     r0,140(r1)                             <== NOT EXECUTED
ffc29704:	83 a1 00 7c 	lwz     r29,124(r1)                            <== NOT EXECUTED
ffc29708:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2970c:	83 c1 00 80 	lwz     r30,128(r1)                            <== NOT EXECUTED
ffc29710:	83 e1 00 84 	lwz     r31,132(r1)                            <== NOT EXECUTED
ffc29714:	38 21 00 88 	addi    r1,r1,136                              <== NOT EXECUTED
ffc29718:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        }                                                             
      } else {                                                        
        fprintf(output, "error: not a block device\n");               
      }                                                               
    } else {                                                          
      fprintf(output, "error: get file stats: %s\n", strerror(errno));
ffc2971c:	48 01 93 49 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc29720:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc29724:	48 02 12 25 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc29728:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc2972c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc29730:	38 84 5c 3c 	addi    r4,r4,23612                            <== NOT EXECUTED
ffc29734:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc29738:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2973c:	48 01 a1 61 	bl      ffc4389c <fprintf>                     <== NOT EXECUTED
ffc29740:	4b ff ff 0c 	b       ffc2964c <rtems_blkstats+0x70>         <== NOT EXECUTED
}                                                                     
                                                                      
static inline int rtems_disk_fd_reset_device_stats(int fd)            
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_RESETDEVSTATS);                        
ffc29744:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc29748:	60 84 42 0c 	ori     r4,r4,16908                            <== NOT EXECUTED
ffc2974c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc29750:	48 00 34 95 	bl      ffc2cbe4 <ioctl>                       <== 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) {                                              
ffc29754:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc29758:	41 9e fe f4 	beq+    cr7,ffc2964c <rtems_blkstats+0x70>     <== NOT EXECUTED
            fprintf(output, "error: reset stats: %s\n", strerror(errno));
ffc2975c:	48 01 93 09 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc29760:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc29764:	48 02 11 e5 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc29768:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc2976c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc29770:	38 84 5b f0 	addi    r4,r4,23536                            <== NOT EXECUTED
ffc29774:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc29778:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2977c:	48 01 a1 21 	bl      ffc4389c <fprintf>                     <== NOT EXECUTED
ffc29780:	4b ff fe cc 	b       ffc2964c <rtems_blkstats+0x70>         <== NOT EXECUTED
              &stats,                                                 
              (rtems_printk_plugin_t) fprintf,                        
              output                                                  
            );                                                        
          } else {                                                    
            fprintf(output, "error: get stats: %s\n", strerror(errno));
ffc29784:	48 01 92 e1 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
ffc29788:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc2978c:	48 02 11 bd 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc29790:	3c 80 ff c6 	lis     r4,-58                                 <== NOT EXECUTED
ffc29794:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc29798:	38 84 5c 08 	addi    r4,r4,23560                            <== NOT EXECUTED
ffc2979c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc297a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc297a4:	48 01 a0 f9 	bl      ffc4389c <fprintf>                     <== NOT EXECUTED
ffc297a8:	4b ff fe a4 	b       ffc2964c <rtems_blkstats+0x70>         <== NOT EXECUTED
                                                                      

ffc03f44 <rtems_bsp_cmdline_get_param>: size_t length ) { const char *p; if ( !name )
ffc03f44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
const char *rtems_bsp_cmdline_get_param(                              
  const char *name,                                                   
  char       *value,                                                  
  size_t      length                                                  
)                                                                     
{                                                                     
ffc03f48:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc03f4c:	7c 08 02 a6 	mflr    r0                                     
ffc03f50:	93 c1 00 08 	stw     r30,8(r1)                              
ffc03f54:	90 01 00 14 	stw     r0,20(r1)                              
ffc03f58:	93 e1 00 0c 	stw     r31,12(r1)                             
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
ffc03f5c:	41 9e 00 d4 	beq-    cr7,ffc04030 <rtems_bsp_cmdline_get_param+0xec>
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
ffc03f60:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc03f64:	7c 9f 23 78 	mr      r31,r4                                 
ffc03f68:	41 9e 00 c8 	beq-    cr7,ffc04030 <rtems_bsp_cmdline_get_param+0xec>
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
ffc03f6c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc03f70:	7c be 2b 78 	mr      r30,r5                                 
ffc03f74:	41 9e 00 bc 	beq-    cr7,ffc04030 <rtems_bsp_cmdline_get_param+0xec>
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
ffc03f78:	39 20 00 00 	li      r9,0                                   
ffc03f7c:	99 24 00 00 	stb     r9,0(r4)                               
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
ffc03f80:	48 00 00 d1 	bl      ffc04050 <rtems_bsp_cmdline_get_param_raw>
                                                                      
  if ( !p )                                                           
ffc03f84:	2c 03 00 00 	cmpwi   r3,0                                   
ffc03f88:	41 82 00 a8 	beq-    ffc04030 <rtems_bsp_cmdline_get_param+0xec>
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc03f8c:	89 43 00 00 	lbz     r10,0(r3)                              
ffc03f90:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc03f94:	41 9e 00 80 	beq-    cr7,ffc04014 <rtems_bsp_cmdline_get_param+0xd0><== NEVER TAKEN
ffc03f98:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc03f9c:	41 9e 00 78 	beq-    cr7,ffc04014 <rtems_bsp_cmdline_get_param+0xd0><== NEVER TAKEN
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc03fa0:	3b de ff ff 	addi    r30,r30,-1                             
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
ffc03fa4:	39 20 00 00 	li      r9,0                                   
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc03fa8:	7f c9 03 a6 	mtctr   r30                                    
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc03fac:	39 00 00 00 	li      r8,0                                   
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
ffc03fb0:	38 e0 00 00 	li      r7,0                                   
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc03fb4:	38 80 00 00 	li      r4,0                                   
ffc03fb8:	48 00 00 30 	b       ffc03fe8 <rtems_bsp_cmdline_get_param+0xa4>
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc03fbc:	2f 8a 00 20 	cmpwi   cr7,r10,32                             
ffc03fc0:	40 82 00 08 	bne-    ffc03fc8 <rtems_bsp_cmdline_get_param+0x84>
ffc03fc4:	41 9e 00 50 	beq-    cr7,ffc04014 <rtems_bsp_cmdline_get_param+0xd0>
      break;                                                          
    value[i++] = *p++;                                                
ffc03fc8:	39 29 00 01 	addi    r9,r9,1                                
ffc03fcc:	7d 5f 41 ae 	stbx    r10,r31,r8                             
    value[i] = '\0';                                                  
ffc03fd0:	7d 28 4b 78 	mr      r8,r9                                  
ffc03fd4:	7c 9f 49 ae 	stbx    r4,r31,r9                              
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc03fd8:	7d 43 48 ae 	lbzx    r10,r3,r9                              
ffc03fdc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc03fe0:	41 9e 00 34 	beq-    cr7,ffc04014 <rtems_bsp_cmdline_get_param+0xd0>
ffc03fe4:	42 40 00 30 	bdz-    ffc04014 <rtems_bsp_cmdline_get_param+0xd0>
    if ( *p == '\"' ) {                                               
ffc03fe8:	2f 8a 00 22 	cmpwi   cr7,r10,34                             
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
ffc03fec:	70 e6 00 01 	andi.   r6,r7,1                                
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
ffc03ff0:	40 9e ff cc 	bne+    cr7,ffc03fbc <rtems_bsp_cmdline_get_param+0x78>
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
ffc03ff4:	39 29 00 01 	addi    r9,r9,1                                
ffc03ff8:	7d 5f 41 ae 	stbx    r10,r31,r8                             
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
ffc03ffc:	38 e7 00 01 	addi    r7,r7,1                                
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
    value[i] = '\0';                                                  
ffc04000:	7c 9f 49 ae 	stbx    r4,r31,r9                              
ffc04004:	7d 28 4b 78 	mr      r8,r9                                  
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
ffc04008:	7d 43 48 ae 	lbzx    r10,r3,r9                              
ffc0400c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04010:	40 9e ff d4 	bne+    cr7,ffc03fe4 <rtems_bsp_cmdline_get_param+0xa0><== ALWAYS TAKEN
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
ffc04014:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04018:	7f e3 fb 78 	mr      r3,r31                                 
ffc0401c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04020:	7c 08 03 a6 	mtlr    r0                                     
ffc04024:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04028:	38 21 00 10 	addi    r1,r1,16                               
ffc0402c:	4e 80 00 20 	blr                                            
ffc04030:	80 01 00 14 	lwz     r0,20(r1)                              
)                                                                     
{                                                                     
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
ffc04034:	3b e0 00 00 	li      r31,0                                  
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
ffc04038:	7f e3 fb 78 	mr      r3,r31                                 
ffc0403c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc04040:	7c 08 03 a6 	mtlr    r0                                     
ffc04044:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04048:	38 21 00 10 	addi    r1,r1,16                               
ffc0404c:	4e 80 00 20 	blr                                            
                                                                      

ffc0a588 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
ffc0a588:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc0a58c:	7c 08 02 a6 	mflr    r0                                     
ffc0a590:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc0a594:	90 01 00 34 	stw     r0,52(r1)                              
ffc0a598:	93 61 00 1c 	stw     r27,28(r1)                             
ffc0a59c:	7c db 33 78 	mr      r27,r6                                 
ffc0a5a0:	93 81 00 20 	stw     r28,32(r1)                             
ffc0a5a4:	7c 7c 1b 78 	mr      r28,r3                                 
ffc0a5a8:	93 a1 00 24 	stw     r29,36(r1)                             
ffc0a5ac:	7c 9d 23 78 	mr      r29,r4                                 
ffc0a5b0:	93 c1 00 28 	stw     r30,40(r1)                             
ffc0a5b4:	7c be 2b 78 	mr      r30,r5                                 
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc0a5b8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a5bc:	48 00 06 e1 	bl      ffc0ac9c <_Chain_Get>                  
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc0a5c0:	38 80 00 00 	li      r4,0                                   
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc0a5c4:	7c 7f 1b 79 	mr.     r31,r3                                 
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc0a5c8:	7f c5 f3 78 	mr      r5,r30                                 
ffc0a5cc:	38 c1 00 08 	addi    r6,r1,8                                
ffc0a5d0:	7f a3 eb 78 	mr      r3,r29                                 
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc0a5d4:	40 82 00 38 	bne-    ffc0a60c <rtems_chain_get_with_wait+0x84>
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
ffc0a5d8:	4b ff f0 11 	bl      ffc095e8 <rtems_event_receive>         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
ffc0a5dc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a5e0:	41 82 ff d8 	beq+    ffc0a5b8 <rtems_chain_get_with_wait+0x30><== NEVER TAKEN
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0a5e4:	80 01 00 34 	lwz     r0,52(r1)                              
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc0a5e8:	93 fb 00 00 	stw     r31,0(r27)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc0a5ec:	7c 08 03 a6 	mtlr    r0                                     
ffc0a5f0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a5f4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a5f8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a5fc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a600:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a604:	38 21 00 30 	addi    r1,r1,48                               
ffc0a608:	4e 80 00 20 	blr                                            
ffc0a60c:	80 01 00 34 	lwz     r0,52(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
ffc0a610:	38 60 00 00 	li      r3,0                                   
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
ffc0a614:	93 fb 00 00 	stw     r31,0(r27)                             
                                                                      
  return sc;                                                          
}                                                                     
ffc0a618:	7c 08 03 a6 	mtlr    r0                                     
ffc0a61c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc0a620:	83 81 00 20 	lwz     r28,32(r1)                             
ffc0a624:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0a628:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc0a62c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc0a630:	38 21 00 30 	addi    r1,r1,48                               
ffc0a634:	4e 80 00 20 	blr                                            
                                                                      

ffc04e60 <rtems_cpu_usage_report_with_plugin>: */ void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc04e60:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04e64:	7c 08 02 a6 	mflr    r0                                     
ffc04e68:	93 21 00 5c 	stw     r25,92(r1)                             
    uint32_t seconds, nanoseconds;                                    
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04e6c:	7c 99 23 79 	mr.     r25,r4                                 
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc04e70:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04e74:	92 21 00 3c 	stw     r17,60(r1)                             
ffc04e78:	92 41 00 40 	stw     r18,64(r1)                             
ffc04e7c:	92 61 00 44 	stw     r19,68(r1)                             
ffc04e80:	92 81 00 48 	stw     r20,72(r1)                             
ffc04e84:	92 a1 00 4c 	stw     r21,76(r1)                             
ffc04e88:	92 c1 00 50 	stw     r22,80(r1)                             
ffc04e8c:	92 e1 00 54 	stw     r23,84(r1)                             
ffc04e90:	93 01 00 58 	stw     r24,88(r1)                             
ffc04e94:	93 41 00 60 	stw     r26,96(r1)                             
ffc04e98:	93 61 00 64 	stw     r27,100(r1)                            
ffc04e9c:	93 81 00 68 	stw     r28,104(r1)                            
ffc04ea0:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc04ea4:	93 c1 00 70 	stw     r30,112(r1)                            
ffc04ea8:	93 e1 00 74 	stw     r31,116(r1)                            
    uint32_t seconds, nanoseconds;                                    
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
ffc04eac:	41 82 02 58 	beq-    ffc05104 <rtems_cpu_usage_report_with_plugin+0x2a4><== NEVER TAKEN
                                                                      
static inline void _Timestamp64_implementation_Set_to_zero(           
  Timestamp64_Control *_time                                          
)                                                                     
{                                                                     
  *_time = 0;                                                         
ffc04eb0:	39 40 00 00 	li      r10,0                                  
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04eb4:	7f 29 03 a6 	mtctr   r25                                    
ffc04eb8:	39 60 00 00 	li      r11,0                                  
ffc04ebc:	91 41 00 20 	stw     r10,32(r1)                             
ffc04ec0:	3c 80 ff c2 	lis     r4,-62                                 
ffc04ec4:	91 61 00 24 	stw     r11,36(r1)                             
ffc04ec8:	38 84 0c 58 	addi    r4,r4,3160                             
   *  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;            
ffc04ecc:	3d 20 00 00 	lis     r9,0                                   
ffc04ed0:	3e 60 00 00 	lis     r19,0                                  
ffc04ed4:	39 29 28 e0 	addi    r9,r9,10464                            
ffc04ed8:	3a 73 30 18 	addi    r19,r19,12312                          
ffc04edc:	83 89 00 00 	lwz     r28,0(r9)                              
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04ee0:	3e 80 ff c2 	lis     r20,-62                                
   *  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;            
ffc04ee4:	83 a9 00 04 	lwz     r29,4(r9)                              
 */                                                                   
static inline void _TOD_Get_uptime(                                   
  Timestamp_Control *time                                             
)                                                                     
{                                                                     
  _TOD_Get_with_nanoseconds( time, &_TOD.uptime );                    
ffc04ee8:	3e e0 00 00 	lis     r23,0                                  
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
ffc04eec:	3e c0 ff c2 	lis     r22,-62                                
ffc04ef0:	7c 78 1b 78 	mr      r24,r3                                 
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
ffc04ef4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04ef8:	4e 80 04 21 	bctrl                                          
#endif                                                                
                                                                      
/*                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
ffc04efc:	3a 53 00 0c 	addi    r18,r19,12                             
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
ffc04f00:	3a 94 0d cc 	addi    r20,r20,3532                           
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc04f04:	3e a0 00 00 	lis     r21,0                                  
ffc04f08:	3a f7 30 08 	addi    r23,r23,12296                          
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
ffc04f0c:	3a d6 0d e0 	addi    r22,r22,3552                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
ffc04f10:	85 33 00 04 	lwzu    r9,4(r19)                              
ffc04f14:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f18:	41 9e 01 7c 	beq-    cr7,ffc05094 <rtems_cpu_usage_report_with_plugin+0x234>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc04f1c:	83 49 00 04 	lwz     r26,4(r9)                              
    if ( information ) {                                              
ffc04f20:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc04f24:	41 9e 01 70 	beq-    cr7,ffc05094 <rtems_cpu_usage_report_with_plugin+0x234><== NEVER TAKEN
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc04f28:	a1 1a 00 10 	lhz     r8,16(r26)                             
ffc04f2c:	71 06 ff ff 	andi.   r6,r8,65535                            
ffc04f30:	41 82 01 64 	beq-    ffc05094 <rtems_cpu_usage_report_with_plugin+0x234><== NEVER TAKEN
ffc04f34:	3b 60 00 01 	li      r27,1                                  
ffc04f38:	48 00 00 b4 	b       ffc04fec <rtems_cpu_usage_report_with_plugin+0x18c>
ffc04f3c:	48 00 79 05 	bl      ffc0c840 <_TOD_Get_with_nanoseconds>   
ffc04f40:	81 01 00 28 	lwz     r8,40(r1)                              
ffc04f44:	81 21 00 2c 	lwz     r9,44(r1)                              
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc04f48:	7d 3d 48 10 	subfc   r9,r29,r9                              
ffc04f4c:	7d 1c 41 10 	subfe   r8,r28,r8                              
ffc04f50:	91 01 00 20 	stw     r8,32(r1)                              
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
ffc04f54:	38 61 00 18 	addi    r3,r1,24                               
ffc04f58:	38 81 00 20 	addi    r4,r1,32                               
ffc04f5c:	91 21 00 24 	stw     r9,36(r1)                              
ffc04f60:	38 a1 00 34 	addi    r5,r1,52                               
ffc04f64:	38 c1 00 30 	addi    r6,r1,48                               
ffc04f68:	48 00 a5 9d 	bl      ffc0f504 <_Timestamp64_Divide>         
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
ffc04f6c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04f70:	83 e1 00 1c 	lwz     r31,28(r1)                             
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
ffc04f74:	3c c0 3b 9a 	lis     r6,15258                               
ffc04f78:	38 a0 00 00 	li      r5,0                                   
ffc04f7c:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc04f80:	7f c3 f3 78 	mr      r3,r30                                 
ffc04f84:	7f e4 fb 78 	mr      r4,r31                                 
ffc04f88:	48 01 91 19 	bl      ffc1e0a0 <__divdi3>                    
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
ffc04f8c:	3c c0 3b 9a 	lis     r6,15258                               
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
ffc04f90:	7c 91 23 78 	mr      r17,r4                                 
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
ffc04f94:	38 a0 00 00 	li      r5,0                                   
ffc04f98:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc04f9c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04fa0:	7f e4 fb 78 	mr      r4,r31                                 
ffc04fa4:	48 01 95 21 	bl      ffc1e4c4 <__moddi3>                    
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
ffc04fa8:	3c c0 10 62 	lis     r6,4194                                
ffc04fac:	60 c6 4d d3 	ori     r6,r6,19923                            
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
ffc04fb0:	81 01 00 30 	lwz     r8,48(r1)                              
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
ffc04fb4:	7c c4 30 16 	mulhwu  r6,r4,r6                               
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
ffc04fb8:	80 e1 00 34 	lwz     r7,52(r1)                              
ffc04fbc:	7f 29 03 a6 	mtctr   r25                                    
ffc04fc0:	7f 03 c3 78 	mr      r3,r24                                 
ffc04fc4:	7e c4 b3 78 	mr      r4,r22                                 
ffc04fc8:	7e 25 8b 78 	mr      r5,r17                                 
ffc04fcc:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc04fd0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04fd4:	4e 80 04 21 	bctrl                                          
ffc04fd8:	a1 1a 00 10 	lhz     r8,16(r26)                             
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
ffc04fdc:	3b 7b 00 01 	addi    r27,r27,1                              
ffc04fe0:	55 09 04 3e 	clrlwi  r9,r8,16                               
ffc04fe4:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc04fe8:	41 9c 00 ac 	blt-    cr7,ffc05094 <rtems_cpu_usage_report_with_plugin+0x234>
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc04fec:	81 3a 00 1c 	lwz     r9,28(r26)                             
ffc04ff0:	57 6a 10 3a 	rlwinm  r10,r27,2,0,29                         
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc04ff4:	38 a1 00 08 	addi    r5,r1,8                                
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
ffc04ff8:	7f e9 50 2e 	lwzx    r31,r9,r10                             
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc04ffc:	38 80 00 0d 	li      r4,13                                  
    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 )                                            
ffc05000:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05004:	41 be ff d8 	beq-    cr7,ffc04fdc <rtems_cpu_usage_report_with_plugin+0x17c><== NEVER TAKEN
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
ffc05008:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0500c:	48 00 5e 71 	bl      ffc0ae7c <rtems_object_get_name>       
                                                                      
        (*print)(                                                     
ffc05010:	7e 84 a3 78 	mr      r4,r20                                 
ffc05014:	38 c1 00 08 	addi    r6,r1,8                                
ffc05018:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc0501c:	7f 03 c3 78 	mr      r3,r24                                 
ffc05020:	7f 29 03 a6 	mtctr   r25                                    
ffc05024:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05028:	4e 80 04 21 	bctrl                                          
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc0502c:	39 35 32 60 	addi    r9,r21,12896                           
ffc05030:	81 49 00 10 	lwz     r10,16(r9)                             
ffc05034:	38 61 00 28 	addi    r3,r1,40                               
ffc05038:	81 1f 00 08 	lwz     r8,8(r31)                              
ffc0503c:	7e e4 bb 78 	mr      r4,r23                                 
ffc05040:	81 4a 00 08 	lwz     r10,8(r10)                             
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc05044:	80 df 00 80 	lwz     r6,128(r31)                            
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc05048:	7f 88 50 00 	cmpw    cr7,r8,r10                             
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
ffc0504c:	80 ff 00 84 	lwz     r7,132(r31)                            
ffc05050:	90 c1 00 18 	stw     r6,24(r1)                              
ffc05054:	90 e1 00 1c 	stw     r7,28(r1)                              
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
ffc05058:	40 9e fe e4 	bne+    cr7,ffc04f3c <rtems_cpu_usage_report_with_plugin+0xdc>
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
ffc0505c:	83 c9 00 20 	lwz     r30,32(r9)                             
ffc05060:	83 e9 00 24 	lwz     r31,36(r9)                             
ffc05064:	48 00 77 dd 	bl      ffc0c840 <_TOD_Get_with_nanoseconds>   
           */                                                         
          ran = the_thread->cpu_time_used;                            
          if ( is_executing_on_a_core( the_thread, &last ) ) {        
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
ffc05068:	81 01 00 28 	lwz     r8,40(r1)                              
ffc0506c:	81 21 00 2c 	lwz     r9,44(r1)                              
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc05070:	81 41 00 18 	lwz     r10,24(r1)                             
ffc05074:	81 61 00 1c 	lwz     r11,28(r1)                             
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
ffc05078:	7f ff 48 10 	subfc   r31,r31,r9                             
ffc0507c:	7f de 41 10 	subfe   r30,r30,r8                             
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
ffc05080:	7d 6b f8 14 	addc    r11,r11,r31                            
ffc05084:	7d 4a f1 14 	adde    r10,r10,r30                            
ffc05088:	91 41 00 18 	stw     r10,24(r1)                             
ffc0508c:	91 61 00 1c 	stw     r11,28(r1)                             
ffc05090:	4b ff fe b8 	b       ffc04f48 <rtems_cpu_usage_report_with_plugin+0xe8>
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc05094:	7f 93 90 00 	cmpw    cr7,r19,r18                            
ffc05098:	40 9e fe 78 	bne+    cr7,ffc04f10 <rtems_cpu_usage_report_with_plugin+0xb0>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
ffc0509c:	83 c1 00 20 	lwz     r30,32(r1)                             
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
ffc050a0:	3c c0 3b 9a 	lis     r6,15258                               
ffc050a4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc050a8:	38 a0 00 00 	li      r5,0                                   
ffc050ac:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc050b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc050b4:	7f e4 fb 78 	mr      r4,r31                                 
ffc050b8:	48 01 8f e9 	bl      ffc1e0a0 <__divdi3>                    
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
ffc050bc:	3c c0 3b 9a 	lis     r6,15258                               
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
ffc050c0:	7c 9d 23 78 	mr      r29,r4                                 
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
ffc050c4:	38 a0 00 00 	li      r5,0                                   
ffc050c8:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc050cc:	7f c3 f3 78 	mr      r3,r30                                 
ffc050d0:	7f e4 fb 78 	mr      r4,r31                                 
ffc050d4:	48 01 93 f1 	bl      ffc1e4c4 <__moddi3>                    
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
ffc050d8:	3d 20 10 62 	lis     r9,4194                                
ffc050dc:	61 29 4d d3 	ori     r9,r9,19923                            
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
ffc050e0:	7f 29 03 a6 	mtctr   r25                                    
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
ffc050e4:	7c c4 48 16 	mulhwu  r6,r4,r9                               
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
ffc050e8:	3c 80 ff c2 	lis     r4,-62                                 
ffc050ec:	7f 03 c3 78 	mr      r3,r24                                 
ffc050f0:	38 84 0d f8 	addi    r4,r4,3576                             
ffc050f4:	7f a5 eb 78 	mr      r5,r29                                 
ffc050f8:	54 c6 d1 be 	rlwinm  r6,r6,26,6,31                          
ffc050fc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc05100:	4e 80 04 21 	bctrl                                          
       "-------------------------------------------------------------------------------\n",
       _Watchdog_Ticks_since_boot - CPU_usage_Ticks_at_last_reset,    
       total_units                                                    
    );                                                                
  #endif                                                              
}                                                                     
ffc05104:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc05108:	82 21 00 3c 	lwz     r17,60(r1)                             
ffc0510c:	7c 08 03 a6 	mtlr    r0                                     
ffc05110:	82 41 00 40 	lwz     r18,64(r1)                             
ffc05114:	82 61 00 44 	lwz     r19,68(r1)                             
ffc05118:	82 81 00 48 	lwz     r20,72(r1)                             
ffc0511c:	82 a1 00 4c 	lwz     r21,76(r1)                             
ffc05120:	82 c1 00 50 	lwz     r22,80(r1)                             
ffc05124:	82 e1 00 54 	lwz     r23,84(r1)                             
ffc05128:	83 01 00 58 	lwz     r24,88(r1)                             
ffc0512c:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc05130:	83 41 00 60 	lwz     r26,96(r1)                             
ffc05134:	83 61 00 64 	lwz     r27,100(r1)                            
ffc05138:	83 81 00 68 	lwz     r28,104(r1)                            
ffc0513c:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc05140:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc05144:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc05148:	38 21 00 78 	addi    r1,r1,120                              
ffc0514c:	4e 80 00 20 	blr                                            
                                                                      

ffc12000 <rtems_deviceio_errno>: [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) { if (sc == RTEMS_SUCCESSFUL) {
ffc12000:	2c 03 00 00 	cmpwi   r3,0                                   
ffc12004:	40 82 00 0c 	bne-    ffc12010 <rtems_deviceio_errno+0x10>   
    return 0;                                                         
ffc12008:	38 60 00 00 	li      r3,0                                   
ffc1200c:	4e 80 00 20 	blr                                            
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc12010:	2b 83 00 1c 	cmplwi  cr7,r3,28                              
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc12014:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc12018:	7c 08 02 a6 	mflr    r0                                     
ffc1201c:	93 e1 00 0c 	stw     r31,12(r1)                             
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
ffc12020:	3b e0 00 16 	li      r31,22                                 
  [RTEMS_IO_ERROR]                 = EIO,                             
  [RTEMS_PROXY_BLOCKING]           = EIO                              
};                                                                    
                                                                      
int rtems_deviceio_errno(rtems_status_code sc)                        
{                                                                     
ffc12024:	90 01 00 14 	stw     r0,20(r1)                              
  if (sc == RTEMS_SUCCESSFUL) {                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
ffc12028:	41 9d 00 14 	bgt-    cr7,ffc1203c <rtems_deviceio_errno+0x3c><== NEVER TAKEN
      eno = status_code_to_errno [sc];                                
ffc1202c:	3d 20 ff c2 	lis     r9,-62                                 
ffc12030:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
ffc12034:	39 29 ea e4 	addi    r9,r9,-5404                            
ffc12038:	7f e9 18 2e 	lwzx    r31,r9,r3                              
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc1203c:	48 00 00 3d 	bl      ffc12078 <__errno>                     
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
ffc12040:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
      eno = status_code_to_errno [sc];                                
    }                                                                 
                                                                      
    errno = eno;                                                      
ffc12044:	93 e3 00 00 	stw     r31,0(r3)                              
                                                                      
    return -1;                                                        
ffc12048:	38 60 ff ff 	li      r3,-1                                  
  }                                                                   
}                                                                     
ffc1204c:	7c 08 03 a6 	mtlr    r0                                     
ffc12050:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc12054:	38 21 00 10 	addi    r1,r1,16                               
ffc12058:	4e 80 00 20 	blr                                            
                                                                      

ffc04c14 <rtems_disk_create_log>: dev_t phys, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count, const char *name ) {
ffc04c14:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04c18:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *phys_dd = NULL;                                  
  rtems_disk_device *dd = NULL;                                       
ffc04c1c:	39 40 00 00 	li      r10,0                                  
  dev_t phys,                                                         
  rtems_blkdev_bnum block_begin,                                      
  rtems_blkdev_bnum block_count,                                      
  const char *name                                                    
)                                                                     
{                                                                     
ffc04c20:	93 01 00 18 	stw     r24,24(r1)                             
ffc04c24:	7c f8 3b 78 	mr      r24,r7                                 
ffc04c28:	93 21 00 1c 	stw     r25,28(r1)                             
ffc04c2c:	7d 19 43 78 	mr      r25,r8                                 
ffc04c30:	93 41 00 20 	stw     r26,32(r1)                             
ffc04c34:	7d 3a 4b 78 	mr      r26,r9                                 
ffc04c38:	93 61 00 24 	stw     r27,36(r1)                             
ffc04c3c:	93 81 00 28 	stw     r28,40(r1)                             
ffc04c40:	7c bc 2b 78 	mr      r28,r5                                 
ffc04c44:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc04c48:	7c dd 33 78 	mr      r29,r6                                 
ffc04c4c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc04c50:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04c54:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04c58:	7c 9f 23 78 	mr      r31,r4                                 
ffc04c5c:	90 01 00 3c 	stw     r0,60(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *phys_dd = NULL;                                  
  rtems_disk_device *dd = NULL;                                       
ffc04c60:	91 41 00 0c 	stw     r10,12(r1)                             
  char *alloc_name = NULL;                                            
ffc04c64:	91 41 00 08 	stw     r10,8(r1)                              
                                                                      
  sc = disk_lock();                                                   
ffc04c68:	4b ff fa 11 	bl      ffc04678 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04c6c:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc04c70:	41 82 00 38 	beq-    ffc04ca8 <rtems_disk_create_log+0x94>  <== ALWAYS TAKEN
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04c74:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04c78:	7f 63 db 78 	mr      r3,r27                                 
ffc04c7c:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04c80:	7c 08 03 a6 	mtlr    r0                                     
ffc04c84:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04c88:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04c8c:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04c90:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04c94:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04c98:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04c9c:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04ca0:	38 21 00 38 	addi    r1,r1,56                               
ffc04ca4:	4e 80 00 20 	blr                                            
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  phys_dd = get_disk_entry(phys, true);                               
ffc04ca8:	7f a4 eb 78 	mr      r4,r29                                 
ffc04cac:	7f 83 e3 78 	mr      r3,r28                                 
ffc04cb0:	38 a0 00 01 	li      r5,1                                   
ffc04cb4:	4b ff f8 d5 	bl      ffc04588 <get_disk_entry>              
  if (phys_dd == NULL) {                                              
ffc04cb8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc04cbc:	41 82 00 b8 	beq-    ffc04d74 <rtems_disk_create_log+0x160> 
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd, &alloc_name);                      
ffc04cc0:	7f c3 f3 78 	mr      r3,r30                                 
ffc04cc4:	7f e4 fb 78 	mr      r4,r31                                 
ffc04cc8:	7f 45 d3 78 	mr      r5,r26                                 
ffc04ccc:	38 c1 00 0c 	addi    r6,r1,12                               
ffc04cd0:	38 e1 00 08 	addi    r7,r1,8                                
ffc04cd4:	4b ff fa 55 	bl      ffc04728 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04cd8:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc04cdc:	40 82 00 60 	bne-    ffc04d3c <rtems_disk_create_log+0x128> 
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  sc = rtems_disk_init_log(                                           
ffc04ce0:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc04ce4:	7f a4 eb 78 	mr      r4,r29                                 
ffc04ce8:	7f 05 c3 78 	mr      r5,r24                                 
ffc04cec:	7f 26 cb 78 	mr      r6,r25                                 
ffc04cf0:	48 00 e3 15 	bl      ffc13004 <rtems_disk_init_log>         
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
                                                                      
  ++phys_dd->uses;                                                    
ffc04cf4:	81 5d 00 14 	lwz     r10,20(r29)                            
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04cf8:	7c 7b 1b 79 	mr.     r27,r3                                 
    phys_dd,                                                          
    block_begin,                                                      
    block_count                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
ffc04cfc:	81 21 00 0c 	lwz     r9,12(r1)                              
  dd->name = alloc_name;                                              
ffc04d00:	81 01 00 08 	lwz     r8,8(r1)                               
                                                                      
  ++phys_dd->uses;                                                    
ffc04d04:	39 4a 00 01 	addi    r10,r10,1                              
    phys_dd,                                                          
    block_begin,                                                      
    block_count                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
ffc04d08:	93 c9 00 00 	stw     r30,0(r9)                              
ffc04d0c:	93 e9 00 04 	stw     r31,4(r9)                              
  dd->name = alloc_name;                                              
ffc04d10:	91 09 00 10 	stw     r8,16(r9)                              
                                                                      
  ++phys_dd->uses;                                                    
ffc04d14:	91 5d 00 14 	stw     r10,20(r29)                            
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04d18:	41 a2 00 24 	beq+    ffc04d3c <rtems_disk_create_log+0x128> 
    dd->ioctl = null_handler;                                         
ffc04d1c:	3d 40 ff c0 	lis     r10,-64                                
ffc04d20:	39 4a 46 04 	addi    r10,r10,17924                          
ffc04d24:	91 49 00 38 	stw     r10,56(r9)                             
    rtems_disk_delete(dev);                                           
ffc04d28:	7f e4 fb 78 	mr      r4,r31                                 
ffc04d2c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04d30:	4b ff fc 49 	bl      ffc04978 <rtems_disk_delete>           
    disk_unlock();                                                    
ffc04d34:	4b ff f9 ad 	bl      ffc046e0 <disk_unlock>                 
ffc04d38:	4b ff ff 3c 	b       ffc04c74 <rtems_disk_create_log+0x60>  
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  disk_unlock();                                                      
ffc04d3c:	4b ff f9 a5 	bl      ffc046e0 <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04d40:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04d44:	7f 63 db 78 	mr      r3,r27                                 
ffc04d48:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04d4c:	7c 08 03 a6 	mtlr    r0                                     
ffc04d50:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04d54:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04d58:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04d5c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04d60:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04d64:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04d68:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04d6c:	38 21 00 38 	addi    r1,r1,56                               
ffc04d70:	4e 80 00 20 	blr                                            
    return sc;                                                        
  }                                                                   
                                                                      
  phys_dd = get_disk_entry(phys, true);                               
  if (phys_dd == NULL) {                                              
    disk_unlock();                                                    
ffc04d74:	4b ff f9 6d 	bl      ffc046e0 <disk_unlock>                 
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04d78:	80 01 00 3c 	lwz     r0,60(r1)                              
                                                                      
  phys_dd = get_disk_entry(phys, true);                               
  if (phys_dd == NULL) {                                              
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
ffc04d7c:	3b 60 00 04 	li      r27,4                                  
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04d80:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04d84:	7c 08 03 a6 	mtlr    r0                                     
ffc04d88:	7f 63 db 78 	mr      r3,r27                                 
ffc04d8c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04d90:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04d94:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04d98:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04d9c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04da0:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04da4:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04da8:	38 21 00 38 	addi    r1,r1,56                               
ffc04dac:	4e 80 00 20 	blr                                            
                                                                      

ffc04db0 <rtems_disk_create_phys>: rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name ) {
ffc04db0:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc04db4:	7c 08 02 a6 	mflr    r0                                     
  rtems_disk_device *dd = NULL;                                       
ffc04db8:	39 40 00 00 	li      r10,0                                  
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc04dbc:	93 61 00 24 	stw     r27,36(r1)                             
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  char *alloc_name = NULL;                                            
                                                                      
  if (handler == NULL) {                                              
ffc04dc0:	7c fb 3b 79 	mr.     r27,r7                                 
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc04dc4:	93 a1 00 2c 	stw     r29,44(r1)                             
  rtems_disk_device *dd = NULL;                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  char *alloc_name = NULL;                                            
                                                                      
  if (handler == NULL) {                                              
    return RTEMS_INVALID_ADDRESS;                                     
ffc04dc8:	3b a0 00 09 	li      r29,9                                  
  rtems_blkdev_bnum block_count,                                      
  rtems_block_device_ioctl handler,                                   
  void *driver_data,                                                  
  const char *name                                                    
)                                                                     
{                                                                     
ffc04dcc:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04dd0:	93 01 00 18 	stw     r24,24(r1)                             
ffc04dd4:	93 21 00 1c 	stw     r25,28(r1)                             
ffc04dd8:	93 41 00 20 	stw     r26,32(r1)                             
ffc04ddc:	93 81 00 28 	stw     r28,40(r1)                             
ffc04de0:	93 c1 00 30 	stw     r30,48(r1)                             
ffc04de4:	93 e1 00 34 	stw     r31,52(r1)                             
  rtems_disk_device *dd = NULL;                                       
ffc04de8:	91 41 00 0c 	stw     r10,12(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  char *alloc_name = NULL;                                            
ffc04dec:	91 41 00 08 	stw     r10,8(r1)                              
                                                                      
  if (handler == NULL) {                                              
ffc04df0:	41 82 00 28 	beq-    ffc04e18 <rtems_disk_create_phys+0x68> 
ffc04df4:	7c 9f 23 78 	mr      r31,r4                                 
ffc04df8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04dfc:	7c b9 2b 78 	mr      r25,r5                                 
ffc04e00:	7c da 33 78 	mr      r26,r6                                 
ffc04e04:	7d 18 43 78 	mr      r24,r8                                 
ffc04e08:	7d 3c 4b 78 	mr      r28,r9                                 
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc04e0c:	4b ff f8 6d 	bl      ffc04678 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04e10:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc04e14:	41 82 00 38 	beq-    ffc04e4c <rtems_disk_create_phys+0x9c> <== ALWAYS TAKEN
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04e18:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04e1c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04e20:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04e24:	7c 08 03 a6 	mtlr    r0                                     
ffc04e28:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04e2c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04e30:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04e34:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04e38:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04e3c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04e40:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04e44:	38 21 00 38 	addi    r1,r1,56                               
ffc04e48:	4e 80 00 20 	blr                                            
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd, &alloc_name);                      
ffc04e4c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04e50:	7f e4 fb 78 	mr      r4,r31                                 
ffc04e54:	7f 85 e3 78 	mr      r5,r28                                 
ffc04e58:	38 c1 00 0c 	addi    r6,r1,12                               
ffc04e5c:	38 e1 00 08 	addi    r7,r1,8                                
ffc04e60:	4b ff f8 c9 	bl      ffc04728 <create_disk>                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04e64:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc04e68:	40 82 00 38 	bne-    ffc04ea0 <rtems_disk_create_phys+0xf0> 
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  sc = rtems_disk_init_phys(                                          
ffc04e6c:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc04e70:	7f 24 cb 78 	mr      r4,r25                                 
ffc04e74:	7f 45 d3 78 	mr      r5,r26                                 
ffc04e78:	7f 66 db 78 	mr      r6,r27                                 
ffc04e7c:	7f 07 c3 78 	mr      r7,r24                                 
ffc04e80:	48 00 e0 a5 	bl      ffc12f24 <rtems_disk_init_phys>        
    block_count,                                                      
    handler,                                                          
    driver_data                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
ffc04e84:	81 21 00 0c 	lwz     r9,12(r1)                              
  dd->name = alloc_name;                                              
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04e88:	7c 7d 1b 79 	mr.     r29,r3                                 
    handler,                                                          
    driver_data                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
ffc04e8c:	81 41 00 08 	lwz     r10,8(r1)                              
    block_count,                                                      
    handler,                                                          
    driver_data                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
ffc04e90:	93 c9 00 00 	stw     r30,0(r9)                              
ffc04e94:	93 e9 00 04 	stw     r31,4(r9)                              
  dd->name = alloc_name;                                              
ffc04e98:	91 49 00 10 	stw     r10,16(r9)                             
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc04e9c:	40 82 00 3c 	bne-    ffc04ed8 <rtems_disk_create_phys+0x128>
    dd->ioctl = null_handler;                                         
    rtems_disk_delete(dev);                                           
    disk_unlock();                                                    
ffc04ea0:	4b ff f8 41 	bl      ffc046e0 <disk_unlock>                 
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04ea4:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04ea8:	7f a3 eb 78 	mr      r3,r29                                 
ffc04eac:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04eb0:	7c 08 03 a6 	mtlr    r0                                     
ffc04eb4:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04eb8:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04ebc:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04ec0:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04ec4:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04ec8:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04ecc:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04ed0:	38 21 00 38 	addi    r1,r1,56                               
ffc04ed4:	4e 80 00 20 	blr                                            
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
    dd->ioctl = null_handler;                                         
ffc04ed8:	3d 40 ff c0 	lis     r10,-64                                
ffc04edc:	39 4a 46 04 	addi    r10,r10,17924                          
ffc04ee0:	91 49 00 38 	stw     r10,56(r9)                             
    rtems_disk_delete(dev);                                           
ffc04ee4:	7f e4 fb 78 	mr      r4,r31                                 
ffc04ee8:	7f c3 f3 78 	mr      r3,r30                                 
ffc04eec:	4b ff fa 8d 	bl      ffc04978 <rtems_disk_delete>           
    disk_unlock();                                                    
ffc04ef0:	4b ff f7 f1 	bl      ffc046e0 <disk_unlock>                 
ffc04ef4:	4b ff ff b0 	b       ffc04ea4 <rtems_disk_create_phys+0xf4> 
                                                                      

ffc04978 <rtems_disk_delete>: } } rtems_status_code rtems_disk_delete(dev_t dev) {
ffc04978:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc0497c:	7c 08 02 a6 	mflr    r0                                     
ffc04980:	93 81 00 28 	stw     r28,40(r1)                             
ffc04984:	93 c1 00 30 	stw     r30,48(r1)                             
ffc04988:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0498c:	93 e1 00 34 	stw     r31,52(r1)                             
ffc04990:	7c 9f 23 78 	mr      r31,r4                                 
ffc04994:	90 01 00 3c 	stw     r0,60(r1)                              
ffc04998:	92 a1 00 0c 	stw     r21,12(r1)                             
ffc0499c:	92 c1 00 10 	stw     r22,16(r1)                             
ffc049a0:	92 e1 00 14 	stw     r23,20(r1)                             
ffc049a4:	93 01 00 18 	stw     r24,24(r1)                             
ffc049a8:	93 21 00 1c 	stw     r25,28(r1)                             
ffc049ac:	93 41 00 20 	stw     r26,32(r1)                             
ffc049b0:	93 61 00 24 	stw     r27,36(r1)                             
ffc049b4:	93 a1 00 2c 	stw     r29,44(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
                                                                      
  sc = disk_lock();                                                   
ffc049b8:	4b ff fc c1 	bl      ffc04678 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc049bc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc049c0:	41 82 00 44 	beq-    ffc04a04 <rtems_disk_delete+0x8c>      <== ALWAYS TAKEN
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc049c4:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc049c8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc049cc:	82 a1 00 0c 	lwz     r21,12(r1)                             <== NOT EXECUTED
ffc049d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc049d4:	82 c1 00 10 	lwz     r22,16(r1)                             <== NOT EXECUTED
ffc049d8:	82 e1 00 14 	lwz     r23,20(r1)                             <== NOT EXECUTED
ffc049dc:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc049e0:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc049e4:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc049e8:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc049ec:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc049f0:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc049f4:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc049f8:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc049fc:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc04a00:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
ffc04a04:	7f c3 f3 78 	mr      r3,r30                                 
ffc04a08:	7f e4 fb 78 	mr      r4,r31                                 
ffc04a0c:	38 a0 00 01 	li      r5,1                                   
ffc04a10:	4b ff fb 79 	bl      ffc04588 <get_disk_entry>              
  if (dd == NULL) {                                                   
ffc04a14:	7c 69 1b 79 	mr.     r9,r3                                  
ffc04a18:	41 82 01 84 	beq-    ffc04b9c <rtems_disk_delete+0x224>     <== NEVER TAKEN
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc04a1c:	39 40 00 01 	li      r10,1                                  
}                                                                     
                                                                      
static void                                                           
rtems_disk_cleanup(rtems_disk_device *disk_to_remove)                 
{                                                                     
  rtems_disk_device *const physical_disk = disk_to_remove->phys_dev;  
ffc04a20:	83 29 00 08 	lwz     r25,8(r9)                              
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
ffc04a24:	99 49 00 40 	stb     r10,64(r9)                             
{                                                                     
  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) {                                       
ffc04a28:	89 59 00 40 	lbz     r10,64(r25)                            
ffc04a2c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04a30:	41 9e 01 14 	beq-    cr7,ffc04b44 <rtems_disk_delete+0x1cc> 
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a34:	3f 60 00 00 	lis     r27,0                                  
  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;                                   
ffc04a38:	83 b9 00 00 	lwz     r29,0(r25)                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a3c:	81 3b 28 48 	lwz     r9,10312(r27)                          
ffc04a40:	3a c0 00 00 	li      r22,0                                  
  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;                                   
ffc04a44:	83 19 00 04 	lwz     r24,4(r25)                             
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04a48:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04a4c:	41 9e 00 a0 	beq-    cr7,ffc04aec <rtems_disk_delete+0x174> <== NEVER TAKEN
ffc04a50:	3b 40 00 00 	li      r26,0                                  
ffc04a54:	3a fb 28 48 	addi    r23,r27,10312                          
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
ffc04a58:	3a a0 00 01 	li      r21,1                                  
  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;                
ffc04a5c:	81 37 00 04 	lwz     r9,4(r23)                              
    }                                                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_delete(dev_t dev)                                          
ffc04a60:	57 5e 18 38 	rlwinm  r30,r26,3,0,28                         
  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;                
ffc04a64:	7f c9 f2 14 	add     r30,r9,r30                             
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
ffc04a68:	80 be 00 04 	lwz     r5,4(r30)                              
ffc04a6c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc04a70:	41 9e 00 6c 	beq-    cr7,ffc04adc <rtems_disk_delete+0x164> 
ffc04a74:	3b e0 00 00 	li      r31,0                                  
ffc04a78:	48 00 00 10 	b       ffc04a88 <rtems_disk_delete+0x110>     
ffc04a7c:	3b ff 00 01 	addi    r31,r31,1                              
ffc04a80:	7f 9f 28 40 	cmplw   cr7,r31,r5                             
ffc04a84:	40 9c 00 58 	bge-    cr7,ffc04adc <rtems_disk_delete+0x164> 
        rtems_disk_device *dd = dtab->minor [minor];                  
ffc04a88:	81 1e 00 00 	lwz     r8,0(r30)                              
    }                                                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_delete(dev_t dev)                                          
ffc04a8c:	57 ea 10 3a 	rlwinm  r10,r31,2,0,29                         
                                                                      
    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];                  
ffc04a90:	7c 68 50 2e 	lwzx    r3,r8,r10                              
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
ffc04a94:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04a98:	41 be ff e4 	beq-    cr7,ffc04a7c <rtems_disk_delete+0x104> 
ffc04a9c:	80 e3 00 08 	lwz     r7,8(r3)                               
ffc04aa0:	80 c7 00 00 	lwz     r6,0(r7)                               
ffc04aa4:	7f 86 e8 00 	cmpw    cr7,r6,r29                             
ffc04aa8:	40 9e ff d4 	bne+    cr7,ffc04a7c <rtems_disk_delete+0x104> <== NEVER TAKEN
ffc04aac:	80 e7 00 04 	lwz     r7,4(r7)                               
ffc04ab0:	7f 87 c0 00 	cmpw    cr7,r7,r24                             
ffc04ab4:	40 9e ff c8 	bne+    cr7,ffc04a7c <rtems_disk_delete+0x104> <== NEVER TAKEN
ffc04ab8:	7f 99 18 00 	cmpw    cr7,r25,r3                             
ffc04abc:	41 be ff c0 	beq-    cr7,ffc04a7c <rtems_disk_delete+0x104> 
          if (dd->uses == 0) {                                        
ffc04ac0:	80 e3 00 14 	lwz     r7,20(r3)                              
ffc04ac4:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc04ac8:	41 9e 00 c0 	beq-    cr7,ffc04b88 <rtems_disk_delete+0x210> 
    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) {                  
ffc04acc:	3b ff 00 01 	addi    r31,r31,1                              
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
ffc04ad0:	9a a3 00 40 	stb     r21,64(r3)                             
    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) {                  
ffc04ad4:	7f 9f 28 40 	cmplw   cr7,r31,r5                             
ffc04ad8:	41 9c ff b0 	blt+    cr7,ffc04a88 <rtems_disk_delete+0x110> <== ALWAYS TAKEN
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
ffc04adc:	81 37 00 00 	lwz     r9,0(r23)                              
ffc04ae0:	3b 5a 00 01 	addi    r26,r26,1                              
ffc04ae4:	7f 9a 48 40 	cmplw   cr7,r26,r9                             
ffc04ae8:	41 9c ff 74 	blt+    cr7,ffc04a5c <rtems_disk_delete+0xe4>  
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc04aec:	81 39 00 14 	lwz     r9,20(r25)                             
ffc04af0:	7e d6 48 50 	subf    r22,r22,r9                             
    if (physical_disk->uses == 0) {                                   
ffc04af4:	2f 96 00 00 	cmpwi   cr7,r22,0                              
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
ffc04af8:	92 d9 00 14 	stw     r22,20(r25)                            
    if (physical_disk->uses == 0) {                                   
ffc04afc:	41 9e 00 e8 	beq-    cr7,ffc04be4 <rtems_disk_delete+0x26c> 
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04b00:	4b ff fb e1 	bl      ffc046e0 <disk_unlock>                 
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04b04:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc04b08:	7f 83 e3 78 	mr      r3,r28                                 
ffc04b0c:	82 a1 00 0c 	lwz     r21,12(r1)                             
ffc04b10:	7c 08 03 a6 	mtlr    r0                                     
ffc04b14:	82 c1 00 10 	lwz     r22,16(r1)                             
ffc04b18:	82 e1 00 14 	lwz     r23,20(r1)                             
ffc04b1c:	83 01 00 18 	lwz     r24,24(r1)                             
ffc04b20:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc04b24:	83 41 00 20 	lwz     r26,32(r1)                             
ffc04b28:	83 61 00 24 	lwz     r27,36(r1)                             
ffc04b2c:	83 81 00 28 	lwz     r28,40(r1)                             
ffc04b30:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc04b34:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc04b38:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc04b3c:	38 21 00 38 	addi    r1,r1,56                               
ffc04b40:	4e 80 00 20 	blr                                            
      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) {                                  
ffc04b44:	81 49 00 14 	lwz     r10,20(r9)                             
ffc04b48:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc04b4c:	40 9e ff b4 	bne+    cr7,ffc04b00 <rtems_disk_delete+0x188> <== NEVER TAKEN
      --physical_disk->uses;                                          
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
ffc04b50:	81 09 00 00 	lwz     r8,0(r9)                               
      disktab [major].minor [minor] = NULL;                           
ffc04b54:	3d 40 00 00 	lis     r10,0                                  
ffc04b58:	80 ea 28 4c 	lwz     r7,10316(r10)                          
      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);
ffc04b5c:	81 29 00 04 	lwz     r9,4(r9)                               
      disktab [major].minor [minor] = NULL;                           
ffc04b60:	55 08 18 38 	rlwinm  r8,r8,3,0,28                           
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
ffc04b64:	81 59 00 14 	lwz     r10,20(r25)                            
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
ffc04b68:	7d 07 40 2e 	lwzx    r8,r7,r8                               
ffc04b6c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
ffc04b70:	39 4a ff ff 	addi    r10,r10,-1                             
ffc04b74:	91 59 00 14 	stw     r10,20(r25)                            
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
ffc04b78:	7f 88 49 2e 	stwx    r28,r8,r9                              
      free_disk_device(disk_to_remove);                               
ffc04b7c:	4b ff fa 91 	bl      ffc0460c <free_disk_device>            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04b80:	4b ff fb 61 	bl      ffc046e0 <disk_unlock>                 
ffc04b84:	4b ff ff 80 	b       ffc04b04 <rtems_disk_delete+0x18c>     
        rtems_disk_device *dd = dtab->minor [minor];                  
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
ffc04b88:	7c e8 51 2e 	stwx    r7,r8,r10                              
      for (minor = 0; minor < dtab->size; ++minor) {                  
        rtems_disk_device *dd = dtab->minor [minor];                  
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
ffc04b8c:	3a d6 00 01 	addi    r22,r22,1                              
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
ffc04b90:	4b ff fa 7d 	bl      ffc0460c <free_disk_device>            
ffc04b94:	80 be 00 04 	lwz     r5,4(r30)                              
ffc04b98:	4b ff fe e4 	b       ffc04a7c <rtems_disk_delete+0x104>     
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
  if (dd == NULL) {                                                   
    disk_unlock();                                                    
ffc04b9c:	4b ff fb 45 	bl      ffc046e0 <disk_unlock>                 <== NOT EXECUTED
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04ba0:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
                                                                      
  dd = get_disk_entry(dev, true);                                     
  if (dd == NULL) {                                                   
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
ffc04ba4:	3b 80 00 04 	li      r28,4                                  <== NOT EXECUTED
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc04ba8:	82 a1 00 0c 	lwz     r21,12(r1)                             <== NOT EXECUTED
ffc04bac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04bb0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc04bb4:	82 c1 00 10 	lwz     r22,16(r1)                             <== NOT EXECUTED
ffc04bb8:	82 e1 00 14 	lwz     r23,20(r1)                             <== NOT EXECUTED
ffc04bbc:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc04bc0:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc04bc4:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc04bc8:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc04bcc:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc04bd0:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc04bd4:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc04bd8:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc04bdc:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc04be0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
ffc04be4:	81 59 00 00 	lwz     r10,0(r25)                             
      disktab [major].minor [minor] = NULL;                           
ffc04be8:	3b 7b 28 48 	addi    r27,r27,10312                          
ffc04bec:	81 1b 00 04 	lwz     r8,4(r27)                              
      free_disk_device(physical_disk);                                
ffc04bf0:	7f 23 cb 78 	mr      r3,r25                                 
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
ffc04bf4:	81 39 00 04 	lwz     r9,4(r25)                              
      disktab [major].minor [minor] = NULL;                           
ffc04bf8:	55 4a 18 38 	rlwinm  r10,r10,3,0,28                         
ffc04bfc:	7d 48 50 2e 	lwzx    r10,r8,r10                             
ffc04c00:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc04c04:	7e ca 49 2e 	stwx    r22,r10,r9                             
      free_disk_device(physical_disk);                                
ffc04c08:	4b ff fa 05 	bl      ffc0460c <free_disk_device>            
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
ffc04c0c:	4b ff fa d5 	bl      ffc046e0 <disk_unlock>                 
ffc04c10:	4b ff fe f4 	b       ffc04b04 <rtems_disk_delete+0x18c>     
                                                                      

ffc05250 <rtems_disk_io_done>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_disk_io_done(void) {
ffc05250:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc05254:	7c 08 02 a6 	mflr    r0                                     
ffc05258:	93 61 00 0c 	stw     r27,12(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc0525c:	3f 60 00 00 	lis     r27,0                                  
ffc05260:	81 3b 28 48 	lwz     r9,10312(r27)                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc05264:	93 81 00 10 	stw     r28,16(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc05268:	3b 9b 28 48 	addi    r28,r27,10312                          
ffc0526c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc05270:	93 a1 00 14 	stw     r29,20(r1)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc05274:	3b a0 00 00 	li      r29,0                                  
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
{                                                                     
ffc05278:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0527c:	90 01 00 24 	stw     r0,36(r1)                              
ffc05280:	93 c1 00 18 	stw     r30,24(r1)                             
ffc05284:	83 fc 00 04 	lwz     r31,4(r28)                             
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc05288:	41 9e 00 64 	beq-    cr7,ffc052ec <rtems_disk_io_done+0x9c> <== NEVER TAKEN
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
ffc0528c:	57 a9 18 38 	rlwinm  r9,r29,3,0,28                          
{                                                                     
  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;                  
ffc05290:	7f df 4a 14 	add     r30,r31,r9                             
ffc05294:	7d 1f 48 2e 	lwzx    r8,r31,r9                              
                                                                      
    for (minor = 0; minor < dtab->size; ++minor) {                    
ffc05298:	81 5e 00 04 	lwz     r10,4(r30)                             
ffc0529c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc052a0:	41 9e 00 34 	beq-    cr7,ffc052d4 <rtems_disk_io_done+0x84> 
ffc052a4:	3b e0 00 00 	li      r31,0                                  
      rtems_disk_device *dd = dtab->minor [minor];                    
ffc052a8:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          
ffc052ac:	7c 68 48 2e 	lwzx    r3,r8,r9                               
  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) {                    
ffc052b0:	3b ff 00 01 	addi    r31,r31,1                              
      rtems_disk_device *dd = dtab->minor [minor];                    
                                                                      
      if (dd != NULL) {                                               
ffc052b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc052b8:	41 9e 00 10 	beq-    cr7,ffc052c8 <rtems_disk_io_done+0x78> 
        free_disk_device(dd);                                         
ffc052bc:	4b ff f3 51 	bl      ffc0460c <free_disk_device>            
ffc052c0:	81 5e 00 04 	lwz     r10,4(r30)                             
ffc052c4:	81 1e 00 00 	lwz     r8,0(r30)                              
  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) {                    
ffc052c8:	7f 8a f8 40 	cmplw   cr7,r10,r31                            
ffc052cc:	41 9d ff dc 	bgt+    cr7,ffc052a8 <rtems_disk_io_done+0x58> 
ffc052d0:	83 fc 00 04 	lwz     r31,4(r28)                             
                                                                      
      if (dd != NULL) {                                               
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
ffc052d4:	7d 03 43 78 	mr      r3,r8                                  
ffc052d8:	48 00 0a 41 	bl      ffc05d18 <free>                        
rtems_disk_io_done(void)                                              
{                                                                     
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
ffc052dc:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc052e0:	3b bd 00 01 	addi    r29,r29,1                              
ffc052e4:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc052e8:	41 9d ff a4 	bgt+    cr7,ffc0528c <rtems_disk_io_done+0x3c> 
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
  }                                                                   
  free(disktab);                                                      
ffc052ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc052f0:	48 00 0a 29 	bl      ffc05d18 <free>                        
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
ffc052f4:	80 7c 00 08 	lwz     r3,8(r28)                              
ffc052f8:	48 00 5b 5d 	bl      ffc0ae54 <rtems_semaphore_delete>      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
  disktab = NULL;                                                     
  disktab_size = 0;                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc052fc:	80 01 00 24 	lwz     r0,36(r1)                              
  }                                                                   
  free(disktab);                                                      
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
                                                                      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
ffc05300:	39 20 00 00 	li      r9,0                                   
  disktab = NULL;                                                     
  disktab_size = 0;                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05304:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc05308:	7c 08 03 a6 	mtlr    r0                                     
ffc0530c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05310:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05314:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  free(disktab);                                                      
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
                                                                      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
ffc05318:	91 3c 00 08 	stw     r9,8(r28)                              
  disktab = NULL;                                                     
ffc0531c:	91 3c 00 04 	stw     r9,4(r28)                              
  disktab_size = 0;                                                   
ffc05320:	91 3b 28 48 	stw     r9,10312(r27)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05324:	83 81 00 10 	lwz     r28,16(r1)                             
ffc05328:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0532c:	38 21 00 20 	addi    r1,r1,32                               
ffc05330:	4e 80 00 20 	blr                                            
                                                                      

ffc05154 <rtems_disk_io_initialize>: } } rtems_status_code rtems_disk_io_initialize(void) {
ffc05154:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05158:	7c 08 02 a6 	mflr    r0                                     
ffc0515c:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
ffc05160:	3f e0 00 00 	lis     r31,0                                  
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc05164:	93 a1 00 0c 	stw     r29,12(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
ffc05168:	83 bf 28 48 	lwz     r29,10312(r31)                         
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc0516c:	93 81 00 08 	stw     r28,8(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
ffc05170:	3b 9f 28 48 	addi    r28,r31,10312                          
ffc05174:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc05178:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
ffc0517c:	3b c0 00 00 	li      r30,0                                  
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_initialize(void)                                        
{                                                                     
ffc05180:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number size = DISKTAB_INITIAL_SIZE;              
                                                                      
  if (disktab_size > 0) {                                             
ffc05184:	41 9e 00 28 	beq-    cr7,ffc051ac <rtems_disk_io_initialize+0x58>
  }                                                                   
                                                                      
  disktab_size = size;                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc05188:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0518c:	7f c3 f3 78 	mr      r3,r30                                 
ffc05190:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05194:	7c 08 03 a6 	mtlr    r0                                     
ffc05198:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0519c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc051a0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc051a4:	38 21 00 18 	addi    r1,r1,24                               
ffc051a8:	4e 80 00 20 	blr                                            
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc051ac:	38 60 00 08 	li      r3,8                                   
ffc051b0:	38 80 00 08 	li      r4,8                                   
ffc051b4:	48 00 0a 55 	bl      ffc05c08 <calloc>                      
  if (disktab == NULL) {                                              
    return RTEMS_NO_MEMORY;                                           
ffc051b8:	3b c0 00 1a 	li      r30,26                                 
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
  if (disktab == NULL) {                                              
ffc051bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  if (disktab_size > 0) {                                             
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
ffc051c0:	90 7c 00 04 	stw     r3,4(r28)                              
  if (disktab == NULL) {                                              
ffc051c4:	41 be ff c4 	beq-    cr7,ffc05188 <rtems_disk_io_initialize+0x34><== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
  sc = rtems_semaphore_create(                                        
ffc051c8:	3c 60 44 44 	lis     r3,17476                               
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
  if (disktab == NULL) {                                              
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
ffc051cc:	9b bc 00 0c 	stb     r29,12(r28)                            
  sc = rtems_semaphore_create(                                        
ffc051d0:	60 63 45 56 	ori     r3,r3,17750                            
ffc051d4:	38 80 00 01 	li      r4,1                                   
ffc051d8:	38 a0 00 10 	li      r5,16                                  
ffc051dc:	38 c0 00 00 	li      r6,0                                   
ffc051e0:	38 fc 00 08 	addi    r7,r28,8                               
ffc051e4:	48 00 5a 51 	bl      ffc0ac34 <rtems_semaphore_create>      
    RTEMS_FIFO | RTEMS_BINARY_SEMAPHORE | RTEMS_NO_INHERIT_PRIORITY   
      | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL,                      
    0,                                                                
    &diskdevs_mutex                                                   
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc051e8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc051ec:	41 9e 00 30 	beq-    cr7,ffc0521c <rtems_disk_io_initialize+0xc8><== ALWAYS TAKEN
    free(disktab);                                                    
ffc051f0:	80 7c 00 04 	lwz     r3,4(r28)                              <== NOT EXECUTED
ffc051f4:	48 00 0b 25 	bl      ffc05d18 <free>                        <== NOT EXECUTED
  }                                                                   
                                                                      
  disktab_size = size;                                                
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc051f8:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc051fc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc05200:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc05204:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05208:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc0520c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc05210:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc05214:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc05218:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    free(disktab);                                                    
                                                                      
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
ffc0521c:	48 00 c6 59 	bl      ffc11874 <rtems_bdbuf_init>            
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc05220:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05224:	40 9e 00 14 	bne-    cr7,ffc05238 <rtems_disk_io_initialize+0xe4><== NEVER TAKEN
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  disktab_size = size;                                                
ffc05228:	39 20 00 08 	li      r9,8                                   
ffc0522c:	91 3f 28 48 	stw     r9,10312(r31)                          
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc05230:	3b c0 00 00 	li      r30,0                                  
ffc05234:	4b ff ff 54 	b       ffc05188 <rtems_disk_io_initialize+0x34>
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_semaphore_delete(diskdevs_mutex);                           
ffc05238:	80 7c 00 08 	lwz     r3,8(r28)                              <== NOT EXECUTED
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0523c:	3b c0 00 0d 	li      r30,13                                 <== NOT EXECUTED
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_semaphore_delete(diskdevs_mutex);                           
ffc05240:	48 00 5c 15 	bl      ffc0ae54 <rtems_semaphore_delete>      <== NOT EXECUTED
    free(disktab);                                                    
ffc05244:	80 7c 00 04 	lwz     r3,4(r28)                              <== NOT EXECUTED
ffc05248:	48 00 0a d1 	bl      ffc05d18 <free>                        <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
ffc0524c:	4b ff ff 3c 	b       ffc05188 <rtems_disk_io_initialize+0x34><== NOT EXECUTED
                                                                      

ffc0501c <rtems_disk_next>: 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) {
ffc0501c:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_disk_device *                                                   
rtems_disk_next(dev_t dev)                                            
{                                                                     
ffc05020:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05024:	7c 08 02 a6 	mflr    r0                                     
ffc05028:	93 81 00 08 	stw     r28,8(r1)                              
ffc0502c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc05030:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05034:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05038:	93 e1 00 14 	stw     r31,20(r1)                             
  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) {                                            
ffc0503c:	41 9e 01 04 	beq-    cr7,ffc05140 <rtems_disk_next+0x124>   
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
ffc05040:	3b e4 00 01 	addi    r31,r4,1                               
ffc05044:	7f 9f 20 40 	cmplw   cr7,r31,r4                             
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
  return temp.__overlay.major;                                        
ffc05048:	7c 7e 1b 78 	mr      r30,r3                                 
ffc0504c:	41 9c 00 e0 	blt-    cr7,ffc0512c <rtems_disk_next+0x110>   <== NEVER TAKEN
    } else {                                                          
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
ffc05050:	4b ff f6 29 	bl      ffc04678 <disk_lock>                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc05054:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05058:	40 9e 00 b0 	bne-    cr7,ffc05108 <rtems_disk_next+0xec>    <== NEVER TAKEN
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
ffc0505c:	3d 20 00 00 	lis     r9,0                                   
ffc05060:	80 e9 28 48 	lwz     r7,10312(r9)                           
ffc05064:	39 29 28 48 	addi    r9,r9,10312                            
ffc05068:	7f 9e 38 40 	cmplw   cr7,r30,r7                             
ffc0506c:	40 9c 00 98 	bge-    cr7,ffc05104 <rtems_disk_next+0xe8>    <== NEVER TAKEN
    disk_unlock();                                                    
                                                                      
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
ffc05070:	81 09 00 04 	lwz     r8,4(r9)                               
ffc05074:	57 dd 18 38 	rlwinm  r29,r30,3,0,28                         
ffc05078:	7d 48 e8 2e 	lwzx    r10,r8,r29                             
ffc0507c:	7f a8 ea 14 	add     r29,r8,r29                             
ffc05080:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
ffc05084:	57 fc 10 3a 	rlwinm  r28,r31,2,0,29                         
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
ffc05088:	41 9e 00 58 	beq-    cr7,ffc050e0 <rtems_disk_next+0xc4>    
ffc0508c:	81 3d 00 04 	lwz     r9,4(r29)                              
ffc05090:	7f 1f 48 40 	cmplw   cr6,r31,r9                             
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
      ++minor;                                                        
ffc05094:	3b ff 00 01 	addi    r31,r31,1                              
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
ffc05098:	40 98 00 48 	bge-    cr6,ffc050e0 <rtems_disk_next+0xc4>    
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
ffc0509c:	7d 2a e0 2e 	lwzx    r9,r10,r28                             
ffc050a0:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc050a4:	41 9a ff e0 	beq+    cr6,ffc05084 <rtems_disk_next+0x68>    
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
ffc050a8:	81 49 00 14 	lwz     r10,20(r9)                             
ffc050ac:	39 4a 00 01 	addi    r10,r10,1                              
ffc050b0:	91 49 00 14 	stw     r10,20(r9)                             
      disk_unlock();                                                  
ffc050b4:	4b ff f6 2d 	bl      ffc046e0 <disk_unlock>                 
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
ffc050b8:	80 01 00 1c 	lwz     r0,28(r1)                              
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
ffc050bc:	81 3d 00 00 	lwz     r9,0(r29)                              
    }                                                                 
  }                                                                   
}                                                                     
ffc050c0:	7c 08 03 a6 	mtlr    r0                                     
ffc050c4:	83 a1 00 0c 	lwz     r29,12(r1)                             
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
ffc050c8:	7c 69 e0 2e 	lwzx    r3,r9,r28                              
    }                                                                 
  }                                                                   
}                                                                     
ffc050cc:	83 81 00 08 	lwz     r28,8(r1)                              
ffc050d0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc050d4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc050d8:	38 21 00 18 	addi    r1,r1,24                               
ffc050dc:	4e 80 00 20 	blr                                            
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
       ++major;                                                       
ffc050e0:	3b de 00 01 	addi    r30,r30,1                              
       if (major >= disktab_size) {                                   
ffc050e4:	7f 87 f0 40 	cmplw   cr7,r7,r30                             
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
ffc050e8:	57 c9 18 38 	rlwinm  r9,r30,3,0,28                          
ffc050ec:	7f a8 4a 14 	add     r29,r8,r9                              
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
ffc050f0:	3b e0 00 00 	li      r31,0                                  
       ++major;                                                       
       if (major >= disktab_size) {                                   
ffc050f4:	40 9d 00 10 	ble-    cr7,ffc05104 <rtems_disk_next+0xe8>    
ffc050f8:	7d 48 48 2e 	lwzx    r10,r8,r9                              
ffc050fc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
ffc05100:	4b ff ff 84 	b       ffc05084 <rtems_disk_next+0x68>        
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
    disk_unlock();                                                    
ffc05104:	4b ff f5 dd 	bl      ffc046e0 <disk_unlock>                 
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
ffc05108:	80 01 00 1c 	lwz     r0,28(r1)                              
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
    disk_unlock();                                                    
                                                                      
    return NULL;                                                      
ffc0510c:	38 60 00 00 	li      r3,0                                   
      disk_unlock();                                                  
                                                                      
      return dtab->minor [minor];                                     
    }                                                                 
  }                                                                   
}                                                                     
ffc05110:	83 81 00 08 	lwz     r28,8(r1)                              
ffc05114:	7c 08 03 a6 	mtlr    r0                                     
ffc05118:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0511c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05120:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05124:	38 21 00 18 	addi    r1,r1,24                               
ffc05128:	4e 80 00 20 	blr                                            
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
ffc0512c:	3b c3 00 01 	addi    r30,r3,1                               <== NOT EXECUTED
ffc05130:	7f 9e 18 40 	cmplw   cr7,r30,r3                             <== NOT EXECUTED
        return NULL;                                                  
      }                                                               
      ++major;                                                        
      minor = 0;                                                      
ffc05134:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
ffc05138:	40 9c ff 18 	bge+    cr7,ffc05050 <rtems_disk_next+0x34>    <== NOT EXECUTED
ffc0513c:	4b ff ff cc 	b       ffc05108 <rtems_disk_next+0xec>        <== 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) {                                            
ffc05140:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc05144:	40 9e fe fc 	bne+    cr7,ffc05040 <rtems_disk_next+0x24>    <== NEVER TAKEN
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;                                
ffc05148:	3b e0 00 00 	li      r31,0                                  
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;                                
ffc0514c:	3b c0 00 00 	li      r30,0                                  
ffc05150:	4b ff ff 00 	b       ffc05050 <rtems_disk_next+0x34>        
                                                                      

ffc04ef8 <rtems_disk_obtain>: return RTEMS_SUCCESSFUL; } rtems_disk_device * rtems_disk_obtain(dev_t dev) {
ffc04ef8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04efc:	7c 08 02 a6 	mflr    r0                                     
ffc04f00:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04f04:	90 01 00 24 	stw     r0,36(r1)                              
ffc04f08:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04f0c:	93 e1 00 1c 	stw     r31,28(r1)                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc04f10:	7f a0 00 a6 	mfmsr   r29                                    
ffc04f14:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc04f18:	7f a9 48 78 	andc    r9,r29,r9                              
ffc04f1c:	7d 20 01 24 	mtmsr   r9                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable(level);                                     
  if (!diskdevs_protected) {                                          
ffc04f20:	3d 20 00 00 	lis     r9,0                                   
ffc04f24:	89 29 28 54 	lbz     r9,10324(r9)                           
ffc04f28:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04f2c:	41 9e 00 58 	beq-    cr7,ffc04f84 <rtems_disk_obtain+0x8c>  <== ALWAYS TAKEN
ffc04f30:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
ffc04f34:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc04f38:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
    dd = get_disk_entry(dev, false);                                  
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
                                                                      
    sc = disk_lock();                                                 
ffc04f3c:	4b ff f7 3d 	bl      ffc04678 <disk_lock>                   <== NOT EXECUTED
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc04f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
                                                                      
rtems_disk_device *                                                   
rtems_disk_obtain(dev_t dev)                                          
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
ffc04f44:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
                                                                      
    sc = disk_lock();                                                 
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc04f48:	40 9e 00 20 	bne-    cr7,ffc04f68 <rtems_disk_obtain+0x70>  <== NOT EXECUTED
      dd = get_disk_entry(dev, false);                                
ffc04f4c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc04f50:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc04f54:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc04f58:	4b ff f6 31 	bl      ffc04588 <get_disk_entry>              <== NOT EXECUTED
      disk_unlock();                                                  
ffc04f5c:	90 61 00 08 	stw     r3,8(r1)                               <== NOT EXECUTED
ffc04f60:	4b ff f7 81 	bl      ffc046e0 <disk_unlock>                 <== NOT EXECUTED
ffc04f64:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
ffc04f68:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc04f6c:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc04f70:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc04f74:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc04f78:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc04f7c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc04f80:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable(level);                                     
  if (!diskdevs_protected) {                                          
    /* Frequent and quickest case */                                  
    dd = get_disk_entry(dev, false);                                  
ffc04f84:	38 a0 00 00 	li      r5,0                                   
ffc04f88:	4b ff f6 01 	bl      ffc04588 <get_disk_entry>              
ffc04f8c:	7f a0 01 24 	mtmsr   r29                                    
      disk_unlock();                                                  
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
ffc04f90:	80 01 00 24 	lwz     r0,36(r1)                              
ffc04f94:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04f98:	7c 08 03 a6 	mtlr    r0                                     
ffc04f9c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04fa0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc04fa4:	38 21 00 20 	addi    r1,r1,32                               
ffc04fa8:	4e 80 00 20 	blr                                            
                                                                      

ffc049f4 <rtems_error>: int rtems_error( rtems_error_code_t error_flag, const char *printf_format, ... ) {
ffc049f4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc049f8:	7c 08 02 a6 	mflr    r0                                     
ffc049fc:	93 e1 00 74 	stw     r31,116(r1)                            
ffc04a00:	7c 7f 1b 78 	mr      r31,r3                                 
ffc04a04:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04a08:	90 a1 00 18 	stw     r5,24(r1)                              
ffc04a0c:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc04a10:	90 e1 00 20 	stw     r7,32(r1)                              
ffc04a14:	91 01 00 24 	stw     r8,36(r1)                              
ffc04a18:	91 21 00 28 	stw     r9,40(r1)                              
ffc04a1c:	91 41 00 2c 	stw     r10,44(r1)                             
ffc04a20:	40 86 00 24 	bne-    cr1,ffc04a44 <rtems_error+0x50>        <== ALWAYS TAKEN
ffc04a24:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc04a28:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc04a2c:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc04a30:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc04a34:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc04a38:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc04a3c:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc04a40:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04a44:	39 20 00 02 	li      r9,2                                   
ffc04a48:	99 21 00 08 	stb     r9,8(r1)                               
ffc04a4c:	39 20 00 00 	li      r9,0                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04a50:	7f e3 fb 78 	mr      r3,r31                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04a54:	99 21 00 09 	stb     r9,9(r1)                               
ffc04a58:	39 21 00 80 	addi    r9,r1,128                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04a5c:	38 a1 00 08 	addi    r5,r1,8                                
)                                                                     
{                                                                     
  va_list arglist;                                                    
  int chars_written;                                                  
                                                                      
  va_start(arglist, printf_format);                                   
ffc04a60:	91 21 00 0c 	stw     r9,12(r1)                              
ffc04a64:	39 21 00 10 	addi    r9,r1,16                               
ffc04a68:	91 21 00 10 	stw     r9,16(r1)                              
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
ffc04a6c:	4b ff fd d5 	bl      ffc04840 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc04a70:	77 e9 20 00 	andis.  r9,r31,8192                            
ffc04a74:	40 82 00 20 	bne-    ffc04a94 <rtems_error+0xa0>            
    rtems_error(0, "fatal error, exiting");                           
    _exit(errno);                                                     
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
ffc04a78:	77 e9 10 00 	andis.  r9,r31,4096                            
ffc04a7c:	40 82 00 38 	bne-    ffc04ab4 <rtems_error+0xc0>            
    rtems_error(0, "fatal error, aborting");                          
    abort();                                                          
  }                                                                   
                                                                      
  return chars_written;                                               
}                                                                     
ffc04a80:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc04a84:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc04a88:	7c 08 03 a6 	mtlr    r0                                     
ffc04a8c:	38 21 00 78 	addi    r1,r1,120                              
ffc04a90:	4e 80 00 20 	blr                                            
  va_start(arglist, printf_format);                                   
  chars_written = rtems_verror(error_flag, printf_format, arglist);   
  va_end(arglist);                                                    
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    rtems_error(0, "fatal error, exiting");                           
ffc04a94:	3c 80 ff c2 	lis     r4,-62                                 
ffc04a98:	38 84 e3 e8 	addi    r4,r4,-7192                            
ffc04a9c:	38 60 00 00 	li      r3,0                                   
ffc04aa0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04aa4:	4b ff ff 51 	bl      ffc049f4 <rtems_error>                 
    _exit(errno);                                                     
ffc04aa8:	48 00 d5 d1 	bl      ffc12078 <__errno>                     
ffc04aac:	80 63 00 00 	lwz     r3,0(r3)                               
ffc04ab0:	48 00 0b 89 	bl      ffc05638 <_exit>                       
  }                                                                   
  if (error_flag & RTEMS_ERROR_ABORT) {                               
    rtems_error(0, "fatal error, aborting");                          
ffc04ab4:	3c 80 ff c2 	lis     r4,-62                                 
ffc04ab8:	38 84 e4 00 	addi    r4,r4,-7168                            
ffc04abc:	38 60 00 00 	li      r3,0                                   
ffc04ac0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04ac4:	4b ff ff 31 	bl      ffc049f4 <rtems_error>                 
    abort();                                                          
ffc04ac8:	48 00 d5 95 	bl      ffc1205c <abort>                       
                                                                      

ffc1497c <rtems_event_system_receive>: rtems_event_set *event_out ) { rtems_status_code sc; if ( event_out != NULL ) {
ffc1497c:	7c ca 33 79 	mr.     r10,r6                                 
ffc14980:	41 82 00 48 	beq-    ffc149c8 <rtems_event_system_receive+0x4c><== NEVER TAKEN
    Thread_Control    *executing = _Thread_Executing;                 
    RTEMS_API_Control *api = executing->API_Extensions[ THREAD_API_RTEMS ];
    Event_Control     *event = &api->System_event;                    
                                                                      
    if ( !_Event_sets_Is_empty( event_in ) ) {                        
ffc14984:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
ffc14988:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1498c:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc;                                               
                                                                      
  if ( event_out != NULL ) {                                          
    Thread_Control    *executing = _Thread_Executing;                 
ffc14990:	3d 00 00 00 	lis     r8,0                                   
  rtems_event_set  event_in,                                          
  rtems_option     option_set,                                        
  rtems_interval   ticks,                                             
  rtems_event_set *event_out                                          
)                                                                     
{                                                                     
ffc14994:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc14998:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_status_code sc;                                               
                                                                      
  if ( event_out != NULL ) {                                          
    Thread_Control    *executing = _Thread_Executing;                 
ffc1499c:	83 e8 2e 50 	lwz     r31,11856(r8)                          
    RTEMS_API_Control *api = executing->API_Extensions[ THREAD_API_RTEMS ];
ffc149a0:	81 1f 01 48 	lwz     r8,328(r31)                            
    Event_Control     *event = &api->System_event;                    
                                                                      
    if ( !_Event_sets_Is_empty( event_in ) ) {                        
ffc149a4:	40 9e 00 2c 	bne-    cr7,ffc149d0 <rtems_event_system_receive+0x54><== ALWAYS TAKEN
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc149a8:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
      _Thread_Enable_dispatch();                                      
                                                                      
      sc = executing->Wait.return_code;                               
    } else {                                                          
      *event_out = event->pending_events;                             
      sc = RTEMS_SUCCESSFUL;                                          
ffc149ac:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
      );                                                              
      _Thread_Enable_dispatch();                                      
                                                                      
      sc = executing->Wait.return_code;                               
    } else {                                                          
      *event_out = event->pending_events;                             
ffc149b0:	81 28 00 04 	lwz     r9,4(r8)                               <== NOT EXECUTED
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc149b4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc149b8:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
      );                                                              
      _Thread_Enable_dispatch();                                      
                                                                      
      sc = executing->Wait.return_code;                               
    } else {                                                          
      *event_out = event->pending_events;                             
ffc149bc:	91 2a 00 00 	stw     r9,0(r10)                              <== NOT EXECUTED
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc149c0:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc149c4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    } else {                                                          
      *event_out = event->pending_events;                             
      sc = RTEMS_SUCCESSFUL;                                          
    }                                                                 
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
ffc149c8:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
ffc149cc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc149d0:	3d 20 00 00 	lis     r9,0                                   
ffc149d4:	81 49 27 bc 	lwz     r10,10172(r9)                          
                                                                      
    ++level;                                                          
ffc149d8:	39 4a 00 01 	addi    r10,r10,1                              
    _Thread_Dispatch_disable_level = level;                           
ffc149dc:	91 49 27 bc 	stw     r10,10172(r9)                          
    RTEMS_API_Control *api = executing->API_Extensions[ THREAD_API_RTEMS ];
    Event_Control     *event = &api->System_event;                    
                                                                      
    if ( !_Event_sets_Is_empty( event_in ) ) {                        
      _Thread_Disable_dispatch();                                     
      _Event_Seize(                                                   
ffc149e0:	3d 20 00 00 	lis     r9,0                                   
ffc149e4:	7f e7 fb 78 	mr      r7,r31                                 
ffc149e8:	39 08 00 04 	addi    r8,r8,4                                
ffc149ec:	39 29 27 ec 	addi    r9,r9,10220                            
ffc149f0:	3d 40 00 04 	lis     r10,4                                  
ffc149f4:	4b ff 5e 7d 	bl      ffc0a870 <_Event_Seize>                
        executing,                                                    
        event,                                                        
        &_System_event_Sync_state,                                    
        STATES_WAITING_FOR_SYSTEM_EVENT                               
      );                                                              
      _Thread_Enable_dispatch();                                      
ffc149f8:	4b ff 96 69 	bl      ffc0e060 <_Thread_Enable_dispatch>     
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc149fc:	80 01 00 14 	lwz     r0,20(r1)                              
        &_System_event_Sync_state,                                    
        STATES_WAITING_FOR_SYSTEM_EVENT                               
      );                                                              
      _Thread_Enable_dispatch();                                      
                                                                      
      sc = executing->Wait.return_code;                               
ffc14a00:	80 7f 00 34 	lwz     r3,52(r31)                             
  } else {                                                            
    sc = RTEMS_INVALID_ADDRESS;                                       
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc14a04:	7c 08 03 a6 	mtlr    r0                                     
ffc14a08:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc14a0c:	38 21 00 10 	addi    r1,r1,16                               
ffc14a10:	4e 80 00 20 	blr                                            
                                                                      

ffc09ca0 <rtems_event_system_send>: rtems_status_code rtems_event_system_send( rtems_id id, rtems_event_set event_in ) {
ffc09ca0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc09ca4:	7c 08 02 a6 	mflr    r0                                     
ffc09ca8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc09cac:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_status_code  sc;                                              
  Thread_Control    *thread;                                          
  Objects_Locations  location;                                        
  RTEMS_API_Control *api;                                             
                                                                      
  thread = _Thread_Get( id, &location );                              
ffc09cb0:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
rtems_status_code rtems_event_system_send(                            
  rtems_id        id,                                                 
  rtems_event_set event_in                                            
)                                                                     
{                                                                     
ffc09cb4:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_status_code  sc;                                              
  Thread_Control    *thread;                                          
  Objects_Locations  location;                                        
  RTEMS_API_Control *api;                                             
                                                                      
  thread = _Thread_Get( id, &location );                              
ffc09cb8:	48 00 2d 81 	bl      ffc0ca38 <_Thread_Get>                 
  switch ( location ) {                                               
ffc09cbc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc09cc0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09cc4:	40 9e 00 3c 	bne-    cr7,ffc09d00 <rtems_event_system_send+0x60><== NEVER TAKEN
    case OBJECTS_LOCAL:                                               
      api = thread->API_Extensions[ THREAD_API_RTEMS ];               
      _Event_Surrender(                                               
ffc09cc8:	80 a3 01 48 	lwz     r5,328(r3)                             
ffc09ccc:	3c c0 00 00 	lis     r6,0                                   
ffc09cd0:	7f e4 fb 78 	mr      r4,r31                                 
ffc09cd4:	38 a5 00 04 	addi    r5,r5,4                                
ffc09cd8:	38 c6 28 54 	addi    r6,r6,10324                            
ffc09cdc:	3c e0 00 04 	lis     r7,4                                   
ffc09ce0:	4b ff f8 4d 	bl      ffc0952c <_Event_Surrender>            
        event_in,                                                     
        &api->System_event,                                           
        &_System_event_Sync_state,                                    
        STATES_WAITING_FOR_SYSTEM_EVENT                               
      );                                                              
      _Thread_Enable_dispatch();                                      
ffc09ce4:	48 00 2d 39 	bl      ffc0ca1c <_Thread_Enable_dispatch>     
      sc = RTEMS_INVALID_ID;                                          
      break;                                                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09ce8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc09cec:	83 e1 00 1c 	lwz     r31,28(r1)                             
        &api->System_event,                                           
        &_System_event_Sync_state,                                    
        STATES_WAITING_FOR_SYSTEM_EVENT                               
      );                                                              
      _Thread_Enable_dispatch();                                      
      sc = RTEMS_SUCCESSFUL;                                          
ffc09cf0:	38 60 00 00 	li      r3,0                                   
      sc = RTEMS_INVALID_ID;                                          
      break;                                                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09cf4:	7c 08 03 a6 	mtlr    r0                                     
ffc09cf8:	38 21 00 20 	addi    r1,r1,32                               
ffc09cfc:	4e 80 00 20 	blr                                            
ffc09d00:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    case OBJECTS_REMOTE:                                              
      sc = RTEMS_ILLEGAL_ON_REMOTE_OBJECT;                            
      break;                                                          
#endif                                                                
    default:                                                          
      sc = RTEMS_INVALID_ID;                                          
ffc09d04:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc09d08:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc09d0c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc09d10:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc09d14:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc097d4 <rtems_fdisk_abort.constprop.16>: * * @param format The format string. See printf for details. * @param ... The arguments for the format text. */ static void rtems_fdisk_abort (const char *format, ...)
ffc097d4:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc097d8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:abort:");                                   
ffc097dc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
 *                                                                    
 * @param format The format string. See printf for details.           
 * @param ... The arguments for the format text.                      
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
ffc097e0:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:abort:");                                   
ffc097e4:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc097e8:	38 a0 00 0c 	li      r5,12                                  <== NOT EXECUTED
 *                                                                    
 * @param format The format string. See printf for details.           
 * @param ... The arguments for the format text.                      
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
ffc097ec:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:abort:");                                   
ffc097f0:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc097f4:	38 63 96 9c 	addi    r3,r3,-26980                           <== NOT EXECUTED
ffc097f8:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc097fc:	80 c9 00 0c 	lwz     r6,12(r9)                              <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
ffc09800:	39 21 00 28 	addi    r9,r1,40                               <== NOT EXECUTED
ffc09804:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
  fprintf (stderr, "fdisk:abort:");                                   
ffc09808:	48 01 fb 61 	bl      ffc29368 <fwrite>                      <== NOT EXECUTED
  vfprintf (stderr, format, args);                                    
ffc0980c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc09810:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc09814:	38 63 96 ac 	addi    r3,r3,-26964                           <== NOT EXECUTED
ffc09818:	80 89 00 0c 	lwz     r4,12(r9)                              <== NOT EXECUTED
ffc0981c:	48 01 f3 2d 	bl      ffc28b48 <fputs>                       <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
ffc09820:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc09824:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc09828:	80 89 00 0c 	lwz     r4,12(r9)                              <== NOT EXECUTED
ffc0982c:	48 01 f2 05 	bl      ffc28a30 <fputc>                       <== NOT EXECUTED
  fflush (stderr);                                                    
ffc09830:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc09834:	80 69 00 0c 	lwz     r3,12(r9)                              <== NOT EXECUTED
ffc09838:	48 01 eb cd 	bl      ffc28404 <fflush>                      <== NOT EXECUTED
  va_end (args);                                                      
  exit (1);                                                           
ffc0983c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc09840:	48 01 e7 09 	bl      ffc27f48 <exit>                        <== NOT EXECUTED
                                                                      

ffc075c8 <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) {
ffc075c8:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc075cc:	7c 08 02 a6 	mflr    r0                                     
ffc075d0:	90 01 00 44 	stw     r0,68(r1)                              
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
ffc075d4:	81 43 00 28 	lwz     r10,40(r3)                             
ffc075d8:	81 23 00 24 	lwz     r9,36(r3)                              
 * 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)                             
{                                                                     
ffc075dc:	93 a1 00 34 	stw     r29,52(r1)                             
ffc075e0:	7c 7d 1b 78 	mr      r29,r3                                 
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
ffc075e4:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
 * 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)                             
{                                                                     
ffc075e8:	92 c1 00 18 	stw     r22,24(r1)                             
ffc075ec:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc075f0:	93 01 00 20 	stw     r24,32(r1)                             
ffc075f4:	93 21 00 24 	stw     r25,36(r1)                             
ffc075f8:	93 41 00 28 	stw     r26,40(r1)                             
ffc075fc:	93 61 00 2c 	stw     r27,44(r1)                             
ffc07600:	93 81 00 30 	stw     r28,48(r1)                             
ffc07604:	93 c1 00 38 	stw     r30,56(r1)                             
ffc07608:	93 e1 00 3c 	stw     r31,60(r1)                             
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
ffc0760c:	40 9c 00 78 	bge-    cr7,ffc07684 <rtems_fdisk_compact+0xbc>
    fd->starvations++;                                                
ffc07610:	81 23 00 70 	lwz     r9,112(r3)                             
  uint32_t pages;                                                     
                                                                      
  if (rtems_fdisk_is_erased_blocks_starvation (fd))                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " resolve starvation");                   
ffc07614:	3c 80 ff c4 	lis     r4,-60                                 
ffc07618:	38 84 95 b8 	addi    r4,r4,-27208                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
    fd->starvations++;                                                
ffc0761c:	39 29 00 01 	addi    r9,r9,1                                
ffc07620:	91 23 00 70 	stw     r9,112(r3)                             
  uint32_t pages;                                                     
                                                                      
  if (rtems_fdisk_is_erased_blocks_starvation (fd))                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " resolve starvation");                   
ffc07624:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07628:	4b ff ee 45 	bl      ffc0646c <rtems_fdisk_printf>          
 * 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)                                                    
ffc0762c:	83 fd 00 40 	lwz     r31,64(r29)                            
ffc07630:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc07634:	41 9e 02 70 	beq-    cr7,ffc078a4 <rtems_fdisk_compact+0x2dc><== NEVER TAKEN
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc07638:	81 3f 00 00 	lwz     r9,0(r31)                              
    if (!queue->head)                                                 
ffc0763c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc07640:	91 3d 00 40 	stw     r9,64(r29)                             
    if (!queue->head)                                                 
ffc07644:	41 9e 03 54 	beq-    cr7,ffc07998 <rtems_fdisk_compact+0x3d0><== NEVER TAKEN
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc07648:	81 3d 00 48 	lwz     r9,72(r29)                             
ffc0764c:	80 7d 00 34 	lwz     r3,52(r29)                             
ffc07650:	39 29 ff ff 	addi    r9,r9,-1                               
ffc07654:	91 3d 00 48 	stw     r9,72(r29)                             
                                                                      
    sc->next = 0;                                                     
ffc07658:	39 20 00 00 	li      r9,0                                   
ffc0765c:	91 3f 00 00 	stw     r9,0(r31)                              
    if (!ssc)                                                         
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->available);      
                                                                      
    if (ssc)                                                          
    {                                                                 
      dsc = rtems_fdisk_seg_most_available (&fd->available);          
ffc07660:	4b ff f7 49 	bl      ffc06da8 <rtems_fdisk_seg_most_available.isra.12>
      if (dsc)                                                        
ffc07664:	7c 65 1b 79 	mr.     r5,r3                                  
ffc07668:	41 82 03 00 	beq-    ffc07968 <rtems_fdisk_compact+0x3a0>   <== NEVER TAKEN
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
ffc0766c:	7f a3 eb 78 	mr      r3,r29                                 
ffc07670:	7f e4 fb 78 	mr      r4,r31                                 
ffc07674:	38 c1 00 08 	addi    r6,r1,8                                
ffc07678:	4b ff fa 79 	bl      ffc070f0 <rtems_fdisk_recycle_segment> 
        if (ret)                                                      
ffc0767c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc07680:	40 82 01 18 	bne-    ffc07798 <rtems_fdisk_compact+0x1d0>   <== NEVER TAKEN
ffc07684:	81 3d 00 40 	lwz     r9,64(r29)                             
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
ffc07688:	3f 20 ff c4 	lis     r25,-60                                
    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",         
ffc0768c:	3f 00 ff c4 	lis     r24,-60                                
ffc07690:	2f 89 00 00 	cmpwi   cr7,r9,0                               
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
ffc07694:	3e c0 ff c4 	lis     r22,-60                                
                                                                      
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
           ((compacted_segs + segments) < fd->compact_segs))          
    {                                                                 
      pages += ssc->pages_active;                                     
ffc07698:	3b 60 00 00 	li      r27,0                                  
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
ffc0769c:	3b 39 95 e4 	addi    r25,r25,-27164                         
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
ffc076a0:	3b 40 00 00 	li      r26,0                                  
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
ffc076a4:	3b 18 96 24 	addi    r24,r24,-27100                         
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
ffc076a8:	3a d6 96 58 	addi    r22,r22,-27048                         
                        ssc->device, ssc->segment,                    
                        pages, segments);                             
#endif                                                                
                                                                      
    rtems_fdisk_segment_queue_remove (&fd->available, dsc);           
ffc076ac:	3a fd 00 34 	addi    r23,r29,52                             
      rtems_fdisk_error ("compacting: nothing to recycle");           
      return EIO;                                                     
    }                                                                 
  }                                                                   
                                                                      
  while (fd->used.head)                                               
ffc076b0:	41 9e 02 28 	beq-    cr7,ffc078d8 <rtems_fdisk_compact+0x310>
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
ffc076b4:	7f 24 cb 78 	mr      r4,r25                                 
ffc076b8:	7f a3 eb 78 	mr      r3,r29                                 
ffc076bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc076c0:	4b ff ed ad 	bl      ffc0646c <rtems_fdisk_printf>          
#endif                                                                
                                                                      
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
ffc076c4:	80 7d 00 34 	lwz     r3,52(r29)                             
ffc076c8:	4b ff f6 e1 	bl      ffc06da8 <rtems_fdisk_seg_most_available.isra.12>
                                                                      
    if (dsc == 0)                                                     
ffc076cc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc076d0:	41 82 02 44 	beq-    ffc07914 <rtems_fdisk_compact+0x34c>   <== NEVER TAKEN
 * 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)                             
ffc076d4:	81 3c 00 24 	lwz     r9,36(r28)                             
    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",         
ffc076d8:	7f a3 eb 78 	mr      r3,r29                                 
 * 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)                             
ffc076dc:	83 dc 00 20 	lwz     r30,32(r28)                            
    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",         
ffc076e0:	7f 04 c3 78 	mr      r4,r24                                 
 * 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);
ffc076e4:	81 5c 00 14 	lwz     r10,20(r28)                            
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
      return EIO;                                                     
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
ffc076e8:	83 fd 00 40 	lwz     r31,64(r29)                            
 * 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)                             
ffc076ec:	7f de 4a 14 	add     r30,r30,r9                             
    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",         
ffc076f0:	80 bc 00 08 	lwz     r5,8(r28)                              
 * 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);
ffc076f4:	7f de 50 50 	subf    r30,r30,r10                            
ffc076f8:	81 3c 00 1c 	lwz     r9,28(r28)                             
    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",         
ffc076fc:	80 dc 00 0c 	lwz     r6,12(r28)                             
 * 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);
ffc07700:	7f c9 f0 50 	subf    r30,r9,r30                             
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
ffc07704:	93 41 00 08 	stw     r26,8(r1)                              
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
ffc07708:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0770c:	4b ff ed 61 	bl      ffc0646c <rtems_fdisk_printf>          
     * 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 &&                                                     
ffc07710:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc07714:	41 9e 00 6c 	beq-    cr7,ffc07780 <rtems_fdisk_compact+0x1b8><== NEVER TAKEN
           ((pages + ssc->pages_active) < dst_pages) &&               
ffc07718:	81 41 00 08 	lwz     r10,8(r1)                              
ffc0771c:	80 ff 00 1c 	lwz     r7,28(r31)                             
ffc07720:	7c ea 3a 14 	add     r7,r10,r7                              
     * 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 &&                                                     
ffc07724:	7f 9e 38 40 	cmplw   cr7,r30,r7                             
ffc07728:	40 9d 01 70 	ble-    cr7,ffc07898 <rtems_fdisk_compact+0x2d0>
           ((pages + ssc->pages_active) < dst_pages) &&               
           ((compacted_segs + segments) < fd->compact_segs))          
ffc0772c:	81 3d 00 0c 	lwz     r9,12(r29)                             
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
ffc07730:	7f 9b 48 40 	cmplw   cr7,r27,r9                             
ffc07734:	40 9c 01 64 	bge-    cr7,ffc07898 <rtems_fdisk_compact+0x2d0><== NEVER TAKEN
ffc07738:	39 5b 00 01 	addi    r10,r27,1                              
ffc0773c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc07740:	7d 3b 48 50 	subf    r9,r27,r9                              
ffc07744:	39 00 00 00 	li      r8,0                                   
ffc07748:	7d 29 03 a6 	mtctr   r9                                     
ffc0774c:	40 bd 00 20 	ble+    cr7,ffc0776c <rtems_fdisk_compact+0x1a4><== ALWAYS TAKEN
ffc07750:	48 00 02 58 	b       ffc079a8 <rtems_fdisk_compact+0x3e0>   <== NOT EXECUTED
ffc07754:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc07758:	7d 27 4a 14 	add     r9,r7,r9                               
     * 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 &&                                                     
ffc0775c:	7f 89 f0 40 	cmplw   cr7,r9,r30                             
ffc07760:	40 9c 00 70 	bge-    cr7,ffc077d0 <rtems_fdisk_compact+0x208>
           ((pages + ssc->pages_active) < dst_pages) &&               
ffc07764:	42 40 00 6c 	bdz-    ffc077d0 <rtems_fdisk_compact+0x208>   
ffc07768:	7d 27 4b 78 	mr      r7,r9                                  
           ((compacted_segs + segments) < fd->compact_segs))          
    {                                                                 
      pages += ssc->pages_active;                                     
      segments++;                                                     
      ssc = ssc->next;                                                
ffc0776c:	83 ff 00 00 	lwz     r31,0(r31)                             
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
           ((compacted_segs + segments) < fd->compact_segs))          
    {                                                                 
      pages += ssc->pages_active;                                     
      segments++;                                                     
ffc07770:	39 08 00 01 	addi    r8,r8,1                                
     * 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 &&                                                     
ffc07774:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc07778:	40 9e ff dc 	bne+    cr7,ffc07754 <rtems_fdisk_compact+0x18c>
ffc0777c:	90 e1 00 08 	stw     r7,8(r1)                               
     */                                                               
                                                                      
    if (!ssc || (pages == 0) || ((compacted_segs + segments) == 1))   
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_printf (fd, " nothing to compact");                 
ffc07780:	3c 80 ff c4 	lis     r4,-60                                 
ffc07784:	7f a3 eb 78 	mr      r3,r29                                 
ffc07788:	38 84 96 44 	addi    r4,r4,-27068                           
ffc0778c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07790:	4b ff ec dd 	bl      ffc0646c <rtems_fdisk_printf>          
    }                                                                 
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
ffc07794:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc07798:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0779c:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc077a0:	7c 08 03 a6 	mtlr    r0                                     
ffc077a4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc077a8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc077ac:	83 21 00 24 	lwz     r25,36(r1)                             
ffc077b0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc077b4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc077b8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc077bc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc077c0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc077c4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc077c8:	38 21 00 40 	addi    r1,r1,64                               
ffc077cc:	4e 80 00 20 	blr                                            
ffc077d0:	90 e1 00 08 	stw     r7,8(r1)                               
     * 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))   
ffc077d4:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc077d8:	41 be ff a8 	beq-    cr7,ffc07780 <rtems_fdisk_compact+0x1b8>
ffc077dc:	7f 7b 42 14 	add     r27,r27,r8                             
ffc077e0:	2f 9b 00 01 	cmpwi   cr7,r27,1                              
ffc077e4:	41 be ff 9c 	beq-    cr7,ffc07780 <rtems_fdisk_compact+0x1b8>
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
ffc077e8:	80 bf 00 08 	lwz     r5,8(r31)                              
ffc077ec:	7e c4 b3 78 	mr      r4,r22                                 
ffc077f0:	80 df 00 0c 	lwz     r6,12(r31)                             
ffc077f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc077f8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc077fc:	4b ff ec 71 	bl      ffc0646c <rtems_fdisk_printf>          
                        ssc->device, ssc->segment,                    
                        pages, segments);                             
#endif                                                                
                                                                      
    rtems_fdisk_segment_queue_remove (&fd->available, dsc);           
ffc07800:	7e e3 bb 78 	mr      r3,r23                                 
ffc07804:	7f 84 e3 78 	mr      r4,r28                                 
ffc07808:	4b ff e9 e5 	bl      ffc061ec <rtems_fdisk_segment_queue_remove>
ffc0780c:	81 3d 00 40 	lwz     r9,64(r29)                             
ffc07810:	81 41 00 08 	lwz     r10,8(r1)                              
ffc07814:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07818:	2f 0a 00 00 	cmpwi   cr6,r10,0                              
                                                                      
    /*                                                                
     * We now copy the pages to the new segment.                      
     */                                                               
                                                                      
    while (pages)                                                     
ffc0781c:	41 9a fe 94 	beq+    cr6,ffc076b0 <rtems_fdisk_compact+0xe8>
 * 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)                                                    
ffc07820:	41 be ff fc 	beq-    cr7,ffc0781c <rtems_fdisk_compact+0x254><== NEVER TAKEN
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc07824:	81 49 00 00 	lwz     r10,0(r9)                              
    if (!queue->head)                                                 
ffc07828:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc0782c:	91 5d 00 40 	stw     r10,64(r29)                            
    if (!queue->head)                                                 
ffc07830:	41 9e 01 30 	beq-    cr7,ffc07960 <rtems_fdisk_compact+0x398><== NEVER TAKEN
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc07834:	81 5d 00 48 	lwz     r10,72(r29)                            
    {                                                                 
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->used);           
                                                                      
      if (ssc)                                                        
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
ffc07838:	7f a3 eb 78 	mr      r3,r29                                 
ffc0783c:	7d 24 4b 78 	mr      r4,r9                                  
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc07840:	39 4a ff ff 	addi    r10,r10,-1                             
ffc07844:	91 5d 00 48 	stw     r10,72(r29)                            
    {                                                                 
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->used);           
                                                                      
      if (ssc)                                                        
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
ffc07848:	7f 85 e3 78 	mr      r5,r28                                 
ffc0784c:	38 c1 00 08 	addi    r6,r1,8                                
    if (!queue->head)                                                 
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
                                                                      
    sc->next = 0;                                                     
ffc07850:	93 49 00 00 	stw     r26,0(r9)                              
    {                                                                 
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->used);           
                                                                      
      if (ssc)                                                        
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
ffc07854:	4b ff f8 9d 	bl      ffc070f0 <rtems_fdisk_recycle_segment> 
        if (ret)                                                      
ffc07858:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0785c:	41 82 ff b0 	beq+    ffc0780c <rtems_fdisk_compact+0x244>   <== ALWAYS TAKEN
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc07860:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc07864:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
ffc07868:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0786c:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc07870:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc07874:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc07878:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc0787c:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc07880:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc07884:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc07888:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc0788c:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc07890:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc07894:	4e 80 00 20 	blr                                            <== NOT EXECUTED
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
ffc07898:	7d 47 53 78 	mr      r7,r10                                 
      return EIO;                                                     
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
ffc0789c:	39 00 00 00 	li      r8,0                                   
ffc078a0:	4b ff ff 34 	b       ffc077d4 <rtems_fdisk_compact+0x20c>   
 * 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)                                                    
ffc078a4:	83 fd 00 34 	lwz     r31,52(r29)                            <== NOT EXECUTED
ffc078a8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc078ac:	41 9e 00 d4 	beq-    cr7,ffc07980 <rtems_fdisk_compact+0x3b8><== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc078b0:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
    if (!queue->head)                                                 
ffc078b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc078b8:	90 7d 00 34 	stw     r3,52(r29)                             <== NOT EXECUTED
    if (!queue->head)                                                 
ffc078bc:	41 9e 00 e4 	beq-    cr7,ffc079a0 <rtems_fdisk_compact+0x3d8><== NOT EXECUTED
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc078c0:	81 3d 00 3c 	lwz     r9,60(r29)                             <== NOT EXECUTED
ffc078c4:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc078c8:	91 3d 00 3c 	stw     r9,60(r29)                             <== NOT EXECUTED
                                                                      
    sc->next = 0;                                                     
ffc078cc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc078d0:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
ffc078d4:	4b ff fd 8c 	b       ffc07660 <rtems_fdisk_compact+0x98>    <== NOT EXECUTED
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc078d8:	80 01 00 44 	lwz     r0,68(r1)                              
    }                                                                 
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
ffc078dc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc078e0:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc078e4:	7c 08 03 a6 	mtlr    r0                                     
ffc078e8:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc078ec:	83 01 00 20 	lwz     r24,32(r1)                             
ffc078f0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc078f4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc078f8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc078fc:	83 81 00 30 	lwz     r28,48(r1)                             
ffc07900:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc07904:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc07908:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0790c:	38 21 00 40 	addi    r1,r1,64                               
ffc07910:	4e 80 00 20 	blr                                            
                                                                      
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
                                                                      
    if (dsc == 0)                                                     
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
ffc07914:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07918:	38 63 95 f0 	addi    r3,r3,-27152                           <== NOT EXECUTED
ffc0791c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07920:	4b ff ee 29 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc07924:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc07928:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
                                                                      
    if (dsc == 0)                                                     
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
      return EIO;                                                     
ffc0792c:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc07930:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07934:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc07938:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc0793c:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc07940:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc07944:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc07948:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc0794c:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc07950:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc07954:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc07958:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc0795c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
ffc07960:	91 5d 00 44 	stw     r10,68(r29)                            <== NOT EXECUTED
ffc07964:	4b ff fe d0 	b       ffc07834 <rtems_fdisk_compact+0x26c>   <== NOT EXECUTED
        if (ret)                                                      
          return ret;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_fdisk_error ("compacting: starvation");                 
ffc07968:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc0796c:	38 63 95 cc 	addi    r3,r3,-27188                           <== NOT EXECUTED
ffc07970:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07974:	4b ff ed d5 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
        return EIO;                                                   
ffc07978:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc0797c:	4b ff fe 1c 	b       ffc07798 <rtems_fdisk_compact+0x1d0>   <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      rtems_fdisk_error ("compacting: nothing to recycle");           
ffc07980:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07984:	38 63 96 7c 	addi    r3,r3,-27012                           <== NOT EXECUTED
ffc07988:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0798c:	4b ff ed bd 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      return EIO;                                                     
ffc07990:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc07994:	4b ff fe 04 	b       ffc07798 <rtems_fdisk_compact+0x1d0>   <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
ffc07998:	91 3d 00 44 	stw     r9,68(r29)                             <== NOT EXECUTED
ffc0799c:	4b ff fc ac 	b       ffc07648 <rtems_fdisk_compact+0x80>    <== NOT EXECUTED
ffc079a0:	90 7d 00 38 	stw     r3,56(r29)                             <== NOT EXECUTED
ffc079a4:	4b ff ff 1c 	b       ffc078c0 <rtems_fdisk_compact+0x2f8>   <== NOT EXECUTED
ffc079a8:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc079ac:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc079b0:	4b ff fd bc 	b       ffc0776c <rtems_fdisk_compact+0x1a4>   <== NOT EXECUTED
                                                                      

ffc06830 <rtems_fdisk_erase_segment>: /** * Erase the segment. */ static int rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc) {
ffc06830:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06834:	7c 08 02 a6 	mflr    r0                                     
ffc06838:	90 01 00 24 	stw     r0,36(r1)                              
ffc0683c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06840:	7c 9f 23 78 	mr      r31,r4                                 
  int                                ret;                             
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
ffc06844:	80 84 00 08 	lwz     r4,8(r4)                               
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;            
ffc06848:	81 23 00 2c 	lwz     r9,44(r3)                              
ffc0684c:	1d 44 00 0c 	mulli   r10,r4,12                              
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
ffc06850:	80 bf 00 0c 	lwz     r5,12(r31)                             
/**                                                                   
 * Erase the segment.                                                 
 */                                                                   
static int                                                            
rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
ffc06854:	93 a1 00 14 	stw     r29,20(r1)                             
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;            
ffc06858:	7d 09 52 14 	add     r8,r9,r10                              
  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;                    
ffc0685c:	80 e8 00 08 	lwz     r7,8(r8)                               
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;            
ffc06860:	7d 09 50 2e 	lwzx    r8,r9,r10                              
ffc06864:	1d 45 00 30 	mulli   r10,r5,48                              
  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);                             
ffc06868:	81 27 00 08 	lwz     r9,8(r7)                               
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;            
ffc0686c:	7d 48 52 14 	add     r10,r8,r10                             
/**                                                                   
 * Erase the segment.                                                 
 */                                                                   
static int                                                            
rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
ffc06870:	93 c1 00 18 	stw     r30,24(r1)                             
ffc06874:	7c 7e 1b 78 	mr      r30,r3                                 
  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);                             
ffc06878:	81 29 00 10 	lwz     r9,16(r9)                              
/**                                                                   
 * Erase the segment.                                                 
 */                                                                   
static int                                                            
rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
ffc0687c:	93 61 00 0c 	stw     r27,12(r1)                             
  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);                             
ffc06880:	7d 29 03 a6 	mtctr   r9                                     
/**                                                                   
 * Erase the segment.                                                 
 */                                                                   
static int                                                            
rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
ffc06884:	93 81 00 10 	stw     r28,16(r1)                             
  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);                             
ffc06888:	80 6a 00 04 	lwz     r3,4(r10)                              
ffc0688c:	4e 80 04 21 	bctrl                                          
  if (ret)                                                            
ffc06890:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc06894:	41 82 00 a8 	beq-    ffc0693c <rtems_fdisk_erase_segment+0x10c><== ALWAYS TAKEN
  {                                                                   
    rtems_fdisk_error (" erase-segment:%02d-%03d: "      \            
ffc06898:	83 7f 00 08 	lwz     r27,8(r31)                             <== NOT EXECUTED
ffc0689c:	83 9f 00 0c 	lwz     r28,12(r31)                            <== NOT EXECUTED
ffc068a0:	48 02 42 b9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc068a4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc068a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc068ac:	38 63 93 78 	addi    r3,r3,-27784                           <== NOT EXECUTED
ffc068b0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc068b4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc068b8:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc068bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc068c0:	4b ff fe 89 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc068c4:	81 3e 00 58 	lwz     r9,88(r30)                             <== 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;                                                
ffc068c8:	39 40 00 01 	li      r10,1                                  <== 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)                                                          
ffc068cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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;                                                
ffc068d0:	91 5f 00 28 	stw     r10,40(r31)                            <== 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)                                                          
ffc068d4:	41 9e 01 08 	beq-    cr7,ffc069dc <rtems_fdisk_erase_segment+0x1ac><== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc068d8:	7f 9f 48 00 	cmpw    cr7,r31,r9                             <== NOT EXECUTED
ffc068dc:	40 be 00 0c 	bne+    cr7,ffc068e8 <rtems_fdisk_erase_segment+0xb8><== NOT EXECUTED
ffc068e0:	48 00 00 c8 	b       ffc069a8 <rtems_fdisk_erase_segment+0x178><== NOT EXECUTED
ffc068e4:	41 9a 00 c4 	beq-    cr6,ffc069a8 <rtems_fdisk_erase_segment+0x178><== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
ffc068e8:	81 29 00 00 	lwz     r9,0(r9)                               <== 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)                                                          
ffc068ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc068f0:	7f 1f 48 00 	cmpw    cr6,r31,r9                             <== 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)                                                          
ffc068f4:	40 9e ff f0 	bne+    cr7,ffc068e4 <rtems_fdisk_erase_segment+0xb4><== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc068f8:	81 5e 00 5c 	lwz     r10,92(r30)                            <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc068fc:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06900:	93 ea 00 00 	stw     r31,0(r10)                             <== NOT EXECUTED
      queue->tail       = sc;                                         
ffc06904:	93 fe 00 5c 	stw     r31,92(r30)                            <== NOT EXECUTED
   * segment will now get a go.                                       
   */                                                                 
  rtems_fdisk_segment_queue_push_tail (&fd->available, sc);           
                                                                      
  return 0;                                                           
}                                                                     
ffc06908:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc0690c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06910:	81 3e 00 60 	lwz     r9,96(r30)                             <== NOT EXECUTED
   * segment will now get a go.                                       
   */                                                                 
  rtems_fdisk_segment_queue_push_tail (&fd->available, sc);           
                                                                      
  return 0;                                                           
}                                                                     
ffc06914:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06918:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc0691c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
   * segment will now get a go.                                       
   */                                                                 
  rtems_fdisk_segment_queue_push_tail (&fd->available, sc);           
                                                                      
  return 0;                                                           
}                                                                     
ffc06920:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06924:	91 3e 00 60 	stw     r9,96(r30)                             <== NOT EXECUTED
   * segment will now get a go.                                       
   */                                                                 
  rtems_fdisk_segment_queue_push_tail (&fd->available, sc);           
                                                                      
  return 0;                                                           
}                                                                     
ffc06928:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc0692c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc06930:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc06934:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc06938:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    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;                                     
ffc0693c:	80 fe 00 28 	lwz     r7,40(r30)                             
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
ffc06940:	38 80 00 ff 	li      r4,255                                 
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
ffc06944:	81 3f 00 2c 	lwz     r9,44(r31)                             
    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;                                     
ffc06948:	81 1f 00 14 	lwz     r8,20(r31)                             
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
ffc0694c:	80 be 00 14 	lwz     r5,20(r30)                             
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
ffc06950:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
ffc06954:	81 5f 00 18 	lwz     r10,24(r31)                            
    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;                                     
ffc06958:	7d 07 42 14 	add     r8,r7,r8                               
ffc0695c:	91 1e 00 28 	stw     r8,40(r30)                             
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
ffc06960:	7c a5 51 d6 	mullw   r5,r5,r10                              
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
ffc06964:	91 3f 00 2c 	stw     r9,44(r31)                             
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
ffc06968:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc0696c:	48 02 2e 15 	bl      ffc29780 <memset>                      
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
ffc06970:	81 3e 00 34 	lwz     r9,52(r30)                             
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
                                                                      
  sc->pages_active = 0;                                               
ffc06974:	93 bf 00 1c 	stw     r29,28(r31)                            
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
ffc06978:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
                                                                      
  sc->pages_active = 0;                                               
  sc->pages_used   = 0;                                               
ffc0697c:	93 bf 00 20 	stw     r29,32(r31)                            
  sc->pages_bad    = 0;                                               
ffc06980:	93 bf 00 24 	stw     r29,36(r31)                            
                                                                      
  sc->failed = false;                                                 
ffc06984:	93 bf 00 28 	stw     r29,40(r31)                            
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06988:	93 bf 00 00 	stw     r29,0(r31)                             
                                                                      
    if (queue->head)                                                  
ffc0698c:	41 9e 00 44 	beq-    cr7,ffc069d0 <rtems_fdisk_erase_segment+0x1a0>
    {                                                                 
      queue->tail->next = sc;                                         
ffc06990:	81 3e 00 38 	lwz     r9,56(r30)                             
ffc06994:	93 e9 00 00 	stw     r31,0(r9)                              
      queue->tail       = sc;                                         
ffc06998:	93 fe 00 38 	stw     r31,56(r30)                            
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc0699c:	81 3e 00 3c 	lwz     r9,60(r30)                             
ffc069a0:	39 29 00 01 	addi    r9,r9,1                                
ffc069a4:	91 3e 00 3c 	stw     r9,60(r30)                             
   * segment will now get a go.                                       
   */                                                                 
  rtems_fdisk_segment_queue_push_tail (&fd->available, sc);           
                                                                      
  return 0;                                                           
}                                                                     
ffc069a8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc069ac:	7f a3 eb 78 	mr      r3,r29                                 
ffc069b0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc069b4:	7c 08 03 a6 	mtlr    r0                                     
ffc069b8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc069bc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc069c0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc069c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc069c8:	38 21 00 20 	addi    r1,r1,32                               
ffc069cc:	4e 80 00 20 	blr                                            
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc069d0:	93 fe 00 38 	stw     r31,56(r30)                            
ffc069d4:	93 fe 00 34 	stw     r31,52(r30)                            
ffc069d8:	4b ff ff c4 	b       ffc0699c <rtems_fdisk_erase_segment+0x16c>
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc069dc:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc069e0:	93 fe 00 5c 	stw     r31,92(r30)                            <== NOT EXECUTED
ffc069e4:	93 fe 00 58 	stw     r31,88(r30)                            <== NOT EXECUTED
ffc069e8:	4b ff ff 20 	b       ffc06908 <rtems_fdisk_erase_segment+0xd8><== NOT EXECUTED
                                                                      

ffc06748 <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, ...) {
ffc06748:	94 21 ff 80 	stwu    r1,-128(r1)                            <== NOT EXECUTED
ffc0674c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc06750:	93 c1 00 78 	stw     r30,120(r1)                            <== NOT EXECUTED
ffc06754:	90 01 00 84 	stw     r0,132(r1)                             <== NOT EXECUTED
ffc06758:	93 e1 00 7c 	stw     r31,124(r1)                            <== NOT EXECUTED
ffc0675c:	90 81 00 1c 	stw     r4,28(r1)                              <== NOT EXECUTED
ffc06760:	90 a1 00 20 	stw     r5,32(r1)                              <== NOT EXECUTED
ffc06764:	90 c1 00 24 	stw     r6,36(r1)                              <== NOT EXECUTED
ffc06768:	90 e1 00 28 	stw     r7,40(r1)                              <== NOT EXECUTED
ffc0676c:	91 01 00 2c 	stw     r8,44(r1)                              <== NOT EXECUTED
ffc06770:	91 21 00 30 	stw     r9,48(r1)                              <== NOT EXECUTED
ffc06774:	91 41 00 34 	stw     r10,52(r1)                             <== NOT EXECUTED
ffc06778:	40 86 00 24 	bne-    cr1,ffc0679c <rtems_fdisk_error+0x54>  <== NOT EXECUTED
ffc0677c:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc06780:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc06784:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc06788:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc0678c:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc06790:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc06794:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc06798:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:error:");                                   
ffc0679c:	3f e0 00 00 	lis     r31,0                                  <== NOT EXECUTED
ffc067a0:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
 * @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, ...)                           
{                                                                     
ffc067a4:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:error:");                                   
ffc067a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc067ac:	80 c9 00 0c 	lwz     r6,12(r9)                              <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
ffc067b0:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc067b4:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
ffc067b8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
ffc067bc:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
ffc067c0:	99 21 00 09 	stb     r9,9(r1)                               <== NOT EXECUTED
ffc067c4:	39 21 00 88 	addi    r9,r1,136                              <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
ffc067c8:	38 a0 00 0c 	li      r5,12                                  <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
ffc067cc:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
ffc067d0:	38 63 93 68 	addi    r3,r3,-27800                           <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
ffc067d4:	39 21 00 18 	addi    r9,r1,24                               <== NOT EXECUTED
ffc067d8:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
ffc067dc:	48 02 2b 8d 	bl      ffc29368 <fwrite>                      <== NOT EXECUTED
  ret =  vfprintf (stderr, format, args);                             
ffc067e0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc067e4:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc067e8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc067ec:	80 69 00 0c 	lwz     r3,12(r9)                              <== NOT EXECUTED
ffc067f0:	48 02 b7 61 	bl      ffc31f50 <vfprintf>                    <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
ffc067f4:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:error:");                                   
  ret =  vfprintf (stderr, format, args);                             
ffc067f8:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
ffc067fc:	80 89 00 0c 	lwz     r4,12(r9)                              <== NOT EXECUTED
ffc06800:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc06804:	48 02 22 2d 	bl      ffc28a30 <fputc>                       <== NOT EXECUTED
  fflush (stderr);                                                    
ffc06808:	81 3f 27 cc 	lwz     r9,10188(r31)                          <== NOT EXECUTED
ffc0680c:	80 69 00 0c 	lwz     r3,12(r9)                              <== NOT EXECUTED
ffc06810:	48 02 1b f5 	bl      ffc28404 <fflush>                      <== NOT EXECUTED
  va_end (args);                                                      
  return ret;                                                         
}                                                                     
ffc06814:	80 01 00 84 	lwz     r0,132(r1)                             <== NOT EXECUTED
ffc06818:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc0681c:	83 e1 00 7c 	lwz     r31,124(r1)                            <== NOT EXECUTED
ffc06820:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06824:	83 c1 00 78 	lwz     r30,120(r1)                            <== NOT EXECUTED
ffc06828:	38 21 00 80 	addi    r1,r1,128                              <== NOT EXECUTED
ffc0682c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc06374 <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, ...) {
ffc06374:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc06378:	7c 08 02 a6 	mflr    r0                                     
ffc0637c:	93 a1 00 74 	stw     r29,116(r1)                            
ffc06380:	90 01 00 84 	stw     r0,132(r1)                             
ffc06384:	93 c1 00 78 	stw     r30,120(r1)                            
ffc06388:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc0638c:	90 a1 00 18 	stw     r5,24(r1)                              
ffc06390:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc06394:	90 e1 00 20 	stw     r7,32(r1)                              
ffc06398:	91 01 00 24 	stw     r8,36(r1)                              
ffc0639c:	91 21 00 28 	stw     r9,40(r1)                              
ffc063a0:	91 41 00 2c 	stw     r10,44(r1)                             
ffc063a4:	40 86 00 24 	bne-    cr1,ffc063c8 <rtems_fdisk_info+0x54>   <== ALWAYS TAKEN
ffc063a8:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc063ac:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc063b0:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc063b4:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc063b8:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc063bc:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc063c0:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc063c4:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
ffc063c8:	81 23 00 6c 	lwz     r9,108(r3)                             
 * @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, ...) 
{                                                                     
ffc063cc:	7c 9d 23 78 	mr      r29,r4                                 
  int ret = 0;                                                        
ffc063d0:	3b e0 00 00 	li      r31,0                                  
  if (fd->info_level >= 2)                                            
ffc063d4:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc063d8:	40 9d 00 74 	ble-    cr7,ffc0644c <rtems_fdisk_info+0xd8>   <== ALWAYS TAKEN
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
ffc063dc:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc063e0:	9b e1 00 09 	stb     r31,9(r1)                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:");                                       
ffc063e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc063e8:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc063ec:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc063f0:	38 a0 00 06 	li      r5,6                                   <== NOT EXECUTED
ffc063f4:	80 c9 00 08 	lwz     r6,8(r9)                               <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc063f8:	39 20 00 02 	li      r9,2                                   <== NOT EXECUTED
ffc063fc:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
ffc06400:	39 21 00 88 	addi    r9,r1,136                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:");                                       
ffc06404:	38 63 93 2c 	addi    r3,r3,-27860                           <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc06408:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc0640c:	39 21 00 10 	addi    r9,r1,16                               <== NOT EXECUTED
ffc06410:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:");                                       
ffc06414:	48 02 2f 55 	bl      ffc29368 <fwrite>                      <== NOT EXECUTED
    ret =  vfprintf (stdout, format, args);                           
ffc06418:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc0641c:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc06420:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc06424:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06428:	48 02 bb 29 	bl      ffc31f50 <vfprintf>                    <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
ffc0642c:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
    ret =  vfprintf (stdout, format, args);                           
ffc06430:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
ffc06434:	80 89 00 08 	lwz     r4,8(r9)                               <== NOT EXECUTED
ffc06438:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc0643c:	48 02 25 f5 	bl      ffc28a30 <fputc>                       <== NOT EXECUTED
    fflush (stdout);                                                  
ffc06440:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc06444:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06448:	48 02 1f bd 	bl      ffc28404 <fflush>                      <== NOT EXECUTED
    va_end (args);                                                    
  }                                                                   
  return ret;                                                         
}                                                                     
ffc0644c:	80 01 00 84 	lwz     r0,132(r1)                             
ffc06450:	7f e3 fb 78 	mr      r3,r31                                 
ffc06454:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc06458:	7c 08 03 a6 	mtlr    r0                                     
ffc0645c:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc06460:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc06464:	38 21 00 80 	addi    r1,r1,128                              
ffc06468:	4e 80 00 20 	blr                                            
                                                                      

ffc09234 <rtems_fdisk_initialize>: */ rtems_device_driver rtems_fdisk_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void* arg __attribute__((unused))) {
ffc09234:	94 21 ff 98 	stwu    r1,-104(r1)                            
ffc09238:	7c 08 02 a6 	mflr    r0                                     
ffc0923c:	93 81 00 58 	stw     r28,88(r1)                             
ffc09240:	7c 7c 1b 78 	mr      r28,r3                                 
ffc09244:	90 01 00 6c 	stw     r0,108(r1)                             
ffc09248:	92 21 00 2c 	stw     r17,44(r1)                             
ffc0924c:	92 41 00 30 	stw     r18,48(r1)                             
ffc09250:	92 61 00 34 	stw     r19,52(r1)                             
ffc09254:	92 81 00 38 	stw     r20,56(r1)                             
ffc09258:	92 a1 00 3c 	stw     r21,60(r1)                             
ffc0925c:	92 c1 00 40 	stw     r22,64(r1)                             
ffc09260:	92 e1 00 44 	stw     r23,68(r1)                             
ffc09264:	93 01 00 48 	stw     r24,72(r1)                             
ffc09268:	93 21 00 4c 	stw     r25,76(r1)                             
ffc0926c:	93 41 00 50 	stw     r26,80(r1)                             
ffc09270:	93 61 00 54 	stw     r27,84(r1)                             
ffc09274:	93 a1 00 5c 	stw     r29,92(r1)                             
ffc09278:	93 c1 00 60 	stw     r30,96(r1)                             
ffc0927c:	93 e1 00 64 	stw     r31,100(r1)                            
  const rtems_flashdisk_config* c = rtems_flashdisk_configuration;    
  rtems_flashdisk*              fd;                                   
  rtems_status_code             sc;                                   
                                                                      
  sc = rtems_disk_io_initialize ();                                   
ffc09280:	4b ff cd 8d 	bl      ffc0600c <rtems_disk_io_initialize>    
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc09284:	2c 03 00 00 	cmpwi   r3,0                                   
ffc09288:	41 82 00 50 	beq-    ffc092d8 <rtems_fdisk_initialize+0xa4> <== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0928c:	80 01 00 6c 	lwz     r0,108(r1)                             
ffc09290:	82 21 00 2c 	lwz     r17,44(r1)                             
ffc09294:	7c 08 03 a6 	mtlr    r0                                     
ffc09298:	82 41 00 30 	lwz     r18,48(r1)                             
ffc0929c:	82 61 00 34 	lwz     r19,52(r1)                             
ffc092a0:	82 81 00 38 	lwz     r20,56(r1)                             
ffc092a4:	82 a1 00 3c 	lwz     r21,60(r1)                             
ffc092a8:	82 c1 00 40 	lwz     r22,64(r1)                             
ffc092ac:	82 e1 00 44 	lwz     r23,68(r1)                             
ffc092b0:	83 01 00 48 	lwz     r24,72(r1)                             
ffc092b4:	83 21 00 4c 	lwz     r25,76(r1)                             
ffc092b8:	83 41 00 50 	lwz     r26,80(r1)                             
ffc092bc:	83 61 00 54 	lwz     r27,84(r1)                             
ffc092c0:	83 81 00 58 	lwz     r28,88(r1)                             
ffc092c4:	83 a1 00 5c 	lwz     r29,92(r1)                             
ffc092c8:	83 c1 00 60 	lwz     r30,96(r1)                             
ffc092cc:	83 e1 00 64 	lwz     r31,100(r1)                            
ffc092d0:	38 21 00 68 	addi    r1,r1,104                              
ffc092d4:	4e 80 00 20 	blr                                            
static rtems_status_code                                              
rtems_fdisk_crc16_gen_factors (uint16_t pattern)                      
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
ffc092d8:	38 60 02 00 	li      r3,512                                 
ffc092dc:	48 00 17 b9 	bl      ffc0aa94 <malloc>                      
ffc092e0:	3f c0 00 01 	lis     r30,1                                  
  if (!rtems_fdisk_crc16_factor)                                      
ffc092e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
static rtems_status_code                                              
rtems_fdisk_crc16_gen_factors (uint16_t pattern)                      
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
ffc092e8:	3b 7e 29 00 	addi    r27,r30,10496                          
ffc092ec:	7c 66 1b 78 	mr      r6,r3                                  
ffc092f0:	90 7b 00 08 	stw     r3,8(r27)                              
  if (!rtems_fdisk_crc16_factor)                                      
    return RTEMS_NO_MEMORY;                                           
ffc092f4:	38 60 00 1a 	li      r3,26                                  
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)                                      
ffc092f8:	41 be ff 94 	beq-    cr7,ffc0928c <rtems_fdisk_initialize+0x58><== NEVER TAKEN
 * @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,              
ffc092fc:	38 c6 ff fe 	addi    r6,r6,-2                               
ffc09300:	38 e0 00 00 	li      r7,0                                   
  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;                        
ffc09304:	39 00 84 08 	li      r8,-31736                              
ffc09308:	38 60 00 08 	li      r3,8                                   
ffc0930c:	7c 69 03 a6 	mtctr   r3                                     
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
ffc09310:	54 e9 04 3e 	clrlwi  r9,r7,16                               
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
ffc09314:	71 2a 00 01 	andi.   r10,r9,1                               
ffc09318:	55 2a f8 7e 	rlwinm  r10,r9,31,1,31                         
ffc0931c:	7d 4a 42 78 	xor     r10,r10,r8                             
ffc09320:	41 82 03 04 	beq-    ffc09624 <rtems_fdisk_initialize+0x3f0>
ffc09324:	55 49 04 3e 	clrlwi  r9,r10,16                              
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
ffc09328:	42 00 ff ec 	bdnz+   ffc09314 <rtems_fdisk_initialize+0xe0> 
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
  if (!rtems_fdisk_crc16_factor)                                      
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
ffc0932c:	2f 87 00 ff 	cmpwi   cr7,r7,255                             
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
    rtems_fdisk_crc16_factor[b] = v & 0xffff;                         
ffc09330:	b5 26 00 02 	sthu    r9,2(r6)                               
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
  if (!rtems_fdisk_crc16_factor)                                      
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
ffc09334:	38 e7 00 01 	addi    r7,r7,1                                
ffc09338:	40 9e ff d0 	bne+    cr7,ffc09308 <rtems_fdisk_initialize+0xd4>
                                                                      
  sc = rtems_fdisk_crc16_gen_factors (0x8408);                        
  if (sc != RTEMS_SUCCESSFUL)                                         
      return sc;                                                      
                                                                      
  rtems_flashdisks = calloc (rtems_flashdisk_configuration_size,      
ffc0933c:	3f 00 00 00 	lis     r24,0                                  
ffc09340:	83 f8 27 88 	lwz     r31,10120(r24)                         
ffc09344:	38 80 00 74 	li      r4,116                                 
ffc09348:	7f e3 fb 78 	mr      r3,r31                                 
ffc0934c:	48 00 0d cd 	bl      ffc0a118 <calloc>                      
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
ffc09350:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
  sc = rtems_fdisk_crc16_gen_factors (0x8408);                        
  if (sc != RTEMS_SUCCESSFUL)                                         
      return sc;                                                      
                                                                      
  rtems_flashdisks = calloc (rtems_flashdisk_configuration_size,      
ffc09354:	90 7e 29 00 	stw     r3,10496(r30)                          
ffc09358:	7c 69 1b 78 	mr      r9,r3                                  
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
ffc0935c:	38 60 00 1a 	li      r3,26                                  
      return sc;                                                      
                                                                      
  rtems_flashdisks = calloc (rtems_flashdisk_configuration_size,      
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
ffc09360:	41 be ff 2c 	beq-    cr7,ffc0928c <rtems_fdisk_initialize+0x58><== NEVER TAKEN
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
ffc09364:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc09368:	41 9e 03 b8 	beq-    cr7,ffc09720 <rtems_fdisk_initialize+0x4ec><== NEVER TAKEN
ffc0936c:	3d 40 ff c4 	lis     r10,-60                                
ffc09370:	39 4a 9e 28 	addi    r10,r10,-25048                         
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
ffc09374:	80 6a 00 00 	lwz     r3,0(r10)                              
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
ffc09378:	3e c0 ff c4 	lis     r22,-60                                
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
ffc0937c:	81 0a 00 04 	lwz     r8,4(r10)                              
      free (fd->blocks);                                              
      free (fd->devices);                                             
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size,                   
ffc09380:	3e e0 ff c0 	lis     r23,-64                                
  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";           
ffc09384:	a1 4a 00 08 	lhz     r10,8(r10)                             
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
ffc09388:	3b 20 00 00 	li      r25,0                                  
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
ffc0938c:	90 61 00 18 	stw     r3,24(r1)                              
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
ffc09390:	3a d6 84 44 	addi    r22,r22,-31676                         
ffc09394:	3b 40 00 00 	li      r26,0                                  
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
ffc09398:	91 01 00 1c 	stw     r8,28(r1)                              
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
ffc0939c:	3b c0 00 00 	li      r30,0                                  
      free (fd->blocks);                                              
      free (fd->devices);                                             
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size,                   
ffc093a0:	3a f7 7e 00 	addi    r23,r23,32256                          
  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";           
ffc093a4:	b1 41 00 20 	sth     r10,32(r1)                             
    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++)              
ffc093a8:	82 b6 00 04 	lwz     r21,4(r22)                             
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
    int      ret;                                                     
                                                                      
    fd = &rtems_flashdisks[minor];                                    
ffc093ac:	7f a9 ca 14 	add     r29,r9,r25                             
  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";           
ffc093b0:	a0 61 00 20 	lhz     r3,32(r1)                              
    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++)              
ffc093b4:	2f 95 00 00 	cmpwi   cr7,r21,0                              
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
    fd->minor              = minor;                                   
    fd->flags              = c->flags;                                
ffc093b8:	80 b6 00 0c 	lwz     r5,12(r22)                             
  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";           
ffc093bc:	b0 61 00 10 	sth     r3,16(r1)                              
ffc093c0:	80 61 00 1c 	lwz     r3,28(r1)                              
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
    fd->minor              = minor;                                   
    fd->flags              = c->flags;                                
    fd->compact_segs       = c->compact_segs;                         
ffc093c4:	80 96 00 14 	lwz     r4,20(r22)                             
    fd->avail_compact_segs = c->avail_compact_segs;                   
ffc093c8:	80 d6 00 18 	lwz     r6,24(r22)                             
    fd->block_size         = c->block_size;                           
ffc093cc:	80 f6 00 00 	lwz     r7,0(r22)                              
    fd->unavail_blocks     = c->unavail_blocks;                       
ffc093d0:	81 16 00 10 	lwz     r8,16(r22)                             
    fd->info_level         = c->info_level;                           
ffc093d4:	81 56 00 1c 	lwz     r10,28(r22)                            
  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";           
ffc093d8:	90 61 00 0c 	stw     r3,12(r1)                              
ffc093dc:	80 61 00 18 	lwz     r3,24(r1)                              
    uint32_t blocks = 0;                                              
    int      ret;                                                     
                                                                      
    fd = &rtems_flashdisks[minor];                                    
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
ffc093e0:	9b 41 00 11 	stb     r26,17(r1)                             
  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";           
ffc093e4:	90 61 00 08 	stw     r3,8(r1)                               
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
    fd->minor              = minor;                                   
    fd->flags              = c->flags;                                
    fd->compact_segs       = c->compact_segs;                         
ffc093e8:	90 9d 00 0c 	stw     r4,12(r29)                             
                                                                      
    fd = &rtems_flashdisks[minor];                                    
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
ffc093ec:	7f 89 c9 2e 	stwx    r28,r9,r25                             
    fd->minor              = minor;                                   
ffc093f0:	93 5d 00 04 	stw     r26,4(r29)                             
    fd->flags              = c->flags;                                
ffc093f4:	90 bd 00 08 	stw     r5,8(r29)                              
    fd->compact_segs       = c->compact_segs;                         
    fd->avail_compact_segs = c->avail_compact_segs;                   
ffc093f8:	90 dd 00 10 	stw     r6,16(r29)                             
    fd->block_size         = c->block_size;                           
ffc093fc:	90 fd 00 14 	stw     r7,20(r29)                             
    fd->unavail_blocks     = c->unavail_blocks;                       
ffc09400:	91 1d 00 20 	stw     r8,32(r29)                             
    fd->info_level         = c->info_level;                           
ffc09404:	91 5d 00 6c 	stw     r10,108(r29)                           
                                                                      
    for (device = 0; device < c->device_count; device++)              
ffc09408:	41 9e 02 40 	beq-    cr7,ffc09648 <rtems_fdisk_initialize+0x414><== NEVER TAKEN
ffc0940c:	80 76 00 08 	lwz     r3,8(r22)                              
 * @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,              
ffc09410:	1d 75 00 0c 	mulli   r11,r21,12                             
  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;                                              
ffc09414:	3b e0 00 00 	li      r31,0                                  
 * @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,              
ffc09418:	7d 63 5a 14 	add     r11,r3,r11                             
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0941c:	81 43 00 00 	lwz     r10,0(r3)                              
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++)                             
ffc09420:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc09424:	41 9e 02 0c 	beq-    cr7,ffc09630 <rtems_fdisk_initialize+0x3fc><== NEVER TAKEN
ffc09428:	81 23 00 04 	lwz     r9,4(r3)                               
 * @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,              
ffc0942c:	1d 4a 00 0c 	mulli   r10,r10,12                             
 */                                                                   
static uint32_t                                                       
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
ffc09430:	39 00 00 00 	li      r8,0                                   
 * @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,              
ffc09434:	7c c9 52 14 	add     r6,r9,r10                              
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
ffc09438:	81 49 00 08 	lwz     r10,8(r9)                              
  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;      
ffc0943c:	a0 a9 00 00 	lhz     r5,0(r9)                               
ffc09440:	39 29 00 0c 	addi    r9,r9,12                               
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
ffc09444:	7d 4a 3b 96 	divwu   r10,r10,r7                             
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);            
ffc09448:	55 44 18 38 	rlwinm  r4,r10,3,0,28                          
  return ((bytes - 1) / page_size) + 1;                               
ffc0944c:	38 84 ff ff 	addi    r4,r4,-1                               
ffc09450:	7c 84 3b 96 	divwu   r4,r4,r7                               
ffc09454:	39 4a ff ff 	addi    r10,r10,-1                             
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++)                             
ffc09458:	7f 89 30 00 	cmpw    cr7,r9,r6                              
  {                                                                   
    const rtems_fdisk_segment_desc* sd = &dd->segments[s];            
    count +=                                                          
      (rtems_fdisk_pages_in_segment (sd, page_size) -                 
ffc0945c:	7d 44 50 50 	subf    r10,r4,r10                             
       rtems_fdisk_page_desc_pages (sd, page_size)) * sd->count;      
ffc09460:	7d 4a 29 d6 	mullw   r10,r10,r5                             
  uint32_t count = 0;                                                 
  uint32_t s;                                                         
  for (s = 0; s < dd->segment_count; s++)                             
  {                                                                   
    const rtems_fdisk_segment_desc* sd = &dd->segments[s];            
    count +=                                                          
ffc09464:	7d 08 52 14 	add     r8,r8,r10                              
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++)                             
ffc09468:	40 9e ff d0 	bne+    cr7,ffc09438 <rtems_fdisk_initialize+0x204><== NEVER TAKEN
ffc0946c:	38 63 00 0c 	addi    r3,r3,12                               
    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++)              
ffc09470:	7f 83 58 00 	cmpw    cr7,r3,r11                             
      blocks += rtems_fdisk_blocks_in_device (&c->devices[device],    
ffc09474:	7f ff 42 14 	add     r31,r31,r8                             
    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++)              
ffc09478:	40 9e ff a4 	bne+    cr7,ffc0941c <rtems_fdisk_initialize+0x1e8><== NEVER TAKEN
                                              c->block_size);         
                                                                      
    /*                                                                
     * One copy buffer of a page size.                                
     */                                                               
    fd->copy_buffer = malloc (c->block_size);                         
ffc0947c:	7c e3 3b 78 	mr      r3,r7                                  
ffc09480:	48 00 16 15 	bl      ffc0aa94 <malloc>                      
    if (!fd->copy_buffer)                                             
ffc09484:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                              c->block_size);         
                                                                      
    /*                                                                
     * One copy buffer of a page size.                                
     */                                                               
    fd->copy_buffer = malloc (c->block_size);                         
ffc09488:	90 7d 00 68 	stw     r3,104(r29)                            
    if (!fd->copy_buffer)                                             
ffc0948c:	41 9e 02 8c 	beq-    cr7,ffc09718 <rtems_fdisk_initialize+0x4e4><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->blocks = calloc (blocks, sizeof (rtems_fdisk_block_ctl));     
ffc09490:	7f e3 fb 78 	mr      r3,r31                                 
ffc09494:	38 80 00 08 	li      r4,8                                   
ffc09498:	48 00 0c 81 	bl      ffc0a118 <calloc>                      
    if (!fd->blocks)                                                  
ffc0949c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
     */                                                               
    fd->copy_buffer = malloc (c->block_size);                         
    if (!fd->copy_buffer)                                             
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->blocks = calloc (blocks, sizeof (rtems_fdisk_block_ctl));     
ffc094a0:	90 7d 00 18 	stw     r3,24(r29)                             
    if (!fd->blocks)                                                  
ffc094a4:	41 9e 02 74 	beq-    cr7,ffc09718 <rtems_fdisk_initialize+0x4e4><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->block_count = blocks;                                         
ffc094a8:	93 fd 00 1c 	stw     r31,28(r29)                            
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
ffc094ac:	7e a3 ab 78 	mr      r3,r21                                 
ffc094b0:	38 80 00 0c 	li      r4,12                                  
ffc094b4:	48 00 0c 65 	bl      ffc0a118 <calloc>                      
    if (!fd->devices)                                                 
ffc094b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    if (!fd->blocks)                                                  
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->block_count = blocks;                                         
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
ffc094bc:	90 7d 00 2c 	stw     r3,44(r29)                             
    if (!fd->devices)                                                 
ffc094c0:	41 9e 02 58 	beq-    cr7,ffc09718 <rtems_fdisk_initialize+0x4e4><== NEVER TAKEN
      return RTEMS_NO_MEMORY;                                         
                                                                      
    sc = rtems_semaphore_create (rtems_build_name ('F', 'D', 'S', 'K'), 1,
ffc094c4:	3c 60 46 44 	lis     r3,17988                               
ffc094c8:	60 63 53 4b 	ori     r3,r3,21323                            
ffc094cc:	38 80 00 01 	li      r4,1                                   
ffc094d0:	38 a0 00 54 	li      r5,84                                  
ffc094d4:	38 c0 00 00 	li      r6,0                                   
ffc094d8:	38 fd 00 64 	addi    r7,r29,100                             
ffc094dc:	48 00 65 ed 	bl      ffc0fac8 <rtems_semaphore_create>      
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &fd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc094e0:	7c 75 1b 79 	mr.     r21,r3                                 
ffc094e4:	40 82 02 04 	bne-    ffc096e8 <rtems_fdisk_initialize+0x4b4><== NEVER TAKEN
      free (fd->blocks);                                              
      free (fd->devices);                                             
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size,                   
ffc094e8:	80 dd 00 20 	lwz     r6,32(r29)                             
ffc094ec:	7f 83 e3 78 	mr      r3,r28                                 
ffc094f0:	80 b6 00 00 	lwz     r5,0(r22)                              
ffc094f4:	7f 44 d3 78 	mr      r4,r26                                 
ffc094f8:	7c c6 f8 50 	subf    r6,r6,r31                              
ffc094fc:	7e e7 bb 78 	mr      r7,r23                                 
ffc09500:	39 00 00 00 	li      r8,0                                   
ffc09504:	39 21 00 08 	addi    r9,r1,8                                
ffc09508:	4b ff c7 61 	bl      ffc05c68 <rtems_disk_create_phys>      
                                blocks - fd->unavail_blocks,          
                                rtems_fdisk_ioctl, NULL, name);       
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc0950c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc09510:	40 82 01 94 	bne-    ffc096a4 <rtems_fdisk_initialize+0x470><== NEVER TAKEN
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
ffc09514:	82 56 00 04 	lwz     r18,4(r22)                             
ffc09518:	2f 92 00 00 	cmpwi   cr7,r18,0                              
ffc0951c:	41 9e 00 c4 	beq-    cr7,ffc095e0 <rtems_fdisk_initialize+0x3ac><== NEVER TAKEN
ffc09520:	82 96 00 08 	lwz     r20,8(r22)                             
ffc09524:	3b e0 00 00 	li      r31,0                                  
ffc09528:	82 7d 00 2c 	lwz     r19,44(r29)                            
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0952c:	81 54 00 00 	lwz     r10,0(r20)                             
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++)           
ffc09530:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc09534:	41 9e 01 50 	beq-    cr7,ffc09684 <rtems_fdisk_initialize+0x450><== NEVER TAKEN
ffc09538:	81 34 00 04 	lwz     r9,4(r20)                              
 * @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,              
ffc0953c:	1e 2a 00 0c 	mulli   r17,r10,12                             
 * Count the segments for a device.                                   
 */                                                                   
static uint32_t                                                       
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
ffc09540:	3a a0 00 00 	li      r21,0                                  
 * @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,              
ffc09544:	7d 09 8a 14 	add     r8,r9,r17                              
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;                             
ffc09548:	a1 49 00 00 	lhz     r10,0(r9)                              
ffc0954c:	39 29 00 0c 	addi    r9,r9,12                               
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++)           
ffc09550:	7f 89 40 00 	cmpw    cr7,r9,r8                              
    count += dd->segments[segment].count;                             
ffc09554:	7e b5 52 14 	add     r21,r21,r10                            
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++)           
ffc09558:	40 9e ff f0 	bne+    cr7,ffc09548 <rtems_fdisk_initialize+0x314><== NEVER TAKEN
      uint32_t                 segment_count;                         
      uint32_t                 segment;                               
                                                                      
      segment_count = rtems_fdisk_count_segments (&c->devices[device]);
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
ffc0955c:	7e a3 ab 78 	mr      r3,r21                                 
ffc09560:	38 80 00 30 	li      r4,48                                  
ffc09564:	48 00 0b b5 	bl      ffc0a118 <calloc>                      
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
ffc09568:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      uint32_t                 segment_count;                         
      uint32_t                 segment;                               
                                                                      
      segment_count = rtems_fdisk_count_segments (&c->devices[device]);
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
ffc0956c:	90 73 00 00 	stw     r3,0(r19)                              
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
ffc09570:	41 9e 00 e0 	beq-    cr7,ffc09650 <rtems_fdisk_initialize+0x41c><== NEVER TAKEN
ffc09574:	81 14 00 04 	lwz     r8,4(r20)                              
 * @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,              
ffc09578:	7c c8 8a 14 	add     r6,r8,r17                              
        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++)
ffc0957c:	a0 e8 00 00 	lhz     r7,0(r8)                               
ffc09580:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc09584:	41 9e 00 34 	beq-    cr7,ffc095b8 <rtems_fdisk_initialize+0x384><== NEVER TAKEN
        {                                                             
          sc->descriptor = sd;                                        
          sc->device     = device;                                    
          sc->segment    = seg_segment;                               
          sc->erased     = 0;                                         
ffc09588:	7c e9 03 a6 	mtctr   r7                                     
        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++)
ffc0958c:	7c 69 1b 78 	mr      r9,r3                                  
ffc09590:	39 40 00 00 	li      r10,0                                  
        {                                                             
          sc->descriptor = sd;                                        
          sc->device     = device;                                    
          sc->segment    = seg_segment;                               
ffc09594:	91 49 00 0c 	stw     r10,12(r9)                             
        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++)
ffc09598:	39 4a 00 01 	addi    r10,r10,1                              
        {                                                             
          sc->descriptor = sd;                                        
ffc0959c:	91 09 00 04 	stw     r8,4(r9)                               
          sc->device     = device;                                    
ffc095a0:	93 e9 00 08 	stw     r31,8(r9)                              
          sc->segment    = seg_segment;                               
          sc->erased     = 0;                                         
ffc095a4:	93 c9 00 2c 	stw     r30,44(r9)                             
        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++)
ffc095a8:	39 29 00 30 	addi    r9,r9,48                               
ffc095ac:	42 00 ff e8 	bdnz+   ffc09594 <rtems_fdisk_initialize+0x360>
 * @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,              
ffc095b0:	1c e7 00 30 	mulli   r7,r7,48                               
ffc095b4:	7c 63 3a 14 	add     r3,r3,r7                               
ffc095b8:	39 08 00 0c 	addi    r8,r8,12                               
        return RTEMS_NO_MEMORY;                                       
      }                                                               
                                                                      
      sc = fd->devices[device].segments;                              
                                                                      
      for (segment = 0; segment < c->devices[device].segment_count; segment++)
ffc095bc:	7f 88 30 00 	cmpw    cr7,r8,r6                              
ffc095c0:	40 9e ff bc 	bne+    cr7,ffc0957c <rtems_fdisk_initialize+0x348><== NEVER TAKEN
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
ffc095c4:	3b ff 00 01 	addi    r31,r31,1                              
          sc->erased     = 0;                                         
        }                                                             
      }                                                               
                                                                      
      fd->devices[device].segment_count = segment_count;              
      fd->devices[device].descriptor    = &c->devices[device];        
ffc095c8:	92 93 00 08 	stw     r20,8(r19)                             
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
ffc095cc:	7f 9f 90 00 	cmpw    cr7,r31,r18                            
          sc->segment    = seg_segment;                               
          sc->erased     = 0;                                         
        }                                                             
      }                                                               
                                                                      
      fd->devices[device].segment_count = segment_count;              
ffc095d0:	92 b3 00 04 	stw     r21,4(r19)                             
ffc095d4:	3a 94 00 0c 	addi    r20,r20,12                             
ffc095d8:	3a 73 00 0c 	addi    r19,r19,12                             
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
ffc095dc:	40 9e ff 50 	bne+    cr7,ffc0952c <rtems_fdisk_initialize+0x2f8><== NEVER TAKEN
                                                                      
      fd->devices[device].segment_count = segment_count;              
      fd->devices[device].descriptor    = &c->devices[device];        
    }                                                                 
                                                                      
    fd->device_count = c->device_count;                               
ffc095e0:	92 5d 00 30 	stw     r18,48(r29)                            
                                                                      
    ret = rtems_fdisk_recover_block_mappings (fd);                    
ffc095e4:	7f a3 eb 78 	mr      r3,r29                                 
ffc095e8:	4b ff e3 cd 	bl      ffc079b4 <rtems_fdisk_recover_block_mappings>
    if (ret)                                                          
ffc095ec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc095f0:	40 82 01 90 	bne-    ffc09780 <rtems_fdisk_initialize+0x54c><== NEVER TAKEN
      rtems_fdisk_error ("recovery of disk failed: %s (%d)",          
                         strerror (ret), ret);                        
      return ret;                                                     
    }                                                                 
                                                                      
    ret = rtems_fdisk_compact (fd);                                   
ffc095f4:	7f a3 eb 78 	mr      r3,r29                                 
ffc095f8:	4b ff df d1 	bl      ffc075c8 <rtems_fdisk_compact>         
    if (ret)                                                          
ffc095fc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc09600:	40 82 01 2c 	bne-    ffc0972c <rtems_fdisk_initialize+0x4f8><== NEVER TAKEN
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
ffc09604:	83 f8 27 88 	lwz     r31,10120(r24)                         
ffc09608:	3b 5a 00 01 	addi    r26,r26,1                              
ffc0960c:	3a d6 00 20 	addi    r22,r22,32                             
ffc09610:	7f 9f d0 40 	cmplw   cr7,r31,r26                            
ffc09614:	3b 39 00 74 	addi    r25,r25,116                            
ffc09618:	40 9d 01 08 	ble-    cr7,ffc09720 <rtems_fdisk_initialize+0x4ec><== ALWAYS TAKEN
ffc0961c:	81 3b 00 00 	lwz     r9,0(r27)                              <== NOT EXECUTED
ffc09620:	4b ff fd 88 	b       ffc093a8 <rtems_fdisk_initialize+0x174><== 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;                        
ffc09624:	55 29 f8 7e 	rlwinm  r9,r9,31,1,31                          
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
ffc09628:	42 00 fc ec 	bdnz+   ffc09314 <rtems_fdisk_initialize+0xe0> 
ffc0962c:	4b ff fd 00 	b       ffc0932c <rtems_fdisk_initialize+0xf8> 
ffc09630:	38 63 00 0c 	addi    r3,r3,12                               <== 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++)              
ffc09634:	7f 83 58 00 	cmpw    cr7,r3,r11                             <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
ffc09638:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
    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++)              
      blocks += rtems_fdisk_blocks_in_device (&c->devices[device],    
ffc0963c:	7f ff 42 14 	add     r31,r31,r8                             <== 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++)              
ffc09640:	40 9e fd dc 	bne+    cr7,ffc0941c <rtems_fdisk_initialize+0x1e8><== NOT EXECUTED
ffc09644:	4b ff fe 38 	b       ffc0947c <rtems_fdisk_initialize+0x248><== 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;                                              
ffc09648:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc0964c:	4b ff fe 30 	b       ffc0947c <rtems_fdisk_initialize+0x248><== NOT EXECUTED
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
      {                                                               
        rtems_disk_delete (dev);                                      
ffc09650:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc09654:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc09658:	4b ff c1 d9 	bl      ffc05830 <rtems_disk_delete>           <== NOT EXECUTED
        rtems_semaphore_delete (fd->lock);                            
ffc0965c:	80 7d 00 64 	lwz     r3,100(r29)                            <== NOT EXECUTED
ffc09660:	48 00 66 89 	bl      ffc0fce8 <rtems_semaphore_delete>      <== NOT EXECUTED
        free (fd->copy_buffer);                                       
ffc09664:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc09668:	48 00 0c 95 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
        free (fd->blocks);                                            
ffc0966c:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc09670:	48 00 0c 8d 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
        free (fd->devices);                                           
ffc09674:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc09678:	48 00 0c 85 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
        return RTEMS_NO_MEMORY;                                       
ffc0967c:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
ffc09680:	4b ff fc 0c 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== 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,           
ffc09684:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc09688:	38 80 00 30 	li      r4,48                                  <== NOT EXECUTED
ffc0968c:	48 00 0a 8d 	bl      ffc0a118 <calloc>                      <== NOT EXECUTED
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
ffc09690:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== 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,           
ffc09694:	90 73 00 00 	stw     r3,0(r19)                              <== NOT EXECUTED
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
ffc09698:	41 be ff b8 	beq-    cr7,ffc09650 <rtems_fdisk_initialize+0x41c><== 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;                                                 
ffc0969c:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
ffc096a0:	4b ff ff 24 	b       ffc095c4 <rtems_fdisk_initialize+0x390><== 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);                              
ffc096a4:	80 7d 00 64 	lwz     r3,100(r29)                            <== NOT EXECUTED
ffc096a8:	48 00 66 41 	bl      ffc0fce8 <rtems_semaphore_delete>      <== NOT EXECUTED
      rtems_disk_delete (dev);                                        
ffc096ac:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc096b0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc096b4:	4b ff c1 7d 	bl      ffc05830 <rtems_disk_delete>           <== NOT EXECUTED
      free (fd->copy_buffer);                                         
ffc096b8:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc096bc:	48 00 0c 41 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->blocks);                                              
ffc096c0:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc096c4:	48 00 0c 39 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->devices);                                             
ffc096c8:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc096cc:	48 00 0c 31 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      rtems_fdisk_error ("disk create phy failed");                   
ffc096d0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc096d4:	38 63 9d c8 	addi    r3,r3,-25144                           <== NOT EXECUTED
ffc096d8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc096dc:	4b ff d0 6d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      free (fd->blocks);                                              
      free (fd->devices);                                             
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size,                   
ffc096e0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc096e4:	4b ff fb a8 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== 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");                  
ffc096e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc096ec:	38 63 9d b0 	addi    r3,r3,-25168                           <== NOT EXECUTED
ffc096f0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc096f4:	4b ff d0 55 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      free (fd->copy_buffer);                                         
ffc096f8:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc096fc:	48 00 0c 01 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->blocks);                                              
ffc09700:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc09704:	48 00 0b f9 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->devices);                                             
ffc09708:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc0970c:	48 00 0b f1 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
    if (!fd->devices)                                                 
      return RTEMS_NO_MEMORY;                                         
                                                                      
    sc = rtems_semaphore_create (rtems_build_name ('F', 'D', 'S', 'K'), 1,
ffc09710:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc09714:	4b ff fb 78 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== NOT EXECUTED
                                                                      
    fd->block_count = blocks;                                         
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
    if (!fd->devices)                                                 
      return RTEMS_NO_MEMORY;                                         
ffc09718:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
ffc0971c:	4b ff fb 70 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== NOT EXECUTED
                         strerror (ret), ret);                        
      return ret;                                                     
    }                                                                 
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
ffc09720:	93 fb 00 04 	stw     r31,4(r27)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc09724:	38 60 00 00 	li      r3,0                                   
ffc09728:	4b ff fb 64 	b       ffc0928c <rtems_fdisk_initialize+0x58> 
    }                                                                 
                                                                      
    ret = rtems_fdisk_compact (fd);                                   
    if (ret)                                                          
    {                                                                 
      rtems_disk_delete (dev);                                        
ffc0972c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc09730:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc09734:	4b ff c0 fd 	bl      ffc05830 <rtems_disk_delete>           <== NOT EXECUTED
      rtems_semaphore_delete (fd->lock);                              
ffc09738:	80 7d 00 64 	lwz     r3,100(r29)                            <== NOT EXECUTED
ffc0973c:	48 00 65 ad 	bl      ffc0fce8 <rtems_semaphore_delete>      <== NOT EXECUTED
      free (fd->copy_buffer);                                         
ffc09740:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc09744:	48 00 0b b9 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->blocks);                                              
ffc09748:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc0974c:	48 00 0b b1 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->devices);                                             
ffc09750:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc09754:	48 00 0b a9 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      rtems_fdisk_error ("compacting of disk failed: %s (%d)",        
ffc09758:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0975c:	48 02 13 fd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc09760:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc09764:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc09768:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc0976c:	38 63 9e 04 	addi    r3,r3,-25084                           <== NOT EXECUTED
ffc09770:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc09774:	4b ff cf d5 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                         strerror (ret), ret);                        
      return ret;                                                     
ffc09778:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0977c:	4b ff fb 10 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== NOT EXECUTED
    fd->device_count = c->device_count;                               
                                                                      
    ret = rtems_fdisk_recover_block_mappings (fd);                    
    if (ret)                                                          
    {                                                                 
      rtems_disk_delete (dev);                                        
ffc09780:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc09784:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc09788:	4b ff c0 a9 	bl      ffc05830 <rtems_disk_delete>           <== NOT EXECUTED
      rtems_semaphore_delete (fd->lock);                              
ffc0978c:	80 7d 00 64 	lwz     r3,100(r29)                            <== NOT EXECUTED
ffc09790:	48 00 65 59 	bl      ffc0fce8 <rtems_semaphore_delete>      <== NOT EXECUTED
      free (fd->copy_buffer);                                         
ffc09794:	80 7d 00 68 	lwz     r3,104(r29)                            <== NOT EXECUTED
ffc09798:	48 00 0b 65 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->blocks);                                              
ffc0979c:	80 7d 00 18 	lwz     r3,24(r29)                             <== NOT EXECUTED
ffc097a0:	48 00 0b 5d 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      free (fd->devices);                                             
ffc097a4:	80 7d 00 2c 	lwz     r3,44(r29)                             <== NOT EXECUTED
ffc097a8:	48 00 0b 55 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      rtems_fdisk_error ("recovery of disk failed: %s (%d)",          
ffc097ac:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc097b0:	48 02 13 a9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc097b4:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc097b8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc097bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc097c0:	38 63 9d e0 	addi    r3,r3,-25120                           <== NOT EXECUTED
ffc097c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc097c8:	4b ff cf 81 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                         strerror (ret), ret);                        
      return ret;                                                     
ffc097cc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc097d0:	4b ff fa bc 	b       ffc0928c <rtems_fdisk_initialize+0x58> <== NOT EXECUTED
                                                                      

ffc07e00 <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) {
ffc07e00:	94 21 ff 60 	stwu    r1,-160(r1)                            
ffc07e04:	7c 08 02 a6 	mflr    r0                                     
ffc07e08:	7d 80 00 26 	mfcr    r12                                    
ffc07e0c:	90 01 00 a4 	stw     r0,164(r1)                             
ffc07e10:	93 21 00 84 	stw     r25,132(r1)                            
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
ffc07e14:	83 23 00 04 	lwz     r25,4(r3)                              
ffc07e18:	93 61 00 8c 	stw     r27,140(r1)                            
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  errno = 0;                                                          
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
ffc07e1c:	3f 60 00 01 	lis     r27,1                                  
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
{                                                                     
ffc07e20:	92 61 00 6c 	stw     r19,108(r1)                            
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  errno = 0;                                                          
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
ffc07e24:	3a 7b 29 00 	addi    r19,r27,10496                          
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
{                                                                     
ffc07e28:	93 41 00 88 	stw     r26,136(r1)                            
ffc07e2c:	93 81 00 90 	stw     r28,144(r1)                            
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  errno = 0;                                                          
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
ffc07e30:	1f 99 00 74 	mulli   r28,r25,116                            
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
{                                                                     
ffc07e34:	93 a1 00 94 	stw     r29,148(r1)                            
ffc07e38:	7c 7d 1b 78 	mr      r29,r3                                 
ffc07e3c:	93 c1 00 98 	stw     r30,152(r1)                            
ffc07e40:	7c be 2b 78 	mr      r30,r5                                 
ffc07e44:	93 e1 00 9c 	stw     r31,156(r1)                            
ffc07e48:	7c 9f 23 78 	mr      r31,r4                                 
ffc07e4c:	91 81 00 54 	stw     r12,84(r1)                             
ffc07e50:	91 c1 00 58 	stw     r14,88(r1)                             
ffc07e54:	91 e1 00 5c 	stw     r15,92(r1)                             
ffc07e58:	92 01 00 60 	stw     r16,96(r1)                             
ffc07e5c:	92 21 00 64 	stw     r17,100(r1)                            
ffc07e60:	92 41 00 68 	stw     r18,104(r1)                            
ffc07e64:	92 81 00 70 	stw     r20,112(r1)                            
ffc07e68:	92 a1 00 74 	stw     r21,116(r1)                            
ffc07e6c:	92 c1 00 78 	stw     r22,120(r1)                            
ffc07e70:	92 e1 00 7c 	stw     r23,124(r1)                            
ffc07e74:	93 01 00 80 	stw     r24,128(r1)                            
  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;                                                          
ffc07e78:	48 02 00 c5 	bl      ffc27f3c <__errno>                     
ffc07e7c:	39 40 00 00 	li      r10,0                                  
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
ffc07e80:	81 3b 29 00 	lwz     r9,10496(r27)                          
ffc07e84:	38 80 00 00 	li      r4,0                                   
  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;                                                          
ffc07e88:	91 43 00 00 	stw     r10,0(r3)                              
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
ffc07e8c:	38 a0 00 00 	li      r5,0                                   
ffc07e90:	7d 29 e2 14 	add     r9,r9,r28                              
ffc07e94:	80 69 00 64 	lwz     r3,100(r9)                             
ffc07e98:	48 00 7f 45 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc07e9c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc07ea0:	40 82 00 d0 	bne-    ffc07f70 <rtems_fdisk_ioctl+0x170>     <== NEVER TAKEN
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
ffc07ea4:	48 02 00 99 	bl      ffc27f3c <__errno>                     
    switch (req)                                                      
ffc07ea8:	3d 20 20 00 	lis     r9,8192                                
ffc07eac:	61 29 42 83 	ori     r9,r9,17027                            
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
ffc07eb0:	93 43 00 00 	stw     r26,0(r3)                              
    switch (req)                                                      
ffc07eb4:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc07eb8:	41 9e 01 a4 	beq-    cr7,ffc0805c <rtems_fdisk_ioctl+0x25c> <== NEVER TAKEN
ffc07ebc:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc07ec0:	3d 20 20 00 	lis     r9,8192                                
ffc07ec4:	41 9d 01 2c 	bgt-    cr7,ffc07ff0 <rtems_fdisk_ioctl+0x1f0> 
ffc07ec8:	61 29 42 81 	ori     r9,r9,17025                            
ffc07ecc:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc07ed0:	41 9e 03 ac 	beq-    cr7,ffc0827c <rtems_fdisk_ioctl+0x47c> <== NEVER TAKEN
ffc07ed4:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc07ed8:	40 9d 03 6c 	ble-    cr7,ffc08244 <rtems_fdisk_ioctl+0x444> <== ALWAYS TAKEN
      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]);    
ffc07edc:	48 02 00 61 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc07ee0:	83 fb 29 00 	lwz     r31,10496(r27)                         <== NOT EXECUTED
ffc07ee4:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_used (rtems_flashdisk* fd)                          
{                                                                     
  rtems_fdisk_segment_ctl* sc;                                        
  int                      latched_ret = 0;                           
ffc07ee8:	3b c0 00 00 	li      r30,0                                  <== 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]);    
ffc07eec:	7f ff e2 14 	add     r31,r31,r28                            <== NOT EXECUTED
    if (!queue->head)                                                 
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
                                                                      
    sc->next = 0;                                                     
ffc07ef0:	3b 40 00 00 	li      r26,0                                  <== 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)                                                    
ffc07ef4:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
ffc07ef8:	7f e3 fb 78 	mr      r3,r31                                 <== 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)                                                    
ffc07efc:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
ffc07f00:	7d 24 4b 78 	mr      r4,r9                                  <== 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)                                                    
ffc07f04:	41 9e 00 50 	beq-    cr7,ffc07f54 <rtems_fdisk_ioctl+0x154> <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc07f08:	81 49 00 00 	lwz     r10,0(r9)                              <== NOT EXECUTED
    if (!queue->head)                                                 
ffc07f0c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc07f10:	91 5f 00 4c 	stw     r10,76(r31)                            <== NOT EXECUTED
    if (!queue->head)                                                 
ffc07f14:	41 9e 04 58 	beq-    cr7,ffc0836c <rtems_fdisk_ioctl+0x56c> <== NOT EXECUTED
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc07f18:	81 5f 00 54 	lwz     r10,84(r31)                            <== NOT EXECUTED
ffc07f1c:	39 4a ff ff 	addi    r10,r10,-1                             <== NOT EXECUTED
ffc07f20:	91 5f 00 54 	stw     r10,84(r31)                            <== NOT EXECUTED
                                                                      
    sc->next = 0;                                                     
ffc07f24:	93 49 00 00 	stw     r26,0(r9)                              <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
ffc07f28:	4b ff e9 09 	bl      ffc06830 <rtems_fdisk_erase_segment>   <== NOT EXECUTED
    if (ret && !latched_ret)                                          
ffc07f2c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc07f30:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc07f34:	41 a2 ff c0 	beq-    ffc07ef4 <rtems_fdisk_ioctl+0xf4>      <== NOT EXECUTED
ffc07f38:	40 be ff bc 	bne-    cr7,ffc07ef4 <rtems_fdisk_ioctl+0xf4>  <== 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)                                                    
ffc07f3c:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
    if (ret && !latched_ret)                                          
ffc07f40:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
ffc07f44:	7f e3 fb 78 	mr      r3,r31                                 <== 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)                                                    
ffc07f48:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
ffc07f4c:	7d 24 4b 78 	mr      r4,r9                                  <== 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)                                                    
ffc07f50:	40 9e ff b8 	bne+    cr7,ffc07f08 <rtems_fdisk_ioctl+0x108> <== NOT EXECUTED
ffc07f54:	81 3b 29 00 	lwz     r9,10496(r27)                          <== 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]);    
ffc07f58:	93 dd 00 00 	stw     r30,0(r29)                             <== NOT EXECUTED
ffc07f5c:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
        break;                                                        
    }                                                                 
                                                                      
    sc = rtems_semaphore_release (rtems_flashdisks[minor].lock);      
ffc07f60:	80 7c 00 64 	lwz     r3,100(r28)                            <== NOT EXECUTED
ffc07f64:	48 00 80 19 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc07f68:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc07f6c:	41 be 00 10 	beq+    cr7,ffc07f7c <rtems_fdisk_ioctl+0x17c> <== NOT EXECUTED
      errno = EIO;                                                    
ffc07f70:	48 01 ff cd 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc07f74:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc07f78:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return errno == 0 ? 0 : -1;                                         
ffc07f7c:	48 01 ff c1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc07f80:	81 23 00 00 	lwz     r9,0(r3)                               <== NOT EXECUTED
ffc07f84:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc07f88:	40 9e 02 b4 	bne-    cr7,ffc0823c <rtems_fdisk_ioctl+0x43c> <== NOT EXECUTED
ffc07f8c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc07f90:	80 01 00 a4 	lwz     r0,164(r1)                             
ffc07f94:	81 81 00 54 	lwz     r12,84(r1)                             
ffc07f98:	7c 08 03 a6 	mtlr    r0                                     
ffc07f9c:	81 c1 00 58 	lwz     r14,88(r1)                             
ffc07fa0:	81 e1 00 5c 	lwz     r15,92(r1)                             
ffc07fa4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc07fa8:	82 01 00 60 	lwz     r16,96(r1)                             
ffc07fac:	82 21 00 64 	lwz     r17,100(r1)                            
ffc07fb0:	82 41 00 68 	lwz     r18,104(r1)                            
ffc07fb4:	82 61 00 6c 	lwz     r19,108(r1)                            
ffc07fb8:	82 81 00 70 	lwz     r20,112(r1)                            
ffc07fbc:	82 a1 00 74 	lwz     r21,116(r1)                            
ffc07fc0:	82 c1 00 78 	lwz     r22,120(r1)                            
ffc07fc4:	82 e1 00 7c 	lwz     r23,124(r1)                            
ffc07fc8:	83 01 00 80 	lwz     r24,128(r1)                            
ffc07fcc:	83 21 00 84 	lwz     r25,132(r1)                            
ffc07fd0:	83 41 00 88 	lwz     r26,136(r1)                            
ffc07fd4:	83 61 00 8c 	lwz     r27,140(r1)                            
ffc07fd8:	83 81 00 90 	lwz     r28,144(r1)                            
ffc07fdc:	83 a1 00 94 	lwz     r29,148(r1)                            
ffc07fe0:	83 c1 00 98 	lwz     r30,152(r1)                            
ffc07fe4:	83 e1 00 9c 	lwz     r31,156(r1)                            
ffc07fe8:	38 21 00 a0 	addi    r1,r1,160                              
ffc07fec:	4e 80 00 20 	blr                                            
  if (sc != RTEMS_SUCCESSFUL)                                         
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
ffc07ff0:	61 29 42 85 	ori     r9,r9,17029                            
ffc07ff4:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc07ff8:	41 9e 03 7c 	beq-    cr7,ffc08374 <rtems_fdisk_ioctl+0x574> 
ffc07ffc:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc08000:	41 9c 02 6c 	blt-    cr7,ffc0826c <rtems_fdisk_ioctl+0x46c> <== NEVER TAKEN
ffc08004:	6f e9 c0 18 	xoris   r9,r31,49176                           
ffc08008:	2f 89 42 01 	cmpwi   cr7,r9,16897                           
ffc0800c:	40 9e 02 44 	bne-    cr7,ffc08250 <rtems_fdisk_ioctl+0x450> 
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
ffc08010:	81 33 00 04 	lwz     r9,4(r19)                              
ffc08014:	7f 89 c8 40 	cmplw   cr7,r9,r25                             
ffc08018:	40 9d 08 54 	ble-    cr7,ffc0886c <rtems_fdisk_ioctl+0xa6c> <== NEVER TAKEN
            (rtems_flashdisks[minor].device_count == 0))              
ffc0801c:	81 3b 29 00 	lwz     r9,10496(r27)                          
ffc08020:	7d 29 e2 14 	add     r9,r9,r28                              
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
ffc08024:	81 29 00 30 	lwz     r9,48(r9)                              
ffc08028:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0802c:	41 9e 08 40 	beq-    cr7,ffc0886c <rtems_fdisk_ioctl+0xa6c> <== NEVER TAKEN
        {                                                             
          errno = ENODEV;                                             
        }                                                             
        else                                                          
        {                                                             
          switch (r->req)                                             
ffc08030:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc08034:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08038:	41 9e 0e 50 	beq-    cr7,ffc08e88 <rtems_fdisk_ioctl+0x1088>
ffc0803c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc08040:	41 9e 08 4c 	beq-    cr7,ffc0888c <rtems_fdisk_ioctl+0xa8c> <== ALWAYS TAKEN
            case RTEMS_BLKDEV_REQ_WRITE:                              
              errno = rtems_fdisk_write (&rtems_flashdisks[minor], r);
              break;                                                  
                                                                      
            default:                                                  
              errno = EINVAL;                                         
ffc08044:	48 01 fe f9 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc08048:	81 3b 29 00 	lwz     r9,10496(r27)                          <== NOT EXECUTED
ffc0804c:	39 40 00 16 	li      r10,22                                 <== NOT EXECUTED
ffc08050:	91 43 00 00 	stw     r10,0(r3)                              <== NOT EXECUTED
ffc08054:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
              break;                                                  
ffc08058:	48 00 01 c4 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     <== 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],
ffc0805c:	48 01 fe e1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc08060:	81 3b 29 00 	lwz     r9,10496(r27)                          <== NOT EXECUTED
ffc08064:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
  data->block_count    = fd->block_count;                             
ffc08068:	81 3c 00 1c 	lwz     r9,28(r28)                             <== NOT EXECUTED
                             rtems_fdisk_monitor_data* data)          
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
ffc0806c:	80 fc 00 14 	lwz     r7,20(r28)                             <== 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++)                               
ffc08070:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
  data->block_count    = fd->block_count;                             
  data->unavail_blocks = fd->unavail_blocks;                          
ffc08074:	81 5c 00 20 	lwz     r10,32(r28)                            <== NOT EXECUTED
  data->device_count   = fd->device_count;                            
ffc08078:	81 1c 00 30 	lwz     r8,48(r28)                             <== NOT EXECUTED
                             rtems_fdisk_monitor_data* data)          
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
ffc0807c:	90 fe 00 00 	stw     r7,0(r30)                              <== NOT EXECUTED
  data->block_count    = fd->block_count;                             
ffc08080:	91 3e 00 04 	stw     r9,4(r30)                              <== NOT EXECUTED
  data->unavail_blocks = fd->unavail_blocks;                          
ffc08084:	91 5e 00 08 	stw     r10,8(r30)                             <== NOT EXECUTED
  data->device_count   = fd->device_count;                            
ffc08088:	91 1e 00 0c 	stw     r8,12(r30)                             <== NOT EXECUTED
                                                                      
  data->blocks_used = 0;                                              
ffc0808c:	93 5e 00 18 	stw     r26,24(r30)                            <== NOT EXECUTED
  for (i = 0; i < fd->block_count; i++)                               
ffc08090:	41 9e 00 40 	beq-    cr7,ffc080d0 <rtems_fdisk_ioctl+0x2d0> <== 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)   
ffc08094:	55 29 18 38 	rlwinm  r9,r9,3,0,28                           <== NOT EXECUTED
ffc08098:	80 fc 00 18 	lwz     r7,24(r28)                             <== NOT EXECUTED
ffc0809c:	39 49 ff f8 	addi    r10,r9,-8                              <== NOT EXECUTED
ffc080a0:	55 4a e8 fe 	rlwinm  r10,r10,29,3,31                        <== NOT EXECUTED
ffc080a4:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
ffc080a8:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
ffc080ac:	39 20 00 00 	li      r9,0                                   <== 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)                                        
ffc080b0:	7d 47 48 2e 	lwzx    r10,r7,r9                              <== NOT EXECUTED
ffc080b4:	39 29 00 08 	addi    r9,r9,8                                <== NOT EXECUTED
ffc080b8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc080bc:	41 9e 00 10 	beq-    cr7,ffc080cc <rtems_fdisk_ioctl+0x2cc> <== NOT EXECUTED
      data->blocks_used++;                                            
ffc080c0:	81 5e 00 18 	lwz     r10,24(r30)                            <== NOT EXECUTED
ffc080c4:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
ffc080c8:	91 5e 00 18 	stw     r10,24(r30)                            <== 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++)                               
ffc080cc:	42 00 ff e4 	bdnz+   ffc080b0 <rtems_fdisk_ioctl+0x2b0>     <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc080d0:	81 3c 00 34 	lwz     r9,52(r28)                             <== 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)                                                          
ffc080d4:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc080d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc080dc:	41 9e 00 14 	beq-    cr7,ffc080f0 <rtems_fdisk_ioctl+0x2f0> <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc080e0:	81 29 00 00 	lwz     r9,0(r9)                               <== NOT EXECUTED
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc080e4:	39 4a 00 01 	addi    r10,r10,1                              <== 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)                                                          
ffc080e8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc080ec:	40 9e ff f4 	bne+    cr7,ffc080e0 <rtems_fdisk_ioctl+0x2e0> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc080f0:	81 3c 00 40 	lwz     r9,64(r28)                             <== 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);
ffc080f4:	91 5e 00 1c 	stw     r10,28(r30)                            <== 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)                                                          
ffc080f8:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc080fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08100:	41 9e 00 14 	beq-    cr7,ffc08114 <rtems_fdisk_ioctl+0x314> <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc08104:	81 29 00 00 	lwz     r9,0(r9)                               <== NOT EXECUTED
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc08108:	39 4a 00 01 	addi    r10,r10,1                              <== 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)                                                          
ffc0810c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08110:	40 9e ff f4 	bne+    cr7,ffc08104 <rtems_fdisk_ioctl+0x304> <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08114:	81 3c 00 58 	lwz     r9,88(r28)                             <== 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); 
ffc08118:	91 5e 00 20 	stw     r10,32(r30)                            <== 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)                                                          
ffc0811c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc08120:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08124:	41 9e 00 14 	beq-    cr7,ffc08138 <rtems_fdisk_ioctl+0x338> <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc08128:	81 29 00 00 	lwz     r9,0(r9)                               <== NOT EXECUTED
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc0812c:	39 4a 00 01 	addi    r10,r10,1                              <== 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)                                                          
ffc08130:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08134:	40 9e ff f4 	bne+    cr7,ffc08128 <rtems_fdisk_ioctl+0x328> <== 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++)                              
ffc08138:	2f 88 00 00 	cmpwi   cr7,r8,0                               <== 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);
ffc0813c:	91 5e 00 24 	stw     r10,36(r30)                            <== NOT EXECUTED
                                                                      
  data->segment_count = 0;                                            
ffc08140:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc08144:	91 3e 00 10 	stw     r9,16(r30)                             <== NOT EXECUTED
  data->page_count    = 0;                                            
ffc08148:	91 3e 00 14 	stw     r9,20(r30)                             <== NOT EXECUTED
  data->pages_desc    = 0;                                            
ffc0814c:	91 3e 00 2c 	stw     r9,44(r30)                             <== NOT EXECUTED
  data->pages_active  = 0;                                            
ffc08150:	91 3e 00 30 	stw     r9,48(r30)                             <== NOT EXECUTED
  data->pages_used    = 0;                                            
ffc08154:	91 3e 00 34 	stw     r9,52(r30)                             <== NOT EXECUTED
  data->pages_bad     = 0;                                            
ffc08158:	91 3e 00 38 	stw     r9,56(r30)                             <== NOT EXECUTED
  data->seg_erases    = 0;                                            
ffc0815c:	91 3e 00 28 	stw     r9,40(r30)                             <== NOT EXECUTED
                                                                      
  for (i = 0; i < fd->device_count; i++)                              
ffc08160:	41 9e 00 ac 	beq-    cr7,ffc0820c <rtems_fdisk_ioctl+0x40c> <== NOT EXECUTED
ffc08164:	83 1c 00 2c 	lwz     r24,44(r28)                            <== 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)   
ffc08168:	1d 08 00 0c 	mulli   r8,r8,12                               <== NOT EXECUTED
ffc0816c:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
ffc08170:	7e d8 42 14 	add     r22,r24,r8                             <== 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;              
ffc08174:	81 58 00 04 	lwz     r10,4(r24)                             <== NOT EXECUTED
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
ffc08178:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== 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;              
ffc0817c:	7e f7 52 14 	add     r23,r23,r10                            <== NOT EXECUTED
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
ffc08180:	41 9e 00 7c 	beq-    cr7,ffc081fc <rtems_fdisk_ioctl+0x3fc> <== 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)   
ffc08184:	1f 2a 00 30 	mulli   r25,r10,48                             <== NOT EXECUTED
ffc08188:	81 38 00 00 	lwz     r9,0(r24)                              <== NOT EXECUTED
ffc0818c:	80 9e 00 14 	lwz     r4,20(r30)                             <== NOT EXECUTED
ffc08190:	80 be 00 2c 	lwz     r5,44(r30)                             <== NOT EXECUTED
ffc08194:	7f 29 ca 14 	add     r25,r9,r25                             <== NOT EXECUTED
ffc08198:	80 de 00 30 	lwz     r6,48(r30)                             <== NOT EXECUTED
ffc0819c:	80 fe 00 34 	lwz     r7,52(r30)                             <== NOT EXECUTED
ffc081a0:	81 1e 00 38 	lwz     r8,56(r30)                             <== NOT EXECUTED
ffc081a4:	81 5e 00 28 	lwz     r10,40(r30)                            <== 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;                                
ffc081a8:	83 49 00 14 	lwz     r26,20(r9)                             <== NOT EXECUTED
      data->pages_desc   += sc->pages_desc;                           
ffc081ac:	83 69 00 18 	lwz     r27,24(r9)                             <== NOT EXECUTED
      data->pages_active += sc->pages_active;                         
ffc081b0:	83 a9 00 1c 	lwz     r29,28(r9)                             <== 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;                                
ffc081b4:	7c 84 d2 14 	add     r4,r4,r26                              <== NOT EXECUTED
      data->pages_desc   += sc->pages_desc;                           
      data->pages_active += sc->pages_active;                         
      data->pages_used   += sc->pages_used;                           
ffc081b8:	83 e9 00 20 	lwz     r31,32(r9)                             <== 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;                                
      data->pages_desc   += sc->pages_desc;                           
ffc081bc:	7c a5 da 14 	add     r5,r5,r27                              <== NOT EXECUTED
      data->pages_active += sc->pages_active;                         
      data->pages_used   += sc->pages_used;                           
      data->pages_bad    += sc->pages_bad;                            
ffc081c0:	80 09 00 24 	lwz     r0,36(r9)                              <== NOT EXECUTED
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[i].segments[j];      
                                                                      
      data->page_count   += sc->pages;                                
      data->pages_desc   += sc->pages_desc;                           
      data->pages_active += sc->pages_active;                         
ffc081c4:	7c c6 ea 14 	add     r6,r6,r29                              <== NOT EXECUTED
      data->pages_used   += sc->pages_used;                           
      data->pages_bad    += sc->pages_bad;                            
      data->seg_erases   += sc->erased;                               
ffc081c8:	81 69 00 2c 	lwz     r11,44(r9)                             <== NOT EXECUTED
ffc081cc:	39 29 00 30 	addi    r9,r9,48                               <== 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++)                
ffc081d0:	7f 89 c8 00 	cmpw    cr7,r9,r25                             <== NOT EXECUTED
      rtems_fdisk_segment_ctl* sc = &fd->devices[i].segments[j];      
                                                                      
      data->page_count   += sc->pages;                                
      data->pages_desc   += sc->pages_desc;                           
      data->pages_active += sc->pages_active;                         
      data->pages_used   += sc->pages_used;                           
ffc081d4:	7c e7 fa 14 	add     r7,r7,r31                              <== NOT EXECUTED
      data->pages_bad    += sc->pages_bad;                            
ffc081d8:	7d 08 02 14 	add     r8,r8,r0                               <== NOT EXECUTED
      data->seg_erases   += sc->erased;                               
ffc081dc:	7d 4a 5a 14 	add     r10,r10,r11                            <== 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++)                
ffc081e0:	40 9e ff c8 	bne+    cr7,ffc081a8 <rtems_fdisk_ioctl+0x3a8> <== NOT EXECUTED
ffc081e4:	90 9e 00 14 	stw     r4,20(r30)                             <== NOT EXECUTED
ffc081e8:	90 be 00 2c 	stw     r5,44(r30)                             <== NOT EXECUTED
ffc081ec:	90 de 00 30 	stw     r6,48(r30)                             <== NOT EXECUTED
ffc081f0:	90 fe 00 34 	stw     r7,52(r30)                             <== NOT EXECUTED
ffc081f4:	91 1e 00 38 	stw     r8,56(r30)                             <== NOT EXECUTED
ffc081f8:	91 5e 00 28 	stw     r10,40(r30)                            <== NOT EXECUTED
ffc081fc:	3b 18 00 0c 	addi    r24,r24,12                             <== 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++)                              
ffc08200:	7f 98 b0 00 	cmpw    cr7,r24,r22                            <== NOT EXECUTED
ffc08204:	40 9e ff 70 	bne+    cr7,ffc08174 <rtems_fdisk_ioctl+0x374> <== NOT EXECUTED
ffc08208:	92 fe 00 10 	stw     r23,16(r30)                            <== NOT EXECUTED
      data->pages_bad    += sc->pages_bad;                            
      data->seg_erases   += sc->erased;                               
    }                                                                 
  }                                                                   
                                                                      
  data->info_level = fd->info_level;                                  
ffc0820c:	81 3c 00 6c 	lwz     r9,108(r28)                            <== NOT EXECUTED
ffc08210:	91 3e 00 3c 	stw     r9,60(r30)                             <== 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],
ffc08214:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc08218:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
        break;                                                        
    }                                                                 
                                                                      
    sc = rtems_semaphore_release (rtems_flashdisks[minor].lock);      
ffc0821c:	80 7c 00 64 	lwz     r3,100(r28)                            
ffc08220:	48 00 7d 5d 	bl      ffc0ff7c <rtems_semaphore_release>     
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc08224:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08228:	40 be fd 48 	bne-    cr7,ffc07f70 <rtems_fdisk_ioctl+0x170> <== NEVER TAKEN
      errno = EIO;                                                    
  }                                                                   
                                                                      
  return errno == 0 ? 0 : -1;                                         
ffc0822c:	48 01 fd 11 	bl      ffc27f3c <__errno>                     
ffc08230:	81 23 00 00 	lwz     r9,0(r3)                               
ffc08234:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08238:	41 9e fd 54 	beq+    cr7,ffc07f8c <rtems_fdisk_ioctl+0x18c> 
ffc0823c:	38 60 ff ff 	li      r3,-1                                  
ffc08240:	4b ff fd 50 	b       ffc07f90 <rtems_fdisk_ioctl+0x190>     
  if (sc != RTEMS_SUCCESSFUL)                                         
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
ffc08244:	6f e9 20 00 	xoris   r9,r31,8192                            
ffc08248:	2f 89 42 80 	cmpwi   cr7,r9,17024                           
ffc0824c:	41 9e 00 54 	beq-    cr7,ffc082a0 <rtems_fdisk_ioctl+0x4a0> <== NEVER TAKEN
      case RTEMS_FDISK_IOCTL_PRINT_STATUS:                            
        errno = rtems_fdisk_print_status (&rtems_flashdisks[minor]);  
        break;                                                        
                                                                      
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
ffc08250:	7f a3 eb 78 	mr      r3,r29                                 
ffc08254:	7f e4 fb 78 	mr      r4,r31                                 
ffc08258:	7f c5 f3 78 	mr      r5,r30                                 
ffc0825c:	48 01 2d 8d 	bl      ffc1afe8 <rtems_blkdev_ioctl>          
ffc08260:	81 3b 29 00 	lwz     r9,10496(r27)                          
ffc08264:	7f 89 e2 14 	add     r28,r9,r28                             
        break;                                                        
ffc08268:	4b ff ff b4 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     
        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;        
ffc0826c:	81 3b 29 00 	lwz     r9,10496(r27)                          <== NOT EXECUTED
ffc08270:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
ffc08274:	93 dc 00 6c 	stw     r30,108(r28)                           <== NOT EXECUTED
        break;                                                        
ffc08278:	4b ff ff a4 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     <== 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]);       
ffc0827c:	48 01 fc c1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc08280:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
ffc08284:	80 7b 29 00 	lwz     r3,10496(r27)                          <== NOT EXECUTED
ffc08288:	7c 63 e2 14 	add     r3,r3,r28                              <== NOT EXECUTED
ffc0828c:	4b ff f3 3d 	bl      ffc075c8 <rtems_fdisk_compact>         <== NOT EXECUTED
ffc08290:	81 3b 29 00 	lwz     r9,10496(r27)                          <== NOT EXECUTED
ffc08294:	90 7f 00 00 	stw     r3,0(r31)                              <== NOT EXECUTED
ffc08298:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
        break;                                                        
ffc0829c:	4b ff ff 80 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     <== NOT EXECUTED
          }                                                           
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
ffc082a0:	48 01 fc 9d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc082a4:	83 fb 29 00 	lwz     r31,10496(r27)                         <== NOT EXECUTED
{                                                                     
  uint32_t device;                                                    
  int      ret;                                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "erase-disk");                                
ffc082a8:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
          }                                                           
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
ffc082ac:	7f ff e2 14 	add     r31,r31,r28                            <== NOT EXECUTED
ffc082b0:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
{                                                                     
  uint32_t device;                                                    
  int      ret;                                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "erase-disk");                                
ffc082b4:	38 84 9b a8 	addi    r4,r4,-25688                           <== NOT EXECUTED
ffc082b8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc082bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc082c0:	4b ff e0 b5 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
ffc082c4:	81 3f 00 30 	lwz     r9,48(r31)                             <== NOT EXECUTED
ffc082c8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc082cc:	41 9e 0e fc 	beq-    cr7,ffc091c8 <rtems_fdisk_ioctl+0x13c8><== NOT EXECUTED
ffc082d0:	3e e0 ff c4 	lis     r23,-60                                <== NOT EXECUTED
ffc082d4:	3f 20 ff c4 	lis     r25,-60                                <== NOT EXECUTED
ffc082d8:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc082dc:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc082e0:	3a f7 9b b4 	addi    r23,r23,-25676                         <== NOT EXECUTED
ffc082e4:	3b 39 9b c8 	addi    r25,r25,-25656                         <== NOT EXECUTED
ffc082e8:	48 00 00 10 	b       ffc082f8 <rtems_fdisk_ioctl+0x4f8>     <== NOT EXECUTED
ffc082ec:	81 5f 00 30 	lwz     r10,48(r31)                            <== NOT EXECUTED
ffc082f0:	7f 9e 50 40 	cmplw   cr7,r30,r10                            <== NOT EXECUTED
ffc082f4:	40 9c 0e 78 	bge-    cr7,ffc0916c <rtems_fdisk_ioctl+0x136c><== NOT EXECUTED
  {                                                                   
    int ret;                                                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
ffc082f8:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc082fc:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc08300:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08304:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08308:	4b ff e0 6d 	bl      ffc06374 <rtems_fdisk_info>            <== 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;                    
ffc0830c:	81 3f 00 2c 	lwz     r9,44(r31)                             <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
ffc08310:	7f c5 f3 78 	mr      r5,r30                                 <== 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;                    
ffc08314:	7d 29 ea 14 	add     r9,r9,r29                              <== NOT EXECUTED
ffc08318:	81 29 00 08 	lwz     r9,8(r9)                               <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
ffc0831c:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc08320:	7f e3 fb 78 	mr      r3,r31                                 <== 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;                    
ffc08324:	83 09 00 08 	lwz     r24,8(r9)                              <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
ffc08328:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0832c:	4b ff e1 41 	bl      ffc0646c <rtems_fdisk_printf>          <== NOT EXECUTED
#endif                                                                
  return ops->erase_device (fd->devices[device].descriptor, device);  
ffc08330:	81 3f 00 2c 	lwz     r9,44(r31)                             <== NOT EXECUTED
ffc08334:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
ffc08338:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
  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);             
#endif                                                                
  return ops->erase_device (fd->devices[device].descriptor, device);  
ffc0833c:	7d 49 ea 14 	add     r10,r9,r29                             <== NOT EXECUTED
ffc08340:	81 38 00 14 	lwz     r9,20(r24)                             <== NOT EXECUTED
ffc08344:	80 6a 00 08 	lwz     r3,8(r10)                              <== NOT EXECUTED
ffc08348:	3b bd 00 0c 	addi    r29,r29,12                             <== NOT EXECUTED
ffc0834c:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08350:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
#endif                                                                
                                                                      
    ret = rtems_fdisk_device_erase (fd, device);                      
                                                                      
    if (ret != 0)                                                     
ffc08354:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc08358:	41 82 ff 94 	beq+    ffc082ec <rtems_fdisk_ioctl+0x4ec>     <== NOT EXECUTED
ffc0835c:	81 5b 29 00 	lwz     r10,10496(r27)                         <== NOT EXECUTED
          }                                                           
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
ffc08360:	90 7a 00 00 	stw     r3,0(r26)                              <== NOT EXECUTED
ffc08364:	7f 8a e2 14 	add     r28,r10,r28                            <== NOT EXECUTED
        break;                                                        
ffc08368:	4b ff fe b4 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
ffc0836c:	91 5f 00 50 	stw     r10,80(r31)                            <== NOT EXECUTED
ffc08370:	4b ff fb a8 	b       ffc07f18 <rtems_fdisk_ioctl+0x118>     <== 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]);  
ffc08374:	48 01 fb c9 	bl      ffc27f3c <__errno>                     
ffc08378:	81 3b 29 00 	lwz     r9,10496(r27)                          
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc0837c:	3c 80 ff c4 	lis     r4,-60                                 
      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]);  
ffc08380:	90 61 00 30 	stw     r3,48(r1)                              
ffc08384:	7e 29 e2 14 	add     r17,r9,r28                             
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc08388:	7c a9 e0 2e 	lwzx    r5,r9,r28                              
  uint32_t current_info_level = fd->info_level;                       
  uint32_t total;                                                     
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
ffc0838c:	39 20 00 03 	li      r9,3                                   
 */                                                                   
static int                                                            
rtems_fdisk_print_status (rtems_flashdisk* fd)                        
{                                                                     
#if RTEMS_FDISK_TRACE                                                 
  uint32_t current_info_level = fd->info_level;                       
ffc08390:	81 71 00 6c 	lwz     r11,108(r17)                           
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc08394:	38 84 9b dc 	addi    r4,r4,-25636                           
  uint32_t current_info_level = fd->info_level;                       
  uint32_t total;                                                     
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
ffc08398:	91 31 00 6c 	stw     r9,108(r17)                            
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc0839c:	7e 23 8b 78 	mr      r3,r17                                 
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc083a0:	3b e0 00 00 	li      r31,0                                  
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc083a4:	80 d1 00 04 	lwz     r6,4(r17)                              
 */                                                                   
static int                                                            
rtems_fdisk_print_status (rtems_flashdisk* fd)                        
{                                                                     
#if RTEMS_FDISK_TRACE                                                 
  uint32_t current_info_level = fd->info_level;                       
ffc083a8:	91 61 00 34 	stw     r11,52(r1)                             
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
ffc083ac:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc083b0:	4b ff e0 bd 	bl      ffc0646c <rtems_fdisk_printf>          
                      "Flash Disk Driver Status : %d.%d", fd->major, fd->minor);
                                                                      
  rtems_fdisk_printf (fd, "Block count\t%d", fd->block_count);        
ffc083b4:	3c 80 ff c4 	lis     r4,-60                                 
ffc083b8:	80 b1 00 1c 	lwz     r5,28(r17)                             
ffc083bc:	38 84 9c 00 	addi    r4,r4,-25600                           
ffc083c0:	7e 23 8b 78 	mr      r3,r17                                 
ffc083c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc083c8:	4b ff e0 a5 	bl      ffc0646c <rtems_fdisk_printf>          
  rtems_fdisk_printf (fd, "Unavail blocks\t%d", fd->unavail_blocks);  
ffc083cc:	80 b1 00 20 	lwz     r5,32(r17)                             
ffc083d0:	3c 80 ff c4 	lis     r4,-60                                 
ffc083d4:	38 84 9c 10 	addi    r4,r4,-25584                           
ffc083d8:	7e 23 8b 78 	mr      r3,r17                                 
ffc083dc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc083e0:	4b ff e0 8d 	bl      ffc0646c <rtems_fdisk_printf>          
  rtems_fdisk_printf (fd, "Starvation threshold\t%d", fd->starvation_threshold);
ffc083e4:	80 b1 00 24 	lwz     r5,36(r17)                             
ffc083e8:	3c 80 ff c4 	lis     r4,-60                                 
ffc083ec:	38 84 9c 24 	addi    r4,r4,-25564                           
ffc083f0:	7e 23 8b 78 	mr      r3,r17                                 
ffc083f4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc083f8:	4b ff e0 75 	bl      ffc0646c <rtems_fdisk_printf>          
  rtems_fdisk_printf (fd, "Starvations\t%d", fd->starvations);        
ffc083fc:	80 b1 00 70 	lwz     r5,112(r17)                            
ffc08400:	3c 80 ff c4 	lis     r4,-60                                 
ffc08404:	7e 23 8b 78 	mr      r3,r17                                 
ffc08408:	38 84 9c 3c 	addi    r4,r4,-25540                           
ffc0840c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08410:	4b ff e0 5d 	bl      ffc0646c <rtems_fdisk_printf>          
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08414:	81 31 00 34 	lwz     r9,52(r17)                             
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08418:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0841c:	41 9e 00 14 	beq-    cr7,ffc08430 <rtems_fdisk_ioctl+0x630> <== NEVER TAKEN
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc08420:	81 29 00 00 	lwz     r9,0(r9)                               
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc08424:	3b ff 00 01 	addi    r31,r31,1                              
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08428:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0842c:	40 9e ff f4 	bne+    cr7,ffc08420 <rtems_fdisk_ioctl+0x620> <== NEVER TAKEN
  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)",               
ffc08430:	80 d1 00 3c 	lwz     r6,60(r17)                             
ffc08434:	3c 80 ff c4 	lis     r4,-60                                 
ffc08438:	7e 23 8b 78 	mr      r3,r17                                 
ffc0843c:	38 84 9c 4c 	addi    r4,r4,-25524                           
ffc08440:	7f e5 fb 78 	mr      r5,r31                                 
ffc08444:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08448:	4b ff e0 25 	bl      ffc0646c <rtems_fdisk_printf>          
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0844c:	81 51 00 40 	lwz     r10,64(r17)                            
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08450:	39 20 00 00 	li      r9,0                                   
ffc08454:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08458:	41 9e 00 14 	beq-    cr7,ffc0846c <rtems_fdisk_ioctl+0x66c> <== NEVER TAKEN
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc0845c:	81 4a 00 00 	lwz     r10,0(r10)                             
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc08460:	39 29 00 01 	addi    r9,r9,1                                
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08464:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08468:	40 9e ff f4 	bne+    cr7,ffc0845c <rtems_fdisk_ioctl+0x65c> 
  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)",                    
ffc0846c:	80 d1 00 48 	lwz     r6,72(r17)                             
ffc08470:	3c 80 ff c4 	lis     r4,-60                                 
ffc08474:	7d 25 4b 78 	mr      r5,r9                                  
ffc08478:	7e 23 8b 78 	mr      r3,r17                                 
ffc0847c:	38 84 9c 68 	addi    r4,r4,-25496                           
  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;                                                     
ffc08480:	7f e9 fa 14 	add     r31,r9,r31                             
  rtems_fdisk_printf (fd, "Used queue\t%ld (%ld)",                    
ffc08484:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08488:	4b ff df e5 	bl      ffc0646c <rtems_fdisk_printf>          
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0848c:	81 51 00 4c 	lwz     r10,76(r17)                            
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08490:	39 20 00 00 	li      r9,0                                   
ffc08494:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08498:	41 9e 00 14 	beq-    cr7,ffc084ac <rtems_fdisk_ioctl+0x6ac> <== ALWAYS TAKEN
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc0849c:	81 4a 00 00 	lwz     r10,0(r10)                             <== NOT EXECUTED
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc084a0:	39 29 00 01 	addi    r9,r9,1                                <== 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)                                                          
ffc084a4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc084a8:	40 9e ff f4 	bne+    cr7,ffc0849c <rtems_fdisk_ioctl+0x69c> <== 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)",                   
ffc084ac:	80 d1 00 54 	lwz     r6,84(r17)                             
ffc084b0:	3c 80 ff c4 	lis     r4,-60                                 
ffc084b4:	7d 25 4b 78 	mr      r5,r9                                  
ffc084b8:	7e 23 8b 78 	mr      r3,r17                                 
ffc084bc:	38 84 9c 80 	addi    r4,r4,-25472                           
  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;                                                     
ffc084c0:	7f ff 4a 14 	add     r31,r31,r9                             
  rtems_fdisk_printf (fd, "Erase queue\t%ld (%ld)",                   
ffc084c4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc084c8:	4b ff df a5 	bl      ffc0646c <rtems_fdisk_printf>          
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc084cc:	81 51 00 58 	lwz     r10,88(r17)                            
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc084d0:	39 20 00 00 	li      r9,0                                   
ffc084d4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc084d8:	41 9e 00 14 	beq-    cr7,ffc084ec <rtems_fdisk_ioctl+0x6ec> <== ALWAYS TAKEN
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc084dc:	81 4a 00 00 	lwz     r10,0(r10)                             <== NOT EXECUTED
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc084e0:	39 29 00 01 	addi    r9,r9,1                                <== 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)                                                          
ffc084e4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc084e8:	40 9e ff f4 	bne+    cr7,ffc084dc <rtems_fdisk_ioctl+0x6dc> <== 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)",                  
ffc084ec:	80 d1 00 60 	lwz     r6,96(r17)                             
ffc084f0:	3c 80 ff c4 	lis     r4,-60                                 
ffc084f4:	7d 25 4b 78 	mr      r5,r9                                  
ffc084f8:	7e 23 8b 78 	mr      r3,r17                                 
ffc084fc:	38 84 9c 98 	addi    r4,r4,-25448                           
  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;                                                     
ffc08500:	7f ff 4a 14 	add     r31,r31,r9                             
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
ffc08504:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08508:	4b ff df 65 	bl      ffc0646c <rtems_fdisk_printf>          
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
  for (device = 0; device < fd->device_count; device++)               
ffc0850c:	81 31 00 30 	lwz     r9,48(r17)                             
ffc08510:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08514:	41 9e 03 70 	beq-    cr7,ffc08884 <rtems_fdisk_ioctl+0xa84> <== NEVER TAKEN
ffc08518:	81 51 00 2c 	lwz     r10,44(r17)                            
 * @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)   
ffc0851c:	1d 29 00 0c 	mulli   r9,r9,12                               
  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;                                                          
ffc08520:	38 c0 00 00 	li      r6,0                                   
 * @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)   
ffc08524:	7d 29 52 14 	add     r9,r9,r10                              
  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;                       
ffc08528:	81 0a 00 04 	lwz     r8,4(r10)                              
ffc0852c:	39 4a 00 0c 	addi    r10,r10,12                             
  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++)               
ffc08530:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
    count += fd->devices[device].segment_count;                       
ffc08534:	7c c6 42 14 	add     r6,r6,r8                               
  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++)               
ffc08538:	40 9e ff f0 	bne+    cr7,ffc08528 <rtems_fdisk_ioctl+0x728> <== NEVER TAKEN
    count += fd->devices[device].segment_count;                       
                                                                      
  rtems_fdisk_printf (fd, "Queue total\t%ld of %ld, %s", total, count,
ffc0853c:	7f 9f 30 00 	cmpw    cr7,r31,r6                             
ffc08540:	41 9e 09 3c 	beq-    cr7,ffc08e7c <rtems_fdisk_ioctl+0x107c><== ALWAYS TAKEN
ffc08544:	3c e0 ff c4 	lis     r7,-60                                 <== NOT EXECUTED
ffc08548:	38 e7 97 d8 	addi    r7,r7,-26664                           <== NOT EXECUTED
ffc0854c:	3c 80 ff c4 	lis     r4,-60                                 
ffc08550:	38 84 9c b0 	addi    r4,r4,-25424                           
ffc08554:	7f e5 fb 78 	mr      r5,r31                                 
ffc08558:	7e 23 8b 78 	mr      r3,r17                                 
ffc0855c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08560:	4b ff df 0d 	bl      ffc0646c <rtems_fdisk_printf>          
                      total == count ? "ok" : "MISSING");             
                                                                      
  rtems_fdisk_printf (fd, "Device count\t%d", fd->device_count);      
ffc08564:	80 b1 00 30 	lwz     r5,48(r17)                             
ffc08568:	3c 80 ff c4 	lis     r4,-60                                 
ffc0856c:	7e 23 8b 78 	mr      r3,r17                                 
ffc08570:	38 84 9c cc 	addi    r4,r4,-25396                           
ffc08574:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08578:	4b ff de f5 	bl      ffc0646c <rtems_fdisk_printf>          
                                                                      
  for (device = 0; device < fd->device_count; device++)               
ffc0857c:	81 31 00 30 	lwz     r9,48(r17)                             
ffc08580:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08584:	41 9e 02 2c 	beq-    cr7,ffc087b0 <rtems_fdisk_ioctl+0x9b0> <== NEVER TAKEN
ffc08588:	3e 60 ff c4 	lis     r19,-60                                
ffc0858c:	3e 80 ff c4 	lis     r20,-60                                
ffc08590:	3f 00 ff c4 	lis     r24,-60                                
                                                                      
        for (block = 0; block < fd->block_count; block++)             
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
              (fd->blocks[block].page == page) && !is_active)         
            rtems_fdisk_printf (fd,                                   
ffc08594:	3f 20 ff c4 	lis     r25,-60                                
  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++)               
ffc08598:	3b 40 00 00 	li      r26,0                                  
ffc0859c:	3a e0 00 00 	li      r23,0                                  
ffc085a0:	3a 73 9c dc 	addi    r19,r19,-25380                         
ffc085a4:	3a 94 9c ec 	addi    r20,r20,-25364                         
ffc085a8:	3b 18 9d 30 	addi    r24,r24,-25296                         
                                                                      
        for (block = 0; block < fd->block_count; block++)             
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
              (fd->blocks[block].page == page) && !is_active)         
            rtems_fdisk_printf (fd,                                   
ffc085ac:	3b 39 9d 00 	addi    r25,r25,-25344                         
  for (device = 0; device < fd->device_count; device++)               
  {                                                                   
    uint32_t block;                                                   
    uint32_t seg;                                                     
                                                                      
    rtems_fdisk_printf (fd, " Device\t\t%ld", device);                
ffc085b0:	7e 64 9b 78 	mr      r4,r19                                 
ffc085b4:	7e e5 bb 78 	mr      r5,r23                                 
ffc085b8:	7e 23 8b 78 	mr      r3,r17                                 
ffc085bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc085c0:	4b ff de ad 	bl      ffc0646c <rtems_fdisk_printf>          
    rtems_fdisk_printf (fd, "  Segment count\t%ld",                   
ffc085c4:	81 31 00 2c 	lwz     r9,44(r17)                             
ffc085c8:	7e 23 8b 78 	mr      r3,r17                                 
ffc085cc:	7d 29 d2 14 	add     r9,r9,r26                              
ffc085d0:	80 a9 00 04 	lwz     r5,4(r9)                               
ffc085d4:	7e 84 a3 78 	mr      r4,r20                                 
ffc085d8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc085dc:	4b ff de 91 	bl      ffc0646c <rtems_fdisk_printf>          
                        fd->devices[device].segment_count);           
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
ffc085e0:	81 31 00 2c 	lwz     r9,44(r17)                             
ffc085e4:	7d 29 d2 14 	add     r9,r9,r26                              
ffc085e8:	81 49 00 04 	lwz     r10,4(r9)                              
ffc085ec:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc085f0:	41 9e 01 ac 	beq-    cr7,ffc0879c <rtems_fdisk_ioctl+0x99c> <== NEVER TAKEN
ffc085f4:	3b a0 00 00 	li      r29,0                                  
ffc085f8:	3b c0 00 00 	li      r30,0                                  
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
ffc085fc:	82 49 00 00 	lwz     r18,0(r9)                              
      uint32_t                 active = 0;                            
      uint32_t                 used = 0;                              
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
ffc08600:	7e 23 8b 78 	mr      r3,r17                                 
ffc08604:	38 a1 00 20 	addi    r5,r1,32                               
    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];
ffc08608:	7e 52 ea 14 	add     r18,r18,r29                            
      uint32_t                 active = 0;                            
      uint32_t                 used = 0;                              
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
ffc0860c:	7e 44 93 78 	mr      r4,r18                                 
ffc08610:	4b ff dc 5d 	bl      ffc0626c <rtems_fdisk_queue_status>    
                                                                      
      for (page = 0; page < sc->pages; page++)                        
ffc08614:	80 f2 00 14 	lwz     r7,20(r18)                             
ffc08618:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0861c:	41 9e 02 38 	beq-    cr7,ffc08854 <rtems_fdisk_ioctl+0xa54> <== NEVER TAKEN
ffc08620:	80 d1 00 1c 	lwz     r6,28(r17)                             
      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;                     
ffc08624:	39 e0 00 00 	li      r15,0                                  
    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;                            
ffc08628:	39 c0 00 00 	li      r14,0                                  
ffc0862c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc08630:	7c ca 33 78 	mr      r10,r6                                 
      uint32_t                 used = 0;                              
ffc08634:	3a a0 00 00 	li      r21,0                                  
                                                                      
    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;                            
ffc08638:	3a c0 00 00 	li      r22,0                                  
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
ffc0863c:	3a 00 00 00 	li      r16,0                                  
      {                                                               
        if (rtems_fdisk_page_desc_erased (&sc->page_descriptors[page]))
ffc08640:	81 12 00 10 	lwz     r8,16(r18)                             
 * @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)   
ffc08644:	56 05 18 38 	rlwinm  r5,r16,3,0,28                          
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;                  
ffc08648:	7c 88 28 2e 	lwzx    r4,r8,r5                               
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
      {                                                               
        if (rtems_fdisk_page_desc_erased (&sc->page_descriptors[page]))
ffc0864c:	7d 08 2a 14 	add     r8,r8,r5                               
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;                  
ffc08650:	2f 04 ff ff 	cmpwi   cr6,r4,-1                              
ffc08654:	41 9a 01 d8 	beq-    cr6,ffc0882c <rtems_fdisk_ioctl+0xa2c> 
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08658:	a1 08 00 02 	lhz     r8,2(r8)                               
                                                                      
      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],
ffc0865c:	71 09 00 01 	andi.   r9,r8,1                                
ffc08660:	40 82 00 14 	bne-    ffc08674 <rtems_fdisk_ioctl+0x874>     <== NEVER TAKEN
                                                  RTEMS_FDISK_PAGE_ACTIVE))
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (&sc->page_descriptors[page],
ffc08664:	55 08 07 bc 	rlwinm  r8,r8,0,30,30                          
ffc08668:	71 09 ff ff 	andi.   r9,r8,65535                            
ffc0866c:	40 82 01 d4 	bne-    ffc08840 <rtems_fdisk_ioctl+0xa40>     
                                               RTEMS_FDISK_PAGE_USED))
            used++;                                                   
ffc08670:	3a b5 00 01 	addi    r21,r21,1                              
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
ffc08674:	41 9e 00 7c 	beq-    cr7,ffc086f0 <rtems_fdisk_ioctl+0x8f0> <== NEVER TAKEN
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
              (fd->blocks[block].page == page) && !is_active)         
ffc08678:	2e 0f 00 00 	cmpwi   cr4,r15,0                              
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
ffc0867c:	3b e0 00 00 	li      r31,0                                  
ffc08680:	48 00 00 14 	b       ffc08694 <rtems_fdisk_ioctl+0x894>     
ffc08684:	3b ff 00 01 	addi    r31,r31,1                              
ffc08688:	7f 9f 30 40 	cmplw   cr7,r31,r6                             
ffc0868c:	7c ca 33 78 	mr      r10,r6                                 
ffc08690:	40 9c 00 58 	bge-    cr7,ffc086e8 <rtems_fdisk_ioctl+0x8e8> 
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
ffc08694:	81 51 00 18 	lwz     r10,24(r17)                            
 * @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)   
ffc08698:	57 e8 18 38 	rlwinm  r8,r31,3,0,28                          
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
ffc0869c:	7c ea 40 2e 	lwzx    r7,r10,r8                              
ffc086a0:	7d 4a 42 14 	add     r10,r10,r8                             
ffc086a4:	7f 92 38 00 	cmpw    cr7,r18,r7                             
ffc086a8:	40 9e ff dc 	bne+    cr7,ffc08684 <rtems_fdisk_ioctl+0x884> 
ffc086ac:	81 4a 00 04 	lwz     r10,4(r10)                             
ffc086b0:	7f 90 50 00 	cmpw    cr7,r16,r10                            
ffc086b4:	40 9e ff d0 	bne+    cr7,ffc08684 <rtems_fdisk_ioctl+0x884> 
              (fd->blocks[block].page == page) && !is_active)         
ffc086b8:	40 92 ff cc 	bne+    cr4,ffc08684 <rtems_fdisk_ioctl+0x884> <== ALWAYS TAKEN
            rtems_fdisk_printf (fd,                                   
ffc086bc:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc086c0:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc086c4:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc086c8:	7e 05 83 78 	mr      r5,r16                                 <== NOT EXECUTED
ffc086cc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc086d0:	4b ff dd 9d 	bl      ffc0646c <rtems_fdisk_printf>          <== NOT EXECUTED
ffc086d4:	80 d1 00 1c 	lwz     r6,28(r17)                             <== NOT EXECUTED
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
ffc086d8:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
ffc086dc:	7f 9f 30 40 	cmplw   cr7,r31,r6                             <== NOT EXECUTED
ffc086e0:	7c ca 33 78 	mr      r10,r6                                 <== NOT EXECUTED
ffc086e4:	41 9c ff b0 	blt+    cr7,ffc08694 <rtems_fdisk_ioctl+0x894> <== NOT EXECUTED
ffc086e8:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc086ec:	80 f2 00 14 	lwz     r7,20(r18)                             
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
ffc086f0:	3a 10 00 01 	addi    r16,r16,1                              
ffc086f4:	7f 10 38 40 	cmplw   cr6,r16,r7                             
ffc086f8:	41 98 ff 48 	blt+    cr6,ffc08640 <rtems_fdisk_ioctl+0x840> 
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
ffc086fc:	41 9e 01 50 	beq-    cr7,ffc0884c <rtems_fdisk_ioctl+0xa4c> <== NEVER TAKEN
 * @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)   
ffc08700:	55 4a 18 38 	rlwinm  r10,r10,3,0,28                         
ffc08704:	80 b1 00 18 	lwz     r5,24(r17)                             
ffc08708:	39 0a ff f8 	addi    r8,r10,-8                              
ffc0870c:	55 08 e8 fe 	rlwinm  r8,r8,29,3,31                          
ffc08710:	39 08 00 01 	addi    r8,r8,1                                
ffc08714:	7d 09 03 a6 	mtctr   r8                                     
ffc08718:	39 40 00 00 	li      r10,0                                  
ffc0871c:	38 c0 00 00 	li      r6,0                                   
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
      {                                                               
        if (fd->blocks[block].segment == sc)                          
ffc08720:	7d 05 50 2e 	lwzx    r8,r5,r10                              
ffc08724:	39 4a 00 08 	addi    r10,r10,8                              
          count++;                                                    
ffc08728:	7e 4b 42 78 	xor     r11,r18,r8                             
ffc0872c:	21 6b 00 00 	subfic  r11,r11,0                              
ffc08730:	7d 66 01 94 	addze   r11,r6                                 
ffc08734:	7d 66 5b 78 	mr      r6,r11                                 
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
ffc08738:	42 00 ff e8 	bdnz+   ffc08720 <rtems_fdisk_ioctl+0x920>     
                          " 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),
ffc0873c:	81 52 00 20 	lwz     r10,32(r18)                            
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
ffc08740:	7f c5 f3 78 	mr      r5,r30                                 
                          " 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 +             
ffc08744:	81 12 00 1c 	lwz     r8,28(r18)                             
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
ffc08748:	7e 23 8b 78 	mr      r3,r17                                 
ffc0874c:	92 a1 00 08 	stw     r21,8(r1)                              
ffc08750:	7f 04 c3 78 	mr      r4,r24                                 
                                                                      
    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++)     
ffc08754:	3b de 00 01 	addi    r30,r30,1                              
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
ffc08758:	92 c1 00 0c 	stw     r22,12(r1)                             
ffc0875c:	3b bd 00 30 	addi    r29,r29,48                             
 * @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)   
ffc08760:	81 32 00 24 	lwz     r9,36(r18)                             
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
ffc08764:	90 c1 00 14 	stw     r6,20(r1)                              
ffc08768:	38 c1 00 20 	addi    r6,r1,32                               
 * @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)   
ffc0876c:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc08770:	7d 29 42 14 	add     r9,r9,r8                               
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
ffc08774:	7d 29 38 50 	subf    r9,r9,r7                               
ffc08778:	91 21 00 10 	stw     r9,16(r1)                              
ffc0877c:	7d c9 73 78 	mr      r9,r14                                 
ffc08780:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08784:	4b ff dc e9 	bl      ffc0646c <rtems_fdisk_printf>          
                                                                      
    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++)     
ffc08788:	81 31 00 2c 	lwz     r9,44(r17)                             
ffc0878c:	7d 29 d2 14 	add     r9,r9,r26                              
ffc08790:	81 49 00 04 	lwz     r10,4(r9)                              
ffc08794:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
ffc08798:	41 9c fe 64 	blt+    cr7,ffc085fc <rtems_fdisk_ioctl+0x7fc> 
  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++)               
ffc0879c:	81 31 00 30 	lwz     r9,48(r17)                             
ffc087a0:	3a f7 00 01 	addi    r23,r23,1                              
ffc087a4:	3b 5a 00 0c 	addi    r26,r26,12                             
ffc087a8:	7f 97 48 40 	cmplw   cr7,r23,r9                             
ffc087ac:	41 9c fe 04 	blt+    cr7,ffc085b0 <rtems_fdisk_ioctl+0x7b0> <== NEVER TAKEN
                          count);                                     
    }                                                                 
  }                                                                   
                                                                      
  {                                                                   
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
ffc087b0:	83 f1 00 40 	lwz     r31,64(r17)                            
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
ffc087b4:	3c 80 ff c4 	lis     r4,-60                                 
ffc087b8:	7e 23 8b 78 	mr      r3,r17                                 
ffc087bc:	38 84 9d 6c 	addi    r4,r4,-25236                           
ffc087c0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc087c4:	4b ff dc a9 	bl      ffc0646c <rtems_fdisk_printf>          
    while (sc)                                                        
ffc087c8:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc087cc:	41 9e 00 40 	beq-    cr7,ffc0880c <rtems_fdisk_ioctl+0xa0c> <== NEVER TAKEN
ffc087d0:	3f a0 ff c4 	lis     r29,-60                                
ffc087d4:	3b c0 00 00 	li      r30,0                                  
ffc087d8:	3b bd 9d 78 	addi    r29,r29,-25224                         
    {                                                                 
      rtems_fdisk_printf (fd, "  %3d %02d:%03d u:%3ld",               
ffc087dc:	80 df 00 08 	lwz     r6,8(r31)                              
ffc087e0:	7f c5 f3 78 	mr      r5,r30                                 
ffc087e4:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc087e8:	7e 23 8b 78 	mr      r3,r17                                 
ffc087ec:	81 1f 00 20 	lwz     r8,32(r31)                             
ffc087f0:	7f a4 eb 78 	mr      r4,r29                                 
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
      count++;                                                        
ffc087f4:	3b de 00 01 	addi    r30,r30,1                              
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
    while (sc)                                                        
    {                                                                 
      rtems_fdisk_printf (fd, "  %3d %02d:%03d u:%3ld",               
ffc087f8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc087fc:	4b ff dc 71 	bl      ffc0646c <rtems_fdisk_printf>          
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
ffc08800:	83 ff 00 00 	lwz     r31,0(r31)                             
                                                                      
  {                                                                   
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
    while (sc)                                                        
ffc08804:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc08808:	40 9e ff d4 	bne+    cr7,ffc087dc <rtems_fdisk_ioctl+0x9dc> 
ffc0880c:	81 3b 29 00 	lwz     r9,10496(r27)                          
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
      count++;                                                        
    }                                                                 
  }                                                                   
  fd->info_level = current_info_level;                                
ffc08810:	82 41 00 34 	lwz     r18,52(r1)                             
      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]);  
ffc08814:	81 61 00 30 	lwz     r11,48(r1)                             
ffc08818:	7f 89 e2 14 	add     r28,r9,r28                             
ffc0881c:	39 20 00 00 	li      r9,0                                   
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
      count++;                                                        
    }                                                                 
  }                                                                   
  fd->info_level = current_info_level;                                
ffc08820:	92 51 00 6c 	stw     r18,108(r17)                           
      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]);  
ffc08824:	91 2b 00 00 	stw     r9,0(r11)                              
        break;                                                        
ffc08828:	4b ff f9 f4 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     
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;                  
ffc0882c:	80 a8 00 04 	lwz     r5,4(r8)                               
ffc08830:	2f 05 ff ff 	cmpwi   cr6,r5,-1                              
ffc08834:	40 9a fe 24 	bne+    cr6,ffc08658 <rtems_fdisk_ioctl+0x858> <== NEVER TAKEN
      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++;                                                   
ffc08838:	3a d6 00 01 	addi    r22,r22,1                              
ffc0883c:	4b ff fe 38 	b       ffc08674 <rtems_fdisk_ioctl+0x874>     
          if (rtems_fdisk_page_desc_flags_set (&sc->page_descriptors[page],
                                               RTEMS_FDISK_PAGE_USED))
            used++;                                                   
          else                                                        
          {                                                           
            active++;                                                 
ffc08840:	39 ce 00 01 	addi    r14,r14,1                              
            is_active = true;                                         
ffc08844:	39 e0 00 01 	li      r15,1                                  
ffc08848:	4b ff fe 2c 	b       ffc08674 <rtems_fdisk_ioctl+0x874>     
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
ffc0884c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc08850:	4b ff fe ec 	b       ffc0873c <rtems_fdisk_ioctl+0x93c>     <== NOT EXECUTED
ffc08854:	81 51 00 1c 	lwz     r10,28(r17)                            <== 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;                            
ffc08858:	39 c0 00 00 	li      r14,0                                  <== NOT EXECUTED
      uint32_t                 used = 0;                              
ffc0885c:	3a a0 00 00 	li      r21,0                                  <== 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;                            
ffc08860:	3a c0 00 00 	li      r22,0                                  <== NOT EXECUTED
ffc08864:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc08868:	4b ff fe 94 	b       ffc086fc <rtems_fdisk_ioctl+0x8fc>     <== NOT EXECUTED
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
            (rtems_flashdisks[minor].device_count == 0))              
        {                                                             
          errno = ENODEV;                                             
ffc0886c:	48 01 f6 d1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc08870:	81 3b 29 00 	lwz     r9,10496(r27)                          <== NOT EXECUTED
ffc08874:	39 40 00 13 	li      r10,19                                 <== NOT EXECUTED
ffc08878:	91 43 00 00 	stw     r10,0(r3)                              <== NOT EXECUTED
ffc0887c:	7f 89 e2 14 	add     r28,r9,r28                             <== NOT EXECUTED
ffc08880:	4b ff f9 9c 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     <== 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;                                                          
ffc08884:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc08888:	4b ff fc b4 	b       ffc0853c <rtems_fdisk_ioctl+0x73c>     <== 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);
ffc0888c:	48 01 f6 b1 	bl      ffc27f3c <__errno>                     
ffc08890:	83 fb 29 00 	lwz     r31,10496(r27)                         
ffc08894:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc08898:	7c 6e 1b 78 	mr      r14,r3                                 
ffc0889c:	7f ff e2 14 	add     r31,r31,r28                            
 * @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)   
ffc088a0:	3b 1e 00 28 	addi    r24,r30,40                             
ffc088a4:	3a 80 00 01 	li      r20,1                                  
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
ffc088a8:	39 54 ff ff 	addi    r10,r20,-1                             
ffc088ac:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc088b0:	40 9c 09 40 	bge-    cr7,ffc091f0 <rtems_fdisk_ioctl+0x13f0>
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
ffc088b4:	81 f8 ff f4 	lwz     r15,-12(r24)                           
ffc088b8:	81 5f 00 14 	lwz     r10,20(r31)                            
    data = sg->buffer;                                                
ffc088bc:	82 f8 ff f8 	lwz     r23,-8(r24)                            
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
ffc088c0:	7d ef 53 96 	divwu   r15,r15,r10                            
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
ffc088c4:	2f 8f 00 00 	cmpwi   cr7,r15,0                              
ffc088c8:	41 9e 03 ec 	beq-    cr7,ffc08cb4 <rtems_fdisk_ioctl+0xeb4> <== NEVER TAKEN
ffc088cc:	3a c0 00 00 	li      r22,0                                  
    {                                                                 
      ret = rtems_fdisk_write_block (fd, sg->block + b, data);        
ffc088d0:	83 58 ff f0 	lwz     r26,-16(r24)                           
  rtems_fdisk_page_desc*   pd;                                        
  uint32_t                 page;                                      
  int                      ret;                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "write-block:%d", block);                     
ffc088d4:	3e 40 ff c4 	lis     r18,-60                                
ffc088d8:	80 92 93 10 	lwz     r4,-27888(r18)                         
ffc088dc:	7f e3 fb 78 	mr      r3,r31                                 
    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);        
ffc088e0:	7f 56 d2 14 	add     r26,r22,r26                            
  rtems_fdisk_page_desc*   pd;                                        
  uint32_t                 page;                                      
  int                      ret;                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "write-block:%d", block);                     
ffc088e4:	7f 45 d3 78 	mr      r5,r26                                 
ffc088e8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc088ec:	4b ff da 89 	bl      ffc06374 <rtems_fdisk_info>            
                                                                      
  /*                                                                  
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
ffc088f0:	81 5f 00 1c 	lwz     r10,28(r31)                            
ffc088f4:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc088f8:	7d 29 50 50 	subf    r9,r9,r10                              
ffc088fc:	7f 9a 48 40 	cmplw   cr7,r26,r9                             
ffc08900:	40 9c 04 18 	bge-    cr7,ffc08d18 <rtems_fdisk_ioctl+0xf18> <== NEVER TAKEN
  {                                                                   
    rtems_fdisk_error ("write-block: block out of range: %d", block); 
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
ffc08904:	82 3f 00 18 	lwz     r17,24(r31)                            
ffc08908:	57 52 18 38 	rlwinm  r18,r26,3,0,28                         
                                                                      
  /*                                                                  
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
ffc0890c:	7f b1 90 2e 	lwzx    r29,r17,r18                            
  {                                                                   
    rtems_fdisk_error ("write-block: block out of range: %d", block); 
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
ffc08910:	7f 31 92 14 	add     r25,r17,r18                            
                                                                      
  /*                                                                  
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
ffc08914:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc08918:	41 9e 01 a8 	beq-    cr7,ffc08ac0 <rtems_fdisk_ioctl+0xcc0> 
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
ffc0891c:	80 f9 00 04 	lwz     r7,4(r25)                              
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
ffc08920:	3d 00 ff c4 	lis     r8,-60                                 
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
ffc08924:	81 3d 00 10 	lwz     r9,16(r29)                             
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
ffc08928:	7f e3 fb 78 	mr      r3,r31                                 
ffc0892c:	80 88 93 14 	lwz     r4,-27884(r8)                          
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
ffc08930:	54 f5 18 38 	rlwinm  r21,r7,3,0,28                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
ffc08934:	80 bd 00 08 	lwz     r5,8(r29)                              
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
ffc08938:	7e a9 aa 14 	add     r21,r9,r21                             
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
ffc0893c:	80 dd 00 0c 	lwz     r6,12(r29)                             
ffc08940:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08944:	4b ff da 31 	bl      ffc06374 <rtems_fdisk_info>            
#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,     
ffc08948:	81 5d 00 08 	lwz     r10,8(r29)                             
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;            
ffc0894c:	81 1f 00 2c 	lwz     r8,44(r31)                             
ffc08950:	1c ea 00 0c 	mulli   r7,r10,12                              
#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,     
ffc08954:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc08958:	80 bd 00 18 	lwz     r5,24(r29)                             
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;            
ffc0895c:	7c 68 38 2e 	lwzx    r3,r8,r7                               
ffc08960:	7d 08 3a 14 	add     r8,r8,r7                               
#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,     
ffc08964:	80 d9 00 04 	lwz     r6,4(r25)                              
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;            
ffc08968:	1c 89 00 30 	mulli   r4,r9,48                               
                             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);
ffc0896c:	82 1f 00 14 	lwz     r16,20(r31)                            
                        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;                    
ffc08970:	81 08 00 08 	lwz     r8,8(r8)                               
#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,     
ffc08974:	7c c5 32 14 	add     r6,r5,r6                               
                             uint32_t               device,           
                             uint32_t               segment,          
                             uint32_t               page,             
                             const void*            buffer)           
{                                                                     
  return rtems_fdisk_seg_verify (fd, device, segment,                 
ffc08978:	7d 66 81 d6 	mullw   r11,r6,r16                             
                        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;                    
ffc0897c:	81 88 00 08 	lwz     r12,8(r8)                              
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;            
ffc08980:	7d 03 22 14 	add     r8,r3,r4                               
ffc08984:	80 08 00 04 	lwz     r0,4(r8)                               
  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",     
ffc08988:	3d 00 ff c4 	lis     r8,-60                                 
ffc0898c:	80 88 93 18 	lwz     r4,-27880(r8)                          
ffc08990:	7d 45 53 78 	mr      r5,r10                                 
ffc08994:	7d 26 4b 78 	mr      r6,r9                                  
ffc08998:	90 01 00 3c 	stw     r0,60(r1)                              
ffc0899c:	7d 67 5b 78 	mr      r7,r11                                 
ffc089a0:	7e 08 83 78 	mr      r8,r16                                 
ffc089a4:	91 21 00 48 	stw     r9,72(r1)                              
ffc089a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc089ac:	91 41 00 44 	stw     r10,68(r1)                             
ffc089b0:	91 61 00 38 	stw     r11,56(r1)                             
ffc089b4:	91 81 00 40 	stw     r12,64(r1)                             
ffc089b8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc089bc:	4b ff da b1 	bl      ffc0646c <rtems_fdisk_printf>          
                      device, segment, offset, size);                 
#endif                                                                
  return ops->verify (sd, device, segment, offset, buffer, size);     
ffc089c0:	7e e7 bb 78 	mr      r7,r23                                 
ffc089c4:	81 81 00 40 	lwz     r12,64(r1)                             
ffc089c8:	7e 08 83 78 	mr      r8,r16                                 
ffc089cc:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc089d0:	81 8c 00 0c 	lwz     r12,12(r12)                            
ffc089d4:	81 41 00 44 	lwz     r10,68(r1)                             
ffc089d8:	7c 03 03 78 	mr      r3,r0                                  
ffc089dc:	81 21 00 48 	lwz     r9,72(r1)                              
ffc089e0:	7d 89 03 a6 	mtctr   r12                                    
ffc089e4:	81 61 00 38 	lwz     r11,56(r1)                             
ffc089e8:	7d 44 53 78 	mr      r4,r10                                 
ffc089ec:	7d 25 4b 78 	mr      r5,r9                                  
ffc089f0:	7d 66 5b 78 	mr      r6,r11                                 
ffc089f4:	4e 80 04 21 	bctrl                                          
#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,     
ffc089f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc089fc:	41 9e 03 cc 	beq-    cr7,ffc08dc8 <rtems_fdisk_ioctl+0xfc8> 
                                       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))             
ffc08a00:	81 5f 00 08 	lwz     r10,8(r31)                             
 * 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;                                                
ffc08a04:	a1 35 00 02 	lhz     r9,2(r21)                              
                                       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))             
ffc08a08:	71 48 00 08 	andi.   r8,r10,8                               
     * 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);
ffc08a0c:	81 59 00 04 	lwz     r10,4(r25)                             
 * 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;                                                
ffc08a10:	55 28 07 fa 	rlwinm  r8,r9,0,31,29                          
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)) +        
ffc08a14:	55 49 18 38 	rlwinm  r9,r10,3,0,28                          
 * 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;                                                
ffc08a18:	b1 15 00 02 	sth     r8,2(r21)                              
                                       rtems_fdisk_segment_ctl*     sc,
                                       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));
ffc08a1c:	39 29 00 02 	addi    r9,r9,2                                
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc08a20:	41 82 03 10 	beq-    ffc08d30 <rtems_fdisk_ioctl+0xf30>     <== NEVER TAKEN
  {                                                                   
    uint16_t flash_flags;                                             
    int      ret;                                                     
    ret = rtems_fdisk_seg_read (fd, sc, offset,                       
ffc08a24:	80 9d 00 08 	lwz     r4,8(r29)                              
ffc08a28:	7d 26 4b 78 	mr      r6,r9                                  
ffc08a2c:	80 bd 00 0c 	lwz     r5,12(r29)                             
ffc08a30:	7f e3 fb 78 	mr      r3,r31                                 
ffc08a34:	38 e1 00 26 	addi    r7,r1,38                               
ffc08a38:	91 21 00 48 	stw     r9,72(r1)                              
ffc08a3c:	39 00 00 02 	li      r8,2                                   
ffc08a40:	91 41 00 44 	stw     r10,68(r1)                             
ffc08a44:	4b ff e3 cd 	bl      ffc06e10 <rtems_fdisk_seg_read.isra.14>
                                &flash_flags, sizeof (flash_flags));  
    if (ret)                                                          
ffc08a48:	7c 70 1b 79 	mr.     r16,r3                                 
ffc08a4c:	81 21 00 48 	lwz     r9,72(r1)                              
ffc08a50:	81 41 00 44 	lwz     r10,68(r1)                             
ffc08a54:	40 82 02 f8 	bne-    ffc08d4c <rtems_fdisk_ioctl+0xf4c>     <== NEVER TAKEN
      return ret;                                                     
    if ((flash_flags & page_desc->flags) != page_desc->flags)         
ffc08a58:	a1 15 00 02 	lhz     r8,2(r21)                              
ffc08a5c:	a0 e1 00 26 	lhz     r7,38(r1)                              
ffc08a60:	7c e6 40 38 	and     r6,r7,r8                               
ffc08a64:	7f 88 30 00 	cmpw    cr7,r8,r6                              
ffc08a68:	41 9e 02 c8 	beq-    cr7,ffc08d30 <rtems_fdisk_ioctl+0xf30> <== ALWAYS TAKEN
    {                                                                 
      rtems_fdisk_error ("  seg-write-page-flags: %02d-%03d-%03d: "   
ffc08a6c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc08a70:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc08a74:	80 bd 00 0c 	lwz     r5,12(r29)                             <== NOT EXECUTED
ffc08a78:	38 63 9a 00 	addi    r3,r3,-26112                           <== NOT EXECUTED
ffc08a7c:	7d 46 53 78 	mr      r6,r10                                 <== NOT EXECUTED
ffc08a80:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08a84:	4b ff dc c5 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
ffc08a88:	81 5d 00 1c 	lwz     r10,28(r29)                            
      sc->pages_used++;                                               
ffc08a8c:	81 3d 00 20 	lwz     r9,32(r29)                             
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
ffc08a90:	39 4a ff ff 	addi    r10,r10,-1                             
      sc->pages_used++;                                               
ffc08a94:	39 29 00 01 	addi    r9,r9,1                                
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
ffc08a98:	91 5d 00 1c 	stw     r10,28(r29)                            
      sc->pages_used++;                                               
ffc08a9c:	91 3d 00 20 	stw     r9,32(r29)                             
    /*                                                                
     * 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);                               
ffc08aa0:	7f e3 fb 78 	mr      r3,r31                                 
ffc08aa4:	7f a4 eb 78 	mr      r4,r29                                 
ffc08aa8:	4b ff df dd 	bl      ffc06a84 <rtems_fdisk_queue_segment>   
    /*                                                                
     * 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)            
ffc08aac:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc08ab0:	71 2a 00 02 	andi.   r10,r9,2                               
ffc08ab4:	40 a2 00 0c 	bne+    ffc08ac0 <rtems_fdisk_ioctl+0xcc0>     <== NEVER TAKEN
      rtems_fdisk_compact (fd);                                       
ffc08ab8:	7f e3 fb 78 	mr      r3,r31                                 
ffc08abc:	4b ff eb 0d 	bl      ffc075c8 <rtems_fdisk_compact>         
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08ac0:	83 bf 00 34 	lwz     r29,52(r31)                            
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08ac4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc08ac8:	41 9e 01 f8 	beq-    cr7,ffc08cc0 <rtems_fdisk_ioctl+0xec0> <== NEVER TAKEN
ffc08acc:	7f a9 eb 78 	mr      r9,r29                                 
ffc08ad0:	39 40 00 00 	li      r10,0                                  
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
ffc08ad4:	81 29 00 00 	lwz     r9,0(r9)                               
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
  {                                                                   
    count++;                                                          
ffc08ad8:	39 4a 00 01 	addi    r10,r10,1                              
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
ffc08adc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08ae0:	40 9e ff f4 	bne+    cr7,ffc08ad4 <rtems_fdisk_ioctl+0xcd4> 
  /*                                                                  
   * Is it time to compact the disk ?                                 
   *                                                                  
   * We override the background compaction configruation.             
   */                                                                 
  if (rtems_fdisk_segment_count_queue (&fd->available) <=             
ffc08ae4:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc08ae8:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc08aec:	40 9c 01 d4 	bge-    cr7,ffc08cc0 <rtems_fdisk_ioctl+0xec0> 
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc08af0:	81 3d 00 00 	lwz     r9,0(r29)                              
    if (!queue->head)                                                 
ffc08af4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
ffc08af8:	91 3f 00 34 	stw     r9,52(r31)                             
    if (!queue->head)                                                 
ffc08afc:	41 9e 03 2c 	beq-    cr7,ffc08e28 <rtems_fdisk_ioctl+0x1028>
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
ffc08b00:	81 3f 00 3c 	lwz     r9,60(r31)                             
ffc08b04:	39 29 ff ff 	addi    r9,r9,-1                               
ffc08b08:	91 3f 00 3c 	stw     r9,60(r31)                             
                                                                      
    sc->next = 0;                                                     
ffc08b0c:	39 20 00 00 	li      r9,0                                   
ffc08b10:	91 3d 00 00 	stw     r9,0(r29)                              
      return ENOSPC;                                                  
    }                                                                 
  }                                                                   
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  if (fd->info_level >= 3)                                            
ffc08b14:	81 3f 00 6c 	lwz     r9,108(r31)                            
ffc08b18:	2b 89 00 02 	cmplwi  cr7,r9,2                               
ffc08b1c:	41 9d 02 d4 	bgt-    cr7,ffc08df0 <rtems_fdisk_ioctl+0xff0> <== NEVER TAKEN
   * Find the next avaliable page in the segment.                     
   */                                                                 
                                                                      
  pd = sc->page_descriptors;                                          
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
ffc08b20:	81 3d 00 14 	lwz     r9,20(r29)                             
                                                                      
  /*                                                                  
   * Find the next avaliable page in the segment.                     
   */                                                                 
                                                                      
  pd = sc->page_descriptors;                                          
ffc08b24:	82 bd 00 10 	lwz     r21,16(r29)                            
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
ffc08b28:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08b2c:	41 9e 02 6c 	beq-    cr7,ffc08d98 <rtems_fdisk_ioctl+0xf98> <== NEVER TAKEN
ffc08b30:	3a 00 00 00 	li      r16,0                                  
ffc08b34:	7d 29 03 a6 	mtctr   r9                                     
ffc08b38:	48 00 00 10 	b       ffc08b48 <rtems_fdisk_ioctl+0xd48>     
ffc08b3c:	3a 10 00 01 	addi    r16,r16,1                              
ffc08b40:	3a b5 00 08 	addi    r21,r21,8                              
ffc08b44:	42 40 02 54 	bdz-    ffc08d98 <rtems_fdisk_ioctl+0xf98>     
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;                  
ffc08b48:	81 55 00 00 	lwz     r10,0(r21)                             
ffc08b4c:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc08b50:	40 9e ff ec 	bne+    cr7,ffc08b3c <rtems_fdisk_ioctl+0xd3c> 
ffc08b54:	81 55 00 04 	lwz     r10,4(r21)                             
ffc08b58:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc08b5c:	40 9e ff e0 	bne+    cr7,ffc08b3c <rtems_fdisk_ioctl+0xd3c> <== NEVER TAKEN
                                                                      
  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); 
ffc08b60:	80 ff 00 14 	lwz     r7,20(r31)                             
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++)                           
ffc08b64:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc08b68:	41 9e 03 04 	beq-    cr7,ffc08e6c <rtems_fdisk_ioctl+0x106c><== NEVER TAKEN
 * 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;                                               
ffc08b6c:	7c e9 03 a6 	mtctr   r7                                     
ffc08b70:	39 40 00 00 	li      r10,0                                  
ffc08b74:	80 d3 00 08 	lwz     r6,8(r19)                              
 * @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)   
ffc08b78:	39 17 ff ff 	addi    r8,r23,-1                              
 * 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;                                               
ffc08b7c:	61 4a ff ff 	ori     r10,r10,65535                          
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
ffc08b80:	8c e8 00 01 	lbzu    r7,1(r8)                               
ffc08b84:	7c ea 52 78 	xor     r10,r7,r10                             
ffc08b88:	55 4a 0d fc 	rlwinm  r10,r10,1,23,30                        
ffc08b8c:	7d 46 52 2e 	lhzx    r10,r6,r10                             
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++)                           
ffc08b90:	42 00 ff f0 	bdnz+   ffc08b80 <rtems_fdisk_ioctl+0xd80>     
ffc08b94:	7d 48 53 78 	mr      r8,r10                                 
      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: " \    
ffc08b98:	80 fd 00 00 	lwz     r7,0(r29)                              
 * 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;                                                
ffc08b9c:	a0 75 00 02 	lhz     r3,2(r21)                              
      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: " \    
ffc08ba0:	2f 87 00 00 	cmpwi   cr7,r7,0                               
                                                                      
  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); 
ffc08ba4:	b1 55 00 00 	sth     r10,0(r21)                             
 * 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;                                                
ffc08ba8:	54 63 04 3c 	rlwinm  r3,r3,0,16,30                          
      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: " \    
ffc08bac:	80 dd 00 08 	lwz     r6,8(r29)                              
  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); 
      pd->block = block;                                              
ffc08bb0:	93 55 00 04 	stw     r26,4(r21)                             
      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: " \    
ffc08bb4:	80 fd 00 0c 	lwz     r7,12(r29)                             
    if (rtems_fdisk_page_desc_erased (pd))                            
    {                                                                 
      pd->crc   = rtems_fdisk_page_checksum (buffer, fd->block_size); 
      pd->block = block;                                              
                                                                      
      bc->segment = sc;                                               
ffc08bb8:	7f b1 91 2e 	stwx    r29,r17,r18                            
      bc->page    = page;                                             
ffc08bbc:	92 19 00 04 	stw     r16,4(r25)                             
                                                                      
      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: " \    
ffc08bc0:	81 5d 00 1c 	lwz     r10,28(r29)                            
 * 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;                                                
ffc08bc4:	b0 75 00 02 	sth     r3,2(r21)                              
      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: " \    
ffc08bc8:	80 9d 00 20 	lwz     r4,32(r29)                             
ffc08bcc:	80 bd 00 24 	lwz     r5,36(r29)                             
ffc08bd0:	41 9e 02 90 	beq-    cr7,ffc08e60 <rtems_fdisk_ioctl+0x1060><== ALWAYS TAKEN
ffc08bd4:	3d 60 ff c4 	lis     r11,-60                                <== NOT EXECUTED
ffc08bd8:	39 6b 93 b8 	addi    r11,r11,-27720                         <== NOT EXECUTED
ffc08bdc:	3e 40 ff c4 	lis     r18,-60                                
ffc08be0:	90 81 00 08 	stw     r4,8(r1)                               
ffc08be4:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc08be8:	7f 45 d3 78 	mr      r5,r26                                 
ffc08bec:	80 92 93 20 	lwz     r4,-27872(r18)                         
ffc08bf0:	91 61 00 10 	stw     r11,16(r1)                             
ffc08bf4:	90 61 00 14 	stw     r3,20(r1)                              
ffc08bf8:	7f e3 fb 78 	mr      r3,r31                                 
ffc08bfc:	91 01 00 18 	stw     r8,24(r1)                              
ffc08c00:	7e 08 83 78 	mr      r8,r16                                 
ffc08c04:	93 41 00 1c 	stw     r26,28(r1)                             
ffc08c08:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08c0c:	4b ff d7 69 	bl      ffc06374 <rtems_fdisk_info>            
                                                                      
      /*                                                              
       * 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);
ffc08c10:	80 bd 00 18 	lwz     r5,24(r29)                             
ffc08c14:	7f e3 fb 78 	mr      r3,r31                                 
ffc08c18:	7f a4 eb 78 	mr      r4,r29                                 
ffc08c1c:	7c b0 2a 14 	add     r5,r16,r5                              
ffc08c20:	7e e6 bb 78 	mr      r6,r23                                 
ffc08c24:	4b ff e3 71 	bl      ffc06f94 <rtems_fdisk_seg_write_page>  
      if (ret)                                                        
ffc08c28:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc08c2c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc08c30:	41 92 02 00 	beq-    cr4,ffc08e30 <rtems_fdisk_ioctl+0x1030><== ALWAYS TAKEN
      {                                                               
#if RTEMS_FDISK_TRACE                                                 
        rtems_fdisk_info (fd, "write-block:%02d-%03d-%03d: write page failed: " \
ffc08c34:	82 bd 00 08 	lwz     r21,8(r29)                             <== NOT EXECUTED
ffc08c38:	83 3d 00 0c 	lwz     r25,12(r29)                            <== NOT EXECUTED
ffc08c3c:	48 02 1f 1d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc08c40:	3d 20 ff c4 	lis     r9,-60                                 <== NOT EXECUTED
ffc08c44:	80 89 93 24 	lwz     r4,-27868(r9)                          <== NOT EXECUTED
ffc08c48:	7c 68 1b 78 	mr      r8,r3                                  <== NOT EXECUTED
ffc08c4c:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc08c50:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08c54:	7f 26 cb 78 	mr      r6,r25                                 <== NOT EXECUTED
ffc08c58:	7e 07 83 78 	mr      r7,r16                                 <== NOT EXECUTED
ffc08c5c:	7f 49 d3 78 	mr      r9,r26                                 <== NOT EXECUTED
ffc08c60:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08c64:	4b ff d7 11 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
        {                                                             
          sc->pages_active++;                                         
        }                                                             
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
ffc08c68:	7f e3 fb 78 	mr      r3,r31                                 
ffc08c6c:	7f a4 eb 78 	mr      r4,r29                                 
ffc08c70:	4b ff de 15 	bl      ffc06a84 <rtems_fdisk_queue_segment>   
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
ffc08c74:	81 5f 00 28 	lwz     r10,40(r31)                            
ffc08c78:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc08c7c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc08c80:	40 9c 00 18 	bge-    cr7,ffc08c98 <rtems_fdisk_ioctl+0xe98> 
    fd->starvations++;                                                
ffc08c84:	81 3f 00 70 	lwz     r9,112(r31)                            
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
                                                                      
      if (rtems_fdisk_is_erased_blocks_starvation (fd))               
        rtems_fdisk_compact (fd);                                     
ffc08c88:	7f e3 fb 78 	mr      r3,r31                                 
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
    fd->starvations++;                                                
ffc08c8c:	39 29 00 01 	addi    r9,r9,1                                
ffc08c90:	91 3f 00 70 	stw     r9,112(r31)                            
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
                                                                      
      if (rtems_fdisk_is_erased_blocks_starvation (fd))               
        rtems_fdisk_compact (fd);                                     
ffc08c94:	4b ff e9 35 	bl      ffc075c8 <rtems_fdisk_compact>         
    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)                                                        
ffc08c98:	40 92 00 58 	bne-    cr4,ffc08cf0 <rtems_fdisk_ioctl+0xef0> <== NEVER TAKEN
    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)                  
ffc08c9c:	3a d6 00 01 	addi    r22,r22,1                              
ffc08ca0:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc08ca4:	7f 96 78 00 	cmpw    cr7,r22,r15                            
ffc08ca8:	7e f7 4a 14 	add     r23,r23,r9                             
ffc08cac:	40 9e fc 24 	bne+    cr7,ffc088d0 <rtems_fdisk_ioctl+0xad0> <== NEVER TAKEN
ffc08cb0:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc08cb4:	3b 18 00 10 	addi    r24,r24,16                             
ffc08cb8:	3a 94 00 01 	addi    r20,r20,1                              
ffc08cbc:	4b ff fb ec 	b       ffc088a8 <rtems_fdisk_ioctl+0xaa8>     
   *                                                                  
   * We override the background compaction configruation.             
   */                                                                 
  if (rtems_fdisk_segment_count_queue (&fd->available) <=             
      fd->avail_compact_segs)                                         
    rtems_fdisk_compact (fd);                                         
ffc08cc0:	7f e3 fb 78 	mr      r3,r31                                 
ffc08cc4:	4b ff e9 05 	bl      ffc075c8 <rtems_fdisk_compact>         
ffc08cc8:	83 bf 00 34 	lwz     r29,52(r31)                            
 * 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)                                                    
ffc08ccc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc08cd0:	40 be fe 20 	bne-    cr7,ffc08af0 <rtems_fdisk_ioctl+0xcf0> <== ALWAYS TAKEN
  {                                                                   
    /*                                                                
     * 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))                 
ffc08cd4:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
ffc08cd8:	71 28 00 02 	andi.   r8,r9,2                                <== NOT EXECUTED
ffc08cdc:	40 82 04 fc 	bne-    ffc091d8 <rtems_fdisk_ioctl+0x13d8>    <== NOT EXECUTED
     */                                                               
    sc = rtems_fdisk_segment_queue_pop_head (&fd->available);         
                                                                      
    if (!sc)                                                          
    {                                                                 
      rtems_fdisk_error ("write-block: no available pages");          
ffc08ce0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc08ce4:	38 63 9d 90 	addi    r3,r3,-25200                           <== NOT EXECUTED
ffc08ce8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08cec:	4b ff da 5d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_blkdev_request_done (req, ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL);
ffc08cf0:	38 80 00 1b 	li      r4,27                                  <== NOT EXECUTED
static inline void rtems_blkdev_request_done(                         
  rtems_blkdev_request *req,                                          
  rtems_status_code status                                            
)                                                                     
{                                                                     
  (*req->done)(req, status);                                          
ffc08cf4:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc08cf8:	7f c3 f3 78 	mr      r3,r30                                 
ffc08cfc:	7d 29 03 a6 	mtctr   r9                                     
ffc08d00:	4e 80 04 21 	bctrl                                          
ffc08d04:	81 3b 29 00 	lwz     r9,10496(r27)                          
            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);
ffc08d08:	39 40 00 00 	li      r10,0                                  
ffc08d0c:	91 4e 00 00 	stw     r10,0(r14)                             
ffc08d10:	7f 89 e2 14 	add     r28,r9,r28                             
              break;                                                  
ffc08d14:	4b ff f5 08 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     
   * 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); 
ffc08d18:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc08d1c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc08d20:	38 63 99 60 	addi    r3,r3,-26272                           <== NOT EXECUTED
ffc08d24:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08d28:	4b ff da 21 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc08d2c:	4b ff ff c4 	b       ffc08cf0 <rtems_fdisk_ioctl+0xef0>     <== NOT EXECUTED
                         sc->device, sc->segment, page,               
                         flash_flags, page_desc->flags);              
      return ret;                                                     
    }                                                                 
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc08d30:	7f e3 fb 78 	mr      r3,r31                                 
ffc08d34:	7f a4 eb 78 	mr      r4,r29                                 
ffc08d38:	7d 25 4b 78 	mr      r5,r9                                  
ffc08d3c:	38 d5 00 02 	addi    r6,r21,2                               
ffc08d40:	38 e0 00 02 	li      r7,2                                   
ffc08d44:	4b ff d8 21 	bl      ffc06564 <rtems_fdisk_seg_write>       
ffc08d48:	7c 70 1b 79 	mr.     r16,r3                                 
                                                                      
    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)                                                          
ffc08d4c:	41 82 fd 3c 	beq+    ffc08a88 <rtems_fdisk_ioctl+0xc88>     <== ALWAYS TAKEN
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, " write:%02d-%03d-%03d: "      \          
ffc08d50:	80 bd 00 08 	lwz     r5,8(r29)                              <== NOT EXECUTED
ffc08d54:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc08d58:	80 dd 00 0c 	lwz     r6,12(r29)                             <== NOT EXECUTED
ffc08d5c:	82 b9 00 04 	lwz     r21,4(r25)                             <== NOT EXECUTED
ffc08d60:	90 a1 00 38 	stw     r5,56(r1)                              <== NOT EXECUTED
ffc08d64:	90 c1 00 3c 	stw     r6,60(r1)                              <== NOT EXECUTED
ffc08d68:	48 02 1d f1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc08d6c:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc08d70:	80 a1 00 38 	lwz     r5,56(r1)                              <== NOT EXECUTED
ffc08d74:	7c 68 1b 78 	mr      r8,r3                                  <== NOT EXECUTED
ffc08d78:	80 c1 00 3c 	lwz     r6,60(r1)                              <== NOT EXECUTED
ffc08d7c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08d80:	38 84 9a 4c 	addi    r4,r4,-26036                           <== NOT EXECUTED
ffc08d84:	7e a7 ab 78 	mr      r7,r21                                 <== NOT EXECUTED
ffc08d88:	7e 09 83 78 	mr      r9,r16                                 <== NOT EXECUTED
ffc08d8c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08d90:	4b ff d5 e5 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
ffc08d94:	4b ff fd 0c 	b       ffc08aa0 <rtems_fdisk_ioctl+0xca0>     <== NOT EXECUTED
                                                                      
      return ret;                                                     
    }                                                                 
  }                                                                   
                                                                      
  rtems_fdisk_error ("write-block: no erased page descs in segment: %d-%d",
ffc08d98:	80 9d 00 08 	lwz     r4,8(r29)                              <== NOT EXECUTED
ffc08d9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc08da0:	80 bd 00 0c 	lwz     r5,12(r29)                             <== NOT EXECUTED
ffc08da4:	38 63 9b 74 	addi    r3,r3,-25740                           <== NOT EXECUTED
ffc08da8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08dac:	4b ff d9 9d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                     sc->device, sc->segment);                        
                                                                      
  sc->failed = true;                                                  
ffc08db0:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc08db4:	91 3d 00 28 	stw     r9,40(r29)                             <== NOT EXECUTED
  rtems_fdisk_queue_segment (fd, sc);                                 
ffc08db8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08dbc:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc08dc0:	4b ff dc c5 	bl      ffc06a84 <rtems_fdisk_queue_segment>   <== NOT EXECUTED
ffc08dc4:	4b ff ff 2c 	b       ffc08cf0 <rtems_fdisk_ioctl+0xef0>     <== 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",
ffc08dc8:	80 dd 00 08 	lwz     r6,8(r29)                              
ffc08dcc:	3c 80 ff c4 	lis     r4,-60                                 
ffc08dd0:	80 fd 00 0c 	lwz     r7,12(r29)                             
ffc08dd4:	7f e3 fb 78 	mr      r3,r31                                 
ffc08dd8:	81 19 00 04 	lwz     r8,4(r25)                              
ffc08ddc:	38 84 99 d0 	addi    r4,r4,-26160                           
ffc08de0:	7f 45 d3 78 	mr      r5,r26                                 
ffc08de4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08de8:	4b ff d5 8d 	bl      ffc06374 <rtems_fdisk_info>            
ffc08dec:	4b ff fe b0 	b       ffc08c9c <rtems_fdisk_ioctl+0xe9c>     
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  if (fd->info_level >= 3)                                            
  {                                                                   
    char queues[5];                                                   
    rtems_fdisk_queue_status (fd, sc, queues);                        
ffc08df0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08df4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc08df8:	38 a1 00 20 	addi    r5,r1,32                               <== NOT EXECUTED
ffc08dfc:	4b ff d4 71 	bl      ffc0626c <rtems_fdisk_queue_status>    <== NOT EXECUTED
    rtems_fdisk_info (fd, " write:%d=>%02d-%03d: queue check: %s",    
ffc08e00:	3d 60 ff c4 	lis     r11,-60                                <== NOT EXECUTED
ffc08e04:	80 8b 93 1c 	lwz     r4,-27876(r11)                         <== NOT EXECUTED
ffc08e08:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc08e0c:	80 dd 00 08 	lwz     r6,8(r29)                              <== NOT EXECUTED
ffc08e10:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc08e14:	80 fd 00 0c 	lwz     r7,12(r29)                             <== NOT EXECUTED
ffc08e18:	39 01 00 20 	addi    r8,r1,32                               <== NOT EXECUTED
ffc08e1c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08e20:	4b ff d5 55 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
ffc08e24:	4b ff fc fc 	b       ffc08b20 <rtems_fdisk_ioctl+0xd20>     <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
ffc08e28:	91 3f 00 38 	stw     r9,56(r31)                             
ffc08e2c:	4b ff fc d4 	b       ffc08b00 <rtems_fdisk_ioctl+0xd00>     
                          strerror (ret), ret);                       
#endif                                                                
      }                                                               
      else                                                            
      {                                                               
        ret = rtems_fdisk_seg_write_page_desc (fd, sc, page, pd);     
ffc08e30:	7f e3 fb 78 	mr      r3,r31                                 
ffc08e34:	7f a4 eb 78 	mr      r4,r29                                 
ffc08e38:	7e 05 83 78 	mr      r5,r16                                 
ffc08e3c:	7e a6 ab 78 	mr      r6,r21                                 
ffc08e40:	4b ff e2 09 	bl      ffc07048 <rtems_fdisk_seg_write_page_desc>
        if (ret)                                                      
ffc08e44:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc08e48:	7c 7a 1b 78 	mr      r26,r3                                 
ffc08e4c:	40 92 03 ac 	bne-    cr4,ffc091f8 <rtems_fdisk_ioctl+0x13f8><== NEVER TAKEN
                            strerror (ret), ret);                     
#endif                                                                
        }                                                             
        else                                                          
        {                                                             
          sc->pages_active++;                                         
ffc08e50:	81 3d 00 1c 	lwz     r9,28(r29)                             
ffc08e54:	39 29 00 01 	addi    r9,r9,1                                
ffc08e58:	91 3d 00 1c 	stw     r9,28(r29)                             
ffc08e5c:	4b ff fe 0c 	b       ffc08c68 <rtems_fdisk_ioctl+0xe68>     
      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: " \    
ffc08e60:	3e 40 ff c4 	lis     r18,-60                                
ffc08e64:	39 72 93 bc 	addi    r11,r18,-27716                         
ffc08e68:	4b ff fd 74 	b       ffc08bdc <rtems_fdisk_ioctl+0xddc>     
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++)                           
ffc08e6c:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
ffc08e70:	61 08 ff ff 	ori     r8,r8,65535                            <== 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;                                               
ffc08e74:	7d 0a 43 78 	mr      r10,r8                                 <== NOT EXECUTED
ffc08e78:	4b ff fd 20 	b       ffc08b98 <rtems_fdisk_ioctl+0xd98>     <== 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,
ffc08e7c:	3c e0 ff c4 	lis     r7,-60                                 
ffc08e80:	38 e7 97 d4 	addi    r7,r7,-26668                           
ffc08e84:	4b ff f6 c8 	b       ffc0854c <rtems_fdisk_ioctl+0x74c>     
        else                                                          
        {                                                             
          switch (r->req)                                             
          {                                                           
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
ffc08e88:	48 01 f0 b5 	bl      ffc27f3c <__errno>                     
ffc08e8c:	83 bb 29 00 	lwz     r29,10496(r27)                         
ffc08e90:	3d c0 ff c4 	lis     r14,-60                                
ffc08e94:	90 61 00 30 	stw     r3,48(r1)                              
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08e98:	3d e0 ff c4 	lis     r15,-60                                
ffc08e9c:	81 3e 00 10 	lwz     r9,16(r30)                             
        else                                                          
        {                                                             
          switch (r->req)                                             
          {                                                           
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
ffc08ea0:	7f bd e2 14 	add     r29,r29,r28                            
 * @retval 0 Always.  The request done callback contains the status.  
 */                                                                   
static int                                                            
rtems_fdisk_read (rtems_flashdisk* fd, rtems_blkdev_request* req)     
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
ffc08ea4:	3b 1e 00 18 	addi    r24,r30,24                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
ffc08ea8:	3a a0 00 00 	li      r21,0                                  
ffc08eac:	39 ce 97 e0 	addi    r14,r14,-26656                         
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08eb0:	39 ef 98 38 	addi    r15,r15,-26568                         
ffc08eb4:	3e 00 ff c4 	lis     r16,-60                                
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
ffc08eb8:	7f 95 48 40 	cmplw   cr7,r21,r9                             
ffc08ebc:	40 9c 02 5c 	bge-    cr7,ffc09118 <rtems_fdisk_ioctl+0x1318>
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
ffc08ec0:	82 98 00 04 	lwz     r20,4(r24)                             
ffc08ec4:	81 5d 00 14 	lwz     r10,20(r29)                            
    data = sg->buffer;                                                
ffc08ec8:	83 38 00 08 	lwz     r25,8(r24)                             
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
ffc08ecc:	7e 94 53 96 	divwu   r20,r20,r10                            
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
ffc08ed0:	2f 94 00 00 	cmpwi   cr7,r20,0                              
ffc08ed4:	41 9e 02 38 	beq-    cr7,ffc0910c <rtems_fdisk_ioctl+0x130c><== NEVER TAKEN
ffc08ed8:	3a c0 00 00 	li      r22,0                                  
    {                                                                 
      ret = rtems_fdisk_read_block (fd, sg->block + b, data);         
ffc08edc:	83 58 00 00 	lwz     r26,0(r24)                             
  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);                      
ffc08ee0:	7f a3 eb 78 	mr      r3,r29                                 
ffc08ee4:	7d c4 73 78 	mr      r4,r14                                 
    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);         
ffc08ee8:	7f 56 d2 14 	add     r26,r22,r26                            
  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);                      
ffc08eec:	7f 45 d3 78 	mr      r5,r26                                 
ffc08ef0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08ef4:	4b ff d4 81 	bl      ffc06374 <rtems_fdisk_info>            
                                                                      
  /*                                                                  
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
ffc08ef8:	81 5d 00 1c 	lwz     r10,28(r29)                            
ffc08efc:	81 3d 00 20 	lwz     r9,32(r29)                             
ffc08f00:	7d 29 50 50 	subf    r9,r9,r10                              
ffc08f04:	7f 9a 48 40 	cmplw   cr7,r26,r9                             
ffc08f08:	40 9c 01 a4 	bge-    cr7,ffc090ac <rtems_fdisk_ioctl+0x12ac><== NEVER TAKEN
  {                                                                   
    rtems_fdisk_error ("read-block: block out of range: %d", block);  
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
ffc08f0c:	81 3d 00 18 	lwz     r9,24(r29)                             
ffc08f10:	57 57 18 38 	rlwinm  r23,r26,3,0,28                         
                                                                      
  if (!bc->segment)                                                   
ffc08f14:	7f e9 b8 2e 	lwzx    r31,r9,r23                             
  {                                                                   
    rtems_fdisk_error ("read-block: block out of range: %d", block);  
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
ffc08f18:	7e e9 ba 14 	add     r23,r9,r23                             
                                                                      
  if (!bc->segment)                                                   
ffc08f1c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc08f20:	41 9e 01 ac 	beq-    cr7,ffc090cc <rtems_fdisk_ioctl+0x12cc>
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08f24:	81 3f 00 00 	lwz     r9,0(r31)                              
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
ffc08f28:	81 17 00 04 	lwz     r8,4(r23)                              
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08f2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
ffc08f30:	82 3f 00 10 	lwz     r17,16(r31)                            
ffc08f34:	55 12 18 38 	rlwinm  r18,r8,3,0,28                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08f38:	80 df 00 08 	lwz     r6,8(r31)                              
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
ffc08f3c:	7d 91 92 14 	add     r12,r17,r18                            
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc08f40:	80 ff 00 0c 	lwz     r7,12(r31)                             
ffc08f44:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc08f48:	81 5f 00 1c 	lwz     r10,28(r31)                            
ffc08f4c:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc08f50:	80 9f 00 24 	lwz     r4,36(r31)                             
ffc08f54:	41 9e 01 70 	beq-    cr7,ffc090c4 <rtems_fdisk_ioctl+0x12c4>
ffc08f58:	3d 60 ff c4 	lis     r11,-60                                
ffc08f5c:	38 ab 93 b8 	addi    r5,r11,-27720                          
ffc08f60:	90 61 00 08 	stw     r3,8(r1)                               
ffc08f64:	7f a3 eb 78 	mr      r3,r29                                 
ffc08f68:	90 81 00 0c 	stw     r4,12(r1)                              
ffc08f6c:	7d e4 7b 78 	mr      r4,r15                                 
ffc08f70:	90 a1 00 10 	stw     r5,16(r1)                              
ffc08f74:	7f 45 d3 78 	mr      r5,r26                                 
ffc08f78:	a1 6c 00 02 	lhz     r11,2(r12)                             
ffc08f7c:	91 61 00 14 	stw     r11,20(r1)                             
ffc08f80:	7d 71 92 2e 	lhzx    r11,r17,r18                            
ffc08f84:	91 61 00 18 	stw     r11,24(r1)                             
ffc08f88:	81 6c 00 04 	lwz     r11,4(r12)                             
ffc08f8c:	91 81 00 40 	stw     r12,64(r1)                             
ffc08f90:	91 61 00 1c 	stw     r11,28(r1)                             
ffc08f94:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc08f98:	4b ff d3 dd 	bl      ffc06374 <rtems_fdisk_info>            
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc08f9c:	81 81 00 40 	lwz     r12,64(r1)                             
ffc08fa0:	a1 2c 00 02 	lhz     r9,2(r12)                              
                    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))  
ffc08fa4:	71 28 00 01 	andi.   r8,r9,1                                
ffc08fa8:	40 82 00 58 	bne-    ffc09000 <rtems_fdisk_ioctl+0x1200>    <== NEVER TAKEN
  {                                                                   
    if (rtems_fdisk_page_desc_flags_clear (pd, RTEMS_FDISK_PAGE_USED))
ffc08fac:	71 2a 00 02 	andi.   r10,r9,2                               
ffc08fb0:	40 82 00 74 	bne-    ffc09024 <rtems_fdisk_ioctl+0x1224>    <== ALWAYS TAKEN
      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",
ffc08fb4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc08fb8:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc08fbc:	80 df 00 0c 	lwz     r6,12(r31)                             <== NOT EXECUTED
ffc08fc0:	38 63 98 ec 	addi    r3,r3,-26388                           <== NOT EXECUTED
ffc08fc4:	80 f7 00 04 	lwz     r7,4(r23)                              <== NOT EXECUTED
ffc08fc8:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc08fcc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc08fd0:	4b ff d7 79 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_blkdev_request_done (req, ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL);
ffc08fd4:	38 80 00 1b 	li      r4,27                                  <== NOT EXECUTED
ffc08fd8:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc08fdc:	7f c3 f3 78 	mr      r3,r30                                 
ffc08fe0:	7d 29 03 a6 	mtctr   r9                                     
ffc08fe4:	4e 80 04 21 	bctrl                                          
ffc08fe8:	81 3b 29 00 	lwz     r9,10496(r27)                          
        else                                                          
        {                                                             
          switch (r->req)                                             
          {                                                           
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
ffc08fec:	81 61 00 30 	lwz     r11,48(r1)                             
ffc08ff0:	39 40 00 00 	li      r10,0                                  
ffc08ff4:	7f 89 e2 14 	add     r28,r9,r28                             
ffc08ff8:	91 4b 00 00 	stw     r10,0(r11)                             
              break;                                                  
ffc08ffc:	4b ff f2 20 	b       ffc0821c <rtems_fdisk_ioctl+0x41c>     
                         block, sc->device, sc->segment, bc->page);   
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    rtems_fdisk_error ("read-block: block page not active: %d: %d-%d-%d",
ffc09000:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc09004:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc09008:	80 df 00 0c 	lwz     r6,12(r31)                             <== NOT EXECUTED
ffc0900c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc09010:	80 f7 00 04 	lwz     r7,4(r23)                              <== NOT EXECUTED
ffc09014:	38 63 99 20 	addi    r3,r3,-26336                           <== NOT EXECUTED
ffc09018:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0901c:	4b ff d7 2d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc09020:	4b ff ff b4 	b       ffc08fd4 <rtems_fdisk_ioctl+0x11d4>    <== NOT EXECUTED
                                                                      
      /*                                                              
       * 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,                    
ffc09024:	81 37 00 04 	lwz     r9,4(r23)                              
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,                                
ffc09028:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
      /*                                                              
       * 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,                    
ffc0902c:	81 5f 00 18 	lwz     r10,24(r31)                            
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,                                
ffc09030:	7f 27 cb 78 	mr      r7,r25                                 
                               page * fd->block_size, buffer, fd->block_size);
ffc09034:	81 1d 00 14 	lwz     r8,20(r29)                             
                                                                      
      /*                                                              
       * 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,                    
ffc09038:	7c ca 4a 14 	add     r6,r10,r9                              
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,                                
ffc0903c:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc09040:	7c c6 41 d6 	mullw   r6,r6,r8                               
ffc09044:	80 bf 00 0c 	lwz     r5,12(r31)                             
ffc09048:	4b ff dd c9 	bl      ffc06e10 <rtems_fdisk_seg_read.isra.14>
       * driver. This skips the page descriptors.                     
       */                                                             
      int ret = rtems_fdisk_seg_read_page (fd, sc,                    
                                           bc->page + sc->pages_desc, buffer);
                                                                      
      if (ret)                                                        
ffc0904c:	7c 69 1b 79 	mr.     r9,r3                                  
ffc09050:	40 82 00 dc 	bne-    ffc0912c <rtems_fdisk_ioctl+0x132c>    <== NEVER TAKEN
                          strerror (ret), ret);                       
#endif                                                                
        return ret;                                                   
      }                                                               
                                                                      
      cs = rtems_fdisk_page_checksum (buffer, fd->block_size);        
ffc09054:	81 3d 00 14 	lwz     r9,20(r29)                             
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++)                           
ffc09058:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0905c:	41 9e 00 c4 	beq-    cr7,ffc09120 <rtems_fdisk_ioctl+0x1320><== NEVER TAKEN
 * 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;                                               
ffc09060:	7d 29 03 a6 	mtctr   r9                                     
ffc09064:	38 a0 00 00 	li      r5,0                                   
ffc09068:	81 13 00 08 	lwz     r8,8(r19)                              
 * @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)   
ffc0906c:	39 59 ff ff 	addi    r10,r25,-1                             
 * 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;                                               
ffc09070:	60 a5 ff ff 	ori     r5,r5,65535                            
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
ffc09074:	8c ea 00 01 	lbzu    r7,1(r10)                              
ffc09078:	7c e7 2a 78 	xor     r7,r7,r5                               
ffc0907c:	54 e7 0d fc 	rlwinm  r7,r7,1,23,30                          
ffc09080:	7c a8 3a 2e 	lhzx    r5,r8,r7                               
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++)                           
ffc09084:	42 00 ff f0 	bdnz+   ffc09074 <rtems_fdisk_ioctl+0x1274>    
        return ret;                                                   
      }                                                               
                                                                      
      cs = rtems_fdisk_page_checksum (buffer, fd->block_size);        
                                                                      
      if (cs == pd->crc)                                              
ffc09088:	7c d1 92 2e 	lhzx    r6,r17,r18                             
ffc0908c:	7f 85 30 00 	cmpw    cr7,r5,r6                              
ffc09090:	41 9e 00 68 	beq-    cr7,ffc090f8 <rtems_fdisk_ioctl+0x12f8><== ALWAYS TAKEN
        return 0;                                                     
                                                                      
      rtems_fdisk_error ("read-block: crc failure: %d: buffer:%04x page:%04x",
ffc09094:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc09098:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc0909c:	38 63 98 b8 	addi    r3,r3,-26440                           <== NOT EXECUTED
ffc090a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc090a4:	4b ff d6 a5 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc090a8:	4b ff ff 2c 	b       ffc08fd4 <rtems_fdisk_ioctl+0x11d4>    <== 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);  
ffc090ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc090b0:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc090b4:	38 63 97 f0 	addi    r3,r3,-26640                           <== NOT EXECUTED
ffc090b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc090bc:	4b ff d6 8d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc090c0:	4b ff ff 14 	b       ffc08fd4 <rtems_fdisk_ioctl+0x11d4>    <== NOT EXECUTED
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
ffc090c4:	38 b0 93 bc 	addi    r5,r16,-27716                          
ffc090c8:	4b ff fe 98 	b       ffc08f60 <rtems_fdisk_ioctl+0x1160>    
  bc = &fd->blocks[block];                                            
                                                                      
  if (!bc->segment)                                                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
ffc090cc:	3d 00 ff c4 	lis     r8,-60                                 
ffc090d0:	80 88 93 0c 	lwz     r4,-27892(r8)                          
ffc090d4:	7f 45 d3 78 	mr      r5,r26                                 
ffc090d8:	7f a3 eb 78 	mr      r3,r29                                 
ffc090dc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc090e0:	4b ff d2 95 	bl      ffc06374 <rtems_fdisk_info>            
#endif                                                                
    memset (buffer, 0xff, fd->block_size);                            
ffc090e4:	80 bd 00 14 	lwz     r5,20(r29)                             
ffc090e8:	7f 23 cb 78 	mr      r3,r25                                 
ffc090ec:	38 80 00 ff 	li      r4,255                                 
ffc090f0:	48 02 06 91 	bl      ffc29780 <memset>                      
ffc090f4:	81 3d 00 14 	lwz     r9,20(r29)                             
    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)                  
ffc090f8:	3a d6 00 01 	addi    r22,r22,1                              
ffc090fc:	7f 96 a0 00 	cmpw    cr7,r22,r20                            
ffc09100:	7f 39 4a 14 	add     r25,r25,r9                             
ffc09104:	40 9e fd d8 	bne+    cr7,ffc08edc <rtems_fdisk_ioctl+0x10dc><== NEVER TAKEN
ffc09108:	81 3e 00 10 	lwz     r9,16(r30)                             
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
ffc0910c:	3a b5 00 01 	addi    r21,r21,1                              
ffc09110:	3b 18 00 10 	addi    r24,r24,16                             
ffc09114:	4b ff fd a4 	b       ffc08eb8 <rtems_fdisk_ioctl+0x10b8>    
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_blkdev_request_done (req, ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL);
ffc09118:	38 80 00 00 	li      r4,0                                   
ffc0911c:	4b ff fe bc 	b       ffc08fd8 <rtems_fdisk_ioctl+0x11d8>    
 * 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;                                               
ffc09120:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc09124:	60 a5 ff ff 	ori     r5,r5,65535                            <== NOT EXECUTED
ffc09128:	4b ff ff 60 	b       ffc09088 <rtems_fdisk_ioctl+0x1288>    <== NOT EXECUTED
                                           bc->page + sc->pages_desc, buffer);
                                                                      
      if (ret)                                                        
      {                                                               
#if RTEMS_FDISK_TRACE                                                 
        rtems_fdisk_info (fd,                                         
ffc0912c:	83 3f 00 08 	lwz     r25,8(r31)                             <== NOT EXECUTED
ffc09130:	83 5f 00 0c 	lwz     r26,12(r31)                            <== NOT EXECUTED
ffc09134:	83 f7 00 04 	lwz     r31,4(r23)                             <== NOT EXECUTED
ffc09138:	91 21 00 48 	stw     r9,72(r1)                              <== NOT EXECUTED
ffc0913c:	48 02 1a 1d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc09140:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc09144:	81 21 00 48 	lwz     r9,72(r1)                              <== NOT EXECUTED
ffc09148:	7c 68 1b 78 	mr      r8,r3                                  <== NOT EXECUTED
ffc0914c:	38 84 98 80 	addi    r4,r4,-26496                           <== NOT EXECUTED
ffc09150:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc09154:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc09158:	7f 46 d3 78 	mr      r6,r26                                 <== NOT EXECUTED
ffc0915c:	7f e7 fb 78 	mr      r7,r31                                 <== NOT EXECUTED
ffc09160:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc09164:	4b ff d2 11 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
ffc09168:	4b ff fe 6c 	b       ffc08fd4 <rtems_fdisk_ioctl+0x11d4>    <== NOT EXECUTED
                                                                      
  ret = rtems_fdisk_erase_flash (fd);                                 
                                                                      
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
ffc0916c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc09170:	41 be f1 ec 	beq-    cr7,ffc0835c <rtems_fdisk_ioctl+0x55c> <== NOT EXECUTED
    {                                                                 
      if (!fd->devices[device].segments)                              
ffc09174:	81 3f 00 2c 	lwz     r9,44(r31)                             <== NOT EXECUTED
ffc09178:	81 29 00 00 	lwz     r9,0(r9)                               <== NOT EXECUTED
ffc0917c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc09180:	41 9e 00 50 	beq-    cr7,ffc091d0 <rtems_fdisk_ioctl+0x13d0><== NOT EXECUTED
ffc09184:	3b a0 00 0c 	li      r29,12                                 <== NOT EXECUTED
ffc09188:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc0918c:	48 00 00 24 	b       ffc091b0 <rtems_fdisk_ioctl+0x13b0>    <== NOT EXECUTED
                                                                      
  ret = rtems_fdisk_erase_flash (fd);                                 
                                                                      
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
ffc09190:	81 5f 00 30 	lwz     r10,48(r31)                            <== NOT EXECUTED
ffc09194:	7f 9e 50 40 	cmplw   cr7,r30,r10                            <== NOT EXECUTED
ffc09198:	40 bc f1 c4 	bge-    cr7,ffc0835c <rtems_fdisk_ioctl+0x55c> <== NOT EXECUTED
    {                                                                 
      if (!fd->devices[device].segments)                              
ffc0919c:	81 3f 00 2c 	lwz     r9,44(r31)                             <== NOT EXECUTED
ffc091a0:	7d 29 e8 2e 	lwzx    r9,r9,r29                              <== NOT EXECUTED
ffc091a4:	3b bd 00 0c 	addi    r29,r29,12                             <== NOT EXECUTED
ffc091a8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc091ac:	41 9e 00 24 	beq-    cr7,ffc091d0 <rtems_fdisk_ioctl+0x13d0><== NOT EXECUTED
        return ENOMEM;                                                
                                                                      
      ret = rtems_fdisk_recover_block_mappings (fd);                  
ffc091b0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc091b4:	4b ff e8 01 	bl      ffc079b4 <rtems_fdisk_recover_block_mappings><== NOT EXECUTED
                                                                      
  ret = rtems_fdisk_erase_flash (fd);                                 
                                                                      
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
ffc091b8:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
    {                                                                 
      if (!fd->devices[device].segments)                              
        return ENOMEM;                                                
                                                                      
      ret = rtems_fdisk_recover_block_mappings (fd);                  
      if (ret)                                                        
ffc091bc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc091c0:	41 82 ff d0 	beq+    ffc09190 <rtems_fdisk_ioctl+0x1390>    <== NOT EXECUTED
ffc091c4:	4b ff f1 98 	b       ffc0835c <rtems_fdisk_ioctl+0x55c>     <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
ffc091c8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc091cc:	4b ff f1 90 	b       ffc0835c <rtems_fdisk_ioctl+0x55c>     <== NOT EXECUTED
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
    {                                                                 
      if (!fd->devices[device].segments)                              
        return ENOMEM;                                                
ffc091d0:	38 60 00 0c 	li      r3,12                                  <== NOT EXECUTED
ffc091d4:	4b ff f1 88 	b       ffc0835c <rtems_fdisk_ioctl+0x55c>     <== 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);                                       
ffc091d8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc091dc:	4b ff e3 ed 	bl      ffc075c8 <rtems_fdisk_compact>         <== 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)                                                    
ffc091e0:	83 bf 00 34 	lwz     r29,52(r31)                            <== NOT EXECUTED
ffc091e4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
ffc091e8:	40 9e f9 08 	bne+    cr7,ffc08af0 <rtems_fdisk_ioctl+0xcf0> <== NOT EXECUTED
ffc091ec:	4b ff fa f4 	b       ffc08ce0 <rtems_fdisk_ioctl+0xee0>     <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_blkdev_request_done (req, ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL);
ffc091f0:	38 80 00 00 	li      r4,0                                   
ffc091f4:	4b ff fb 00 	b       ffc08cf4 <rtems_fdisk_ioctl+0xef4>     
      {                                                               
        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: "  \     
ffc091f8:	82 5d 00 08 	lwz     r18,8(r29)                             <== NOT EXECUTED
ffc091fc:	82 bd 00 0c 	lwz     r21,12(r29)                            <== NOT EXECUTED
ffc09200:	83 39 00 04 	lwz     r25,4(r25)                             <== NOT EXECUTED
ffc09204:	48 02 19 55 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc09208:	3d 40 ff c4 	lis     r10,-60                                <== NOT EXECUTED
ffc0920c:	80 8a 93 28 	lwz     r4,-27864(r10)                         <== NOT EXECUTED
ffc09210:	7c 68 1b 78 	mr      r8,r3                                  <== NOT EXECUTED
ffc09214:	7e 45 93 78 	mr      r5,r18                                 <== NOT EXECUTED
ffc09218:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc0921c:	7e a6 ab 78 	mr      r6,r21                                 <== NOT EXECUTED
ffc09220:	7f 27 cb 78 	mr      r7,r25                                 <== NOT EXECUTED
ffc09224:	7f 49 d3 78 	mr      r9,r26                                 <== NOT EXECUTED
ffc09228:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0922c:	4b ff d1 49 	bl      ffc06374 <rtems_fdisk_info>            <== NOT EXECUTED
ffc09230:	4b ff fa 38 	b       ffc08c68 <rtems_fdisk_ioctl+0xe68>     <== NOT EXECUTED
                                                                      

ffc0646c <rtems_fdisk_printf>: * @param ... The arguments for the format text. * @return int The number of bytes written to the output. */ static int rtems_fdisk_printf (const rtems_flashdisk* fd, const char *format, ...) {
ffc0646c:	94 21 ff 80 	stwu    r1,-128(r1)                            
ffc06470:	7c 08 02 a6 	mflr    r0                                     
ffc06474:	93 a1 00 74 	stw     r29,116(r1)                            
ffc06478:	90 01 00 84 	stw     r0,132(r1)                             
ffc0647c:	93 c1 00 78 	stw     r30,120(r1)                            
ffc06480:	93 e1 00 7c 	stw     r31,124(r1)                            
ffc06484:	90 a1 00 18 	stw     r5,24(r1)                              
ffc06488:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc0648c:	90 e1 00 20 	stw     r7,32(r1)                              
ffc06490:	91 01 00 24 	stw     r8,36(r1)                              
ffc06494:	91 21 00 28 	stw     r9,40(r1)                              
ffc06498:	91 41 00 2c 	stw     r10,44(r1)                             
ffc0649c:	40 86 00 24 	bne-    cr1,ffc064c0 <rtems_fdisk_printf+0x54> <== ALWAYS TAKEN
ffc064a0:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc064a4:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc064a8:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc064ac:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc064b0:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc064b4:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc064b8:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc064bc:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  int ret = 0;                                                        
  if (fd->info_level >= 3)                                            
ffc064c0:	81 23 00 6c 	lwz     r9,108(r3)                             
 * @param ... The arguments for the format text.                      
 * @return int The number of bytes written to the output.             
 */                                                                   
static int                                                            
rtems_fdisk_printf (const rtems_flashdisk* fd, const char *format, ...)
{                                                                     
ffc064c4:	7c 9d 23 78 	mr      r29,r4                                 
  int ret = 0;                                                        
ffc064c8:	3b e0 00 00 	li      r31,0                                  
  if (fd->info_level >= 3)                                            
ffc064cc:	2b 89 00 02 	cmplwi  cr7,r9,2                               
ffc064d0:	40 bd 00 74 	ble+    cr7,ffc06544 <rtems_fdisk_printf+0xd8> 
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
ffc064d4:	3f c0 00 00 	lis     r30,0                                  
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 3)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc064d8:	9b e1 00 09 	stb     r31,9(r1)                              
    fprintf (stdout, "fdisk:");                                       
ffc064dc:	3c 60 ff c4 	lis     r3,-60                                 
ffc064e0:	81 3e 27 cc 	lwz     r9,10188(r30)                          
ffc064e4:	38 80 00 01 	li      r4,1                                   
ffc064e8:	38 a0 00 06 	li      r5,6                                   
ffc064ec:	80 c9 00 08 	lwz     r6,8(r9)                               
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 3)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc064f0:	39 20 00 02 	li      r9,2                                   
ffc064f4:	99 21 00 08 	stb     r9,8(r1)                               
ffc064f8:	39 21 00 88 	addi    r9,r1,136                              
    fprintf (stdout, "fdisk:");                                       
ffc064fc:	38 63 93 2c 	addi    r3,r3,-27860                           
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 3)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc06500:	91 21 00 0c 	stw     r9,12(r1)                              
ffc06504:	39 21 00 10 	addi    r9,r1,16                               
ffc06508:	91 21 00 10 	stw     r9,16(r1)                              
    fprintf (stdout, "fdisk:");                                       
ffc0650c:	48 02 2e 5d 	bl      ffc29368 <fwrite>                      
    ret =  vfprintf (stdout, format, args);                           
ffc06510:	7f a4 eb 78 	mr      r4,r29                                 
ffc06514:	81 3e 27 cc 	lwz     r9,10188(r30)                          
ffc06518:	38 a1 00 08 	addi    r5,r1,8                                
ffc0651c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06520:	48 02 ba 31 	bl      ffc31f50 <vfprintf>                    
    fprintf (stdout, "\n");                                           
ffc06524:	81 3e 27 cc 	lwz     r9,10188(r30)                          
  if (fd->info_level >= 3)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
    ret =  vfprintf (stdout, format, args);                           
ffc06528:	7c 7f 1b 78 	mr      r31,r3                                 
    fprintf (stdout, "\n");                                           
ffc0652c:	80 89 00 08 	lwz     r4,8(r9)                               
ffc06530:	38 60 00 0a 	li      r3,10                                  
ffc06534:	48 02 24 fd 	bl      ffc28a30 <fputc>                       
    fflush (stdout);                                                  
ffc06538:	81 3e 27 cc 	lwz     r9,10188(r30)                          
ffc0653c:	80 69 00 08 	lwz     r3,8(r9)                               
ffc06540:	48 02 1e c5 	bl      ffc28404 <fflush>                      
    va_end (args);                                                    
  }                                                                   
  return ret;                                                         
}                                                                     
ffc06544:	80 01 00 84 	lwz     r0,132(r1)                             
ffc06548:	7f e3 fb 78 	mr      r3,r31                                 
ffc0654c:	83 a1 00 74 	lwz     r29,116(r1)                            
ffc06550:	7c 08 03 a6 	mtlr    r0                                     
ffc06554:	83 c1 00 78 	lwz     r30,120(r1)                            
ffc06558:	83 e1 00 7c 	lwz     r31,124(r1)                            
ffc0655c:	38 21 00 80 	addi    r1,r1,128                              
ffc06560:	4e 80 00 20 	blr                                            
                                                                      

ffc06a84 <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) {
ffc06a84:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06a88:	7c 08 02 a6 	mflr    r0                                     
ffc06a8c:	90 01 00 24 	stw     r0,36(r1)                              
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
ffc06a90:	81 24 00 28 	lwz     r9,40(r4)                              
 * @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)
{                                                                     
ffc06a94:	93 c1 00 18 	stw     r30,24(r1)                             
ffc06a98:	7c 7e 1b 78 	mr      r30,r3                                 
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
ffc06a9c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 * @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)
{                                                                     
ffc06aa0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06aa4:	7c 9f 23 78 	mr      r31,r4                                 
ffc06aa8:	93 81 00 10 	stw     r28,16(r1)                             
ffc06aac:	93 a1 00 14 	stw     r29,20(r1)                             
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
ffc06ab0:	80 a4 00 08 	lwz     r5,8(r4)                               
ffc06ab4:	80 c4 00 0c 	lwz     r6,12(r4)                              
ffc06ab8:	80 e4 00 14 	lwz     r7,20(r4)                              
ffc06abc:	81 04 00 1c 	lwz     r8,28(r4)                              
ffc06ac0:	81 24 00 20 	lwz     r9,32(r4)                              
ffc06ac4:	81 44 00 24 	lwz     r10,36(r4)                             
ffc06ac8:	41 9e 00 b0 	beq-    cr7,ffc06b78 <rtems_fdisk_queue_segment+0xf4><== ALWAYS TAKEN
ffc06acc:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc06ad0:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc06ad4:	38 84 93 b0 	addi    r4,r4,-27728                           <== NOT EXECUTED
ffc06ad8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc06adc:	41 9e 00 b0 	beq-    cr7,ffc06b8c <rtems_fdisk_queue_segment+0x108><== NOT EXECUTED
ffc06ae0:	3d 60 ff c4 	lis     r11,-60                                
ffc06ae4:	90 81 00 08 	stw     r4,8(r1)                               
ffc06ae8:	39 6b 93 b8 	addi    r11,r11,-27720                         
ffc06aec:	91 61 00 0c 	stw     r11,12(r1)                             
ffc06af0:	3c 80 ff c4 	lis     r4,-60                                 
ffc06af4:	7f c3 f3 78 	mr      r3,r30                                 
ffc06af8:	38 84 93 c4 	addi    r4,r4,-27708                           
ffc06afc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06b00:	4b ff f8 75 	bl      ffc06374 <rtems_fdisk_info>            
                                                                      
  /*                                                                  
   * If the segment has failed then check the failed queue and append 
   * if not failed.                                                   
   */                                                                 
  if (sc->failed)                                                     
ffc06b04:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06b08:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06b0c:	41 9e 00 b0 	beq-    cr7,ffc06bbc <rtems_fdisk_queue_segment+0x138><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc06b10:	81 3e 00 58 	lwz     r9,88(r30)                             <== 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)                                                          
ffc06b14:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06b18:	41 9e 02 24 	beq-    cr7,ffc06d3c <rtems_fdisk_queue_segment+0x2b8><== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc06b1c:	7f 9f 48 00 	cmpw    cr7,r31,r9                             <== NOT EXECUTED
ffc06b20:	40 be 00 0c 	bne+    cr7,ffc06b2c <rtems_fdisk_queue_segment+0xa8><== NOT EXECUTED
ffc06b24:	48 00 00 34 	b       ffc06b58 <rtems_fdisk_queue_segment+0xd4><== NOT EXECUTED
ffc06b28:	41 9a 00 30 	beq-    cr6,ffc06b58 <rtems_fdisk_queue_segment+0xd4><== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
ffc06b2c:	81 29 00 00 	lwz     r9,0(r9)                               <== 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)                                                          
ffc06b30:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc06b34:	7f 1f 48 00 	cmpw    cr6,r31,r9                             <== 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)                                                          
ffc06b38:	40 9e ff f0 	bne+    cr7,ffc06b28 <rtems_fdisk_queue_segment+0xa4><== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06b3c:	81 5e 00 5c 	lwz     r10,92(r30)                            <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06b40:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06b44:	93 ea 00 00 	stw     r31,0(r10)                             <== NOT EXECUTED
      queue->tail       = sc;                                         
ffc06b48:	93 fe 00 5c 	stw     r31,92(r30)                            <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06b4c:	81 3e 00 60 	lwz     r9,96(r30)                             <== NOT EXECUTED
ffc06b50:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc06b54:	91 3e 00 60 	stw     r9,96(r30)                             <== NOT EXECUTED
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06b58:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06b5c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06b60:	7c 08 03 a6 	mtlr    r0                                     
ffc06b64:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06b68:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06b6c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06b70:	38 21 00 20 	addi    r1,r1,32                               
ffc06b74:	4e 80 00 20 	blr                                            
 */                                                                   
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",
ffc06b78:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc06b7c:	3c 80 ff c4 	lis     r4,-60                                 
ffc06b80:	38 84 b0 60 	addi    r4,r4,-20384                           
ffc06b84:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06b88:	40 9e ff 58 	bne+    cr7,ffc06ae0 <rtems_fdisk_queue_segment+0x5c>
ffc06b8c:	3d 60 ff c4 	lis     r11,-60                                
ffc06b90:	90 81 00 08 	stw     r4,8(r1)                               
ffc06b94:	39 6b 93 bc 	addi    r11,r11,-27716                         
ffc06b98:	91 61 00 0c 	stw     r11,12(r1)                             
ffc06b9c:	3c 80 ff c4 	lis     r4,-60                                 
ffc06ba0:	7f c3 f3 78 	mr      r3,r30                                 
ffc06ba4:	38 84 93 c4 	addi    r4,r4,-27708                           
ffc06ba8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06bac:	4b ff f7 c9 	bl      ffc06374 <rtems_fdisk_info>            
                                                                      
  /*                                                                  
   * If the segment has failed then check the failed queue and append 
   * if not failed.                                                   
   */                                                                 
  if (sc->failed)                                                     
ffc06bb0:	81 3f 00 28 	lwz     r9,40(r31)                             
ffc06bb4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06bb8:	40 9e ff 58 	bne+    cr7,ffc06b10 <rtems_fdisk_queue_segment+0x8c><== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Remove the queue from the available or used queue.               
   */                                                                 
  rtems_fdisk_segment_queue_remove (&fd->available, sc);              
ffc06bbc:	3b be 00 34 	addi    r29,r30,52                             
ffc06bc0:	7f a3 eb 78 	mr      r3,r29                                 
ffc06bc4:	7f e4 fb 78 	mr      r4,r31                                 
  rtems_fdisk_segment_queue_remove (&fd->used, sc);                   
ffc06bc8:	3b 9e 00 40 	addi    r28,r30,64                             
  }                                                                   
                                                                      
  /*                                                                  
   * Remove the queue from the available or used queue.               
   */                                                                 
  rtems_fdisk_segment_queue_remove (&fd->available, sc);              
ffc06bcc:	4b ff f6 21 	bl      ffc061ec <rtems_fdisk_segment_queue_remove>
  rtems_fdisk_segment_queue_remove (&fd->used, sc);                   
ffc06bd0:	7f 83 e3 78 	mr      r3,r28                                 
ffc06bd4:	7f e4 fb 78 	mr      r4,r31                                 
ffc06bd8:	4b ff f6 15 	bl      ffc061ec <rtems_fdisk_segment_queue_remove>
 * 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);
ffc06bdc:	81 1f 00 1c 	lwz     r8,28(r31)                             
ffc06be0:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc06be4:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc06be8:	80 ff 00 14 	lwz     r7,20(r31)                             
ffc06bec:	7c c9 42 14 	add     r6,r9,r8                               
ffc06bf0:	7d 46 52 14 	add     r10,r6,r10                             
   * 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)                      
ffc06bf4:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc06bf8:	41 9e 00 b0 	beq-    cr7,ffc06ca8 <rtems_fdisk_queue_segment+0x224>
     * 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;                
ffc06bfc:	80 9e 00 34 	lwz     r4,52(r30)                             
                                                                      
    while (seg)                                                       
ffc06c00:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06c04:	41 9e 01 50 	beq-    cr7,ffc06d54 <rtems_fdisk_queue_segment+0x2d0>
 *                                                                    
 * @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)
ffc06c08:	81 24 00 24 	lwz     r9,36(r4)                              
 * 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);
ffc06c0c:	7c ea 38 50 	subf    r7,r10,r7                              
 *                                                                    
 * @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)
ffc06c10:	80 c4 00 20 	lwz     r6,32(r4)                              
 * 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);
ffc06c14:	81 04 00 14 	lwz     r8,20(r4)                              
 *                                                                    
 * @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)
ffc06c18:	7c c6 4a 14 	add     r6,r6,r9                               
 * 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);
ffc06c1c:	81 24 00 1c 	lwz     r9,28(r4)                              
ffc06c20:	7d 06 40 50 	subf    r8,r6,r8                               
ffc06c24:	7d 29 40 50 	subf    r9,r9,r8                               
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
                                                                      
    while (seg)                                                       
    {                                                                 
      if (rtems_fdisk_seg_pages_available (sc) <                      
ffc06c28:	7f 87 48 40 	cmplw   cr7,r7,r9                              
ffc06c2c:	40 bc 00 50 	bge+    cr7,ffc06c7c <rtems_fdisk_queue_segment+0x1f8>
        break;                                                        
      seg = seg->next;                                                
    }                                                                 
                                                                      
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
ffc06c30:	7f a3 eb 78 	mr      r3,r29                                 
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06c34:	80 01 00 24 	lwz     r0,36(r1)                              
        break;                                                        
      seg = seg->next;                                                
    }                                                                 
                                                                      
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
ffc06c38:	7f e5 fb 78 	mr      r5,r31                                 
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06c3c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06c40:	7c 08 03 a6 	mtlr    r0                                     
ffc06c44:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06c48:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06c4c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06c50:	38 21 00 20 	addi    r1,r1,32                               
        break;                                                        
      seg = seg->next;                                                
    }                                                                 
                                                                      
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
ffc06c54:	4b ff fd 98 	b       ffc069ec <rtems_fdisk_segment_queue_insert_before>
 *                                                                    
 * @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)
ffc06c58:	81 24 00 20 	lwz     r9,32(r4)                              
ffc06c5c:	81 04 00 24 	lwz     r8,36(r4)                              
 * 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);
ffc06c60:	81 44 00 14 	lwz     r10,20(r4)                             
 *                                                                    
 * @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)
ffc06c64:	7d 08 4a 14 	add     r8,r8,r9                               
 * 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);
ffc06c68:	81 24 00 1c 	lwz     r9,28(r4)                              
ffc06c6c:	7d 48 50 50 	subf    r10,r8,r10                             
ffc06c70:	7d 29 50 50 	subf    r9,r9,r10                              
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
                                                                      
    while (seg)                                                       
    {                                                                 
      if (rtems_fdisk_seg_pages_available (sc) <                      
ffc06c74:	7f 87 48 40 	cmplw   cr7,r7,r9                              
ffc06c78:	41 bc ff b8 	blt-    cr7,ffc06c30 <rtems_fdisk_queue_segment+0x1ac><== NEVER TAKEN
          rtems_fdisk_seg_pages_available (seg))                      
        break;                                                        
      seg = seg->next;                                                
ffc06c7c:	80 84 00 00 	lwz     r4,0(r4)                               
     * 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)                                                       
ffc06c80:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06c84:	40 9e ff d4 	bne+    cr7,ffc06c58 <rtems_fdisk_queue_segment+0x1d4>
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06c88:	81 3e 00 38 	lwz     r9,56(r30)                             
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06c8c:	90 9f 00 00 	stw     r4,0(r31)                              
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06c90:	93 e9 00 00 	stw     r31,0(r9)                              
      queue->tail       = sc;                                         
ffc06c94:	93 fe 00 38 	stw     r31,56(r30)                            
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06c98:	81 3e 00 3c 	lwz     r9,60(r30)                             
ffc06c9c:	39 29 00 01 	addi    r9,r9,1                                
ffc06ca0:	91 3e 00 3c 	stw     r9,60(r30)                             
ffc06ca4:	4b ff fe b4 	b       ffc06b58 <rtems_fdisk_queue_segment+0xd4>
   * to background erase perform the erase now.                       
   *                                                                  
   */                                                                 
  if (rtems_fdisk_seg_pages_available (sc) == 0)                      
  {                                                                   
    if (sc->pages_active)                                             
ffc06ca8:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc06cac:	41 9e 00 58 	beq-    cr7,ffc06d04 <rtems_fdisk_queue_segment+0x280><== NEVER TAKEN
      /*                                                              
       * 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;                   
ffc06cb0:	80 9e 00 40 	lwz     r4,64(r30)                             
                                                                      
      while (seg)                                                     
ffc06cb4:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06cb8:	41 9e 00 e0 	beq-    cr7,ffc06d98 <rtems_fdisk_queue_segment+0x314>
      {                                                               
        if (sc->pages_used > seg->pages_used)                         
ffc06cbc:	81 44 00 20 	lwz     r10,32(r4)                             
ffc06cc0:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc06cc4:	40 bd 00 14 	ble+    cr7,ffc06cd8 <rtems_fdisk_queue_segment+0x254>
ffc06cc8:	48 00 00 84 	b       ffc06d4c <rtems_fdisk_queue_segment+0x2c8>
ffc06ccc:	81 44 00 20 	lwz     r10,32(r4)                             
ffc06cd0:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc06cd4:	41 9c 00 78 	blt-    cr7,ffc06d4c <rtems_fdisk_queue_segment+0x2c8>
          break;                                                      
        seg = seg->next;                                              
ffc06cd8:	80 84 00 00 	lwz     r4,0(r4)                               
       * 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)                                                     
ffc06cdc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc06ce0:	40 9e ff ec 	bne+    cr7,ffc06ccc <rtems_fdisk_queue_segment+0x248>
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06ce4:	81 3e 00 44 	lwz     r9,68(r30)                             
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06ce8:	90 9f 00 00 	stw     r4,0(r31)                              
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
ffc06cec:	93 e9 00 00 	stw     r31,0(r9)                              
      queue->tail       = sc;                                         
ffc06cf0:	93 fe 00 44 	stw     r31,68(r30)                            
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06cf4:	81 3e 00 48 	lwz     r9,72(r30)                             
ffc06cf8:	39 29 00 01 	addi    r9,r9,1                                
ffc06cfc:	91 3e 00 48 	stw     r9,72(r30)                             
ffc06d00:	4b ff fe 58 	b       ffc06b58 <rtems_fdisk_queue_segment+0xd4>
      else                                                            
        rtems_fdisk_segment_queue_push_tail (&fd->used, sc);          
    }                                                                 
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
ffc06d04:	81 3e 00 08 	lwz     r9,8(r30)                              <== NOT EXECUTED
ffc06d08:	71 2a 00 01 	andi.   r10,r9,1                               <== NOT EXECUTED
ffc06d0c:	41 82 00 58 	beq-    ffc06d64 <rtems_fdisk_queue_segment+0x2e0><== NOT EXECUTED
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
ffc06d10:	81 3e 00 4c 	lwz     r9,76(r30)                             <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06d14:	91 1f 00 00 	stw     r8,0(r31)                              <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
ffc06d18:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06d1c:	41 9e 00 70 	beq-    cr7,ffc06d8c <rtems_fdisk_queue_segment+0x308><== NOT EXECUTED
    {                                                                 
      queue->tail->next = sc;                                         
ffc06d20:	81 3e 00 50 	lwz     r9,80(r30)                             <== NOT EXECUTED
ffc06d24:	93 e9 00 00 	stw     r31,0(r9)                              <== NOT EXECUTED
      queue->tail       = sc;                                         
ffc06d28:	93 fe 00 50 	stw     r31,80(r30)                            <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06d2c:	81 3e 00 54 	lwz     r9,84(r30)                             <== NOT EXECUTED
ffc06d30:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc06d34:	91 3e 00 54 	stw     r9,84(r30)                             <== NOT EXECUTED
ffc06d38:	4b ff fe 20 	b       ffc06b58 <rtems_fdisk_queue_segment+0xd4><== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06d3c:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc06d40:	93 fe 00 5c 	stw     r31,92(r30)                            <== NOT EXECUTED
ffc06d44:	93 fe 00 58 	stw     r31,88(r30)                            <== NOT EXECUTED
ffc06d48:	4b ff fe 04 	b       ffc06b4c <rtems_fdisk_queue_segment+0xc8><== NOT EXECUTED
          break;                                                      
        seg = seg->next;                                              
      }                                                               
                                                                      
      if (seg)                                                        
        rtems_fdisk_segment_queue_insert_before (&fd->used, seg, sc); 
ffc06d4c:	7f 83 e3 78 	mr      r3,r28                                 
ffc06d50:	4b ff fe e4 	b       ffc06c34 <rtems_fdisk_queue_segment+0x1b0>
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06d54:	90 9f 00 00 	stw     r4,0(r31)                              
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc06d58:	93 fe 00 38 	stw     r31,56(r30)                            
ffc06d5c:	93 fe 00 34 	stw     r31,52(r30)                            
ffc06d60:	4b ff ff 38 	b       ffc06c98 <rtems_fdisk_queue_segment+0x214>
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06d64:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
        rtems_fdisk_segment_queue_push_tail (&fd->erase, sc);         
      else                                                            
        rtems_fdisk_erase_segment (fd, sc);                           
ffc06d68:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06d6c:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
        rtems_fdisk_segment_queue_push_tail (&fd->erase, sc);         
      else                                                            
        rtems_fdisk_erase_segment (fd, sc);                           
ffc06d70:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
    else                                                              
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
ffc06d74:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06d78:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc06d7c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc06d80:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc06d84:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
        rtems_fdisk_segment_queue_push_tail (&fd->erase, sc);         
      else                                                            
        rtems_fdisk_erase_segment (fd, sc);                           
ffc06d88:	4b ff fa a8 	b       ffc06830 <rtems_fdisk_erase_segment>   <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc06d8c:	93 fe 00 50 	stw     r31,80(r30)                            <== NOT EXECUTED
ffc06d90:	93 fe 00 4c 	stw     r31,76(r30)                            <== NOT EXECUTED
ffc06d94:	4b ff ff 98 	b       ffc06d2c <rtems_fdisk_queue_segment+0x2a8><== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06d98:	90 9f 00 00 	stw     r4,0(r31)                              
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc06d9c:	93 fe 00 44 	stw     r31,68(r30)                            
ffc06da0:	93 fe 00 40 	stw     r31,64(r30)                            
ffc06da4:	4b ff ff 50 	b       ffc06cf4 <rtems_fdisk_queue_segment+0x270>
                                                                      

ffc0626c <rtems_fdisk_queue_status>: } rtems_flashdisk_count = rtems_flashdisk_configuration_size; return RTEMS_SUCCESSFUL; }
ffc0626c:	81 23 00 34 	lwz     r9,52(r3)                              
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)                                                          
ffc06270:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06274:	41 9e 00 24 	beq-    cr7,ffc06298 <rtems_fdisk_queue_status+0x2c><== NEVER TAKEN
  {                                                                   
    if (it == sc)                                                     
ffc06278:	7f 89 20 00 	cmpw    cr7,r9,r4                              
ffc0627c:	40 be 00 0c 	bne+    cr7,ffc06288 <rtems_fdisk_queue_status+0x1c>
ffc06280:	48 00 00 c8 	b       ffc06348 <rtems_fdisk_queue_status+0xdc>
ffc06284:	41 9a 00 c4 	beq-    cr6,ffc06348 <rtems_fdisk_queue_status+0xdc><== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
ffc06288:	81 29 00 00 	lwz     r9,0(r9)                               
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)                                                          
ffc0628c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  {                                                                   
    if (it == sc)                                                     
ffc06290:	7f 04 48 00 	cmpw    cr6,r4,r9                              
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)                                                          
ffc06294:	40 9e ff f0 	bne+    cr7,ffc06284 <rtems_fdisk_queue_status+0x18><== NEVER TAKEN
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' : '-';
ffc06298:	39 20 00 2d 	li      r9,45                                  
ffc0629c:	99 25 00 00 	stb     r9,0(r5)                               
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc062a0:	81 23 00 40 	lwz     r9,64(r3)                              
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)                                                          
ffc062a4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc062a8:	41 9e 00 24 	beq-    cr7,ffc062cc <rtems_fdisk_queue_status+0x60><== NEVER TAKEN
  {                                                                   
    if (it == sc)                                                     
ffc062ac:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc062b0:	40 be 00 0c 	bne+    cr7,ffc062bc <rtems_fdisk_queue_status+0x50>
ffc062b4:	48 00 00 b8 	b       ffc0636c <rtems_fdisk_queue_status+0x100>
ffc062b8:	41 9a 00 b4 	beq-    cr6,ffc0636c <rtems_fdisk_queue_status+0x100>
      return true;                                                    
    it = it->next;                                                    
ffc062bc:	81 29 00 00 	lwz     r9,0(r9)                               
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)                                                          
ffc062c0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  {                                                                   
    if (it == sc)                                                     
ffc062c4:	7f 04 48 00 	cmpw    cr6,r4,r9                              
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)                                                          
ffc062c8:	40 9e ff f0 	bne+    cr7,ffc062b8 <rtems_fdisk_queue_status+0x4c>
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' : '-';
ffc062cc:	39 20 00 2d 	li      r9,45                                  
ffc062d0:	99 25 00 01 	stb     r9,1(r5)                               
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc062d4:	81 23 00 4c 	lwz     r9,76(r3)                              
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)                                                          
ffc062d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc062dc:	41 9e 00 24 	beq-    cr7,ffc06300 <rtems_fdisk_queue_status+0x94><== ALWAYS TAKEN
  {                                                                   
    if (it == sc)                                                     
ffc062e0:	7f 84 48 00 	cmpw    cr7,r4,r9                              <== NOT EXECUTED
ffc062e4:	40 be 00 0c 	bne+    cr7,ffc062f0 <rtems_fdisk_queue_status+0x84><== NOT EXECUTED
ffc062e8:	48 00 00 7c 	b       ffc06364 <rtems_fdisk_queue_status+0xf8><== NOT EXECUTED
ffc062ec:	41 9a 00 78 	beq-    cr6,ffc06364 <rtems_fdisk_queue_status+0xf8><== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
ffc062f0:	81 29 00 00 	lwz     r9,0(r9)                               <== 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)                                                          
ffc062f4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc062f8:	7f 04 48 00 	cmpw    cr6,r4,r9                              <== 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)                                                          
ffc062fc:	40 9e ff f0 	bne+    cr7,ffc062ec <rtems_fdisk_queue_status+0x80><== 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' : '-';
ffc06300:	39 20 00 2d 	li      r9,45                                  
ffc06304:	99 25 00 02 	stb     r9,2(r5)                               
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc06308:	81 23 00 58 	lwz     r9,88(r3)                              
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)                                                          
ffc0630c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06310:	41 9e 00 24 	beq-    cr7,ffc06334 <rtems_fdisk_queue_status+0xc8><== ALWAYS TAKEN
  {                                                                   
    if (it == sc)                                                     
ffc06314:	7f 84 48 00 	cmpw    cr7,r4,r9                              <== NOT EXECUTED
ffc06318:	40 be 00 0c 	bne+    cr7,ffc06324 <rtems_fdisk_queue_status+0xb8><== NOT EXECUTED
ffc0631c:	48 00 00 34 	b       ffc06350 <rtems_fdisk_queue_status+0xe4><== NOT EXECUTED
ffc06320:	41 9a 00 30 	beq-    cr6,ffc06350 <rtems_fdisk_queue_status+0xe4><== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
ffc06324:	81 29 00 00 	lwz     r9,0(r9)                               <== 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)                                                          
ffc06328:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
ffc0632c:	7f 04 48 00 	cmpw    cr6,r4,r9                              <== 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)                                                          
ffc06330:	40 9e ff f0 	bne+    cr7,ffc06320 <rtems_fdisk_queue_status+0xb4><== 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' : '-';
ffc06334:	39 20 00 2d 	li      r9,45                                  
ffc06338:	99 25 00 03 	stb     r9,3(r5)                               
  queues[4] = '\0';                                                   
ffc0633c:	39 20 00 00 	li      r9,0                                   
ffc06340:	99 25 00 04 	stb     r9,4(r5)                               
ffc06344:	4e 80 00 20 	blr                                            
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' : '-';
ffc06348:	39 20 00 41 	li      r9,65                                  
ffc0634c:	4b ff ff 50 	b       ffc0629c <rtems_fdisk_queue_status+0x30>
  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' : '-';
ffc06350:	39 20 00 46 	li      r9,70                                  <== NOT EXECUTED
ffc06354:	99 25 00 03 	stb     r9,3(r5)                               <== NOT EXECUTED
  queues[4] = '\0';                                                   
ffc06358:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc0635c:	99 25 00 04 	stb     r9,4(r5)                               <== NOT EXECUTED
ffc06360:	4e 80 00 20 	blr                                            <== 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' : '-';
ffc06364:	39 20 00 45 	li      r9,69                                  <== NOT EXECUTED
ffc06368:	4b ff ff 9c 	b       ffc06304 <rtems_fdisk_queue_status+0x98><== NOT EXECUTED
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' : '-';
ffc0636c:	39 20 00 55 	li      r9,85                                  
ffc06370:	4b ff ff 60 	b       ffc062d0 <rtems_fdisk_queue_status+0x64>
                                                                      

ffc079b4 <rtems_fdisk_recover_block_mappings>: /** * Recover the block mappings from the devices. */ static int rtems_fdisk_recover_block_mappings (rtems_flashdisk* fd) {
ffc079b4:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc079b8:	7c 08 02 a6 	mflr    r0                                     
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
ffc079bc:	38 80 00 00 	li      r4,0                                   
/**                                                                   
 * Recover the block mappings from the devices.                       
 */                                                                   
static int                                                            
rtems_fdisk_recover_block_mappings (rtems_flashdisk* fd)              
{                                                                     
ffc079c0:	90 01 00 4c 	stw     r0,76(r1)                              
ffc079c4:	93 e1 00 44 	stw     r31,68(r1)                             
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
ffc079c8:	3b e0 00 00 	li      r31,0                                  
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
ffc079cc:	80 a3 00 1c 	lwz     r5,28(r3)                              
/**                                                                   
 * Recover the block mappings from the devices.                       
 */                                                                   
static int                                                            
rtems_fdisk_recover_block_mappings (rtems_flashdisk* fd)              
{                                                                     
ffc079d0:	92 41 00 10 	stw     r18,16(r1)                             
ffc079d4:	7c 72 1b 78 	mr      r18,r3                                 
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
ffc079d8:	54 a5 18 38 	rlwinm  r5,r5,3,0,28                           
/**                                                                   
 * Recover the block mappings from the devices.                       
 */                                                                   
static int                                                            
rtems_fdisk_recover_block_mappings (rtems_flashdisk* fd)              
{                                                                     
ffc079dc:	92 61 00 14 	stw     r19,20(r1)                             
ffc079e0:	92 81 00 18 	stw     r20,24(r1)                             
ffc079e4:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc079e8:	92 c1 00 20 	stw     r22,32(r1)                             
ffc079ec:	92 e1 00 24 	stw     r23,36(r1)                             
ffc079f0:	93 01 00 28 	stw     r24,40(r1)                             
ffc079f4:	93 21 00 2c 	stw     r25,44(r1)                             
ffc079f8:	93 41 00 30 	stw     r26,48(r1)                             
ffc079fc:	93 61 00 34 	stw     r27,52(r1)                             
ffc07a00:	93 81 00 38 	stw     r28,56(r1)                             
ffc07a04:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc07a08:	93 c1 00 40 	stw     r30,64(r1)                             
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
ffc07a0c:	93 e3 00 38 	stw     r31,56(r3)                             
ffc07a10:	93 e3 00 34 	stw     r31,52(r3)                             
  queue->count = 0;                                                   
ffc07a14:	93 e3 00 3c 	stw     r31,60(r3)                             
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
ffc07a18:	93 e3 00 44 	stw     r31,68(r3)                             
ffc07a1c:	93 e3 00 40 	stw     r31,64(r3)                             
  queue->count = 0;                                                   
ffc07a20:	93 e3 00 48 	stw     r31,72(r3)                             
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
ffc07a24:	93 e3 00 50 	stw     r31,80(r3)                             
ffc07a28:	93 e3 00 4c 	stw     r31,76(r3)                             
  queue->count = 0;                                                   
ffc07a2c:	93 e3 00 54 	stw     r31,84(r3)                             
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
ffc07a30:	93 e3 00 5c 	stw     r31,92(r3)                             
ffc07a34:	93 e3 00 58 	stw     r31,88(r3)                             
  queue->count = 0;                                                   
ffc07a38:	93 e3 00 60 	stw     r31,96(r3)                             
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
ffc07a3c:	80 63 00 18 	lwz     r3,24(r3)                              
ffc07a40:	48 02 1d 41 	bl      ffc29780 <memset>                      
  /*                                                                  
   * 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++)               
ffc07a44:	80 f2 00 30 	lwz     r7,48(r18)                             
  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;                                              
ffc07a48:	93 f2 00 28 	stw     r31,40(r18)                            
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
ffc07a4c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
                                                                      
  /*                                                                  
   * Scan each segment or each device recovering the valid pages.     
   */                                                                 
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
ffc07a50:	93 f2 00 24 	stw     r31,36(r18)                            
  for (device = 0; device < fd->device_count; device++)               
ffc07a54:	41 9e 01 ec 	beq-    cr7,ffc07c40 <rtems_fdisk_recover_block_mappings+0x28c><== NEVER TAKEN
ffc07a58:	3e e0 ff c4 	lis     r23,-60                                
ffc07a5c:	81 52 00 2c 	lwz     r10,44(r18)                            
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
ffc07a60:	3e a0 ff c4 	lis     r21,-60                                
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
                                                   page, pd);         
                                                                      
            if (ret)                                                  
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
ffc07a64:	3e 60 ff c4 	lis     r19,-60                                
               * 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: " \      
ffc07a68:	3e c0 ff c4 	lis     r22,-60                                
          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,                                
ffc07a6c:	3e 80 ff c4 	lis     r20,-60                                
  /*                                                                  
   * 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++)               
ffc07a70:	3b 00 00 00 	li      r24,0                                  
ffc07a74:	3b 40 00 00 	li      r26,0                                  
  {                                                                   
    uint32_t segment;                                                 
    for (segment = 0; segment < fd->devices[device].segment_count; segment++)
ffc07a78:	3b 60 00 00 	li      r27,0                                  
ffc07a7c:	3a f7 96 cc 	addi    r23,r23,-26932                         
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
ffc07a80:	3a b5 97 34 	addi    r21,r21,-26828                         
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
                                                   page, pd);         
                                                                      
            if (ret)                                                  
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
ffc07a84:	3a 73 97 50 	addi    r19,r19,-26800                         
               * 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: " \      
ffc07a88:	3a d6 97 a4 	addi    r22,r22,-26716                         
          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,                                
ffc07a8c:	3a 94 97 78 	addi    r20,r20,-26760                         
  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++)
ffc07a90:	7d 2a c2 14 	add     r9,r10,r24                             
ffc07a94:	81 09 00 04 	lwz     r8,4(r9)                               
ffc07a98:	3b 20 00 00 	li      r25,0                                  
ffc07a9c:	3b 80 00 00 	li      r28,0                                  
ffc07aa0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc07aa4:	41 9e 01 8c 	beq-    cr7,ffc07c30 <rtems_fdisk_recover_block_mappings+0x27c><== NEVER TAKEN
    {                                                                 
      rtems_fdisk_segment_ctl*        sc = &fd->devices[device].segments[segment];
ffc07aa8:	83 c9 00 00 	lwz     r30,0(r9)                              
      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);
ffc07aac:	7e 43 93 78 	mr      r3,r18                                 
ffc07ab0:	7e e4 bb 78 	mr      r4,r23                                 
  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];
ffc07ab4:	7f de ca 14 	add     r30,r30,r25                            
      const rtems_fdisk_segment_desc* sd = sc->descriptor;            
ffc07ab8:	83 fe 00 04 	lwz     r31,4(r30)                             
      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);
ffc07abc:	7f 45 d3 78 	mr      r5,r26                                 
ffc07ac0:	7f 86 e3 78 	mr      r6,r28                                 
ffc07ac4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07ac8:	4b ff e8 ad 	bl      ffc06374 <rtems_fdisk_info>            
#endif                                                                
                                                                      
      sc->pages_desc = rtems_fdisk_page_desc_pages (sd, fd->block_size);
ffc07acc:	81 32 00 14 	lwz     r9,20(r18)                             
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
ffc07ad0:	81 5f 00 08 	lwz     r10,8(r31)                             
#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)                       
ffc07ad4:	80 f2 00 24 	lwz     r7,36(r18)                             
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
ffc07ad8:	7d 4a 4b 96 	divwu   r10,r10,r9                             
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);            
ffc07adc:	55 48 18 38 	rlwinm  r8,r10,3,0,28                          
  return ((bytes - 1) / page_size) + 1;                               
ffc07ae0:	39 08 ff ff 	addi    r8,r8,-1                               
ffc07ae4:	7d 08 4b 96 	divwu   r8,r8,r9                               
ffc07ae8:	39 08 00 01 	addi    r8,r8,1                                
      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;
ffc07aec:	7d 48 50 50 	subf    r10,r8,r10                             
                                                                      
#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);
ffc07af0:	91 1e 00 18 	stw     r8,24(r30)                             
      sc->pages =                                                     
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
      if (sc->pages > fd->starvation_threshold)                       
ffc07af4:	7f 8a 38 40 	cmplw   cr7,r10,r7                             
#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);
      sc->pages =                                                     
ffc07af8:	91 5e 00 14 	stw     r10,20(r30)                            
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
      if (sc->pages > fd->starvation_threshold)                       
ffc07afc:	40 9d 00 08 	ble-    cr7,ffc07b04 <rtems_fdisk_recover_block_mappings+0x150>
        fd->starvation_threshold = sc->pages;                         
ffc07b00:	91 52 00 24 	stw     r10,36(r18)                            
      sc->pages_used   = 0;                                           
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
ffc07b04:	83 fe 00 10 	lwz     r31,16(r30)                            
        sc->page_descriptors = malloc (sc->pages_desc * fd->block_size);
ffc07b08:	7d 08 49 d6 	mullw   r8,r8,r9                               
      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;                                           
ffc07b0c:	93 7e 00 1c 	stw     r27,28(r30)                            
      sc->pages_used   = 0;                                           
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
ffc07b10:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
        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;                                           
      sc->pages_used   = 0;                                           
ffc07b14:	93 7e 00 20 	stw     r27,32(r30)                            
      sc->pages_bad    = 0;                                           
ffc07b18:	93 7e 00 24 	stw     r27,36(r30)                            
                                                                      
      sc->failed = false;                                             
ffc07b1c:	93 7e 00 28 	stw     r27,40(r30)                            
                                                                      
      if (!sc->page_descriptors)                                      
ffc07b20:	41 9e 02 40 	beq-    cr7,ffc07d60 <rtems_fdisk_recover_block_mappings+0x3ac><== ALWAYS TAKEN
       * 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,              
ffc07b24:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc07b28:	7e 43 93 78 	mr      r3,r18                                 
ffc07b2c:	80 be 00 0c 	lwz     r5,12(r30)                             
ffc07b30:	38 c0 00 00 	li      r6,0                                   
ffc07b34:	7f e7 fb 78 	mr      r7,r31                                 
ffc07b38:	4b ff f2 d9 	bl      ffc06e10 <rtems_fdisk_seg_read.isra.14>
                                  sc->pages_desc * fd->block_size);   
                                                                      
      if (ret)                                                        
ffc07b3c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc07b40:	40 82 02 50 	bne-    ffc07d90 <rtems_fdisk_recover_block_mappings+0x3dc><== NEVER TAKEN
       * 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++)                  
ffc07b44:	80 fe 00 14 	lwz     r7,20(r30)                             
ffc07b48:	3b a0 00 00 	li      r29,0                                  
ffc07b4c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc07b50:	40 be 00 24 	bne+    cr7,ffc07b74 <rtems_fdisk_recover_block_mappings+0x1c0><== ALWAYS TAKEN
ffc07b54:	48 00 00 b0 	b       ffc07c04 <rtems_fdisk_recover_block_mappings+0x250><== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_USED))
          {                                                           
            sc->pages_used++;                                         
ffc07b58:	81 3e 00 20 	lwz     r9,32(r30)                             <== NOT EXECUTED
ffc07b5c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07b60:	91 3e 00 20 	stw     r9,32(r30)                             <== 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++)                  
ffc07b64:	3b bd 00 01 	addi    r29,r29,1                              
ffc07b68:	7f 87 e8 40 	cmplw   cr7,r7,r29                             
ffc07b6c:	3b ff 00 08 	addi    r31,r31,8                              
ffc07b70:	40 9d 00 94 	ble-    cr7,ffc07c04 <rtems_fdisk_recover_block_mappings+0x250>
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;                  
ffc07b74:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc07b78:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc07b7c:	41 9e 00 cc 	beq-    cr7,ffc07c48 <rtems_fdisk_recover_block_mappings+0x294><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc07b80:	a1 3f 00 02 	lhz     r9,2(r31)                              <== NOT EXECUTED
            sc->pages_used++;                                         
          }                                                           
        }                                                             
        else                                                          
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_USED))
ffc07b84:	55 2a 07 bc 	rlwinm  r10,r9,0,30,30                         <== NOT EXECUTED
ffc07b88:	71 48 ff ff 	andi.   r8,r10,65535                           <== NOT EXECUTED
ffc07b8c:	41 a2 ff cc 	beq-    ffc07b58 <rtems_fdisk_recover_block_mappings+0x1a4><== NOT EXECUTED
          {                                                           
            sc->pages_used++;                                         
          }                                                           
          else if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))
ffc07b90:	71 28 00 01 	andi.   r8,r9,1                                <== NOT EXECUTED
ffc07b94:	40 82 00 fc 	bne-    ffc07c90 <rtems_fdisk_recover_block_mappings+0x2dc><== NOT EXECUTED
          {                                                           
            if (pd->block >= fd->block_count)                         
ffc07b98:	81 1f 00 04 	lwz     r8,4(r31)                              <== NOT EXECUTED
ffc07b9c:	81 32 00 1c 	lwz     r9,28(r18)                             <== NOT EXECUTED
ffc07ba0:	7f 88 48 40 	cmplw   cr7,r8,r9                              <== NOT EXECUTED
ffc07ba4:	40 9c 01 58 	bge-    cr7,ffc07cfc <rtems_fdisk_recover_block_mappings+0x348><== 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)                   
ffc07ba8:	81 52 00 18 	lwz     r10,24(r18)                            <== NOT EXECUTED
ffc07bac:	55 08 18 38 	rlwinm  r8,r8,3,0,28                           <== NOT EXECUTED
ffc07bb0:	7d 2a 40 2e 	lwzx    r9,r10,r8                              <== NOT EXECUTED
ffc07bb4:	7c ca 42 14 	add     r6,r10,r8                              <== NOT EXECUTED
ffc07bb8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc07bbc:	41 9e 01 70 	beq-    cr7,ffc07d2c <rtems_fdisk_recover_block_mappings+0x378><== 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: " \      
ffc07bc0:	80 89 00 08 	lwz     r4,8(r9)                               <== NOT EXECUTED
ffc07bc4:	7f 47 d3 78 	mr      r7,r26                                 <== NOT EXECUTED
ffc07bc8:	80 a9 00 0c 	lwz     r5,12(r9)                              <== NOT EXECUTED
ffc07bcc:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc07bd0:	80 c6 00 04 	lwz     r6,4(r6)                               <== NOT EXECUTED
ffc07bd4:	7f a9 eb 78 	mr      r9,r29                                 <== NOT EXECUTED
ffc07bd8:	7f 88 e3 78 	mr      r8,r28                                 <== NOT EXECUTED
ffc07bdc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07be0:	4b ff eb 69 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc07be4:	80 fe 00 14 	lwz     r7,20(r30)                             <== 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++)                  
ffc07be8:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
              rtems_fdisk_error ("duplicate block: %d-%d-%d: " \      
                                 "duplicate: %d-%d-%d",               
                                 bsc->device, bsc->segment,           
                                 fd->blocks[pd->block].page,          
                                 device, segment, page);              
              sc->pages_bad++;                                        
ffc07bec:	81 3e 00 24 	lwz     r9,36(r30)                             <== 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++)                  
ffc07bf0:	7f 87 e8 40 	cmplw   cr7,r7,r29                             <== NOT EXECUTED
              rtems_fdisk_error ("duplicate block: %d-%d-%d: " \      
                                 "duplicate: %d-%d-%d",               
                                 bsc->device, bsc->segment,           
                                 fd->blocks[pd->block].page,          
                                 device, segment, page);              
              sc->pages_bad++;                                        
ffc07bf4:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07bf8:	91 3e 00 24 	stw     r9,36(r30)                             <== 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++)                  
ffc07bfc:	3b ff 00 08 	addi    r31,r31,8                              <== NOT EXECUTED
ffc07c00:	41 9d ff 74 	bgt+    cr7,ffc07b74 <rtems_fdisk_recover_block_mappings+0x1c0><== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, sc);                             
ffc07c04:	7e 43 93 78 	mr      r3,r18                                 
ffc07c08:	7f c4 f3 78 	mr      r4,r30                                 
ffc07c0c:	4b ff ee 79 	bl      ffc06a84 <rtems_fdisk_queue_segment>   
  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++)
ffc07c10:	81 52 00 2c 	lwz     r10,44(r18)                            
ffc07c14:	3b 9c 00 01 	addi    r28,r28,1                              
ffc07c18:	7d 2a c2 14 	add     r9,r10,r24                             
ffc07c1c:	81 09 00 04 	lwz     r8,4(r9)                               
ffc07c20:	3b 39 00 30 	addi    r25,r25,48                             
ffc07c24:	7f 88 e0 40 	cmplw   cr7,r8,r28                             
ffc07c28:	41 9d fe 80 	bgt+    cr7,ffc07aa8 <rtems_fdisk_recover_block_mappings+0xf4>
ffc07c2c:	80 f2 00 30 	lwz     r7,48(r18)                             
  /*                                                                  
   * 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++)               
ffc07c30:	3b 5a 00 01 	addi    r26,r26,1                              
ffc07c34:	7f 87 d0 40 	cmplw   cr7,r7,r26                             
ffc07c38:	3b 18 00 0c 	addi    r24,r24,12                             
ffc07c3c:	41 9d fe 54 	bgt+    cr7,ffc07a90 <rtems_fdisk_recover_block_mappings+0xdc><== NEVER TAKEN
       */                                                             
      rtems_fdisk_queue_segment (fd, sc);                             
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
ffc07c40:	3b a0 00 00 	li      r29,0                                  
ffc07c44:	48 00 01 70 	b       ffc07db4 <rtems_fdisk_recover_block_mappings+0x400>
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;                  
ffc07c48:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc07c4c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc07c50:	40 9e ff 30 	bne+    cr7,ffc07b80 <rtems_fdisk_recover_block_mappings+0x1cc><== NEVER TAKEN
        if (rtems_fdisk_page_desc_erased (pd))                        
        {                                                             
          /*                                                          
           * Is the page erased ?                                     
           */                                                         
          ret = rtems_fdisk_seg_blank_check_page (fd, sc,             
ffc07c54:	81 3e 00 18 	lwz     r9,24(r30)                             
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,                         
ffc07c58:	7e 43 93 78 	mr      r3,r18                                 
                                      page * fd->block_size, fd->block_size);
ffc07c5c:	80 f2 00 14 	lwz     r7,20(r18)                             
        if (rtems_fdisk_page_desc_erased (pd))                        
        {                                                             
          /*                                                          
           * Is the page erased ?                                     
           */                                                         
          ret = rtems_fdisk_seg_blank_check_page (fd, sc,             
ffc07c60:	7c dd 4a 14 	add     r6,r29,r9                              
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,                         
ffc07c64:	80 9e 00 08 	lwz     r4,8(r30)                              
ffc07c68:	7c c6 39 d6 	mullw   r6,r6,r7                               
ffc07c6c:	80 be 00 0c 	lwz     r5,12(r30)                             
ffc07c70:	4b ff f2 69 	bl      ffc06ed8 <rtems_fdisk_seg_blank_check.isra.15>
           * Is the page erased ?                                     
           */                                                         
          ret = rtems_fdisk_seg_blank_check_page (fd, sc,             
                                                  page + sc->pages_desc);
                                                                      
          if (ret == 0)                                               
ffc07c74:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07c78:	40 9e 00 28 	bne-    cr7,ffc07ca0 <rtems_fdisk_recover_block_mappings+0x2ec><== NEVER TAKEN
          {                                                           
            ++fd->erased_blocks;                                      
ffc07c7c:	81 32 00 28 	lwz     r9,40(r18)                             
ffc07c80:	80 fe 00 14 	lwz     r7,20(r30)                             
ffc07c84:	39 29 00 01 	addi    r9,r9,1                                
ffc07c88:	91 32 00 28 	stw     r9,40(r18)                             
ffc07c8c:	4b ff fe d8 	b       ffc07b64 <rtems_fdisk_recover_block_mappings+0x1b0>
               */                                                     
              sc->pages_active++;                                     
            }                                                         
          }                                                           
          else                                                        
            sc->pages_bad++;                                          
ffc07c90:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc07c94:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07c98:	91 3e 00 24 	stw     r9,36(r30)                             <== NOT EXECUTED
ffc07c9c:	4b ff fe c8 	b       ffc07b64 <rtems_fdisk_recover_block_mappings+0x1b0><== NOT EXECUTED
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
ffc07ca0:	81 1f 00 04 	lwz     r8,4(r31)                              <== NOT EXECUTED
ffc07ca4:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc07ca8:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc07cac:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc07cb0:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc07cb4:	7e 43 93 78 	mr      r3,r18                                 <== NOT EXECUTED
ffc07cb8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07cbc:	4b ff e9 95 	bl      ffc06650 <rtems_fdisk_warning>         <== 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;                                                
ffc07cc0:	a1 3f 00 02 	lhz     r9,2(r31)                              <== 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,            
ffc07cc4:	7e 43 93 78 	mr      r3,r18                                 <== 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;                                                
ffc07cc8:	55 29 07 fa 	rlwinm  r9,r9,0,31,29                          <== NOT EXECUTED
ffc07ccc:	b1 3f 00 02 	sth     r9,2(r31)                              <== 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,            
ffc07cd0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc07cd4:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc07cd8:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc07cdc:	4b ff f3 6d 	bl      ffc07048 <rtems_fdisk_seg_write_page_desc><== NOT EXECUTED
                                                   page, pd);         
                                                                      
            if (ret)                                                  
ffc07ce0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc07ce4:	40 9e 00 60 	bne-    cr7,ffc07d44 <rtems_fdisk_recover_block_mappings+0x390><== NOT EXECUTED
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
                                 device, segment, page);              
            }                                                         
                                                                      
            sc->pages_used++;                                         
ffc07ce8:	81 3e 00 20 	lwz     r9,32(r30)                             <== NOT EXECUTED
ffc07cec:	80 fe 00 14 	lwz     r7,20(r30)                             <== NOT EXECUTED
ffc07cf0:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07cf4:	91 3e 00 20 	stw     r9,32(r30)                             <== NOT EXECUTED
ffc07cf8:	4b ff fe 6c 	b       ffc07b64 <rtems_fdisk_recover_block_mappings+0x1b0><== 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,                                
ffc07cfc:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc07d00:	7e 43 93 78 	mr      r3,r18                                 <== NOT EXECUTED
ffc07d04:	7e 84 a3 78 	mr      r4,r20                                 <== NOT EXECUTED
ffc07d08:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc07d0c:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc07d10:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07d14:	4b ff e9 3d 	bl      ffc06650 <rtems_fdisk_warning>         <== NOT EXECUTED
                                   "invalid block number: %d-%d-%d: block: %d",
                                   device, segment, page, pd->block); 
#endif                                                                
              sc->pages_bad++;                                        
ffc07d18:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc07d1c:	80 fe 00 14 	lwz     r7,20(r30)                             <== NOT EXECUTED
ffc07d20:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07d24:	91 3e 00 24 	stw     r9,36(r30)                             <== NOT EXECUTED
ffc07d28:	4b ff fe 3c 	b       ffc07b64 <rtems_fdisk_recover_block_mappings+0x1b0><== NOT EXECUTED
              fd->blocks[pd->block].page    = page;                   
                                                                      
              /*                                                      
               * The page is active.                                  
               */                                                     
              sc->pages_active++;                                     
ffc07d2c:	81 3e 00 1c 	lwz     r9,28(r30)                             <== NOT EXECUTED
            {                                                         
              /**                                                     
               * @todo                                                
               * Add start up crc checks here.                        
               */                                                     
              fd->blocks[pd->block].segment = sc;                     
ffc07d30:	7f ca 41 2e 	stwx    r30,r10,r8                             <== NOT EXECUTED
              fd->blocks[pd->block].page    = page;                   
                                                                      
              /*                                                      
               * The page is active.                                  
               */                                                     
              sc->pages_active++;                                     
ffc07d34:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
              /**                                                     
               * @todo                                                
               * Add start up crc checks here.                        
               */                                                     
              fd->blocks[pd->block].segment = sc;                     
              fd->blocks[pd->block].page    = page;                   
ffc07d38:	93 a6 00 04 	stw     r29,4(r6)                              <== NOT EXECUTED
                                                                      
              /*                                                      
               * The page is active.                                  
               */                                                     
              sc->pages_active++;                                     
ffc07d3c:	91 3e 00 1c 	stw     r9,28(r30)                             <== NOT EXECUTED
ffc07d40:	4b ff fe 24 	b       ffc07b64 <rtems_fdisk_recover_block_mappings+0x1b0><== 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",
ffc07d44:	7e 63 9b 78 	mr      r3,r19                                 <== NOT EXECUTED
ffc07d48:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc07d4c:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc07d50:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc07d54:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07d58:	4b ff e9 f1 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc07d5c:	4b ff ff 8c 	b       ffc07ce8 <rtems_fdisk_recover_block_mappings+0x334><== NOT EXECUTED
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
        sc->page_descriptors = malloc (sc->pages_desc * fd->block_size);
ffc07d60:	7d 03 43 78 	mr      r3,r8                                  
ffc07d64:	91 01 00 08 	stw     r8,8(r1)                               
ffc07d68:	48 00 2d 2d 	bl      ffc0aa94 <malloc>                      
                                                                      
      if (!sc->page_descriptors)                                      
ffc07d6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
        sc->page_descriptors = malloc (sc->pages_desc * fd->block_size);
ffc07d70:	90 7e 00 10 	stw     r3,16(r30)                             
ffc07d74:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
      if (!sc->page_descriptors)                                      
ffc07d78:	81 01 00 08 	lwz     r8,8(r1)                               
ffc07d7c:	40 9e fd a8 	bne+    cr7,ffc07b24 <rtems_fdisk_recover_block_mappings+0x170><== ALWAYS TAKEN
        rtems_fdisk_abort ("no memory for page descriptors");         
ffc07d80:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07d84:	38 63 96 ac 	addi    r3,r3,-26964                           <== NOT EXECUTED
ffc07d88:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07d8c:	48 00 1a 49 	bl      ffc097d4 <rtems_fdisk_abort.constprop.16><== 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: " \     
ffc07d90:	48 02 2d c9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc07d94:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc07d98:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc07d9c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07da0:	38 63 96 f0 	addi    r3,r3,-26896                           <== NOT EXECUTED
ffc07da4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc07da8:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc07dac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07db0:	4b ff e9 99 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      rtems_fdisk_queue_segment (fd, sc);                             
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc07db4:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc07db8:	7f a3 eb 78 	mr      r3,r29                                 
ffc07dbc:	82 41 00 10 	lwz     r18,16(r1)                             
ffc07dc0:	7c 08 03 a6 	mtlr    r0                                     
ffc07dc4:	82 61 00 14 	lwz     r19,20(r1)                             
ffc07dc8:	82 81 00 18 	lwz     r20,24(r1)                             
ffc07dcc:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc07dd0:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc07dd4:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc07dd8:	83 01 00 28 	lwz     r24,40(r1)                             
ffc07ddc:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc07de0:	83 41 00 30 	lwz     r26,48(r1)                             
ffc07de4:	83 61 00 34 	lwz     r27,52(r1)                             
ffc07de8:	83 81 00 38 	lwz     r28,56(r1)                             
ffc07dec:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc07df0:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc07df4:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc07df8:	38 21 00 48 	addi    r1,r1,72                               
ffc07dfc:	4e 80 00 20 	blr                                            
                                                                      

ffc070f0 <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) {
ffc070f0:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc070f4:	7c 08 02 a6 	mflr    r0                                     
ffc070f8:	90 01 00 4c 	stw     r0,76(r1)                              
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
ffc070fc:	81 04 00 14 	lwz     r8,20(r4)                              
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
                                    rtems_fdisk_segment_ctl* ssc,     
                                    rtems_fdisk_segment_ctl* dsc,     
                                    uint32_t *pages)                  
{                                                                     
ffc07100:	93 01 00 28 	stw     r24,40(r1)                             
ffc07104:	7c d8 33 78 	mr      r24,r6                                 
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
ffc07108:	2f 88 00 00 	cmpwi   cr7,r8,0                               
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
                                    rtems_fdisk_segment_ctl* ssc,     
                                    rtems_fdisk_segment_ctl* dsc,     
                                    uint32_t *pages)                  
{                                                                     
ffc0710c:	93 61 00 34 	stw     r27,52(r1)                             
ffc07110:	7c 7b 1b 78 	mr      r27,r3                                 
ffc07114:	93 81 00 38 	stw     r28,56(r1)                             
ffc07118:	7c 9c 23 78 	mr      r28,r4                                 
ffc0711c:	92 41 00 10 	stw     r18,16(r1)                             
ffc07120:	92 61 00 14 	stw     r19,20(r1)                             
ffc07124:	92 81 00 18 	stw     r20,24(r1)                             
ffc07128:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc0712c:	92 c1 00 20 	stw     r22,32(r1)                             
ffc07130:	92 e1 00 24 	stw     r23,36(r1)                             
ffc07134:	93 21 00 2c 	stw     r25,44(r1)                             
ffc07138:	93 41 00 30 	stw     r26,48(r1)                             
ffc0713c:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc07140:	93 c1 00 40 	stw     r30,64(r1)                             
ffc07144:	93 e1 00 44 	stw     r31,68(r1)                             
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
ffc07148:	41 9e 04 6c 	beq-    cr7,ffc075b4 <rtems_fdisk_recycle_segment+0x4c4><== NEVER TAKEN
        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",
ffc0714c:	3e a0 ff c4 	lis     r21,-60                                
                           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",
ffc07150:	3e c0 ff c4 	lis     r22,-60                                
ffc07154:	7c be 2b 78 	mr      r30,r5                                 
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
ffc07158:	3a e0 00 00 	li      r23,0                                  
ffc0715c:	3b 20 00 00 	li      r25,0                                  
ffc07160:	3b a0 00 00 	li      r29,0                                  
        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",
ffc07164:	3a b5 94 94 	addi    r21,r21,-27500                         
                           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",
ffc07168:	3a d6 94 bc 	addi    r22,r22,-27460                         
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
ffc0716c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
ffc07170:	80 bc 00 10 	lwz     r5,16(r28)                             
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
ffc07174:	57 aa 18 38 	rlwinm  r10,r29,3,0,28                         
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
ffc07178:	7f 45 52 14 	add     r26,r5,r10                             
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
ffc0717c:	41 9e 02 78 	beq-    cr7,ffc073f4 <rtems_fdisk_recycle_segment+0x304>
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc07180:	a0 7a 00 02 	lhz     r3,2(r26)                              
    {                                                                 
      rtems_fdisk_error ("recycle: no available dst segment");        
      return EIO;                                                     
    }                                                                 
                                                                      
    if (rtems_fdisk_page_desc_flags_set (spd, RTEMS_FDISK_PAGE_ACTIVE) &&
ffc07184:	70 69 00 01 	andi.   r9,r3,1                                
ffc07188:	40 82 01 b0 	bne-    ffc07338 <rtems_fdisk_recycle_segment+0x248><== NEVER TAKEN
ffc0718c:	54 63 07 bc 	rlwinm  r3,r3,0,30,30                          
ffc07190:	70 69 ff ff 	andi.   r9,r3,65535                            
ffc07194:	41 82 01 a4 	beq-    ffc07338 <rtems_fdisk_recycle_segment+0x248>
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc07198:	81 1e 00 14 	lwz     r8,20(r30)                             
ffc0719c:	80 fe 00 10 	lwz     r7,16(r30)                             
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++)                      
ffc071a0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc071a4:	41 9e 02 74 	beq-    cr7,ffc07418 <rtems_fdisk_recycle_segment+0x328><== NEVER TAKEN
ffc071a8:	7c eb 3b 78 	mr      r11,r7                                 
ffc071ac:	7d 09 03 a6 	mtctr   r8                                     
ffc071b0:	3b e0 00 00 	li      r31,0                                  
ffc071b4:	48 00 00 10 	b       ffc071c4 <rtems_fdisk_recycle_segment+0xd4>
ffc071b8:	3b ff 00 01 	addi    r31,r31,1                              
ffc071bc:	39 6b 00 08 	addi    r11,r11,8                              
ffc071c0:	42 40 02 58 	bdz-    ffc07418 <rtems_fdisk_recycle_segment+0x328>
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;                  
ffc071c4:	81 4b 00 00 	lwz     r10,0(r11)                             
ffc071c8:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc071cc:	40 9e ff ec 	bne+    cr7,ffc071b8 <rtems_fdisk_recycle_segment+0xc8>
ffc071d0:	81 2b 00 04 	lwz     r9,4(r11)                              
ffc071d4:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc071d8:	40 9e ff e0 	bne+    cr7,ffc071b8 <rtems_fdisk_recycle_segment+0xc8><== NEVER TAKEN
      dpage = rtems_fdisk_seg_next_available_page (dsc);              
      dpd   = &dsc->page_descriptors[dpage];                          
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
ffc071dc:	7f 88 f8 40 	cmplw   cr7,r8,r31                             
      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];                          
ffc071e0:	57 f3 18 38 	rlwinm  r19,r31,3,0,28                         
ffc071e4:	7e 67 9a 14 	add     r19,r7,r19                             
                                                                      
      active++;                                                       
ffc071e8:	3a f7 00 01 	addi    r23,r23,1                              
                                                                      
      if (dpage >= dsc->pages)                                        
ffc071ec:	40 9d 02 2c 	ble-    cr7,ffc07418 <rtems_fdisk_recycle_segment+0x328><== NEVER TAKEN
        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",
ffc071f0:	80 bc 00 08 	lwz     r5,8(r28)                              
ffc071f4:	7e a4 ab 78 	mr      r4,r21                                 
ffc071f8:	80 dc 00 0c 	lwz     r6,12(r28)                             
ffc071fc:	7f a7 eb 78 	mr      r7,r29                                 
ffc07200:	81 1e 00 08 	lwz     r8,8(r30)                              
ffc07204:	7f ea fb 78 	mr      r10,r31                                
ffc07208:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc0720c:	7f 63 db 78 	mr      r3,r27                                 
ffc07210:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07214:	4b ff f1 61 	bl      ffc06374 <rtems_fdisk_info>            
                        ssc->device, ssc->segment, spage,             
                        dsc->device, dsc->segment, dpage);            
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
ffc07218:	82 9c 00 18 	lwz     r20,24(r28)                            
ffc0721c:	82 5e 00 18 	lwz     r18,24(r30)                            
                           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",
ffc07220:	7e c4 b3 78 	mr      r4,r22                                 
#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,                       
ffc07224:	7e 9d a2 14 	add     r20,r29,r20                            
                           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",
ffc07228:	80 bc 00 08 	lwz     r5,8(r28)                              
ffc0722c:	80 dc 00 0c 	lwz     r6,12(r28)                             
#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,                       
ffc07230:	7e 5f 92 14 	add     r18,r31,r18                            
                           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",
ffc07234:	81 1e 00 08 	lwz     r8,8(r30)                              
ffc07238:	7e 87 a3 78 	mr      r7,r20                                 
ffc0723c:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc07240:	7e 4a 93 78 	mr      r10,r18                                
ffc07244:	7f 63 db 78 	mr      r3,r27                                 
ffc07248:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc0724c:	4b ff f2 21 	bl      ffc0646c <rtems_fdisk_printf>          
                           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);
ffc07250:	81 1b 00 14 	lwz     r8,20(r27)                             
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,                                
ffc07254:	80 9c 00 08 	lwz     r4,8(r28)                              
ffc07258:	7f 63 db 78 	mr      r3,r27                                 
ffc0725c:	7c d4 41 d6 	mullw   r6,r20,r8                              
ffc07260:	80 bc 00 0c 	lwz     r5,12(r28)                             
ffc07264:	80 fb 00 68 	lwz     r7,104(r27)                            
ffc07268:	4b ff fb a9 	bl      ffc06e10 <rtems_fdisk_seg_read.isra.14>
                      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)                                                            
ffc0726c:	7c 74 1b 79 	mr.     r20,r3                                 
ffc07270:	41 82 02 18 	beq-    ffc07488 <rtems_fdisk_recycle_segment+0x398><== ALWAYS TAKEN
                                       spage + ssc->pages_desc,       
                                       dsc,                           
                                       dpage + dsc->pages_desc);      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>" \              
ffc07274:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc07278:	82 fc 00 0c 	lwz     r23,12(r28)                            <== NOT EXECUTED
ffc0727c:	83 1e 00 08 	lwz     r24,8(r30)                             <== NOT EXECUTED
ffc07280:	83 3e 00 0c 	lwz     r25,12(r30)                            <== NOT EXECUTED
ffc07284:	83 5c 00 08 	lwz     r26,8(r28)                             <== NOT EXECUTED
ffc07288:	48 02 38 d1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc0728c:	7c 6a 1b 78 	mr      r10,r3                                 <== NOT EXECUTED
ffc07290:	92 81 00 08 	stw     r20,8(r1)                              <== NOT EXECUTED
ffc07294:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07298:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc0729c:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc072a0:	7f 07 c3 78 	mr      r7,r24                                 <== NOT EXECUTED
ffc072a4:	7f 28 cb 78 	mr      r8,r25                                 <== NOT EXECUTED
ffc072a8:	7f e9 fb 78 	mr      r9,r31                                 <== NOT EXECUTED
ffc072ac:	38 63 94 ec 	addi    r3,r3,-27412                           <== NOT EXECUTED
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>"   \            
ffc072b0:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc072b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc072b8:	4b ff f4 91 	bl      ffc06748 <rtems_fdisk_error>           <== 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);                          
ffc072bc:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc072c0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc072c4:	4b ff f7 c1 	bl      ffc06a84 <rtems_fdisk_queue_segment>   <== NOT EXECUTED
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
ffc072c8:	81 5b 00 44 	lwz     r10,68(r27)                            <== 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;                                           
ffc072cc:	81 3b 00 40 	lwz     r9,64(r27)                             <== NOT EXECUTED
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
ffc072d0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== 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;                                           
ffc072d4:	91 3c 00 00 	stw     r9,0(r28)                              <== NOT EXECUTED
    queue->head = sc;                                                 
ffc072d8:	93 9b 00 40 	stw     r28,64(r27)                            <== NOT EXECUTED
                                                                      
    if (queue->tail == 0)                                             
ffc072dc:	41 9e 02 d0 	beq-    cr7,ffc075ac <rtems_fdisk_recycle_segment+0x4bc><== NOT EXECUTED
      queue->tail = sc;                                               
    queue->count++;                                                   
ffc072e0:	81 3b 00 48 	lwz     r9,72(r27)                             <== NOT EXECUTED
ffc072e4:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc072e8:	91 3b 00 48 	stw     r9,72(r27)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
                                                                      
  return ret;                                                         
}                                                                     
ffc072ec:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc072f0:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc072f4:	82 41 00 10 	lwz     r18,16(r1)                             <== NOT EXECUTED
ffc072f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc072fc:	82 61 00 14 	lwz     r19,20(r1)                             <== NOT EXECUTED
ffc07300:	82 81 00 18 	lwz     r20,24(r1)                             <== NOT EXECUTED
ffc07304:	82 a1 00 1c 	lwz     r21,28(r1)                             <== NOT EXECUTED
ffc07308:	82 c1 00 20 	lwz     r22,32(r1)                             <== NOT EXECUTED
ffc0730c:	82 e1 00 24 	lwz     r23,36(r1)                             <== NOT EXECUTED
ffc07310:	83 01 00 28 	lwz     r24,40(r1)                             <== NOT EXECUTED
ffc07314:	83 21 00 2c 	lwz     r25,44(r1)                             <== NOT EXECUTED
ffc07318:	83 41 00 30 	lwz     r26,48(r1)                             <== NOT EXECUTED
ffc0731c:	83 61 00 34 	lwz     r27,52(r1)                             <== NOT EXECUTED
ffc07320:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc07324:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc07328:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc0732c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc07330:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc07334:	4e 80 00 20 	blr                                            <== 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;                  
ffc07338:	7d 25 50 2e 	lwzx    r9,r5,r10                              
ffc0733c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc07340:	41 9e 00 98 	beq-    cr7,ffc073d8 <rtems_fdisk_recycle_segment+0x2e8><== NEVER TAKEN
    {                                                                 
      --fd->erased_blocks;                                            
    }                                                                 
    else                                                              
    {                                                                 
      used++;                                                         
ffc07344:	3b 39 00 01 	addi    r25,r25,1                              
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
ffc07348:	3b bd 00 01 	addi    r29,r29,1                              
ffc0734c:	7f 88 e8 40 	cmplw   cr7,r8,r29                             
ffc07350:	41 9d fe 1c 	bgt+    cr7,ffc0716c <rtems_fdisk_recycle_segment+0x7c>
      used++;                                                         
    }                                                                 
  }                                                                   
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "ssc end: %d-%d: p=%ld, a=%ld, u=%ld",      
ffc07354:	80 bc 00 08 	lwz     r5,8(r28)                              
ffc07358:	3c 80 ff c4 	lis     r4,-60                                 
ffc0735c:	80 dc 00 0c 	lwz     r6,12(r28)                             
ffc07360:	38 84 95 74 	addi    r4,r4,-27276                           
ffc07364:	7f 63 db 78 	mr      r3,r27                                 
ffc07368:	7f 07 c3 78 	mr      r7,r24                                 
ffc0736c:	7e e8 bb 78 	mr      r8,r23                                 
ffc07370:	7f 29 cb 78 	mr      r9,r25                                 
ffc07374:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc07378:	4b ff f0 f5 	bl      ffc0646c <rtems_fdisk_printf>          
                      ssc->device, ssc->segment,                      
                      pages, active, used);                           
#endif                                                                
  if (ssc->pages_active != 0)                                         
ffc0737c:	80 9c 00 1c 	lwz     r4,28(r28)                             
ffc07380:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc07384:	40 9e 01 d8 	bne-    cr7,ffc0755c <rtems_fdisk_recycle_segment+0x46c><== NEVER TAKEN
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
                                                                      
  return ret;                                                         
}                                                                     
ffc07388:	80 01 00 4c 	lwz     r0,76(r1)                              
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
                       ssc->pages_active);                            
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
ffc0738c:	7f 63 db 78 	mr      r3,r27                                 
                                                                      
  return ret;                                                         
}                                                                     
ffc07390:	82 41 00 10 	lwz     r18,16(r1)                             
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
                       ssc->pages_active);                            
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
ffc07394:	7f 84 e3 78 	mr      r4,r28                                 
                                                                      
  return ret;                                                         
}                                                                     
ffc07398:	7c 08 03 a6 	mtlr    r0                                     
ffc0739c:	82 61 00 14 	lwz     r19,20(r1)                             
ffc073a0:	82 81 00 18 	lwz     r20,24(r1)                             
ffc073a4:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc073a8:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc073ac:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc073b0:	83 01 00 28 	lwz     r24,40(r1)                             
ffc073b4:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc073b8:	83 41 00 30 	lwz     r26,48(r1)                             
ffc073bc:	83 61 00 34 	lwz     r27,52(r1)                             
ffc073c0:	83 81 00 38 	lwz     r28,56(r1)                             
ffc073c4:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc073c8:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc073cc:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc073d0:	38 21 00 48 	addi    r1,r1,72                               
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
                       ssc->pages_active);                            
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
ffc073d4:	4b ff f4 5c 	b       ffc06830 <rtems_fdisk_erase_segment>   
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;                  
ffc073d8:	81 3a 00 04 	lwz     r9,4(r26)                              <== NOT EXECUTED
ffc073dc:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              <== NOT EXECUTED
ffc073e0:	40 9e ff 64 	bne+    cr7,ffc07344 <rtems_fdisk_recycle_segment+0x254><== NOT EXECUTED
                                                                      
      (*pages)--;                                                     
    }                                                                 
    else if (rtems_fdisk_page_desc_erased (spd))                      
    {                                                                 
      --fd->erased_blocks;                                            
ffc073e4:	81 3b 00 28 	lwz     r9,40(r27)                             <== NOT EXECUTED
ffc073e8:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc073ec:	91 3b 00 28 	stw     r9,40(r27)                             <== NOT EXECUTED
ffc073f0:	4b ff ff 58 	b       ffc07348 <rtems_fdisk_recycle_segment+0x258><== NOT EXECUTED
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
ffc073f4:	81 3c 00 1c 	lwz     r9,28(r28)                             
ffc073f8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc073fc:	41 9e fd 84 	beq+    cr7,ffc07180 <rtems_fdisk_recycle_segment+0x90><== ALWAYS TAKEN
    {                                                                 
      rtems_fdisk_error ("recycle: no available dst segment");        
ffc07400:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07404:	38 63 94 40 	addi    r3,r3,-27584                           <== NOT EXECUTED
ffc07408:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc0740c:	4b ff f3 3d 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
      return EIO;                                                     
ffc07410:	3a 80 00 05 	li      r20,5                                  <== NOT EXECUTED
ffc07414:	4b ff fe d8 	b       ffc072ec <rtems_fdisk_recycle_segment+0x1fc><== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
ffc07418:	81 5e 00 1c 	lwz     r10,28(r30)                            <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
ffc0741c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
ffc07420:	80 de 00 20 	lwz     r6,32(r30)                             <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
ffc07424:	38 63 94 64 	addi    r3,r3,-27548                           <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
ffc07428:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc0742c:	7c c6 52 14 	add     r6,r6,r10                              <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
ffc07430:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
ffc07434:	7c c6 4a 14 	add     r6,r6,r9                               <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
ffc07438:	80 be 00 0c 	lwz     r5,12(r30)                             <== NOT EXECUTED
ffc0743c:	7c c6 40 50 	subf    r6,r6,r8                               <== NOT EXECUTED
ffc07440:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07444:	4b ff f3 05 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
                           "no page desc available: %d",              
                           dsc->device, dsc->segment,                 
                           rtems_fdisk_seg_pages_available (dsc));    
        dsc->failed = true;                                           
ffc07448:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc0744c:	91 3e 00 28 	stw     r9,40(r30)                             <== NOT EXECUTED
        rtems_fdisk_queue_segment (fd, dsc);                          
ffc07450:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc07454:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc07458:	4b ff f6 2d 	bl      ffc06a84 <rtems_fdisk_queue_segment>   <== NOT EXECUTED
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
ffc0745c:	81 5b 00 44 	lwz     r10,68(r27)                            <== 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;                                           
ffc07460:	81 3b 00 40 	lwz     r9,64(r27)                             <== NOT EXECUTED
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
ffc07464:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== 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;                                           
ffc07468:	91 3c 00 00 	stw     r9,0(r28)                              <== NOT EXECUTED
    queue->head = sc;                                                 
ffc0746c:	93 9b 00 40 	stw     r28,64(r27)                            <== NOT EXECUTED
                                                                      
    if (queue->tail == 0)                                             
ffc07470:	41 9e 01 50 	beq-    cr7,ffc075c0 <rtems_fdisk_recycle_segment+0x4d0><== NOT EXECUTED
      queue->tail = sc;                                               
    queue->count++;                                                   
ffc07474:	81 3b 00 48 	lwz     r9,72(r27)                             <== 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;                                                   
ffc07478:	3a 80 00 05 	li      r20,5                                  <== NOT EXECUTED
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
      queue->tail = sc;                                               
    queue->count++;                                                   
ffc0747c:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc07480:	91 3b 00 48 	stw     r9,72(r27)                             <== NOT EXECUTED
ffc07484:	4b ff fe 68 	b       ffc072ec <rtems_fdisk_recycle_segment+0x1fc><== 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,            
ffc07488:	80 db 00 68 	lwz     r6,104(r27)                            
ffc0748c:	7f 63 db 78 	mr      r3,r27                                 
ffc07490:	7f c4 f3 78 	mr      r4,r30                                 
ffc07494:	7e 45 93 78 	mr      r5,r18                                 
ffc07498:	4b ff fa fd 	bl      ffc06f94 <rtems_fdisk_seg_write_page>  
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
                                       spage + ssc->pages_desc,       
                                       dsc,                           
                                       dpage + dsc->pages_desc);      
      if (ret)                                                        
ffc0749c:	7c 74 1b 79 	mr.     r20,r3                                 
ffc074a0:	40 a2 fd d4 	bne-    ffc07274 <rtems_fdisk_recycle_segment+0x184><== NEVER TAKEN
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
ffc074a4:	81 3a 00 00 	lwz     r9,0(r26)                              
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
ffc074a8:	7f 63 db 78 	mr      r3,r27                                 
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
ffc074ac:	81 5a 00 04 	lwz     r10,4(r26)                             
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
ffc074b0:	7f c4 f3 78 	mr      r4,r30                                 
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
ffc074b4:	91 33 00 00 	stw     r9,0(r19)                              
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
ffc074b8:	7f e5 fb 78 	mr      r5,r31                                 
ffc074bc:	7e 66 9b 78 	mr      r6,r19                                 
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
ffc074c0:	91 53 00 04 	stw     r10,4(r19)                             
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
ffc074c4:	4b ff fb 85 	bl      ffc07048 <rtems_fdisk_seg_write_page_desc>
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
ffc074c8:	7c 74 1b 79 	mr.     r20,r3                                 
ffc074cc:	40 82 00 a4 	bne-    ffc07570 <rtems_fdisk_recycle_segment+0x480><== NEVER TAKEN
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
ffc074d0:	81 3e 00 1c 	lwz     r9,28(r30)                             
      fd->blocks[spd->block].page    = dpage;                         
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, dsc);                            
ffc074d4:	7f 63 db 78 	mr      r3,r27                                 
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
ffc074d8:	81 5a 00 04 	lwz     r10,4(r26)                             
      fd->blocks[spd->block].page    = dpage;                         
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, dsc);                            
ffc074dc:	7f c4 f3 78 	mr      r4,r30                                 
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
ffc074e0:	39 29 00 01 	addi    r9,r9,1                                
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
ffc074e4:	81 1c 00 20 	lwz     r8,32(r28)                             
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
ffc074e8:	91 3e 00 1c 	stw     r9,28(r30)                             
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
ffc074ec:	55 4a 18 38 	rlwinm  r10,r10,3,0,28                         
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
ffc074f0:	39 08 00 01 	addi    r8,r8,1                                
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
ffc074f4:	81 3b 00 18 	lwz     r9,24(r27)                             
       * 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--;                                            
ffc074f8:	80 fc 00 1c 	lwz     r7,28(r28)                             
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
ffc074fc:	7c c9 52 14 	add     r6,r9,r10                              
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
ffc07500:	91 1c 00 20 	stw     r8,32(r28)                             
       * 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--;                                            
ffc07504:	38 e7 ff ff 	addi    r7,r7,-1                               
ffc07508:	90 fc 00 1c 	stw     r7,28(r28)                             
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
ffc0750c:	7f c9 51 2e 	stwx    r30,r9,r10                             
      fd->blocks[spd->block].page    = dpage;                         
ffc07510:	93 e6 00 04 	stw     r31,4(r6)                              
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, dsc);                            
ffc07514:	4b ff f5 71 	bl      ffc06a84 <rtems_fdisk_queue_segment>   
 * 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);
ffc07518:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc0751c:	81 1e 00 20 	lwz     r8,32(r30)                             
ffc07520:	81 5e 00 24 	lwz     r10,36(r30)                            
ffc07524:	7d 08 4a 14 	add     r8,r8,r9                               
                                                                      
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
ffc07528:	81 3e 00 14 	lwz     r9,20(r30)                             
 * 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);
ffc0752c:	7d 48 52 14 	add     r10,r8,r10                             
                                                                      
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
ffc07530:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc07534:	41 9e 00 18 	beq-    cr7,ffc0754c <rtems_fdisk_recycle_segment+0x45c>
        dsc = rtems_fdisk_seg_most_available (&fd->available);        
                                                                      
      (*pages)--;                                                     
ffc07538:	81 38 00 00 	lwz     r9,0(r24)                              
ffc0753c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc07540:	91 38 00 00 	stw     r9,0(r24)                              
ffc07544:	81 1c 00 14 	lwz     r8,20(r28)                             
      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))
    {                                                                 
ffc07548:	4b ff fe 00 	b       ffc07348 <rtems_fdisk_recycle_segment+0x258>
      /*                                                              
       * 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);        
ffc0754c:	80 7b 00 34 	lwz     r3,52(r27)                             
ffc07550:	4b ff f8 59 	bl      ffc06da8 <rtems_fdisk_seg_most_available.isra.12>
ffc07554:	7c 7e 1b 78 	mr      r30,r3                                 
ffc07558:	4b ff ff e0 	b       ffc07538 <rtems_fdisk_recycle_segment+0x448>
                      ssc->device, ssc->segment,                      
                      pages, active, used);                           
#endif                                                                
  if (ssc->pages_active != 0)                                         
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
ffc0755c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07560:	38 63 95 98 	addi    r3,r3,-27240                           <== NOT EXECUTED
ffc07564:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc07568:	4b ff f1 e1 	bl      ffc06748 <rtems_fdisk_error>           <== NOT EXECUTED
ffc0756c:	4b ff fe 1c 	b       ffc07388 <rtems_fdisk_recycle_segment+0x298><== NOT EXECUTED
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>"   \            
ffc07570:	82 fc 00 0c 	lwz     r23,12(r28)                            <== NOT EXECUTED
ffc07574:	83 1e 00 08 	lwz     r24,8(r30)                             <== NOT EXECUTED
ffc07578:	83 3e 00 0c 	lwz     r25,12(r30)                            <== NOT EXECUTED
ffc0757c:	83 5c 00 08 	lwz     r26,8(r28)                             <== NOT EXECUTED
ffc07580:	48 02 35 d9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc07584:	7c 6a 1b 78 	mr      r10,r3                                 <== NOT EXECUTED
ffc07588:	92 81 00 08 	stw     r20,8(r1)                              <== NOT EXECUTED
ffc0758c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc07590:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc07594:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc07598:	7f 07 c3 78 	mr      r7,r24                                 <== NOT EXECUTED
ffc0759c:	7f 28 cb 78 	mr      r8,r25                                 <== NOT EXECUTED
ffc075a0:	7f e9 fb 78 	mr      r9,r31                                 <== NOT EXECUTED
ffc075a4:	38 63 95 30 	addi    r3,r3,-27344                           <== NOT EXECUTED
ffc075a8:	4b ff fd 08 	b       ffc072b0 <rtems_fdisk_recycle_segment+0x1c0><== NOT EXECUTED
  {                                                                   
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
      queue->tail = sc;                                               
ffc075ac:	93 9b 00 44 	stw     r28,68(r27)                            <== NOT EXECUTED
ffc075b0:	4b ff fd 30 	b       ffc072e0 <rtems_fdisk_recycle_segment+0x1f0><== NOT EXECUTED
                                    uint32_t *pages)                  
{                                                                     
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
ffc075b4:	3a e0 00 00 	li      r23,0                                  <== NOT EXECUTED
                                    rtems_fdisk_segment_ctl* dsc,     
                                    uint32_t *pages)                  
{                                                                     
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
ffc075b8:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc075bc:	4b ff fd 98 	b       ffc07354 <rtems_fdisk_recycle_segment+0x264><== NOT EXECUTED
  {                                                                   
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
      queue->tail = sc;                                               
ffc075c0:	93 9b 00 44 	stw     r28,68(r27)                            <== NOT EXECUTED
ffc075c4:	4b ff fe b0 	b       ffc07474 <rtems_fdisk_recycle_segment+0x384><== NOT EXECUTED
                                                                      

ffc06564 <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) {
ffc06564:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06568:	7c 08 02 a6 	mflr    r0                                     
ffc0656c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc06570:	93 c1 00 20 	stw     r30,32(r1)                             
  int ret;                                                            
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
ffc06574:	83 c4 00 08 	lwz     r30,8(r4)                              
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;            
ffc06578:	81 23 00 2c 	lwz     r9,44(r3)                              
ffc0657c:	1d 5e 00 0c 	mulli   r10,r30,12                             
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc06580:	93 e1 00 24 	stw     r31,36(r1)                             
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
ffc06584:	83 e4 00 0c 	lwz     r31,12(r4)                             
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc06588:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0658c:	7c 9d 23 78 	mr      r29,r4                                 
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;            
ffc06590:	1d 1f 00 30 	mulli   r8,r31,48                              
ffc06594:	7c 89 50 2e 	lwzx    r4,r9,r10                              
ffc06598:	7d 29 52 14 	add     r9,r9,r10                              
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc0659c:	93 41 00 10 	stw     r26,16(r1)                             
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;            
ffc065a0:	7d 44 42 14 	add     r10,r4,r8                              
  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;                    
ffc065a4:	81 29 00 08 	lwz     r9,8(r9)                               
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-write: %02d-%03d: o=%08x s=%d",      
ffc065a8:	3c 80 ff c4 	lis     r4,-60                                 
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc065ac:	93 61 00 14 	stw     r27,20(r1)                             
ffc065b0:	7c bb 2b 78 	mr      r27,r5                                 
  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",      
ffc065b4:	38 84 93 34 	addi    r4,r4,-27852                           
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc065b8:	93 81 00 18 	stw     r28,24(r1)                             
ffc065bc:	7c fc 3b 78 	mr      r28,r7                                 
  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",      
ffc065c0:	7f c5 f3 78 	mr      r5,r30                                 
  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;                    
ffc065c4:	83 49 00 08 	lwz     r26,8(r9)                              
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-write: %02d-%03d: o=%08x s=%d",      
ffc065c8:	7f 67 db 78 	mr      r7,r27                                 
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc065cc:	93 21 00 0c 	stw     r25,12(r1)                             
  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",      
ffc065d0:	7f 88 e3 78 	mr      r8,r28                                 
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc065d4:	7c d9 33 78 	mr      r25,r6                                 
  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",      
ffc065d8:	7f e6 fb 78 	mr      r6,r31                                 
rtems_fdisk_seg_write (const rtems_flashdisk*   fd,                   
                       rtems_fdisk_segment_ctl* sc,                   
                       uint32_t                 offset,               
                       const void*              buffer,               
                       uint32_t                 size)                 
{                                                                     
ffc065dc:	93 01 00 08 	stw     r24,8(r1)                              
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;            
ffc065e0:	83 0a 00 04 	lwz     r24,4(r10)                             
  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",      
ffc065e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc065e8:	4b ff fe 85 	bl      ffc0646c <rtems_fdisk_printf>          
                      device, segment, offset, size);                 
#endif                                                                
  ret = ops->write (sd, device, segment, offset, buffer, size);       
ffc065ec:	81 3a 00 04 	lwz     r9,4(r26)                              
ffc065f0:	7f c4 f3 78 	mr      r4,r30                                 
ffc065f4:	7f 03 c3 78 	mr      r3,r24                                 
ffc065f8:	7f e5 fb 78 	mr      r5,r31                                 
ffc065fc:	7d 29 03 a6 	mtctr   r9                                     
ffc06600:	7f 66 db 78 	mr      r6,r27                                 
ffc06604:	7f 27 cb 78 	mr      r7,r25                                 
ffc06608:	7f 88 e3 78 	mr      r8,r28                                 
ffc0660c:	4e 80 04 21 	bctrl                                          
  if (ret)                                                            
ffc06610:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06614:	41 82 00 0c 	beq-    ffc06620 <rtems_fdisk_seg_write+0xbc>  <== ALWAYS TAKEN
    sc->failed = true;                                                
ffc06618:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc0661c:	91 3d 00 28 	stw     r9,40(r29)                             <== NOT EXECUTED
                                                                      
  return ret;                                                         
}                                                                     
ffc06620:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06624:	83 01 00 08 	lwz     r24,8(r1)                              
ffc06628:	7c 08 03 a6 	mtlr    r0                                     
ffc0662c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc06630:	83 41 00 10 	lwz     r26,16(r1)                             
ffc06634:	83 61 00 14 	lwz     r27,20(r1)                             
ffc06638:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0663c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06640:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06644:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06648:	38 21 00 28 	addi    r1,r1,40                               
ffc0664c:	4e 80 00 20 	blr                                            
                                                                      

ffc06f94 <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) {
ffc06f94:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06f98:	7c 08 02 a6 	mflr    r0                                     
ffc06f9c:	90 01 00 1c 	stw     r0,28(r1)                              
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc06fa0:	81 23 00 08 	lwz     r9,8(r3)                               
static int                                                            
rtems_fdisk_seg_write_page (rtems_flashdisk*         fd,              
                            rtems_fdisk_segment_ctl* sc,              
                            uint32_t                 page,            
                            const void*              buffer)          
{                                                                     
ffc06fa4:	93 81 00 08 	stw     r28,8(r1)                              
ffc06fa8:	7c dc 33 78 	mr      r28,r6                                 
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc06fac:	71 2a 00 08 	andi.   r10,r9,8                               
static int                                                            
rtems_fdisk_seg_write_page (rtems_flashdisk*         fd,              
                            rtems_fdisk_segment_ctl* sc,              
                            uint32_t                 page,            
                            const void*              buffer)          
{                                                                     
ffc06fb0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc06fb4:	7c bd 2b 78 	mr      r29,r5                                 
ffc06fb8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc06fbc:	7c 9e 23 78 	mr      r30,r4                                 
ffc06fc0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc06fc4:	7c 7f 1b 78 	mr      r31,r3                                 
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc06fc8:	41 82 00 20 	beq-    ffc06fe8 <rtems_fdisk_seg_write_page+0x54><== NEVER TAKEN
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);
ffc06fcc:	80 e3 00 14 	lwz     r7,20(r3)                              
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,                         
ffc06fd0:	80 84 00 08 	lwz     r4,8(r4)                               
ffc06fd4:	7c c5 39 d6 	mullw   r6,r5,r7                               
ffc06fd8:	80 be 00 0c 	lwz     r5,12(r30)                             
ffc06fdc:	4b ff fe fd 	bl      ffc06ed8 <rtems_fdisk_seg_blank_check.isra.15>
                            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)                                                          
ffc06fe0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06fe4:	40 9e 00 44 	bne-    cr7,ffc07028 <rtems_fdisk_seg_write_page+0x94><== NEVER TAKEN
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
  return rtems_fdisk_seg_write (fd, sc,                               
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
ffc06fe8:	80 01 00 1c 	lwz     r0,28(r1)                              
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
  return rtems_fdisk_seg_write (fd, sc,                               
ffc06fec:	7f e3 fb 78 	mr      r3,r31                                 
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
ffc06ff0:	81 3f 00 28 	lwz     r9,40(r31)                             
  return rtems_fdisk_seg_write (fd, sc,                               
ffc06ff4:	7f c4 f3 78 	mr      r4,r30                                 
                                page * fd->block_size, buffer, fd->block_size);
ffc06ff8:	80 ff 00 14 	lwz     r7,20(r31)                             
}                                                                     
ffc06ffc:	7c 08 03 a6 	mtlr    r0                                     
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
ffc07000:	39 29 ff ff 	addi    r9,r9,-1                               
  return rtems_fdisk_seg_write (fd, sc,                               
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
ffc07004:	83 c1 00 10 	lwz     r30,16(r1)                             
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
  return rtems_fdisk_seg_write (fd, sc,                               
ffc07008:	7c bd 39 d6 	mullw   r5,r29,r7                              
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
ffc0700c:	91 3f 00 28 	stw     r9,40(r31)                             
  return rtems_fdisk_seg_write (fd, sc,                               
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
ffc07010:	83 a1 00 0c 	lwz     r29,12(r1)                             
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
  return rtems_fdisk_seg_write (fd, sc,                               
ffc07014:	7f 86 e3 78 	mr      r6,r28                                 
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
ffc07018:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0701c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc07020:	38 21 00 18 	addi    r1,r1,24                               
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
  return rtems_fdisk_seg_write (fd, sc,                               
ffc07024:	4b ff f5 40 	b       ffc06564 <rtems_fdisk_seg_write>       
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
ffc07028:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc0702c:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc07030:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc07034:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc07038:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc0703c:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc07040:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc07044:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc07048 <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) {
ffc07048:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0704c:	7c 08 02 a6 	mflr    r0                                     
ffc07050:	90 01 00 1c 	stw     r0,28(r1)                              
  uint32_t offset = page * sizeof (rtems_fdisk_page_desc);            
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc07054:	81 23 00 08 	lwz     r9,8(r3)                               
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)
{                                                                     
ffc07058:	93 81 00 08 	stw     r28,8(r1)                              
ffc0705c:	7c dc 33 78 	mr      r28,r6                                 
  uint32_t offset = page * sizeof (rtems_fdisk_page_desc);            
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc07060:	71 2a 00 08 	andi.   r10,r9,8                               
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)
{                                                                     
ffc07064:	93 a1 00 0c 	stw     r29,12(r1)                             
  uint32_t offset = page * sizeof (rtems_fdisk_page_desc);            
ffc07068:	54 bd 18 38 	rlwinm  r29,r5,3,0,28                          
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)
{                                                                     
ffc0706c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc07070:	7c 7e 1b 78 	mr      r30,r3                                 
ffc07074:	93 e1 00 14 	stw     r31,20(r1)                             
ffc07078:	7c 9f 23 78 	mr      r31,r4                                 
  uint32_t offset = page * sizeof (rtems_fdisk_page_desc);            
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
ffc0707c:	41 82 00 20 	beq-    ffc0709c <rtems_fdisk_seg_write_page_desc+0x54><== NEVER TAKEN
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check (fd, sc,                    
ffc07080:	80 84 00 08 	lwz     r4,8(r4)                               
ffc07084:	7f a6 eb 78 	mr      r6,r29                                 
ffc07088:	80 bf 00 0c 	lwz     r5,12(r31)                             
ffc0708c:	38 e0 00 08 	li      r7,8                                   
ffc07090:	4b ff fe 49 	bl      ffc06ed8 <rtems_fdisk_seg_blank_check.isra.15>
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
ffc07094:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07098:	40 9e 00 38 	bne-    cr7,ffc070d0 <rtems_fdisk_seg_write_page_desc+0x88><== NEVER TAKEN
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc0709c:	80 01 00 1c 	lwz     r0,28(r1)                              
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc070a0:	7f c3 f3 78 	mr      r3,r30                                 
ffc070a4:	7f e4 fb 78 	mr      r4,r31                                 
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc070a8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc070ac:	7c 08 03 a6 	mtlr    r0                                     
ffc070b0:	83 e1 00 14 	lwz     r31,20(r1)                             
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc070b4:	7f a5 eb 78 	mr      r5,r29                                 
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc070b8:	83 a1 00 0c 	lwz     r29,12(r1)                             
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc070bc:	7f 86 e3 78 	mr      r6,r28                                 
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc070c0:	83 81 00 08 	lwz     r28,8(r1)                              
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc070c4:	38 e0 00 08 	li      r7,8                                   
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc070c8:	38 21 00 18 	addi    r1,r1,24                               
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
ffc070cc:	4b ff f4 98 	b       ffc06564 <rtems_fdisk_seg_write>       
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
ffc070d0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc070d4:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc070d8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc070dc:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc070e0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc070e4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc070e8:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc070ec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc069ec <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)
ffc069ec:	2c 04 00 00 	cmpwi   r4,0                                   
ffc069f0:	41 82 00 34 	beq-    ffc06a24 <rtems_fdisk_segment_queue_insert_before+0x38><== NEVER TAKEN
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
    rtems_fdisk_segment_ctl*  it = queue->head;                       
ffc069f4:	81 43 00 00 	lwz     r10,0(r3)                              
                                                                      
    while (it)                                                        
ffc069f8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc069fc:	41 9e 00 28 	beq-    cr7,ffc06a24 <rtems_fdisk_segment_queue_insert_before+0x38><== NEVER TAKEN
    {                                                                 
      if (item == it)                                                 
ffc06a00:	7f 84 50 00 	cmpw    cr7,r4,r10                             
ffc06a04:	40 be 00 10 	bne+    cr7,ffc06a14 <rtems_fdisk_segment_queue_insert_before+0x28>
ffc06a08:	48 00 00 54 	b       ffc06a5c <rtems_fdisk_segment_queue_insert_before+0x70>
ffc06a0c:	41 9a 00 54 	beq-    cr6,ffc06a60 <rtems_fdisk_segment_queue_insert_before+0x74><== ALWAYS TAKEN
ffc06a10:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
        queue->count++;                                               
        return;                                                       
      }                                                               
                                                                      
      prev = &it->next;                                               
      it = it->next;                                                  
ffc06a14:	81 2a 00 00 	lwz     r9,0(r10)                              
  if (item)                                                           
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
    rtems_fdisk_segment_ctl*  it = queue->head;                       
                                                                      
    while (it)                                                        
ffc06a18:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    {                                                                 
      if (item == it)                                                 
ffc06a1c:	7f 04 48 00 	cmpw    cr6,r4,r9                              
  if (item)                                                           
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
    rtems_fdisk_segment_ctl*  it = queue->head;                       
                                                                      
    while (it)                                                        
ffc06a20:	40 9e ff ec 	bne+    cr7,ffc06a0c <rtems_fdisk_segment_queue_insert_before+0x20><== ALWAYS TAKEN
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
ffc06a24:	2f 85 00 00 	cmpwi   cr7,r5,0                               <== NOT EXECUTED
ffc06a28:	4d 9e 00 20 	beqlr   cr7                                    <== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
ffc06a2c:	81 23 00 00 	lwz     r9,0(r3)                               <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
ffc06a30:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc06a34:	91 45 00 00 	stw     r10,0(r5)                              <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
ffc06a38:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc06a3c:	41 9e 00 3c 	beq-    cr7,ffc06a78 <rtems_fdisk_segment_queue_insert_before+0x8c><== NOT EXECUTED
    {                                                                 
      queue->tail->next = sc;                                         
ffc06a40:	81 23 00 04 	lwz     r9,4(r3)                               <== NOT EXECUTED
ffc06a44:	90 a9 00 00 	stw     r5,0(r9)                               <== NOT EXECUTED
      queue->tail       = sc;                                         
ffc06a48:	90 a3 00 04 	stw     r5,4(r3)                               <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
ffc06a4c:	81 23 00 08 	lwz     r9,8(r3)                               <== NOT EXECUTED
ffc06a50:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc06a54:	91 23 00 08 	stw     r9,8(r3)                               <== NOT EXECUTED
ffc06a58:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                         rtems_fdisk_segment_ctl*       item,
                                         rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (item)                                                           
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
ffc06a5c:	7c 6a 1b 78 	mr      r10,r3                                 
    {                                                                 
      if (item == it)                                                 
      {                                                               
        sc->next = item;                                              
        *prev = sc;                                                   
        queue->count++;                                               
ffc06a60:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
    while (it)                                                        
    {                                                                 
      if (item == it)                                                 
      {                                                               
        sc->next = item;                                              
ffc06a64:	90 85 00 00 	stw     r4,0(r5)                               
        *prev = sc;                                                   
        queue->count++;                                               
ffc06a68:	39 29 00 01 	addi    r9,r9,1                                
    while (it)                                                        
    {                                                                 
      if (item == it)                                                 
      {                                                               
        sc->next = item;                                              
        *prev = sc;                                                   
ffc06a6c:	90 aa 00 00 	stw     r5,0(r10)                              
        queue->count++;                                               
ffc06a70:	91 23 00 08 	stw     r9,8(r3)                               
        return;                                                       
ffc06a74:	4e 80 00 20 	blr                                            
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
ffc06a78:	90 a3 00 04 	stw     r5,4(r3)                               <== NOT EXECUTED
ffc06a7c:	90 a3 00 00 	stw     r5,0(r3)                               <== NOT EXECUTED
ffc06a80:	4b ff ff cc 	b       ffc06a4c <rtems_fdisk_segment_queue_insert_before+0x60><== NOT EXECUTED
                                                                      

ffc061ec <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;
ffc061ec:	81 43 00 00 	lwz     r10,0(r3)                              
                                                                      
  /*                                                                  
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
ffc061f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc061f4:	4d 9e 00 20 	beqlr   cr7                                    
  {                                                                   
    if (sc == it)                                                     
ffc061f8:	7f 8a 20 00 	cmpw    cr7,r10,r4                             
ffc061fc:	40 be 00 10 	bne+    cr7,ffc0620c <rtems_fdisk_segment_queue_remove+0x20>
ffc06200:	48 00 00 54 	b       ffc06254 <rtems_fdisk_segment_queue_remove+0x68>
ffc06204:	41 9a 00 1c 	beq-    cr6,ffc06220 <rtems_fdisk_segment_queue_remove+0x34>
ffc06208:	7d 2a 4b 78 	mr      r10,r9                                 
      queue->count--;                                                 
      break;                                                          
    }                                                                 
                                                                      
    prev = it;                                                        
    it = it->next;                                                    
ffc0620c:	81 2a 00 00 	lwz     r9,0(r10)                              
                                                                      
  /*                                                                  
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
ffc06210:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  {                                                                   
    if (sc == it)                                                     
ffc06214:	7f 04 48 00 	cmpw    cr6,r4,r9                              
                                                                      
  /*                                                                  
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
ffc06218:	40 9e ff ec 	bne+    cr7,ffc06204 <rtems_fdisk_segment_queue_remove+0x18>
ffc0621c:	4e 80 00 20 	blr                                            
          queue->tail = 0;                                            
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
ffc06220:	81 03 00 04 	lwz     r8,4(r3)                               
        if (queue->head == 0)                                         
          queue->tail = 0;                                            
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
ffc06224:	81 24 00 00 	lwz     r9,0(r4)                               
        if (queue->tail == sc)                                        
ffc06228:	7f 88 20 00 	cmpw    cr7,r8,r4                              
        if (queue->head == 0)                                         
          queue->tail = 0;                                            
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
ffc0622c:	91 2a 00 00 	stw     r9,0(r10)                              
        if (queue->tail == sc)                                        
ffc06230:	41 9e 00 1c 	beq-    cr7,ffc0624c <rtems_fdisk_segment_queue_remove+0x60><== ALWAYS TAKEN
          queue->tail = prev;                                         
      }                                                               
      sc->next = 0;                                                   
      queue->count--;                                                 
ffc06234:	81 23 00 08 	lwz     r9,8(r3)                               
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
          queue->tail = prev;                                         
      }                                                               
      sc->next = 0;                                                   
ffc06238:	39 40 00 00 	li      r10,0                                  
ffc0623c:	91 44 00 00 	stw     r10,0(r4)                              
      queue->count--;                                                 
ffc06240:	39 29 ff ff 	addi    r9,r9,-1                               
ffc06244:	91 23 00 08 	stw     r9,8(r3)                               
      break;                                                          
ffc06248:	4e 80 00 20 	blr                                            
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
          queue->tail = prev;                                         
ffc0624c:	91 43 00 04 	stw     r10,4(r3)                              
ffc06250:	4b ff ff e4 	b       ffc06234 <rtems_fdisk_segment_queue_remove+0x48>
  {                                                                   
    if (sc == it)                                                     
    {                                                                 
      if (prev == 0)                                                  
      {                                                               
        queue->head = sc->next;                                       
ffc06254:	81 24 00 00 	lwz     r9,0(r4)                               
        if (queue->head == 0)                                         
ffc06258:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  {                                                                   
    if (sc == it)                                                     
    {                                                                 
      if (prev == 0)                                                  
      {                                                               
        queue->head = sc->next;                                       
ffc0625c:	91 23 00 00 	stw     r9,0(r3)                               
        if (queue->head == 0)                                         
ffc06260:	40 9e ff d4 	bne+    cr7,ffc06234 <rtems_fdisk_segment_queue_remove+0x48>
          queue->tail = 0;                                            
ffc06264:	91 23 00 04 	stw     r9,4(r3)                               
ffc06268:	4b ff ff cc 	b       ffc06234 <rtems_fdisk_segment_queue_remove+0x48>
                                                                      

ffc06650 <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, ...) {
ffc06650:	94 21 ff 80 	stwu    r1,-128(r1)                            <== NOT EXECUTED
ffc06654:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc06658:	93 a1 00 74 	stw     r29,116(r1)                            <== NOT EXECUTED
ffc0665c:	90 01 00 84 	stw     r0,132(r1)                             <== NOT EXECUTED
ffc06660:	93 c1 00 78 	stw     r30,120(r1)                            <== NOT EXECUTED
ffc06664:	93 e1 00 7c 	stw     r31,124(r1)                            <== NOT EXECUTED
ffc06668:	90 a1 00 18 	stw     r5,24(r1)                              <== NOT EXECUTED
ffc0666c:	90 c1 00 1c 	stw     r6,28(r1)                              <== NOT EXECUTED
ffc06670:	90 e1 00 20 	stw     r7,32(r1)                              <== NOT EXECUTED
ffc06674:	91 01 00 24 	stw     r8,36(r1)                              <== NOT EXECUTED
ffc06678:	91 21 00 28 	stw     r9,40(r1)                              <== NOT EXECUTED
ffc0667c:	91 41 00 2c 	stw     r10,44(r1)                             <== NOT EXECUTED
ffc06680:	40 86 00 24 	bne-    cr1,ffc066a4 <rtems_fdisk_warning+0x54><== NOT EXECUTED
ffc06684:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc06688:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc0668c:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc06690:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc06694:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc06698:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc0669c:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc066a0:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
ffc066a4:	81 23 00 6c 	lwz     r9,108(r3)                             <== NOT EXECUTED
 * @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, ...)
{                                                                     
ffc066a8:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
  int ret = 0;                                                        
ffc066ac:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
  if (fd->info_level >= 1)                                            
ffc066b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc066b4:	41 be 00 74 	beq+    cr7,ffc06728 <rtems_fdisk_warning+0xd8><== NOT EXECUTED
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:warning:");                               
ffc066b8:	3f c0 00 00 	lis     r30,0                                  <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc066bc:	9b e1 00 09 	stb     r31,9(r1)                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:warning:");                               
ffc066c0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc066c4:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc066c8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc066cc:	38 a0 00 0e 	li      r5,14                                  <== NOT EXECUTED
ffc066d0:	80 c9 00 08 	lwz     r6,8(r9)                               <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc066d4:	39 20 00 02 	li      r9,2                                   <== NOT EXECUTED
ffc066d8:	99 21 00 08 	stb     r9,8(r1)                               <== NOT EXECUTED
ffc066dc:	39 21 00 88 	addi    r9,r1,136                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:warning:");                               
ffc066e0:	38 63 93 58 	addi    r3,r3,-27816                           <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
ffc066e4:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc066e8:	39 21 00 10 	addi    r9,r1,16                               <== NOT EXECUTED
ffc066ec:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
    fprintf (stdout, "fdisk:warning:");                               
ffc066f0:	48 02 2c 79 	bl      ffc29368 <fwrite>                      <== NOT EXECUTED
    ret =  vfprintf (stdout, format, args);                           
ffc066f4:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc066f8:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc066fc:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc06700:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06704:	48 02 b8 4d 	bl      ffc31f50 <vfprintf>                    <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
ffc06708:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:warning:");                               
    ret =  vfprintf (stdout, format, args);                           
ffc0670c:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
ffc06710:	80 89 00 08 	lwz     r4,8(r9)                               <== NOT EXECUTED
ffc06714:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc06718:	48 02 23 19 	bl      ffc28a30 <fputc>                       <== NOT EXECUTED
    fflush (stdout);                                                  
ffc0671c:	81 3e 27 cc 	lwz     r9,10188(r30)                          <== NOT EXECUTED
ffc06720:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06724:	48 02 1c e1 	bl      ffc28404 <fflush>                      <== NOT EXECUTED
    va_end (args);                                                    
  }                                                                   
  return ret;                                                         
}                                                                     
ffc06728:	80 01 00 84 	lwz     r0,132(r1)                             <== NOT EXECUTED
ffc0672c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06730:	83 a1 00 74 	lwz     r29,116(r1)                            <== NOT EXECUTED
ffc06734:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06738:	83 c1 00 78 	lwz     r30,120(r1)                            <== NOT EXECUTED
ffc0673c:	83 e1 00 7c 	lwz     r31,124(r1)                            <== NOT EXECUTED
ffc06740:	38 21 00 80 	addi    r1,r1,128                              <== NOT EXECUTED
ffc06744:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0f1e0 <rtems_filesystem_check_access>: int eval_flags, mode_t node_mode, uid_t node_uid, gid_t node_gid ) {
ffc0f1e0:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f1e4:	7c 08 02 a6 	mflr    r0                                     
ffc0f1e8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f1ec:	7c dc 33 78 	mr      r28,r6                                 
ffc0f1f0:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0f1f4:	7c bd 2b 78 	mr      r29,r5                                 
ffc0f1f8:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f1fc:	7c 9e 23 78 	mr      r30,r4                                 
ffc0f200:	93 e1 00 14 	stw     r31,20(r1)                             
  mode_t perm_flags = eval_flags & RTEMS_FS_PERMS_RWX;                
ffc0f204:	54 7f 07 7e 	clrlwi  r31,r3,29                              
  int eval_flags,                                                     
  mode_t node_mode,                                                   
  uid_t node_uid,                                                     
  gid_t node_gid                                                      
)                                                                     
{                                                                     
ffc0f208:	90 01 00 1c 	stw     r0,28(r1)                              
  mode_t perm_flags = eval_flags & RTEMS_FS_PERMS_RWX;                
  uid_t task_uid = geteuid();                                         
ffc0f20c:	48 00 29 01 	bl      ffc11b0c <geteuid>                     
                                                                      
  if (task_uid == 0 || task_uid == node_uid) {                        
ffc0f210:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0f214:	41 82 00 4c 	beq-    ffc0f260 <rtems_filesystem_check_access+0x80>
ffc0f218:	7f 83 e8 00 	cmpw    cr7,r3,r29                             
ffc0f21c:	41 9e 00 44 	beq-    cr7,ffc0f260 <rtems_filesystem_check_access+0x80>
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
  } else {                                                            
    gid_t task_gid = getegid();                                       
ffc0f220:	48 00 28 dd 	bl      ffc11afc <getegid>                     
                                                                      
    if (task_gid == 0 || task_gid == node_gid) {                      
ffc0f224:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0f228:	40 82 00 6c 	bne-    ffc0f294 <rtems_filesystem_check_access+0xb4>
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
}                                                                     
ffc0f22c:	80 01 00 1c 	lwz     r0,28(r1)                              
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
  } else {                                                            
    gid_t task_gid = getegid();                                       
                                                                      
    if (task_gid == 0 || task_gid == node_gid) {                      
      perm_flags <<= RTEMS_FS_GRP_SHIFT;                              
ffc0f230:	57 ff 18 38 	rlwinm  r31,r31,3,0,28                         
    } else {                                                          
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
ffc0f234:	7f e3 f0 38 	and     r3,r31,r30                             
}                                                                     
ffc0f238:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f23c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f240:	7c 63 fa 78 	xor     r3,r3,r31                              
ffc0f244:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0f248:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f24c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f250:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc0f254:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f258:	38 21 00 18 	addi    r1,r1,24                               
ffc0f25c:	4e 80 00 20 	blr                                            
ffc0f260:	80 01 00 1c 	lwz     r0,28(r1)                              
{                                                                     
  mode_t perm_flags = eval_flags & RTEMS_FS_PERMS_RWX;                
  uid_t task_uid = geteuid();                                         
                                                                      
  if (task_uid == 0 || task_uid == node_uid) {                        
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
ffc0f264:	57 ff 30 32 	rlwinm  r31,r31,6,0,25                         
    } else {                                                          
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
ffc0f268:	7f e3 f0 38 	and     r3,r31,r30                             
}                                                                     
ffc0f26c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f270:	7c 08 03 a6 	mtlr    r0                                     
ffc0f274:	7c 63 fa 78 	xor     r3,r3,r31                              
ffc0f278:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0f27c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f280:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f284:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc0f288:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f28c:	38 21 00 18 	addi    r1,r1,24                               
ffc0f290:	4e 80 00 20 	blr                                            
  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) {                      
ffc0f294:	7f 83 e0 00 	cmpw    cr7,r3,r28                             
ffc0f298:	41 be ff 94 	beq-    cr7,ffc0f22c <rtems_filesystem_check_access+0x4c><== NEVER TAKEN
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
}                                                                     
ffc0f29c:	80 01 00 1c 	lwz     r0,28(r1)                              
    } else {                                                          
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
ffc0f2a0:	7f e3 f0 38 	and     r3,r31,r30                             
}                                                                     
ffc0f2a4:	7c 63 fa 78 	xor     r3,r3,r31                              
ffc0f2a8:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f2ac:	7c 08 03 a6 	mtlr    r0                                     
ffc0f2b0:	7c 63 00 34 	cntlzw  r3,r3                                  
ffc0f2b4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f2b8:	54 63 d9 7e 	rlwinm  r3,r3,27,5,31                          
ffc0f2bc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f2c0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f2c4:	38 21 00 18 	addi    r1,r1,24                               
ffc0f2c8:	4e 80 00 20 	blr                                            
                                                                      

ffc06630 <rtems_filesystem_do_unmount>: } void rtems_filesystem_do_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
ffc06630:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc06634:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc06638:	38 80 00 00 	li      r4,0                                   
ffc0663c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc06640:	3f c0 00 00 	lis     r30,0                                  
ffc06644:	38 a0 00 00 	li      r5,0                                   
ffc06648:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0664c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06650:	80 7e 28 10 	lwz     r3,10256(r30)                          
ffc06654:	90 01 00 14 	stw     r0,20(r1)                              
ffc06658:	48 00 33 c9 	bl      ffc09a20 <rtems_semaphore_obtain>      
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0665c:	81 3f 00 00 	lwz     r9,0(r31)                              
  previous       = the_node->previous;                                
ffc06660:	81 5f 00 04 	lwz     r10,4(r31)                             
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc06664:	80 7e 28 10 	lwz     r3,10256(r30)                          
  next->previous = previous;                                          
ffc06668:	91 49 00 04 	stw     r10,4(r9)                              
  previous->next = next;                                              
ffc0666c:	91 2a 00 00 	stw     r9,0(r10)                              
ffc06670:	48 00 35 51 	bl      ffc09bc0 <rtems_semaphore_release>     
  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);  
ffc06674:	80 7f 00 20 	lwz     r3,32(r31)                             
ffc06678:	48 00 02 0d 	bl      ffc06884 <rtems_filesystem_global_location_release>
  (*mt_entry->ops->fsunmount_me_h)(mt_entry);                         
ffc0667c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc06680:	7f e3 fb 78 	mr      r3,r31                                 
ffc06684:	81 29 00 3c 	lwz     r9,60(r9)                              
ffc06688:	7d 29 03 a6 	mtctr   r9                                     
ffc0668c:	4e 80 04 21 	bctrl                                          
                                                                      
  if (mt_entry->unmount_task != 0) {                                  
ffc06690:	80 7f 00 3c 	lwz     r3,60(r31)                             
ffc06694:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06698:	41 9e 00 14 	beq-    cr7,ffc066ac <rtems_filesystem_do_unmount+0x7c><== NEVER TAKEN
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_status_code rtems_event_transient_send(    
  rtems_id id                                                         
)                                                                     
{                                                                     
  return rtems_event_system_send( id, RTEMS_EVENT_SYSTEM_TRANSIENT ); 
ffc0669c:	3c 80 80 00 	lis     r4,-32768                              
ffc066a0:	48 00 36 01 	bl      ffc09ca0 <rtems_event_system_send>     
    rtems_status_code sc =                                            
      rtems_event_transient_send(mt_entry->unmount_task);             
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc066a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc066a8:	40 9e 00 20 	bne-    cr7,ffc066c8 <rtems_filesystem_do_unmount+0x98><== NEVER TAKEN
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
  }                                                                   
                                                                      
  free(mt_entry);                                                     
}                                                                     
ffc066ac:	80 01 00 14 	lwz     r0,20(r1)                              
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
  }                                                                   
                                                                      
  free(mt_entry);                                                     
ffc066b0:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc066b4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc066b8:	7c 08 03 a6 	mtlr    r0                                     
ffc066bc:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc066c0:	38 21 00 10 	addi    r1,r1,16                               
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
  }                                                                   
                                                                      
  free(mt_entry);                                                     
ffc066c4:	4b ff e4 a4 	b       ffc04b68 <free>                        
                                                                      
  if (mt_entry->unmount_task != 0) {                                  
    rtems_status_code sc =                                            
      rtems_event_transient_send(mt_entry->unmount_task);             
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
ffc066c8:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc066cc:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc066d0:	48 00 3c c9 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0f328 <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 ) {
ffc0f328:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0f32c:	7c 08 02 a6 	mflr    r0                                     
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
ffc0f330:	3d 20 ff c2 	lis     r9,-62                                 
void rtems_filesystem_eval_path_generic(                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const rtems_filesystem_eval_path_generic_config *config             
)                                                                     
{                                                                     
ffc0f334:	93 01 00 08 	stw     r24,8(r1)                              
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
ffc0f338:	3b 09 ea c0 	addi    r24,r9,-5440                           
                ¤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);       
ffc0f33c:	3d 20 ff c2 	lis     r9,-62                                 
void rtems_filesystem_eval_path_generic(                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const rtems_filesystem_eval_path_generic_config *config             
)                                                                     
{                                                                     
ffc0f340:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0f344:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc0f348:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0f34c:	93 21 00 0c 	stw     r25,12(r1)                             
                ¤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);       
ffc0f350:	3b 29 e7 68 	addi    r25,r9,-6296                           
void rtems_filesystem_eval_path_generic(                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const rtems_filesystem_eval_path_generic_config *config             
)                                                                     
{                                                                     
ffc0f354:	93 41 00 10 	stw     r26,16(r1)                             
              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 =              
ffc0f358:	3b 43 00 18 	addi    r26,r3,24                              
void rtems_filesystem_eval_path_generic(                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const rtems_filesystem_eval_path_generic_config *config             
)                                                                     
{                                                                     
ffc0f35c:	93 61 00 14 	stw     r27,20(r1)                             
ffc0f360:	7c 9b 23 78 	mr      r27,r4                                 
ffc0f364:	93 81 00 18 	stw     r28,24(r1)                             
ffc0f368:	7c bc 2b 78 	mr      r28,r5                                 
ffc0f36c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0f370:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char **token,                                                 
  size_t *tokenlen                                                    
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_next_token(ctx);                         
ffc0f374:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f378:	48 00 03 0d 	bl      ffc0f684 <rtems_filesystem_eval_path_next_token>
  *token = ctx->token;                                                
  *tokenlen = ctx->tokenlen;                                          
ffc0f37c:	83 df 00 0c 	lwz     r30,12(r31)                            
  const char **token,                                                 
  size_t *tokenlen                                                    
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_next_token(ctx);                         
  *token = ctx->token;                                                
ffc0f380:	83 bf 00 08 	lwz     r29,8(r31)                             
    const char *token;                                                
    size_t tokenlen;                                                  
                                                                      
    rtems_filesystem_eval_path_get_next_token(ctx, &token, &tokenlen);
                                                                      
    if (tokenlen > 0) {                                               
ffc0f384:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0f388:	40 9e 00 34 	bne-    cr7,ffc0f3bc <rtems_filesystem_eval_path_generic+0x94>
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f38c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0f390:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0f394:	7c 08 03 a6 	mtlr    r0                                     
ffc0f398:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0f39c:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0f3a0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f3a4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f3a8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f3ac:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f3b0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f3b4:	38 21 00 28 	addi    r1,r1,40                               
ffc0f3b8:	4e 80 00 20 	blr                                            
    size_t tokenlen;                                                  
                                                                      
    rtems_filesystem_eval_path_get_next_token(ctx, &token, &tokenlen);
                                                                      
    if (tokenlen > 0) {                                               
      if ((*config->is_directory)(ctx, arg)) {                        
ffc0f3bc:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc0f3c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f3c4:	7f 64 db 78 	mr      r4,r27                                 
ffc0f3c8:	7d 29 03 a6 	mtctr   r9                                     
ffc0f3cc:	4e 80 04 21 	bctrl                                          
ffc0f3d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f3d4:	41 9e 00 44 	beq-    cr7,ffc0f418 <rtems_filesystem_eval_path_generic+0xf0>
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc0f3d8:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc0f3dc:	41 9e 00 d8 	beq-    cr7,ffc0f4b4 <rtems_filesystem_eval_path_generic+0x18c>
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
ffc0f3e0:	2f 9e 00 02 	cmpwi   cr7,r30,2                              
ffc0f3e4:	41 9e 01 2c 	beq-    cr7,ffc0f510 <rtems_filesystem_eval_path_generic+0x1e8>
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
          }                                                           
        } else {                                                      
          status = (*config->eval_token)(ctx, arg, token, tokenlen);  
ffc0f3e8:	81 3c 00 04 	lwz     r9,4(r28)                              
ffc0f3ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f3f0:	7f 64 db 78 	mr      r4,r27                                 
ffc0f3f4:	7f a5 eb 78 	mr      r5,r29                                 
ffc0f3f8:	7d 29 03 a6 	mtctr   r9                                     
ffc0f3fc:	7f c6 f3 78 	mr      r6,r30                                 
ffc0f400:	4e 80 04 21 	bctrl                                          
        }                                                             
                                                                      
        if (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY) {  
ffc0f404:	2f 83 00 02 	cmpwi   cr7,r3,2                               
ffc0f408:	41 9e 00 48 	beq-    cr7,ffc0f450 <rtems_filesystem_eval_path_generic+0x128>
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
    RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;                      
                                                                      
  while (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE) {     
ffc0f40c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f410:	41 9e ff 64 	beq+    cr7,ffc0f374 <rtems_filesystem_eval_path_generic+0x4c>
ffc0f414:	4b ff ff 78 	b       ffc0f38c <rtems_filesystem_eval_path_generic+0x64>
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f418:	80 01 00 2c 	lwz     r0,44(r1)                              
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
ffc0f41c:	7f e3 fb 78 	mr      r3,r31                                 
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f420:	83 01 00 08 	lwz     r24,8(r1)                              
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
ffc0f424:	38 80 00 14 	li      r4,20                                  
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f428:	7c 08 03 a6 	mtlr    r0                                     
ffc0f42c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0f430:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0f434:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f438:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f43c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f440:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f444:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f448:	38 21 00 28 	addi    r1,r1,40                               
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
ffc0f44c:	4b ff 69 f0 	b       ffc05e3c <rtems_filesystem_eval_path_error>
        } 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)) {             
ffc0f450:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0f454:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f458:	41 9e ff 34 	beq+    cr7,ffc0f38c <rtems_filesystem_eval_path_generic+0x64>
            int eval_flags;                                           
                                                                      
            rtems_filesystem_eval_path_eat_delimiter(ctx);            
ffc0f45c:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f460:	48 00 01 cd 	bl      ffc0f62c <rtems_filesystem_eval_path_eat_delimiter>
            eval_flags = rtems_filesystem_eval_path_get_flags(ctx);   
            if (                                                      
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
ffc0f464:	81 3f 00 10 	lwz     r9,16(r31)                             
          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 (                                                      
ffc0f468:	71 2a 00 80 	andi.   r10,r9,128                             
ffc0f46c:	41 82 00 10 	beq-    ffc0f47c <rtems_filesystem_eval_path_generic+0x154>
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
                || rtems_filesystem_eval_path_has_path(ctx)           
ffc0f470:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0f474:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f478:	41 be ff 14 	beq-    cr7,ffc0f38c <rtems_filesystem_eval_path_generic+0x64>
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f47c:	80 01 00 2c 	lwz     r0,44(r1)                              
            eval_flags = rtems_filesystem_eval_path_get_flags(ctx);   
            if (                                                      
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
                || rtems_filesystem_eval_path_has_path(ctx)           
            ) {                                                       
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
ffc0f480:	7f e3 fb 78 	mr      r3,r31                                 
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f484:	83 01 00 08 	lwz     r24,8(r1)                              
            eval_flags = rtems_filesystem_eval_path_get_flags(ctx);   
            if (                                                      
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
                || rtems_filesystem_eval_path_has_path(ctx)           
            ) {                                                       
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
ffc0f488:	38 80 00 02 	li      r4,2                                   
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f48c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f490:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0f494:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0f498:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f49c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f4a0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f4a4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f4a8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f4ac:	38 21 00 28 	addi    r1,r1,40                               
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
ffc0f4b0:	4b ff 69 8c 	b       ffc05e3c <rtems_filesystem_eval_path_error>
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc0f4b4:	89 3d 00 00 	lbz     r9,0(r29)                              
ffc0f4b8:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0f4bc:	40 9e ff 2c 	bne+    cr7,ffc0f3e8 <rtems_filesystem_eval_path_generic+0xc0>
    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)) {             
ffc0f4c0:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0f4c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f4c8:	40 9e 01 00 	bne-    cr7,ffc0f5c8 <rtems_filesystem_eval_path_generic+0x2a0>
            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) {   
ffc0f4cc:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc0f4d0:	71 2a 01 00 	andi.   r10,r9,256                             
ffc0f4d4:	41 82 00 f4 	beq-    ffc0f5c8 <rtems_filesystem_eval_path_generic+0x2a0>
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f4d8:	80 01 00 2c 	lwz     r0,44(r1)                              
            int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);
                                                                      
            if ((eval_flags & RTEMS_FS_REJECT_TERMINAL_DOT) == 0) {   
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            } else {                                                  
              rtems_filesystem_eval_path_error(ctx, EINVAL);          
ffc0f4dc:	7f e3 fb 78 	mr      r3,r31                                 
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f4e0:	83 01 00 08 	lwz     r24,8(r1)                              
            int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);
                                                                      
            if ((eval_flags & RTEMS_FS_REJECT_TERMINAL_DOT) == 0) {   
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            } else {                                                  
              rtems_filesystem_eval_path_error(ctx, EINVAL);          
ffc0f4e4:	38 80 00 16 	li      r4,22                                  
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f4e8:	7c 08 03 a6 	mtlr    r0                                     
ffc0f4ec:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0f4f0:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0f4f4:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f4f8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f4fc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f500:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f504:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f508:	38 21 00 28 	addi    r1,r1,40                               
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
ffc0f50c:	4b ff 69 30 	b       ffc05e3c <rtems_filesystem_eval_path_error>
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
ffc0f510:	89 3d 00 00 	lbz     r9,0(r29)                              
ffc0f514:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0f518:	40 9e fe d0 	bne+    cr7,ffc0f3e8 <rtems_filesystem_eval_path_generic+0xc0>
ffc0f51c:	89 3d 00 01 	lbz     r9,1(r29)                              
ffc0f520:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc0f524:	40 9e fe c4 	bne+    cr7,ffc0f3e8 <rtems_filesystem_eval_path_generic+0xc0><== NEVER TAKEN
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f528:	80 9f 00 30 	lwz     r4,48(r31)                             
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;
ffc0f52c:	81 3f 00 2c 	lwz     r9,44(r31)                             
  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 );           
ffc0f530:	81 44 00 14 	lwz     r10,20(r4)                             
ffc0f534:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0f538:	41 9e 00 d0 	beq-    cr7,ffc0f608 <rtems_filesystem_eval_path_generic+0x2e0>
{                                                                     
  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 );      
ffc0f53c:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc0f540:	7f 43 d3 78 	mr      r3,r26                                 
ffc0f544:	80 89 00 24 	lwz     r4,36(r9)                              
ffc0f548:	81 4a 00 10 	lwz     r10,16(r10)                            
ffc0f54c:	7d 49 03 a6 	mtctr   r10                                    
ffc0f550:	4e 80 04 21 	bctrl                                          
            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)) {                        
ffc0f554:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f558:	41 9e 00 90 	beq-    cr7,ffc0f5e8 <rtems_filesystem_eval_path_generic+0x2c0>
            if (currentloc->mt_entry->mt_point_node != NULL) {        
ffc0f55c:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc0f560:	81 24 00 20 	lwz     r9,32(r4)                              
ffc0f564:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f568:	41 9e 00 60 	beq-    cr7,ffc0f5c8 <rtems_filesystem_eval_path_generic+0x2a0><== NEVER TAKEN
                                                                      
static inline void rtems_filesystem_eval_path_put_back_token(         
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
ffc0f56c:	81 3f 00 0c 	lwz     r9,12(r31)                             
              rtems_filesystem_eval_path_put_back_token(ctx);         
              rtems_filesystem_eval_path_restart(                     
ffc0f570:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  ctx->path -= tokenlen;                                              
ffc0f574:	81 1f 00 00 	lwz     r8,0(r31)                              
ffc0f578:	38 84 00 20 	addi    r4,r4,32                               
  ctx->pathlen += tokenlen;                                           
ffc0f57c:	81 5f 00 04 	lwz     r10,4(r31)                             
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;               
    }                                                                 
  }                                                                   
}                                                                     
ffc0f580:	80 01 00 2c 	lwz     r0,44(r1)                              
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
                                                                      
  ctx->path -= tokenlen;                                              
ffc0f584:	7d 09 40 50 	subf    r8,r9,r8                               
  ctx->pathlen += tokenlen;                                           
ffc0f588:	7d 2a 4a 14 	add     r9,r10,r9                              
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
                                                                      
  ctx->path -= tokenlen;                                              
ffc0f58c:	91 1f 00 00 	stw     r8,0(r31)                              
ffc0f590:	7c 08 03 a6 	mtlr    r0                                     
  ctx->pathlen += tokenlen;                                           
ffc0f594:	91 3f 00 04 	stw     r9,4(r31)                              
  ctx->tokenlen = 0;                                                  
ffc0f598:	39 20 00 00 	li      r9,0                                   
ffc0f59c:	91 3f 00 0c 	stw     r9,12(r31)                             
ffc0f5a0:	83 01 00 08 	lwz     r24,8(r1)                              
ffc0f5a4:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc0f5a8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0f5ac:	83 61 00 14 	lwz     r27,20(r1)                             
ffc0f5b0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0f5b4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0f5b8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0f5bc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f5c0:	38 21 00 28 	addi    r1,r1,40                               
            /* This prevents the escape from a chroot() environment */
            status = (*config->eval_token)(ctx, arg, ".", 1);         
          } else if (is_fs_root(currentloc)) {                        
            if (currentloc->mt_entry->mt_point_node != NULL) {        
              rtems_filesystem_eval_path_put_back_token(ctx);         
              rtems_filesystem_eval_path_restart(                     
ffc0f5c4:	4b ff 6e 18 	b       ffc063dc <rtems_filesystem_eval_path_restart>
          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);         
ffc0f5c8:	81 3c 00 04 	lwz     r9,4(r28)                              
ffc0f5cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f5d0:	7f 64 db 78 	mr      r4,r27                                 
ffc0f5d4:	7f 25 cb 78 	mr      r5,r25                                 
ffc0f5d8:	7d 29 03 a6 	mtctr   r9                                     
ffc0f5dc:	38 c0 00 01 	li      r6,1                                   
ffc0f5e0:	4e 80 04 21 	bctrl                                          
ffc0f5e4:	4b ff fe 20 	b       ffc0f404 <rtems_filesystem_eval_path_generic+0xdc>
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
ffc0f5e8:	81 3c 00 04 	lwz     r9,4(r28)                              
ffc0f5ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f5f0:	7f 64 db 78 	mr      r4,r27                                 
ffc0f5f4:	7f 05 c3 78 	mr      r5,r24                                 
ffc0f5f8:	7d 29 03 a6 	mtctr   r9                                     
ffc0f5fc:	38 c0 00 02 	li      r6,2                                   
ffc0f600:	4e 80 04 21 	bctrl                                          
ffc0f604:	4b ff fe 00 	b       ffc0f404 <rtems_filesystem_eval_path_generic+0xdc>
{                                                                     
  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 );           
ffc0f608:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc0f60c:	7f 43 d3 78 	mr      r3,r26                                 
ffc0f610:	81 29 00 10 	lwz     r9,16(r9)                              
ffc0f614:	7d 29 03 a6 	mtctr   r9                                     
ffc0f618:	4e 80 04 21 	bctrl                                          
ffc0f61c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f620:	40 be ff a8 	bne-    cr7,ffc0f5c8 <rtems_filesystem_eval_path_generic+0x2a0>
ffc0f624:	81 3f 00 2c 	lwz     r9,44(r31)                             
ffc0f628:	4b ff ff 14 	b       ffc0f53c <rtems_filesystem_eval_path_generic+0x214>
                                                                      

ffc0f684 <rtems_filesystem_eval_path_next_token>: } void rtems_filesystem_eval_path_next_token( rtems_filesystem_eval_path_context_t *ctx ) {
ffc0f684:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0f688:	7c 08 02 a6 	mflr    r0                                     
ffc0f68c:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0f690:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0f694:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
ffc0f698:	4b ff ff 95 	bl      ffc0f62c <rtems_filesystem_eval_path_eat_delimiter>
  ctx->pathlen = (size_t) (end - current);                            
}                                                                     
                                                                      
static void next_token(rtems_filesystem_eval_path_context_t *ctx)     
{                                                                     
  const char *begin = ctx->path;                                      
ffc0f69c:	81 1f 00 00 	lwz     r8,0(r31)                              
  const char *end = begin + ctx->pathlen;                             
ffc0f6a0:	80 df 00 04 	lwz     r6,4(r31)                              
ffc0f6a4:	7c c8 32 14 	add     r6,r8,r6                               
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
ffc0f6a8:	7f 88 30 00 	cmpw    cr7,r8,r6                              
ffc0f6ac:	41 9e 00 a0 	beq-    cr7,ffc0f74c <rtems_filesystem_eval_path_next_token+0xc8>
ffc0f6b0:	89 28 00 00 	lbz     r9,0(r8)                               
ffc0f6b4:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc0f6b8:	41 9e 00 94 	beq-    cr7,ffc0f74c <rtems_filesystem_eval_path_next_token+0xc8><== NEVER TAKEN
ffc0f6bc:	2f 89 00 5c 	cmpwi   cr7,r9,92                              
ffc0f6c0:	7d 48 30 50 	subf    r10,r8,r6                              
ffc0f6c4:	7d 09 43 78 	mr      r9,r8                                  
ffc0f6c8:	7d 49 03 a6 	mtctr   r10                                    
ffc0f6cc:	40 be 00 38 	bne+    cr7,ffc0f704 <rtems_filesystem_eval_path_next_token+0x80><== ALWAYS TAKEN
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f6d0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0f6d4:	7d 07 43 78 	mr      r7,r8                                  <== NOT EXECUTED
ffc0f6d8:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
ffc0f6dc:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f6e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
ffc0f6e4:	7c e7 30 50 	subf    r7,r7,r6                               <== NOT EXECUTED
ffc0f6e8:	90 ff 00 04 	stw     r7,4(r31)                              <== NOT EXECUTED
  ctx->token = begin;                                                 
ffc0f6ec:	91 1f 00 08 	stw     r8,8(r31)                              <== NOT EXECUTED
  ctx->tokenlen = (size_t) (current - begin);                         
ffc0f6f0:	91 5f 00 0c 	stw     r10,12(r31)                            <== NOT EXECUTED
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f6f4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc0f6f8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0f6fc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc0f700:	41 9a 00 1c 	beq-    cr6,ffc0f71c <rtems_filesystem_eval_path_next_token+0x98>
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
ffc0f704:	39 29 00 01 	addi    r9,r9,1                                
{                                                                     
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
ffc0f708:	42 40 00 78 	bdz-    ffc0f780 <rtems_filesystem_eval_path_next_token+0xfc>
ffc0f70c:	89 49 00 00 	lbz     r10,0(r9)                              
ffc0f710:	2f 8a 00 2f 	cmpwi   cr7,r10,47                             
ffc0f714:	2f 0a 00 5c 	cmpwi   cr6,r10,92                             
ffc0f718:	40 9e ff e8 	bne+    cr7,ffc0f700 <rtems_filesystem_eval_path_next_token+0x7c>
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f71c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f720:	7d 27 4b 78 	mr      r7,r9                                  
ffc0f724:	7d 48 48 50 	subf    r10,r8,r9                              
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
ffc0f728:	91 3f 00 00 	stw     r9,0(r31)                              
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f72c:	7c 08 03 a6 	mtlr    r0                                     
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
ffc0f730:	7c e7 30 50 	subf    r7,r7,r6                               
ffc0f734:	90 ff 00 04 	stw     r7,4(r31)                              
  ctx->token = begin;                                                 
ffc0f738:	91 1f 00 08 	stw     r8,8(r31)                              
  ctx->tokenlen = (size_t) (current - begin);                         
ffc0f73c:	91 5f 00 0c 	stw     r10,12(r31)                            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f740:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f744:	38 21 00 10 	addi    r1,r1,16                               
ffc0f748:	4e 80 00 20 	blr                                            
ffc0f74c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f750:	7d 07 43 78 	mr      r7,r8                                  
ffc0f754:	7d 09 43 78 	mr      r9,r8                                  
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
  ctx->token = begin;                                                 
ffc0f758:	91 1f 00 08 	stw     r8,8(r31)                              
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f75c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f760:	39 40 00 00 	li      r10,0                                  
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
ffc0f764:	7c e7 30 50 	subf    r7,r7,r6                               
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
ffc0f768:	91 3f 00 00 	stw     r9,0(r31)                              
  ctx->pathlen = (size_t) (end - current);                            
ffc0f76c:	90 ff 00 04 	stw     r7,4(r31)                              
  ctx->token = begin;                                                 
  ctx->tokenlen = (size_t) (current - begin);                         
ffc0f770:	91 5f 00 0c 	stw     r10,12(r31)                            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f774:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f778:	38 21 00 10 	addi    r1,r1,16                               
ffc0f77c:	4e 80 00 20 	blr                                            
ffc0f780:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0f784:	7c c7 33 78 	mr      r7,r6                                  
ffc0f788:	7d 48 30 50 	subf    r10,r8,r6                              
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
ffc0f78c:	91 3f 00 00 	stw     r9,0(r31)                              
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f790:	7c 08 03 a6 	mtlr    r0                                     
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
ffc0f794:	7c e7 30 50 	subf    r7,r7,r6                               
ffc0f798:	90 ff 00 04 	stw     r7,4(r31)                              
  ctx->token = begin;                                                 
ffc0f79c:	91 1f 00 08 	stw     r8,8(r31)                              
  ctx->tokenlen = (size_t) (current - begin);                         
ffc0f7a0:	91 5f 00 0c 	stw     r10,12(r31)                            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_eat_delimiter(ctx);                      
  next_token(ctx);                                                    
}                                                                     
ffc0f7a4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0f7a8:	38 21 00 10 	addi    r1,r1,16                               
ffc0f7ac:	4e 80 00 20 	blr                                            
                                                                      

ffc0647c <rtems_filesystem_eval_path_recursive>: void rtems_filesystem_eval_path_recursive( rtems_filesystem_eval_path_context_t *ctx, const char *path, size_t pathlen ) {
ffc0647c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06480:	7c 08 02 a6 	mflr    r0                                     
ffc06484:	93 a1 00 14 	stw     r29,20(r1)                             
  if (pathlen > 0) {                                                  
ffc06488:	7c bd 2b 79 	mr.     r29,r5                                 
void rtems_filesystem_eval_path_recursive(                            
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char *path,                                                   
  size_t pathlen                                                      
)                                                                     
{                                                                     
ffc0648c:	90 01 00 24 	stw     r0,36(r1)                              
ffc06490:	93 61 00 0c 	stw     r27,12(r1)                             
ffc06494:	93 81 00 10 	stw     r28,16(r1)                             
ffc06498:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0649c:	93 e1 00 1c 	stw     r31,28(r1)                             
  if (pathlen > 0) {                                                  
ffc064a0:	41 82 00 b4 	beq-    ffc06554 <rtems_filesystem_eval_path_recursive+0xd8><== NEVER TAKEN
    if (ctx->recursionlevel < RTEMS_FILESYSTEM_SYMLOOP_MAX) {         
ffc064a4:	81 23 00 14 	lwz     r9,20(r3)                              
ffc064a8:	7c 7f 1b 78 	mr      r31,r3                                 
ffc064ac:	2f 89 00 1f 	cmpwi   cr7,r9,31                              
ffc064b0:	41 9d 00 cc 	bgt-    cr7,ffc0657c <rtems_filesystem_eval_path_recursive+0x100>
      const char *saved_path = ctx->path;                             
      size_t saved_pathlen = ctx->pathlen;                            
                                                                      
      if (rtems_filesystem_is_delimiter(path [0])) {                  
ffc064b4:	89 44 00 00 	lbz     r10,0(r4)                              
ffc064b8:	7c 9e 23 78 	mr      r30,r4                                 
  size_t pathlen                                                      
)                                                                     
{                                                                     
  if (pathlen > 0) {                                                  
    if (ctx->recursionlevel < RTEMS_FILESYSTEM_SYMLOOP_MAX) {         
      const char *saved_path = ctx->path;                             
ffc064bc:	83 83 00 00 	lwz     r28,0(r3)                              
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
ffc064c0:	2f 8a 00 2f 	cmpwi   cr7,r10,47                             
      size_t saved_pathlen = ctx->pathlen;                            
ffc064c4:	83 63 00 04 	lwz     r27,4(r3)                              
ffc064c8:	41 9e 00 78 	beq-    cr7,ffc06540 <rtems_filesystem_eval_path_recursive+0xc4>
ffc064cc:	2f 8a 00 5c 	cmpwi   cr7,r10,92                             
ffc064d0:	41 9e 00 70 	beq-    cr7,ffc06540 <rtems_filesystem_eval_path_recursive+0xc4><== NEVER TAKEN
      }                                                               
                                                                      
      ctx->path = path;                                               
      ctx->pathlen = pathlen;                                         
                                                                      
      ++ctx->recursionlevel;                                          
ffc064d4:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
      if (rtems_filesystem_is_delimiter(path [0])) {                  
        rtems_filesystem_eval_path_restart(ctx, &ctx->rootloc);       
      }                                                               
                                                                      
      ctx->path = path;                                               
ffc064d8:	93 df 00 00 	stw     r30,0(r31)                             
      ctx->pathlen = pathlen;                                         
ffc064dc:	93 bf 00 04 	stw     r29,4(r31)                             
                                                                      
      ++ctx->recursionlevel;                                          
ffc064e0:	91 3f 00 14 	stw     r9,20(r31)                             
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
ffc064e4:	81 3f 00 2c 	lwz     r9,44(r31)                             
ffc064e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc064ec:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc064f0:	81 29 00 08 	lwz     r9,8(r9)                               
ffc064f4:	7d 29 03 a6 	mtctr   r9                                     
ffc064f8:	4e 80 04 21 	bctrl                                          
                                                                      
      ctx->path = path;                                               
      ctx->pathlen = pathlen;                                         
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
ffc064fc:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc06500:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06504:	40 9e ff e0 	bne+    cr7,ffc064e4 <rtems_filesystem_eval_path_recursive+0x68>
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
  }                                                                   
}                                                                     
ffc06508:	80 01 00 24 	lwz     r0,36(r1)                              
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
ffc0650c:	81 3f 00 14 	lwz     r9,20(r31)                             
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
  }                                                                   
}                                                                     
ffc06510:	7c 08 03 a6 	mtlr    r0                                     
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
                                                                      
      ctx->path = saved_path;                                         
ffc06514:	93 9f 00 00 	stw     r28,0(r31)                             
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
ffc06518:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
      ctx->path = saved_path;                                         
      ctx->pathlen = saved_pathlen;                                   
ffc0651c:	93 7f 00 04 	stw     r27,4(r31)                             
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
ffc06520:	91 3f 00 14 	stw     r9,20(r31)                             
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
  }                                                                   
}                                                                     
ffc06524:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc06528:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0652c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06530:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06534:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06538:	38 21 00 20 	addi    r1,r1,32                               
ffc0653c:	4e 80 00 20 	blr                                            
    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);       
ffc06540:	7f e3 fb 78 	mr      r3,r31                                 
ffc06544:	38 9f 00 30 	addi    r4,r31,48                              
ffc06548:	4b ff fe 95 	bl      ffc063dc <rtems_filesystem_eval_path_restart>
ffc0654c:	81 3f 00 14 	lwz     r9,20(r31)                             
ffc06550:	4b ff ff 84 	b       ffc064d4 <rtems_filesystem_eval_path_recursive+0x58>
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
  }                                                                   
}                                                                     
ffc06554:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
ffc06558:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc0655c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc06560:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06564:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc06568:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc0656c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc06570:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc06574:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
ffc06578:	4b ff f8 c4 	b       ffc05e3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
  }                                                                   
}                                                                     
ffc0657c:	80 01 00 24 	lwz     r0,36(r1)                              
      --ctx->recursionlevel;                                          
                                                                      
      ctx->path = saved_path;                                         
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
ffc06580:	38 80 00 5c 	li      r4,92                                  
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
  }                                                                   
}                                                                     
ffc06584:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc06588:	7c 08 03 a6 	mtlr    r0                                     
ffc0658c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06590:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06594:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06598:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0659c:	38 21 00 20 	addi    r1,r1,32                               
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
ffc065a0:	4b ff f8 9c 	b       ffc05e3c <rtems_filesystem_eval_path_error>
                                                                      

ffc0621c <rtems_filesystem_eval_path_start_with_parent>: const char *path, int eval_flags, rtems_filesystem_location_info_t *parentloc, int parent_eval_flags ) {
ffc0621c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc06220:	7c 08 02 a6 	mflr    r0                                     
ffc06224:	93 c1 00 20 	stw     r30,32(r1)                             
ffc06228:	7c 7e 1b 78 	mr      r30,r3                                 
  size_t pathlen = strlen(path);                                      
ffc0622c:	7c 83 23 78 	mr      r3,r4                                  
  const char *path,                                                   
  int eval_flags,                                                     
  rtems_filesystem_location_info_t *parentloc,                        
  int parent_eval_flags                                               
)                                                                     
{                                                                     
ffc06230:	93 21 00 0c 	stw     r25,12(r1)                             
ffc06234:	7c f9 3b 78 	mr      r25,r7                                 
ffc06238:	93 41 00 10 	stw     r26,16(r1)                             
ffc0623c:	7c da 33 78 	mr      r26,r6                                 
ffc06240:	93 61 00 14 	stw     r27,20(r1)                             
ffc06244:	7c bb 2b 78 	mr      r27,r5                                 
ffc06248:	93 e1 00 24 	stw     r31,36(r1)                             
ffc0624c:	7c 9f 23 78 	mr      r31,r4                                 
ffc06250:	90 01 00 2c 	stw     r0,44(r1)                              
ffc06254:	93 81 00 18 	stw     r28,24(r1)                             
ffc06258:	93 a1 00 1c 	stw     r29,28(r1)                             
  size_t pathlen = strlen(path);                                      
ffc0625c:	48 00 d6 71 	bl      ffc138cc <strlen>                      
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
ffc06260:	2c 03 00 00 	cmpwi   r3,0                                   
ffc06264:	41 82 00 dc 	beq-    ffc06340 <rtems_filesystem_eval_path_start_with_parent+0x124>
    size_t i = pathlen - 1;                                           
ffc06268:	39 43 ff ff 	addi    r10,r3,-1                              
                                                                      
    if (rtems_filesystem_is_delimiter(path [i])) {                    
ffc0626c:	7d 3f 50 ae 	lbzx    r9,r31,r10                             
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
ffc06270:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc06274:	41 9e 00 10 	beq-    cr7,ffc06284 <rtems_filesystem_eval_path_start_with_parent+0x68>
ffc06278:	2f 89 00 5c 	cmpwi   cr7,r9,92                              
ffc0627c:	7c 69 03 a6 	mtctr   r3                                     
ffc06280:	40 be 00 18 	bne+    cr7,ffc06298 <rtems_filesystem_eval_path_start_with_parent+0x7c><== ALWAYS TAKEN
ffc06284:	7c 65 1b 78 	mr      r5,r3                                  
ffc06288:	3b 80 00 00 	li      r28,0                                  
ffc0628c:	48 00 00 2c 	b       ffc062b8 <rtems_filesystem_eval_path_start_with_parent+0x9c>
ffc06290:	41 9a 00 20 	beq-    cr6,ffc062b0 <rtems_filesystem_eval_path_start_with_parent+0x94><== NEVER TAKEN
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
    size_t i = pathlen - 1;                                           
ffc06294:	7d 0a 43 78 	mr      r10,r8                                 
ffc06298:	39 0a ff ff 	addi    r8,r10,-1                              
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
ffc0629c:	42 40 00 8c 	bdz-    ffc06328 <rtems_filesystem_eval_path_start_with_parent+0x10c>
    size_t i = pathlen - 1;                                           
                                                                      
    if (rtems_filesystem_is_delimiter(path [i])) {                    
ffc062a0:	7d 3f 40 ae 	lbzx    r9,r31,r8                              
ffc062a4:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc062a8:	2f 09 00 5c 	cmpwi   cr6,r9,92                              
ffc062ac:	40 9e ff e4 	bne+    cr7,ffc06290 <rtems_filesystem_eval_path_start_with_parent+0x74>
ffc062b0:	7f 8a 18 50 	subf    r28,r10,r3                             
ffc062b4:	7d 45 53 78 	mr      r5,r10                                 
      parentpath = ".";                                               
      parentpathlen = 1;                                              
      name = path;                                                    
      namelen = pathlen;                                              
    } else {                                                          
      name = path + parentpathlen;                                    
ffc062b8:	7f bf 2a 14 	add     r29,r31,r5                             
  rtems_filesystem_location_info_t *parentloc,                        
  int parent_eval_flags                                               
)                                                                     
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
ffc062bc:	7f e4 fb 78 	mr      r4,r31                                 
  currentloc = eval_path_start(                                       
    ctx,                                                              
    parentpath,                                                       
    parentpathlen,                                                    
    parent_eval_flags,                                                
    &rtems_filesystem_root,                                           
ffc062c0:	3d 20 00 00 	lis     r9,0                                   
ffc062c4:	81 09 27 98 	lwz     r8,10136(r9)                           
      name = path + parentpathlen;                                    
      namelen = pathlen - parentpathlen;                              
    }                                                                 
  }                                                                   
                                                                      
  currentloc = eval_path_start(                                       
ffc062c8:	7f 26 cb 78 	mr      r6,r25                                 
ffc062cc:	7f c3 f3 78 	mr      r3,r30                                 
ffc062d0:	38 e8 00 04 	addi    r7,r8,4                                
ffc062d4:	4b ff fd 89 	bl      ffc0605c <eval_path_start>             
ffc062d8:	7c 64 1b 78 	mr      r4,r3                                  
    parent_eval_flags,                                                
    &rtems_filesystem_root,                                           
    &rtems_filesystem_current                                         
  );                                                                  
                                                                      
  rtems_filesystem_location_clone(parentloc, currentloc);             
ffc062dc:	7f 43 d3 78 	mr      r3,r26                                 
ffc062e0:	48 00 88 01 	bl      ffc0eae0 <rtems_filesystem_location_clone>
                                                                      
  ctx->path = name;                                                   
ffc062e4:	93 be 00 00 	stw     r29,0(r30)                             
  ctx->pathlen = namelen;                                             
  ctx->flags = eval_flags;                                            
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
ffc062e8:	7f c3 f3 78 	mr      r3,r30                                 
  );                                                                  
                                                                      
  rtems_filesystem_location_clone(parentloc, currentloc);             
                                                                      
  ctx->path = name;                                                   
  ctx->pathlen = namelen;                                             
ffc062ec:	93 9e 00 04 	stw     r28,4(r30)                             
  ctx->flags = eval_flags;                                            
ffc062f0:	93 7e 00 10 	stw     r27,16(r30)                            
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
ffc062f4:	4b ff fc cd 	bl      ffc05fc0 <rtems_filesystem_eval_path_continue>
                                                                      
  return &ctx->currentloc;                                            
}                                                                     
ffc062f8:	80 01 00 2c 	lwz     r0,44(r1)                              
  ctx->pathlen = namelen;                                             
  ctx->flags = eval_flags;                                            
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
                                                                      
  return &ctx->currentloc;                                            
ffc062fc:	38 7e 00 18 	addi    r3,r30,24                              
}                                                                     
ffc06300:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc06304:	7c 08 03 a6 	mtlr    r0                                     
ffc06308:	83 41 00 10 	lwz     r26,16(r1)                             
ffc0630c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc06310:	83 81 00 18 	lwz     r28,24(r1)                             
ffc06314:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06318:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0631c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06320:	38 21 00 28 	addi    r1,r1,40                               
ffc06324:	4e 80 00 20 	blr                                            
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
      parentpathlen = 1;                                              
      name = path;                                                    
ffc06328:	7f fd fb 78 	mr      r29,r31                                
  size_t namelen = 0;                                                 
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
ffc0632c:	3f e0 ff c2 	lis     r31,-62                                
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
ffc06330:	7c 7c 1b 78 	mr      r28,r3                                 
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
      parentpathlen = 1;                                              
ffc06334:	38 a0 00 01 	li      r5,1                                   
  size_t namelen = 0;                                                 
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
ffc06338:	38 9f e7 68 	addi    r4,r31,-6296                           
ffc0633c:	4b ff ff 84 	b       ffc062c0 <rtems_filesystem_eval_path_start_with_parent+0xa4>
  rtems_filesystem_location_info_t *parentloc,                        
  int parent_eval_flags                                               
)                                                                     
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
ffc06340:	7f e4 fb 78 	mr      r4,r31                                 
  size_t parentpathlen = get_parentpathlen(path, pathlen);            
  const char *name = NULL;                                            
  size_t namelen = 0;                                                 
ffc06344:	3b 80 00 00 	li      r28,0                                  
)                                                                     
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
  size_t parentpathlen = get_parentpathlen(path, pathlen);            
  const char *name = NULL;                                            
ffc06348:	3b a0 00 00 	li      r29,0                                  
    }                                                                 
                                                                      
    pathlen = i;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
ffc0634c:	38 a0 00 00 	li      r5,0                                   
ffc06350:	4b ff ff 70 	b       ffc062c0 <rtems_filesystem_eval_path_start_with_parent+0xa4>
                                                                      

ffc0ef5c <rtems_filesystem_get_mount_handler>: find_arg fa = { .type = type, .mount_h = NULL }; if ( type != NULL ) {
ffc0ef5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0ef60:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0ef64:	7c 08 02 a6 	mflr    r0                                     
  find_arg fa = {                                                     
ffc0ef68:	39 20 00 00 	li      r9,0                                   
ffc0ef6c:	90 61 00 08 	stw     r3,8(r1)                               
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
ffc0ef70:	90 01 00 1c 	stw     r0,28(r1)                              
  find_arg fa = {                                                     
ffc0ef74:	91 21 00 0c 	stw     r9,12(r1)                              
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0ef78:	41 9e 00 28 	beq-    cr7,ffc0efa0 <rtems_filesystem_get_mount_handler+0x44><== NEVER TAKEN
    rtems_filesystem_iterate( find_handler, &fa );                    
ffc0ef7c:	3c 60 ff c1 	lis     r3,-63                                 
ffc0ef80:	38 81 00 08 	addi    r4,r1,8                                
ffc0ef84:	38 63 ed e8 	addi    r3,r3,-4632                            
ffc0ef88:	4b ff fe d1 	bl      ffc0ee58 <rtems_filesystem_iterate>    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0ef8c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0ef90:	80 61 00 0c 	lwz     r3,12(r1)                              
ffc0ef94:	7c 08 03 a6 	mtlr    r0                                     
ffc0ef98:	38 21 00 18 	addi    r1,r1,24                               
ffc0ef9c:	4e 80 00 20 	blr                                            
ffc0efa0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
  find_arg fa = {                                                     
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
ffc0efa4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rtems_filesystem_iterate( find_handler, &fa );                    
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
ffc0efa8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0efac:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc0efb0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc068f8 <rtems_filesystem_global_location_obtain>: } rtems_filesystem_global_location_t *rtems_filesystem_global_location_obtain( rtems_filesystem_global_location_t *const *global_loc_ptr ) {
ffc068f8:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc068fc:	7c 08 02 a6 	mflr    r0                                     
ffc06900:	93 a1 00 14 	stw     r29,20(r1)                             
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  rtems_filesystem_global_location_t *global_loc;                     
                                                                      
  if (deferred_released_global_locations != NULL) {                   
ffc06904:	3f a0 00 00 	lis     r29,0                                  
ffc06908:	81 3d 28 bc 	lwz     r9,10428(r29)                          
}                                                                     
                                                                      
rtems_filesystem_global_location_t *rtems_filesystem_global_location_obtain(
  rtems_filesystem_global_location_t *const *global_loc_ptr           
)                                                                     
{                                                                     
ffc0690c:	93 41 00 08 	stw     r26,8(r1)                              
ffc06910:	7c 7a 1b 78 	mr      r26,r3                                 
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  rtems_filesystem_global_location_t *global_loc;                     
                                                                      
  if (deferred_released_global_locations != NULL) {                   
ffc06914:	2f 89 00 00 	cmpwi   cr7,r9,0                               
}                                                                     
                                                                      
rtems_filesystem_global_location_t *rtems_filesystem_global_location_obtain(
  rtems_filesystem_global_location_t *const *global_loc_ptr           
)                                                                     
{                                                                     
ffc06918:	90 01 00 24 	stw     r0,36(r1)                              
ffc0691c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc06920:	93 81 00 10 	stw     r28,16(r1)                             
ffc06924:	93 c1 00 18 	stw     r30,24(r1)                             
ffc06928:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  rtems_filesystem_global_location_t *global_loc;                     
                                                                      
  if (deferred_released_global_locations != NULL) {                   
ffc0692c:	41 9e 00 6c 	beq-    cr7,ffc06998 <rtems_filesystem_global_location_obtain+0xa0>
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc06930:	3f c0 00 00 	lis     r30,0                                  
ffc06934:	81 3e 28 24 	lwz     r9,10276(r30)                          
                                                                      
    ++level;                                                          
ffc06938:	39 29 00 01 	addi    r9,r9,1                                
    _Thread_Dispatch_disable_level = level;                           
ffc0693c:	91 3e 28 24 	stw     r9,10276(r30)                          
                                                                      
  do {                                                                
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
ffc06940:	83 fd 28 bc 	lwz     r31,10428(r29)                         
    if (current != NULL) {                                            
ffc06944:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc06948:	41 9e 00 4c 	beq-    cr7,ffc06994 <rtems_filesystem_global_location_obtain+0x9c><== NEVER TAKEN
ffc0694c:	3b bd 28 bc 	addi    r29,r29,10428                          
ffc06950:	3b de 28 24 	addi    r30,r30,10276                          
      deferred_released_global_locations = current->deferred_released_next;
      count = current->deferred_released_count;                       
      current->deferred_released_next = NULL;                         
ffc06954:	3b 80 00 00 	li      r28,0                                  
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
    if (current != NULL) {                                            
      deferred_released_global_locations = current->deferred_released_next;
ffc06958:	81 3f 00 1c 	lwz     r9,28(r31)                             
      count = current->deferred_released_count;                       
ffc0695c:	83 7f 00 20 	lwz     r27,32(r31)                            
      current->deferred_released_next = NULL;                         
ffc06960:	93 9f 00 1c 	stw     r28,28(r31)                            
      current->deferred_released_count = 0;                           
ffc06964:	93 9f 00 20 	stw     r28,32(r31)                            
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
    if (current != NULL) {                                            
      deferred_released_global_locations = current->deferred_released_next;
ffc06968:	91 3d 00 00 	stw     r9,0(r29)                              
      count = current->deferred_released_count;                       
      current->deferred_released_next = NULL;                         
      current->deferred_released_count = 0;                           
    }                                                                 
    _Thread_Enable_dispatch();                                        
ffc0696c:	48 00 60 b1 	bl      ffc0ca1c <_Thread_Enable_dispatch>     
                                                                      
    if (current != NULL) {                                            
      release_with_count(current, count);                             
ffc06970:	7f e3 fb 78 	mr      r3,r31                                 
ffc06974:	7f 64 db 78 	mr      r4,r27                                 
ffc06978:	4b ff fe 21 	bl      ffc06798 <release_with_count>          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc0697c:	81 3e 00 00 	lwz     r9,0(r30)                              
                                                                      
    ++level;                                                          
ffc06980:	39 29 00 01 	addi    r9,r9,1                                
    _Thread_Dispatch_disable_level = level;                           
ffc06984:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  do {                                                                
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
ffc06988:	83 fd 00 00 	lwz     r31,0(r29)                             
    if (current != NULL) {                                            
ffc0698c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc06990:	40 9e ff c8 	bne+    cr7,ffc06958 <rtems_filesystem_global_location_obtain+0x60><== NEVER TAKEN
      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();                                        
ffc06994:	48 00 60 89 	bl      ffc0ca1c <_Thread_Enable_dispatch>     
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06998:	7f e0 00 a6 	mfmsr   r31                                    
ffc0699c:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc069a0:	7f e9 48 78 	andc    r9,r31,r9                              
ffc069a4:	7d 20 01 24 	mtmsr   r9                                     
  if (deferred_released_global_locations != NULL) {                   
    deferred_release();                                               
  }                                                                   
                                                                      
  rtems_filesystem_mt_entry_lock(lock_context);                       
  global_loc = *global_loc_ptr;                                       
ffc069a8:	80 7a 00 00 	lwz     r3,0(r26)                              
  if (global_loc == NULL || !global_loc->location.mt_entry->mounted) {
ffc069ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc069b0:	41 9e 00 14 	beq-    cr7,ffc069c4 <rtems_filesystem_global_location_obtain+0xcc>
ffc069b4:	81 23 00 14 	lwz     r9,20(r3)                              
ffc069b8:	89 29 00 28 	lbz     r9,40(r9)                              
ffc069bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc069c0:	40 9e 00 18 	bne-    cr7,ffc069d8 <rtems_filesystem_global_location_obtain+0xe0>
    global_loc = &rtems_filesystem_global_location_null;              
    errno = ENXIO;                                                    
ffc069c4:	48 00 b6 b5 	bl      ffc12078 <__errno>                     
ffc069c8:	39 20 00 06 	li      r9,6                                   
ffc069cc:	91 23 00 00 	stw     r9,0(r3)                               
  }                                                                   
                                                                      
  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;              
ffc069d0:	3c 60 00 00 	lis     r3,0                                   
ffc069d4:	38 63 21 98 	addi    r3,r3,8600                             
    errno = ENXIO;                                                    
  }                                                                   
  ++global_loc->reference_count;                                      
ffc069d8:	81 23 00 18 	lwz     r9,24(r3)                              
ffc069dc:	39 29 00 01 	addi    r9,r9,1                                
ffc069e0:	91 23 00 18 	stw     r9,24(r3)                              
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc069e4:	7f e0 01 24 	mtmsr   r31                                    
  rtems_filesystem_mt_entry_unlock(lock_context);                     
                                                                      
  return global_loc;                                                  
}                                                                     
ffc069e8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc069ec:	83 41 00 08 	lwz     r26,8(r1)                              
ffc069f0:	7c 08 03 a6 	mtlr    r0                                     
ffc069f4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc069f8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc069fc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc06a00:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06a04:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06a08:	38 21 00 20 	addi    r1,r1,32                               
ffc06a0c:	4e 80 00 20 	blr                                            
                                                                      

ffc04744 <rtems_filesystem_initialize>: { int rv = 0; const rtems_filesystem_mount_configuration *root_config = &rtems_filesystem_root_configuration; rv = mount(
ffc04744:	3d 40 ff c2 	lis     r10,-62                                
/*                                                                    
 *  Default mode for created files.                                   
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04748:	94 21 ff f8 	stwu    r1,-8(r1)                              
  int rv = 0;                                                         
  const rtems_filesystem_mount_configuration *root_config =           
    &rtems_filesystem_root_configuration;                             
                                                                      
  rv = mount(                                                         
ffc0474c:	39 2a d5 80 	addi    r9,r10,-10880                          
/*                                                                    
 *  Default mode for created files.                                   
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04750:	7c 08 02 a6 	mflr    r0                                     
  int rv = 0;                                                         
  const rtems_filesystem_mount_configuration *root_config =           
    &rtems_filesystem_root_configuration;                             
                                                                      
  rv = mount(                                                         
ffc04754:	80 6a d5 80 	lwz     r3,-10880(r10)                         
ffc04758:	80 89 00 04 	lwz     r4,4(r9)                               
ffc0475c:	80 a9 00 08 	lwz     r5,8(r9)                               
ffc04760:	80 c9 00 0c 	lwz     r6,12(r9)                              
ffc04764:	80 e9 00 10 	lwz     r7,16(r9)                              
/*                                                                    
 *  Default mode for created files.                                   
 */                                                                   
                                                                      
void rtems_filesystem_initialize( void )                              
{                                                                     
ffc04768:	90 01 00 0c 	stw     r0,12(r1)                              
  int rv = 0;                                                         
  const rtems_filesystem_mount_configuration *root_config =           
    &rtems_filesystem_root_configuration;                             
                                                                      
  rv = mount(                                                         
ffc0476c:	48 00 0a 85 	bl      ffc051f0 <mount>                       
    root_config->target,                                              
    root_config->filesystemtype,                                      
    root_config->options,                                             
    root_config->data                                                 
  );                                                                  
  if ( rv != 0 )                                                      
ffc04770:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04774:	40 9e 00 2c 	bne-    cr7,ffc047a0 <rtems_filesystem_initialize+0x5c><== NEVER TAKEN
   *                                                                  
   *  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);                                          
ffc04778:	3c 60 ff c2 	lis     r3,-62                                 
ffc0477c:	38 63 e2 44 	addi    r3,r3,-7612                            
ffc04780:	38 80 01 ff 	li      r4,511                                 
ffc04784:	48 00 09 3d 	bl      ffc050c0 <mkdir>                       
  if ( rv != 0 )                                                      
ffc04788:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0478c:	40 9e 00 20 	bne-    cr7,ffc047ac <rtems_filesystem_initialize+0x68><== NEVER TAKEN
   *  it will be mounted onto is created.  Moreover, if it is going to
   *  use a device, then it is REALLY unfair to attempt this          
   *  before device drivers are initialized.  So we return via a base 
   *  filesystem image and nothing auto-mounted at this point.        
   */                                                                 
}                                                                     
ffc04790:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc04794:	38 21 00 08 	addi    r1,r1,8                                
ffc04798:	7c 08 03 a6 	mtlr    r0                                     
ffc0479c:	4e 80 00 20 	blr                                            
    root_config->filesystemtype,                                      
    root_config->options,                                             
    root_config->data                                                 
  );                                                                  
  if ( rv != 0 )                                                      
    rtems_fatal_error_occurred( 0xABCD0002 );                         
ffc047a0:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc047a4:	60 63 00 02 	ori     r3,r3,2                                <== NOT EXECUTED
ffc047a8:	48 00 5b f1 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  rv = mkdir( "/dev", 0777);                                          
  if ( rv != 0 )                                                      
    rtems_fatal_error_occurred( 0xABCD0003 );                         
ffc047ac:	3c 60 ab cd 	lis     r3,-21555                              <== NOT EXECUTED
ffc047b0:	60 63 00 03 	ori     r3,r3,3                                <== NOT EXECUTED
ffc047b4:	48 00 5b e5 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0ee58 <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
ffc0ee58:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0ee5c:	7c 08 02 a6 	mflr    r0                                     
ffc0ee60:	93 e1 00 1c 	stw     r31,28(r1)                             
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ee64:	3f e0 ff c2 	lis     r31,-62                                
ffc0ee68:	81 3f d5 94 	lwz     r9,-10860(r31)                         
ffc0ee6c:	3b ff d5 94 	addi    r31,r31,-10860                         
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0ee70:	93 81 00 10 	stw     r28,16(r1)                             
ffc0ee74:	7c 9c 23 78 	mr      r28,r4                                 
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ee78:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
bool rtems_filesystem_iterate(                                        
  rtems_per_filesystem_routine routine,                               
  void *routine_arg                                                   
)                                                                     
{                                                                     
ffc0ee7c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0ee80:	7c 7d 1b 78 	mr      r29,r3                                 
ffc0ee84:	90 01 00 24 	stw     r0,36(r1)                              
ffc0ee88:	93 41 00 08 	stw     r26,8(r1)                              
ffc0ee8c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0ee90:	93 c1 00 18 	stw     r30,24(r1)                             
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0ee94:	40 be 00 0c 	bne+    cr7,ffc0eea0 <rtems_filesystem_iterate+0x48><== ALWAYS TAKEN
ffc0ee98:	48 00 00 34 	b       ffc0eecc <rtems_filesystem_iterate+0x74><== NOT EXECUTED
ffc0ee9c:	40 9e 00 94 	bne-    cr7,ffc0ef30 <rtems_filesystem_iterate+0xd8>
    stop = (*routine)( table_entry, routine_arg );                    
ffc0eea0:	7f e3 fb 78 	mr      r3,r31                                 
ffc0eea4:	7f a9 03 a6 	mtctr   r29                                    
ffc0eea8:	7f 84 e3 78 	mr      r4,r28                                 
ffc0eeac:	4e 80 04 21 	bctrl                                          
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0eeb0:	85 3f 00 08 	lwzu    r9,8(r31)                              
    stop = (*routine)( table_entry, routine_arg );                    
ffc0eeb4:	7c 7e 1b 78 	mr      r30,r3                                 
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
ffc0eeb8:	2f 09 00 00 	cmpwi   cr6,r9,0                               
ffc0eebc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eec0:	40 9a ff dc 	bne+    cr6,ffc0ee9c <rtems_filesystem_iterate+0x44>
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
ffc0eec4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0eec8:	40 9e 00 68 	bne-    cr7,ffc0ef30 <rtems_filesystem_iterate+0xd8>
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0eecc:	3f 40 00 00 	lis     r26,0                                  
ffc0eed0:	80 7a 28 10 	lwz     r3,10256(r26)                          
ffc0eed4:	38 80 00 00 	li      r4,0                                   
ffc0eed8:	38 a0 00 00 	li      r5,0                                   
ffc0eedc:	4b ff ab 45 	bl      ffc09a20 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0eee0:	3d 20 00 00 	lis     r9,0                                   
ffc0eee4:	3b 69 22 14 	addi    r27,r9,8724                            
ffc0eee8:	83 e9 22 14 	lwz     r31,8724(r9)                           
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 ));            
ffc0eeec:	3b 7b 00 04 	addi    r27,r27,4                              
    rtems_libio_lock();                                               
    for (                                                             
ffc0eef0:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
ffc0eef4:	3b c0 00 00 	li      r30,0                                  
ffc0eef8:	40 be 00 0c 	bne+    cr7,ffc0ef04 <rtems_filesystem_iterate+0xac>
ffc0eefc:	48 00 00 2c 	b       ffc0ef28 <rtems_filesystem_iterate+0xd0>
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0ef00:	40 9a 00 28 	bne-    cr6,ffc0ef28 <rtems_filesystem_iterate+0xd0><== NEVER TAKEN
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
ffc0ef04:	38 7f 00 08 	addi    r3,r31,8                               
ffc0ef08:	7f a9 03 a6 	mtctr   r29                                    
ffc0ef0c:	7f 84 e3 78 	mr      r4,r28                                 
ffc0ef10:	4e 80 04 21 	bctrl                                          
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0ef14:	83 ff 00 00 	lwz     r31,0(r31)                             
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
ffc0ef18:	7c 7e 1b 78 	mr      r30,r3                                 
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0ef1c:	7f 9f d8 00 	cmpw    cr7,r31,r27                            
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
ffc0ef20:	2f 03 00 00 	cmpwi   cr6,r3,0                               
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
ffc0ef24:	40 9e ff dc 	bne+    cr7,ffc0ef00 <rtems_filesystem_iterate+0xa8>
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0ef28:	80 7a 28 10 	lwz     r3,10256(r26)                          
ffc0ef2c:	4b ff ac 95 	bl      ffc09bc0 <rtems_semaphore_release>     
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
ffc0ef30:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ef34:	7f c3 f3 78 	mr      r3,r30                                 
ffc0ef38:	83 41 00 08 	lwz     r26,8(r1)                              
ffc0ef3c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ef40:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ef44:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ef48:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ef4c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ef50:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ef54:	38 21 00 20 	addi    r1,r1,32                               
ffc0ef58:	4e 80 00 20 	blr                                            
                                                                      

ffc066d4 <rtems_filesystem_location_remove_from_mt_entry>: static inline uint32_t ppc_interrupt_disable( void ) { uint32_t level; uint32_t mask; __asm__ volatile (
ffc066d4:	7c c0 00 a6 	mfmsr   r6                                     
ffc066d8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc066dc:	7c c9 48 78 	andc    r9,r6,r9                               
ffc066e0:	7d 20 01 24 	mtmsr   r9                                     
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  bool do_unmount;                                                    
                                                                      
  rtems_filesystem_mt_entry_lock(lock_context);                       
  rtems_chain_extract_unprotected(&loc->mt_entry_node);               
  do_unmount = rtems_filesystem_is_ready_for_unmount(loc->mt_entry);  
ffc066e4:	81 23 00 14 	lwz     r9,20(r3)                              
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc066e8:	81 43 00 00 	lwz     r10,0(r3)                              
  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;                    
ffc066ec:	88 e9 00 28 	lbz     r7,40(r9)                              
  previous       = the_node->previous;                                
ffc066f0:	81 03 00 04 	lwz     r8,4(r3)                               
ffc066f4:	2f 87 00 00 	cmpwi   cr7,r7,0                               
  next->previous = previous;                                          
ffc066f8:	91 0a 00 04 	stw     r8,4(r10)                              
                                                                      
static inline bool rtems_filesystem_is_ready_for_unmount(             
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  bool ready = !mt_entry->mounted                                     
ffc066fc:	38 e0 00 00 	li      r7,0                                   
  previous->next = next;                                              
ffc06700:	91 48 00 00 	stw     r10,0(r8)                              
    && rtems_chain_has_only_one_node( &mt_entry->location_chain )     
    && mt_entry->mt_fs_root->reference_count == 1;                    
ffc06704:	40 9e 00 14 	bne-    cr7,ffc06718 <rtems_filesystem_location_remove_from_mt_entry+0x44>
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 )     
ffc06708:	81 09 00 14 	lwz     r8,20(r9)                              
ffc0670c:	81 49 00 1c 	lwz     r10,28(r9)                             
ffc06710:	7f 88 50 00 	cmpw    cr7,r8,r10                             
ffc06714:	41 9e 00 18 	beq-    cr7,ffc0672c <rtems_filesystem_location_remove_from_mt_entry+0x58>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06718:	7c c0 01 24 	mtmsr   r6                                     
  rtems_filesystem_mt_entry_unlock(lock_context);                     
                                                                      
  if (do_unmount) {                                                   
ffc0671c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc06720:	4d be 00 20 	beqlr+  cr7                                    
    rtems_filesystem_do_unmount(loc->mt_entry);                       
ffc06724:	80 63 00 14 	lwz     r3,20(r3)                              <== NOT EXECUTED
ffc06728:	4b ff ff 08 	b       ffc06630 <rtems_filesystem_do_unmount> <== NOT EXECUTED
    && mt_entry->mt_fs_root->reference_count == 1;                    
ffc0672c:	81 49 00 24 	lwz     r10,36(r9)                             
ffc06730:	81 4a 00 18 	lwz     r10,24(r10)                            
ffc06734:	2f 8a 00 01 	cmpwi   cr7,r10,1                              
ffc06738:	40 9e ff e0 	bne+    cr7,ffc06718 <rtems_filesystem_location_remove_from_mt_entry+0x44><== ALWAYS TAKEN
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 );                        
ffc0673c:	39 49 00 14 	addi    r10,r9,20                              <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc06740:	90 e9 00 18 	stw     r7,24(r9)                              <== 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 );                        
ffc06744:	39 09 00 18 	addi    r8,r9,24                               <== NOT EXECUTED
                                                                      
static inline bool rtems_filesystem_is_ready_for_unmount(             
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  bool ready = !mt_entry->mounted                                     
ffc06748:	38 e0 00 01 	li      r7,1                                   <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
ffc0674c:	91 09 00 14 	stw     r8,20(r9)                              <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc06750:	91 49 00 1c 	stw     r10,28(r9)                             <== NOT EXECUTED
ffc06754:	4b ff ff c4 	b       ffc06718 <rtems_filesystem_location_remove_from_mt_entry+0x44><== NOT EXECUTED
                                                                      

ffc06a10 <rtems_filesystem_location_transform_to_global>: } rtems_filesystem_global_location_t *rtems_filesystem_location_transform_to_global( rtems_filesystem_location_info_t *loc ) {
ffc06a10:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06a14:	7c 08 02 a6 	mflr    r0                                     
ffc06a18:	93 c1 00 18 	stw     r30,24(r1)                             
ffc06a1c:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
ffc06a20:	38 60 00 24 	li      r3,36                                  
}                                                                     
                                                                      
rtems_filesystem_global_location_t *rtems_filesystem_location_transform_to_global(
  rtems_filesystem_location_info_t *loc                               
)                                                                     
{                                                                     
ffc06a24:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06a28:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
ffc06a2c:	4b ff e5 69 	bl      ffc04f94 <malloc>                      
                                                                      
  if (global_loc != NULL) {                                           
ffc06a30:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06a34:	41 82 00 44 	beq-    ffc06a78 <rtems_filesystem_location_transform_to_global+0x68><== NEVER TAKEN
    global_loc->reference_count = 1;                                  
    global_loc->deferred_released_next = NULL;                        
ffc06a38:	39 20 00 00 	li      r9,0                                   
)                                                                     
{                                                                     
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
                                                                      
  if (global_loc != NULL) {                                           
    global_loc->reference_count = 1;                                  
ffc06a3c:	39 40 00 01 	li      r10,1                                  
    global_loc->deferred_released_next = NULL;                        
ffc06a40:	91 3f 00 1c 	stw     r9,28(r31)                             
    global_loc->deferred_released_count = 0;                          
    rtems_filesystem_location_copy(&global_loc->location, loc);       
ffc06a44:	7f c4 f3 78 	mr      r4,r30                                 
)                                                                     
{                                                                     
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
                                                                      
  if (global_loc != NULL) {                                           
    global_loc->reference_count = 1;                                  
ffc06a48:	91 5f 00 18 	stw     r10,24(r31)                            
    global_loc->deferred_released_next = NULL;                        
    global_loc->deferred_released_count = 0;                          
ffc06a4c:	91 3f 00 20 	stw     r9,32(r31)                             
    rtems_filesystem_location_copy(&global_loc->location, loc);       
ffc06a50:	4b ff fb 55 	bl      ffc065a4 <rtems_filesystem_location_copy>
    rtems_filesystem_location_remove_from_mt_entry(loc);              
ffc06a54:	7f c3 f3 78 	mr      r3,r30                                 
ffc06a58:	4b ff fc 7d 	bl      ffc066d4 <rtems_filesystem_location_remove_from_mt_entry>
    global_loc = rtems_filesystem_global_location_obtain_null();      
    errno = ENOMEM;                                                   
  }                                                                   
                                                                      
  return global_loc;                                                  
}                                                                     
ffc06a5c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06a60:	7f e3 fb 78 	mr      r3,r31                                 
ffc06a64:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06a68:	7c 08 03 a6 	mtlr    r0                                     
ffc06a6c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06a70:	38 21 00 20 	addi    r1,r1,32                               
ffc06a74:	4e 80 00 20 	blr                                            
    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);                              
ffc06a78:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc06a7c:	48 00 80 d5 	bl      ffc0eb50 <rtems_filesystem_location_free><== NOT EXECUTED
);                                                                    
                                                                      
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
ffc06a80:	7c 23 0b 78 	mr      r3,r1                                  <== NOT EXECUTED
ffc06a84:	97 e3 00 08 	stwu    r31,8(r3)                              <== NOT EXECUTED
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
ffc06a88:	4b ff fe 71 	bl      ffc068f8 <rtems_filesystem_global_location_obtain><== NOT EXECUTED
ffc06a8c:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    global_loc = rtems_filesystem_global_location_obtain_null();      
    errno = ENOMEM;                                                   
ffc06a90:	48 00 b5 e9 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return global_loc;                                                  
}                                                                     
ffc06a94:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    rtems_filesystem_location_copy(&global_loc->location, loc);       
    rtems_filesystem_location_remove_from_mt_entry(loc);              
  } else {                                                            
    rtems_filesystem_location_free(loc);                              
    global_loc = rtems_filesystem_global_location_obtain_null();      
    errno = ENOMEM;                                                   
ffc06a98:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc06a9c:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return global_loc;                                                  
}                                                                     
ffc06aa0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc06aa4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06aa8:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc06aac:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc06ab0:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc06ab4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc050d0 <rtems_filesystem_mknod>: const char *name, size_t namelen, mode_t mode, dev_t dev ) {
ffc050d0:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc050d4:	7c 08 02 a6 	mflr    r0                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
ffc050d8:	3d 20 00 00 	lis     r9,0                                   
  const char *name,                                                   
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
ffc050dc:	90 01 00 0c 	stw     r0,12(r1)                              
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
ffc050e0:	81 29 27 98 	lwz     r9,10136(r9)                           
ffc050e4:	81 29 00 08 	lwz     r9,8(r9)                               
ffc050e8:	7c c6 48 78 	andc    r6,r6,r9                               
                                                                      
  switch (mode & S_IFMT) {                                            
ffc050ec:	54 c9 04 26 	rlwinm  r9,r6,0,16,19                          
ffc050f0:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc050f4:	41 9e 00 50 	beq-    cr7,ffc05144 <rtems_filesystem_mknod+0x74>
ffc050f8:	2b 89 40 00 	cmplwi  cr7,r9,16384                           
ffc050fc:	40 9d 00 38 	ble-    cr7,ffc05134 <rtems_filesystem_mknod+0x64>
ffc05100:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc05104:	41 9e 00 40 	beq-    cr7,ffc05144 <rtems_filesystem_mknod+0x74>
ffc05108:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc0510c:	2f 8a 80 00 	cmpwi   cr7,r10,-32768                         
ffc05110:	41 9e 00 34 	beq-    cr7,ffc05144 <rtems_filesystem_mknod+0x74><== ALWAYS TAKEN
    case S_IFDIR:                                                     
    case S_IFIFO:                                                     
    case S_IFREG:                                                     
      break;                                                          
    default:                                                          
      errno = EINVAL;                                                 
ffc05114:	48 00 cf 65 	bl      ffc12078 <__errno>                     
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05118:	80 01 00 0c 	lwz     r0,12(r1)                              
    case S_IFDIR:                                                     
    case S_IFIFO:                                                     
    case S_IFREG:                                                     
      break;                                                          
    default:                                                          
      errno = EINVAL;                                                 
ffc0511c:	39 20 00 16 	li      r9,22                                  
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05120:	7c 08 03 a6 	mtlr    r0                                     
    case S_IFDIR:                                                     
    case S_IFIFO:                                                     
    case S_IFREG:                                                     
      break;                                                          
    default:                                                          
      errno = EINVAL;                                                 
ffc05124:	91 23 00 00 	stw     r9,0(r3)                               
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05128:	38 60 ff ff 	li      r3,-1                                  
ffc0512c:	38 21 00 08 	addi    r1,r1,8                                
ffc05130:	4e 80 00 20 	blr                                            
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
ffc05134:	2f 89 10 00 	cmpwi   cr7,r9,4096                            
ffc05138:	41 9e 00 0c 	beq-    cr7,ffc05144 <rtems_filesystem_mknod+0x74>
ffc0513c:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
ffc05140:	40 9e ff d4 	bne+    cr7,ffc05114 <rtems_filesystem_mknod+0x44>
      rv = -1;                                                        
      break;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    const rtems_filesystem_operations_table *ops = parentloc->mt_entry->ops;
ffc05144:	81 23 00 14 	lwz     r9,20(r3)                              
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05148:	80 01 00 0c 	lwz     r0,12(r1)                              
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    const rtems_filesystem_operations_table *ops = parentloc->mt_entry->ops;
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
ffc0514c:	81 29 00 0c 	lwz     r9,12(r9)                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05150:	7c 08 03 a6 	mtlr    r0                                     
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    const rtems_filesystem_operations_table *ops = parentloc->mt_entry->ops;
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
ffc05154:	81 29 00 18 	lwz     r9,24(r9)                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc05158:	38 21 00 08 	addi    r1,r1,8                                
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    const rtems_filesystem_operations_table *ops = parentloc->mt_entry->ops;
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
ffc0515c:	7d 29 03 a6 	mtctr   r9                                     
ffc05160:	4e 80 04 20 	bctr                                           
                                                                      

ffc0f0d4 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
ffc0f0d4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0f0d8:	7c 08 02 a6 	mflr    r0                                     
ffc0f0dc:	93 a1 00 0c 	stw     r29,12(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0f0e0:	7c 7d 1b 79 	mr.     r29,r3                                 
                                                                      
int                                                                   
rtems_filesystem_unregister(                                          
  const char *type                                                    
)                                                                     
{                                                                     
ffc0f0e4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0f0e8:	93 81 00 08 	stw     r28,8(r1)                              
ffc0f0ec:	93 c1 00 10 	stw     r30,16(r1)                             
ffc0f0f0:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
ffc0f0f4:	41 82 00 c8 	beq-    ffc0f1bc <rtems_filesystem_unregister+0xe8>
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc0f0f8:	3f 80 00 00 	lis     r28,0                                  
ffc0f0fc:	80 7c 28 10 	lwz     r3,10256(r28)                          
ffc0f100:	38 80 00 00 	li      r4,0                                   
ffc0f104:	38 a0 00 00 	li      r5,0                                   
ffc0f108:	4b ff a9 19 	bl      ffc09a20 <rtems_semaphore_obtain>      
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0f10c:	3d 20 00 00 	lis     r9,0                                   
ffc0f110:	3b c9 22 14 	addi    r30,r9,8724                            
ffc0f114:	83 e9 22 14 	lwz     r31,8724(r9)                           
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 ));            
ffc0f118:	3b de 00 04 	addi    r30,r30,4                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0f11c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0f120:	40 be 00 14 	bne+    cr7,ffc0f134 <rtems_filesystem_unregister+0x60>
ffc0f124:	48 00 00 60 	b       ffc0f184 <rtems_filesystem_unregister+0xb0>
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f128:	83 ff 00 00 	lwz     r31,0(r31)                             
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
ffc0f12c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0f130:	41 9e 00 54 	beq-    cr7,ffc0f184 <rtems_filesystem_unregister+0xb0><== ALWAYS TAKEN
    !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 ) {                     
ffc0f134:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc0f138:	7f a4 eb 78 	mr      r4,r29                                 
ffc0f13c:	48 00 42 69 	bl      ffc133a4 <strcmp>                      
ffc0f140:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0f144:	40 9e ff e4 	bne+    cr7,ffc0f128 <rtems_filesystem_unregister+0x54>
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc0f148:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f14c:	48 00 0b 01 	bl      ffc0fc4c <_Chain_Extract>              
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
ffc0f150:	7f e3 fb 78 	mr      r3,r31                                 
ffc0f154:	4b ff 5a 15 	bl      ffc04b68 <free>                        
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
ffc0f158:	80 7c 28 10 	lwz     r3,10256(r28)                          
ffc0f15c:	4b ff aa 65 	bl      ffc09bc0 <rtems_semaphore_release>     
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f160:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f164:	83 81 00 08 	lwz     r28,8(r1)                              
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
      rtems_libio_unlock();                                           
                                                                      
      return 0;                                                       
ffc0f168:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
}                                                                     
ffc0f16c:	7c 08 03 a6 	mtlr    r0                                     
ffc0f170:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f174:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f178:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f17c:	38 21 00 18 	addi    r1,r1,24                               
ffc0f180:	4e 80 00 20 	blr                                            
ffc0f184:	80 7c 28 10 	lwz     r3,10256(r28)                          
ffc0f188:	4b ff aa 39 	bl      ffc09bc0 <rtems_semaphore_release>     
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
ffc0f18c:	48 00 2e ed 	bl      ffc12078 <__errno>                     
ffc0f190:	39 20 00 02 	li      r9,2                                   
ffc0f194:	91 23 00 00 	stw     r9,0(r3)                               
ffc0f198:	38 60 ff ff 	li      r3,-1                                  
}                                                                     
ffc0f19c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0f1a0:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0f1a4:	7c 08 03 a6 	mtlr    r0                                     
ffc0f1a8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0f1ac:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0f1b0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0f1b4:	38 21 00 18 	addi    r1,r1,24                               
ffc0f1b8:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
ffc0f1bc:	48 00 2e bd 	bl      ffc12078 <__errno>                     
ffc0f1c0:	39 20 00 16 	li      r9,22                                  
ffc0f1c4:	91 23 00 00 	stw     r9,0(r3)                               
ffc0f1c8:	38 60 ff ff 	li      r3,-1                                  
ffc0f1cc:	4b ff ff d0 	b       ffc0f19c <rtems_filesystem_unregister+0xc8>
                                                                      

ffc05274 <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
ffc05274:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05278:	7c 08 02 a6 	mflr    r0                                     
ffc0527c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05280:	7c 7d 1b 78 	mr      r29,r3                                 
   * 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 ) );
ffc05284:	38 60 00 08 	li      r3,8                                   
  }                                                                   
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *))
{                                                                     
ffc05288:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0528c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc05290:	7c 9e 23 78 	mr      r30,r4                                 
ffc05294:	93 e1 00 14 	stw     r31,20(r1)                             
   * 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 ) );
ffc05298:	48 00 05 69 	bl      ffc05800 <malloc>                      
ffc0529c:	7c 7f 1b 78 	mr      r31,r3                                 
  *key = new_key;                                                     
ffc052a0:	90 7d 00 00 	stw     r3,0(r29)                              
  new_key->val  = NULL;                                               
ffc052a4:	39 20 00 00 	li      r9,0                                   
      "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 );
ffc052a8:	38 60 00 00 	li      r3,0                                   
ffc052ac:	7f e4 fb 78 	mr      r4,r31                                 
   * 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;                                                     
  new_key->val  = NULL;                                               
ffc052b0:	91 3f 00 00 	stw     r9,0(r31)                              
      "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 );
ffc052b4:	7f c5 f3 78 	mr      r5,r30                                 
   */                                                                 
   /* Do not pull your hair, trust me this works. :-) */              
  __gthread_key_t new_key = (__gthread_key_t) malloc( sizeof( *new_key ) );
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
  new_key->dtor = dtor;                                               
ffc052b8:	93 df 00 04 	stw     r30,4(r31)                             
      "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 );
ffc052bc:	48 00 57 bd 	bl      ffc0aa78 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc052c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc052c4:	40 9e 00 24 	bne-    cr7,ffc052e8 <rtems_gxx_key_create+0x74><== NEVER TAKEN
    return 0;                                                         
ffc052c8:	38 60 00 00 	li      r3,0                                   
                                                                      
  free( new_key );                                                    
  return -1;                                                          
}                                                                     
ffc052cc:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc052d0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc052d4:	7c 08 03 a6 	mtlr    r0                                     
ffc052d8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc052dc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc052e0:	38 21 00 18 	addi    r1,r1,24                               
ffc052e4:	4e 80 00 20 	blr                                            
  /* register with RTEMS the buffer that will hold the key values */  
  status = rtems_task_variable_add( RTEMS_SELF, (void **)new_key, dtor );
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
                                                                      
  free( new_key );                                                    
ffc052e8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc052ec:	4b ff fd 15 	bl      ffc05000 <free>                        <== NOT EXECUTED
  return -1;                                                          
ffc052f0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc052f4:	4b ff ff d8 	b       ffc052cc <rtems_gxx_key_create+0x58>   <== NOT EXECUTED
                                                                      

ffc05308 <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
ffc05308:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0530c:	7c 08 02 a6 	mflr    r0                                     
  #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 );    
ffc05310:	7c 64 1b 78 	mr      r4,r3                                  
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc05314:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc05318:	7c 7f 1b 78 	mr      r31,r3                                 
  #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 );    
ffc0531c:	38 60 00 00 	li      r3,0                                   
  key->val  = 0;                                                      
  return 0;                                                           
}                                                                     
                                                                      
int rtems_gxx_key_delete (__gthread_key_t key)                        
{                                                                     
ffc05320:	90 01 00 14 	stw     r0,20(r1)                              
  #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 );    
ffc05324:	48 00 58 49 	bl      ffc0ab6c <rtems_task_variable_delete>  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc05328:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0532c:	40 9e 00 14 	bne-    cr7,ffc05340 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
ffc05330:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc05334:	41 9e 00 0c 	beq-    cr7,ffc05340 <rtems_gxx_key_delete+0x38><== NEVER TAKEN
ffc05338:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc0533c:	4b ff fc c5 	bl      ffc05000 <free>                        
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
ffc05340:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05344:	38 60 00 00 	li      r3,0                                   
ffc05348:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0534c:	7c 08 03 a6 	mtlr    r0                                     
ffc05350:	38 21 00 10 	addi    r1,r1,16                               
ffc05354:	4e 80 00 20 	blr                                            
                                                                      

ffc05490 <rtems_gxx_mutex_lock>: printk( "gxx_wrappers: mutex init complete =%X\n", *mutex ); #endif } int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex) {
ffc05490:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05494:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: lock mutex=%X\n", *mutex );                
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain(                                    
ffc05498:	38 80 00 00 	li      r4,0                                   
    printk( "gxx_wrappers: mutex init complete =%X\n", *mutex );      
  #endif                                                              
}                                                                     
                                                                      
int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex)                   
{                                                                     
ffc0549c:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: lock mutex=%X\n", *mutex );                
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain(                                    
ffc054a0:	38 a0 00 00 	li      r5,0                                   
ffc054a4:	80 63 00 00 	lwz     r3,0(r3)                               
ffc054a8:	48 00 4d 49 	bl      ffc0a1f0 <rtems_semaphore_obtain>      
    *(rtems_id *)mutex,                                               
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc054ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc054b0:	40 9e 00 14 	bne-    cr7,ffc054c4 <rtems_gxx_mutex_lock+0x34><== NEVER TAKEN
    return 0;                                                         
  return -1;                                                          
}                                                                     
ffc054b4:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc054b8:	38 21 00 08 	addi    r1,r1,8                                
ffc054bc:	7c 08 03 a6 	mtlr    r0                                     
ffc054c0:	4e 80 00 20 	blr                                            
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc054c4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc054c8:	4b ff ff ec 	b       ffc054b4 <rtems_gxx_mutex_lock+0x24>   <== NOT EXECUTED
                                                                      

ffc05500 <rtems_gxx_mutex_trylock>: } int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex) {
ffc05500:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05504:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
ffc05508:	38 80 00 01 	li      r4,1                                   
    return 0;                                                         
  return -1;                                                          
}                                                                     
                                                                      
int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex)                
{                                                                     
ffc0550c:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: trylock mutex=%X\n", *mutex );             
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
ffc05510:	38 a0 00 00 	li      r5,0                                   
ffc05514:	80 63 00 00 	lwz     r3,0(r3)                               
ffc05518:	48 00 4c d9 	bl      ffc0a1f0 <rtems_semaphore_obtain>      
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc0551c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05520:	40 9e 00 14 	bne-    cr7,ffc05534 <rtems_gxx_mutex_trylock+0x34><== NEVER TAKEN
    return 0;                                                         
  return -1;                                                          
}                                                                     
ffc05524:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc05528:	38 21 00 08 	addi    r1,r1,8                                
ffc0552c:	7c 08 03 a6 	mtlr    r0                                     
ffc05530:	4e 80 00 20 	blr                                            
  #endif                                                              
                                                                      
  status = rtems_semaphore_obtain (*(rtems_id *)mutex, RTEMS_NO_WAIT, 0);
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc05534:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc05538:	4b ff ff ec 	b       ffc05524 <rtems_gxx_mutex_trylock+0x24><== NOT EXECUTED
                                                                      

ffc0553c <rtems_gxx_mutex_unlock>: } int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex) {
ffc0553c:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc05540:	7c 08 02 a6 	mflr    r0                                     
ffc05544:	90 01 00 0c 	stw     r0,12(r1)                              
                                                                      
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: unlock mutex=%X\n", *mutex );              
  #endif                                                              
                                                                      
  status = rtems_semaphore_release( *(rtems_id *)mutex );             
ffc05548:	80 63 00 00 	lwz     r3,0(r3)                               
ffc0554c:	48 00 4e 45 	bl      ffc0a390 <rtems_semaphore_release>     
  if ( status == RTEMS_SUCCESSFUL )                                   
ffc05550:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05554:	40 9e 00 14 	bne-    cr7,ffc05568 <rtems_gxx_mutex_unlock+0x2c><== NEVER TAKEN
    return 0;                                                         
  return -1;                                                          
}                                                                     
ffc05558:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc0555c:	38 21 00 08 	addi    r1,r1,8                                
ffc05560:	7c 08 03 a6 	mtlr    r0                                     
ffc05564:	4e 80 00 20 	blr                                            
  #endif                                                              
                                                                      
  status = rtems_semaphore_release( *(rtems_id *)mutex );             
  if ( status == RTEMS_SUCCESSFUL )                                   
    return 0;                                                         
  return -1;                                                          
ffc05568:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0556c:	4b ff ff ec 	b       ffc05558 <rtems_gxx_mutex_unlock+0x1c> <== NOT EXECUTED
                                                                      

ffc051ac <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)) {
ffc051ac:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc051b0:	7c 08 02 a6 	mflr    r0                                     
ffc051b4:	90 01 00 24 	stw     r0,36(r1)                              
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc051b8:	81 23 00 00 	lwz     r9,0(r3)                               
                                                                      
/* 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))       
{                                                                     
ffc051bc:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc051c0:	7c 7f 1b 78 	mr      r31,r3                                 
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc051c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
/* 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))       
{                                                                     
ffc051c8:	93 c1 00 18 	stw     r30,24(r1)                             
  #ifdef DEBUG_GXX_WRAPPERS                                           
    printk( "gxx_wrappers: once=%x, func=%x\n", *once, func );        
  #endif                                                              
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
ffc051cc:	41 9e 00 20 	beq-    cr7,ffc051ec <rtems_gxx_once+0x40>     
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc051d0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc051d4:	38 60 00 00 	li      r3,0                                   
ffc051d8:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc051dc:	7c 08 03 a6 	mtlr    r0                                     
ffc051e0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc051e4:	38 21 00 20 	addi    r1,r1,32                               
ffc051e8:	4e 80 00 20 	blr                                            
ffc051ec:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
ffc051f0:	38 60 01 00 	li      r3,256                                 
ffc051f4:	38 80 01 00 	li      r4,256                                 
ffc051f8:	38 a1 00 08 	addi    r5,r1,8                                
ffc051fc:	48 00 55 e9 	bl      ffc0a7e4 <rtems_task_mode>             
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
ffc05200:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc05204:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc05208:	40 9e 00 40 	bne-    cr7,ffc05248 <rtems_gxx_once+0x9c>     <== NEVER TAKEN
      *(volatile __gthread_once_t *)once = 1;                         
ffc0520c:	39 20 00 01 	li      r9,1                                   
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc05210:	80 61 00 08 	lwz     r3,8(r1)                               
    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 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
ffc05214:	91 3f 00 00 	stw     r9,0(r31)                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
ffc05218:	38 a1 00 08 	addi    r5,r1,8                                
ffc0521c:	38 80 01 00 	li      r4,256                                 
ffc05220:	48 00 55 c5 	bl      ffc0a7e4 <rtems_task_mode>             
    if ( o == 0 )                                                     
      (*func)();                                                      
ffc05224:	7f c9 03 a6 	mtctr   r30                                    
ffc05228:	4e 80 04 21 	bctrl                                          
  }                                                                   
  return 0;                                                           
}                                                                     
ffc0522c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc05230:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc05234:	38 60 00 00 	li      r3,0                                   
ffc05238:	7c 08 03 a6 	mtlr    r0                                     
ffc0523c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc05240:	38 21 00 20 	addi    r1,r1,32                               
ffc05244:	4e 80 00 20 	blr                                            
                                                                      
    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);         
ffc05248:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
ffc0524c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc05250:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc05254:	48 00 55 91 	bl      ffc0a7e4 <rtems_task_mode>             <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
ffc05258:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc0525c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc05260:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc05264:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc05268:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc0526c:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc05270:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc053e8 <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
ffc053e8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc053ec:	7c 08 02 a6 	mflr    r0                                     
ffc053f0:	90 01 00 14 	stw     r0,20(r1)                              
ffc053f4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc053f8:	7c 7f 1b 78 	mr      r31,r3                                 
      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 );
ffc053fc:	80 a3 00 04 	lwz     r5,4(r3)                               
ffc05400:	38 60 00 00 	li      r3,0                                   
  #endif                                                              
  return p;                                                           
}                                                                     
                                                                      
int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr)       
{                                                                     
ffc05404:	93 c1 00 08 	stw     r30,8(r1)                              
ffc05408:	7c 9e 23 78 	mr      r30,r4                                 
      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 );
ffc0540c:	7f e4 fb 78 	mr      r4,r31                                 
ffc05410:	48 00 56 69 	bl      ffc0aa78 <rtems_task_variable_add>     
  if ( status == RTEMS_SUCCESSFUL ) {                                 
ffc05414:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc05418:	40 9e 00 20 	bne-    cr7,ffc05438 <rtems_gxx_setspecific+0x50><== NEVER TAKEN
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
ffc0541c:	93 df 00 00 	stw     r30,0(r31)                             
    return 0;                                                         
  }                                                                   
  return -1;                                                          
}                                                                     
ffc05420:	80 01 00 14 	lwz     r0,20(r1)                              
ffc05424:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc05428:	7c 08 03 a6 	mtlr    r0                                     
ffc0542c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc05430:	38 21 00 10 	addi    r1,r1,16                               
ffc05434:	4e 80 00 20 	blr                                            
  if ( status == RTEMS_SUCCESSFUL ) {                                 
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
    return 0;                                                         
  }                                                                   
  return -1;                                                          
ffc05438:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc0543c:	4b ff ff e4 	b       ffc05420 <rtems_gxx_setspecific+0x38>  <== NOT EXECUTED
                                                                      

ffc09740 <rtems_heap_allocate_aligned_with_boundary>: size_t size, uintptr_t alignment, uintptr_t boundary ) { if (
ffc09740:	3d 20 00 00 	lis     r9,0                                   
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09744:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09748:	7c 08 02 a6 	mflr    r0                                     
  if (                                                                
ffc0974c:	81 29 28 a8 	lwz     r9,10408(r9)                           
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc09750:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09754:	7c bd 2b 78 	mr      r29,r5                                 
  if (                                                                
ffc09758:	2f 89 00 03 	cmpwi   cr7,r9,3                               
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
ffc0975c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09760:	7c 9e 23 78 	mr      r30,r4                                 
ffc09764:	93 e1 00 14 	stw     r31,20(r1)                             
ffc09768:	7c 7f 1b 78 	mr      r31,r3                                 
ffc0976c:	90 01 00 1c 	stw     r0,28(r1)                              
  if (                                                                
ffc09770:	41 9e 00 38 	beq-    cr7,ffc097a8 <rtems_heap_allocate_aligned_with_boundary+0x68><== ALWAYS TAKEN
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
ffc09774:	4b ff eb ad 	bl      ffc08320 <malloc_deferred_frees_process>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc09778:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc0977c:	3d 20 00 00 	lis     r9,0                                   
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc09780:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc09784:	7f e4 fb 78 	mr      r4,r31                                 
ffc09788:	7f c5 f3 78 	mr      r5,r30                                 
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc0978c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc09790:	83 c1 00 10 	lwz     r30,16(r1)                             
                                                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc09794:	7f a6 eb 78 	mr      r6,r29                                 
ffc09798:	80 69 27 94 	lwz     r3,10132(r9)                           
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc0979c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc097a0:	38 21 00 18 	addi    r1,r1,24                               
                                                                      
  malloc_deferred_frees_process();                                    
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
ffc097a4:	48 00 73 d0 	b       ffc10b74 <_Protected_heap_Allocate_aligned_with_boundary>
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
ffc097a8:	4b ff eb 4d 	bl      ffc082f4 <malloc_is_system_state_OK>   
ffc097ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc097b0:	40 9e ff c4 	bne+    cr7,ffc09774 <rtems_heap_allocate_aligned_with_boundary+0x34>
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
ffc097b4:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc097b8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc097bc:	7c 08 03 a6 	mtlr    r0                                     
ffc097c0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc097c4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc097c8:	38 21 00 18 	addi    r1,r1,24                               
ffc097cc:	4e 80 00 20 	blr                                            
                                                                      

ffc05968 <rtems_heap_extend_via_sbrk>: void *rtems_heap_extend_via_sbrk( Heap_Control *heap, size_t alloc_size ) { ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;
ffc05968:	3d 20 00 00 	lis     r9,0                                   
                                                                      
void *rtems_heap_extend_via_sbrk(                                     
  Heap_Control *heap,                                                 
  size_t alloc_size                                                   
)                                                                     
{                                                                     
ffc0596c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc05970:	7c 08 02 a6 	mflr    r0                                     
  ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;                   
ffc05974:	81 29 27 e8 	lwz     r9,10216(r9)                           
                                                                      
void *rtems_heap_extend_via_sbrk(                                     
  Heap_Control *heap,                                                 
  size_t alloc_size                                                   
)                                                                     
{                                                                     
ffc05978:	93 c1 00 10 	stw     r30,16(r1)                             
  ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;                   
  ptrdiff_t sbrk_size = (ptrdiff_t) alloc_size;                       
  ptrdiff_t misaligned = sbrk_size % sbrk_amount;                     
ffc0597c:	7f c4 4b d6 	divw    r30,r4,r9                              
                                                                      
void *rtems_heap_extend_via_sbrk(                                     
  Heap_Control *heap,                                                 
  size_t alloc_size                                                   
)                                                                     
{                                                                     
ffc05980:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc05984:	93 e1 00 14 	stw     r31,20(r1)                             
ffc05988:	90 01 00 1c 	stw     r0,28(r1)                              
  ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;                   
  ptrdiff_t sbrk_size = (ptrdiff_t) alloc_size;                       
  ptrdiff_t misaligned = sbrk_size % sbrk_amount;                     
ffc0598c:	7f de 49 d6 	mullw   r30,r30,r9                             
                                                                      
void *rtems_heap_extend_via_sbrk(                                     
  Heap_Control *heap,                                                 
  size_t alloc_size                                                   
)                                                                     
{                                                                     
ffc05990:	7c 9f 23 78 	mr      r31,r4                                 
  ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;                   
  ptrdiff_t sbrk_size = (ptrdiff_t) alloc_size;                       
  ptrdiff_t misaligned = sbrk_size % sbrk_amount;                     
  void *return_this = NULL;                                           
                                                                      
  if ( misaligned != 0 ) {                                            
ffc05994:	7d 5e 20 51 	subf.   r10,r30,r4                             
                                                                      
void *rtems_heap_extend_via_sbrk(                                     
  Heap_Control *heap,                                                 
  size_t alloc_size                                                   
)                                                                     
{                                                                     
ffc05998:	7c 7d 1b 78 	mr      r29,r3                                 
  ptrdiff_t sbrk_amount = RTEMS_Malloc_Sbrk_amount;                   
  ptrdiff_t sbrk_size = (ptrdiff_t) alloc_size;                       
ffc0599c:	7c 9e 23 78 	mr      r30,r4                                 
  ptrdiff_t misaligned = sbrk_size % sbrk_amount;                     
  void *return_this = NULL;                                           
                                                                      
  if ( misaligned != 0 ) {                                            
ffc059a0:	41 82 00 0c 	beq-    ffc059ac <rtems_heap_extend_via_sbrk+0x44>
    sbrk_size += sbrk_amount - misaligned;                            
ffc059a4:	7f ca 48 50 	subf    r30,r10,r9                             
ffc059a8:	7f c4 f2 14 	add     r30,r4,r30                             
  }                                                                   
                                                                      
  if ( sbrk_size > 0 && sbrk_amount > 0 ) {                           
ffc059ac:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc059b0:	40 9d 00 78 	ble-    cr7,ffc05a28 <rtems_heap_extend_via_sbrk+0xc0><== NEVER TAKEN
ffc059b4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc059b8:	40 9d 00 70 	ble-    cr7,ffc05a28 <rtems_heap_extend_via_sbrk+0xc0><== NEVER TAKEN
    void *area_begin = sbrk( sbrk_size );                             
ffc059bc:	7f c3 f3 78 	mr      r3,r30                                 
ffc059c0:	4b ff aa f9 	bl      ffc004b8 <sbrk>                        
                                                                      
    if ( area_begin != (void *) -1 ) {                                
ffc059c4:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
  if ( misaligned != 0 ) {                                            
    sbrk_size += sbrk_amount - misaligned;                            
  }                                                                   
                                                                      
  if ( sbrk_size > 0 && sbrk_amount > 0 ) {                           
    void *area_begin = sbrk( sbrk_size );                             
ffc059c8:	7c 64 1b 78 	mr      r4,r3                                  
                                                                      
    if ( area_begin != (void *) -1 ) {                                
ffc059cc:	41 9e 00 5c 	beq-    cr7,ffc05a28 <rtems_heap_extend_via_sbrk+0xc0><== NEVER TAKEN
      bool ok = _Protected_heap_Extend( heap, area_begin, sbrk_size );
ffc059d0:	7f a3 eb 78 	mr      r3,r29                                 
ffc059d4:	7f c5 f3 78 	mr      r5,r30                                 
ffc059d8:	48 00 5e d9 	bl      ffc0b8b0 <_Protected_heap_Extend>      
                                                                      
      if ( ok ) {                                                     
ffc059dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc059e0:	41 9e 00 40 	beq-    cr7,ffc05a20 <rtems_heap_extend_via_sbrk+0xb8><== ALWAYS TAKEN
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return return_this;                                                 
}                                                                     
ffc059e4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
                                                                      
    if ( area_begin != (void *) -1 ) {                                
      bool ok = _Protected_heap_Extend( heap, area_begin, sbrk_size );
                                                                      
      if ( ok ) {                                                     
        MSBUMP( space_available, sbrk_size );                         
ffc059e8:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc059ec:	81 49 2b f8 	lwz     r10,11256(r9)                          <== NOT EXECUTED
ffc059f0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return return_this;                                                 
}                                                                     
ffc059f4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc059f8:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
                                                                      
    if ( area_begin != (void *) -1 ) {                                
      bool ok = _Protected_heap_Extend( heap, area_begin, sbrk_size );
                                                                      
      if ( ok ) {                                                     
        MSBUMP( space_available, sbrk_size );                         
ffc059fc:	7f de 52 14 	add     r30,r30,r10                            <== NOT EXECUTED
ffc05a00:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc05a04:	93 c9 2b f8 	stw     r30,11256(r9)                          <== NOT EXECUTED
ffc05a08:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return return_this;                                                 
}                                                                     
ffc05a0c:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc05a10:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc05a14:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc05a18:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc05a1c:	48 00 5e 28 	b       ffc0b844 <_Protected_heap_Allocate_aligned_with_boundary><== NOT EXECUTED
      if ( ok ) {                                                     
        MSBUMP( space_available, sbrk_size );                         
                                                                      
        return_this = _Protected_heap_Allocate( heap, alloc_size );   
      } else {                                                        
        sbrk( -sbrk_size );                                           
ffc05a20:	7c 7e 00 d0 	neg     r3,r30                                 
ffc05a24:	4b ff aa 95 	bl      ffc004b8 <sbrk>                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return return_this;                                                 
}                                                                     
ffc05a28:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc05a2c:	38 60 00 00 	li      r3,0                                   
ffc05a30:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc05a34:	7c 08 03 a6 	mtlr    r0                                     
ffc05a38:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc05a3c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc05a40:	38 21 00 18 	addi    r1,r1,24                               
ffc05a44:	4e 80 00 20 	blr                                            
                                                                      

ffc06e44 <rtems_ide_part_table_free>: * N/A */ void rtems_ide_part_table_free(rtems_disk_desc_t *disk_desc) { partition_table_free( disk_desc );
ffc06e44:	4b ff f9 30 	b       ffc06774 <partition_table_free>        <== NOT EXECUTED
                                                                      

ffc06e48 <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 );
ffc06e48:	4b ff fd 6c 	b       ffc06bb4 <partition_table_get>         <== NOT EXECUTED
                                                                      

ffc06e4c <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) {
ffc06e4c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc06e50:	7c 08 02 a6 	mflr    r0                                     
    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));
ffc06e54:	38 80 01 28 	li      r4,296                                 
 *      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)                 
{                                                                     
ffc06e58:	93 81 00 30 	stw     r28,48(r1)                             
ffc06e5c:	7c 7c 1b 78 	mr      r28,r3                                 
    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));
ffc06e60:	38 60 00 01 	li      r3,1                                   
 *      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)                 
{                                                                     
ffc06e64:	92 c1 00 18 	stw     r22,24(r1)                             
    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)                                            
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
ffc06e68:	3a c0 00 1a 	li      r22,26                                 
 *      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)                 
{                                                                     
ffc06e6c:	93 a1 00 34 	stw     r29,52(r1)                             
ffc06e70:	90 01 00 44 	stw     r0,68(r1)                              
ffc06e74:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc06e78:	93 01 00 20 	stw     r24,32(r1)                             
ffc06e7c:	93 21 00 24 	stw     r25,36(r1)                             
ffc06e80:	93 41 00 28 	stw     r26,40(r1)                             
ffc06e84:	93 61 00 2c 	stw     r27,44(r1)                             
ffc06e88:	93 c1 00 38 	stw     r30,56(r1)                             
ffc06e8c:	93 e1 00 3c 	stw     r31,60(r1)                             
    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));
ffc06e90:	48 00 0a 35 	bl      ffc078c4 <calloc>                      
    if (disk_desc == NULL)                                            
ffc06e94:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc06e98:	41 82 00 d8 	beq-    ffc06f70 <rtems_ide_part_table_initialize+0x124><== NEVER TAKEN
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    /* get partition table */                                         
    rc = partition_table_get(dev_name, disk_desc);                    
ffc06e9c:	7f 83 e3 78 	mr      r3,r28                                 
ffc06ea0:	7f a4 eb 78 	mr      r4,r29                                 
ffc06ea4:	4b ff fd 11 	bl      ffc06bb4 <partition_table_get>         
    if (rc != RTEMS_SUCCESSFUL)                                       
ffc06ea8:	7c 76 1b 79 	mr.     r22,r3                                 
ffc06eac:	40 82 01 00 	bne-    ffc06fac <rtems_ide_part_table_initialize+0x160><== NEVER TAKEN
    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);                
ffc06eb0:	3f 60 ff c3 	lis     r27,-61                                
    /* 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);      
ffc06eb4:	83 3d 00 00 	lwz     r25,0(r29)                             
                                                                      
        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);
ffc06eb8:	3f 00 ff c3 	lis     r24,-61                                
    /* 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);      
ffc06ebc:	83 5d 00 04 	lwz     r26,4(r29)                             
 *      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)                 
ffc06ec0:	3b dd 00 24 	addi    r30,r29,36                             
     */                                                               
                                                                      
    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++) 
ffc06ec4:	3b e0 00 00 	li      r31,0                                  
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06ec8:	3b 7b 8f c8 	addi    r27,r27,-28728                         
                                                                      
        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);
ffc06ecc:	3e e0 00 00 	lis     r23,0                                  
ffc06ed0:	3b 18 8f d0 	addi    r24,r24,-28720                         
     */                                                               
                                                                      
    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++) 
ffc06ed4:	81 3d 00 24 	lwz     r9,36(r29)                             
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06ed8:	7f 64 db 78 	mr      r4,r27                                 
ffc06edc:	7f 85 e3 78 	mr      r5,r28                                 
     */                                                               
                                                                      
    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++) 
ffc06ee0:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06ee4:	3b ff 00 01 	addi    r31,r31,1                              
ffc06ee8:	38 61 00 08 	addi    r3,r1,8                                
ffc06eec:	7f e6 fb 78 	mr      r6,r31                                 
     */                                                               
                                                                      
    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++) 
ffc06ef0:	40 9c 00 78 	bge-    cr7,ffc06f68 <rtems_ide_part_table_initialize+0x11c>
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06ef4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc06ef8:	48 01 35 a1 	bl      ffc1a498 <sprintf>                     
        dev = rtems_filesystem_make_dev_t(major, ++minor);            
                                                                      
        part_desc = disk_desc->partitions[part_num];                  
ffc06efc:	85 5e 00 04 	lwzu    r10,4(r30)                             
        if (part_desc == NULL)                                        
        {                                                             
            continue;                                                 
        }                                                             
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
ffc06f00:	39 21 00 08 	addi    r9,r1,8                                
    {                                                                 
        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)                                        
ffc06f04:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
        {                                                             
            continue;                                                 
        }                                                             
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
ffc06f08:	7f 23 cb 78 	mr      r3,r25                                 
 *      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)                 
ffc06f0c:	7c 9f d2 14 	add     r4,r31,r26                             
    {                                                                 
        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)                                        
ffc06f10:	41 be ff c4 	beq-    cr7,ffc06ed4 <rtems_ide_part_table_initialize+0x88>
        {                                                             
            continue;                                                 
        }                                                             
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
ffc06f14:	80 dd 00 04 	lwz     r6,4(r29)                              
ffc06f18:	80 bd 00 00 	lwz     r5,0(r29)                              
ffc06f1c:	80 ea 00 04 	lwz     r7,4(r10)                              
ffc06f20:	81 0a 00 08 	lwz     r8,8(r10)                              
ffc06f24:	4b ff f0 95 	bl      ffc05fb8 <rtems_disk_create_log>       
                                   part_desc->size, name);            
        if (rc != RTEMS_SUCCESSFUL)                                   
ffc06f28:	7c 66 1b 79 	mr.     r6,r3                                  
ffc06f2c:	41 82 ff a8 	beq+    ffc06ed4 <rtems_ide_part_table_initialize+0x88><== ALWAYS TAKEN
        {                                                             
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
ffc06f30:	81 37 27 ac 	lwz     r9,10156(r23)                          <== NOT EXECUTED
ffc06f34:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc06f38:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc06f3c:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc06f40:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc06f44:	48 01 2a 9d 	bl      ffc199e0 <fprintf>                     <== 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++) 
ffc06f48:	81 3d 00 24 	lwz     r9,36(r29)                             <== NOT EXECUTED
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06f4c:	7f 64 db 78 	mr      r4,r27                                 <== 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++) 
ffc06f50:	7f 9f 48 00 	cmpw    cr7,r31,r9                             <== NOT EXECUTED
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
ffc06f54:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
ffc06f58:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc06f5c:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc06f60:	7f e6 fb 78 	mr      r6,r31                                 <== 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++) 
ffc06f64:	41 9c ff 90 	blt+    cr7,ffc06ef4 <rtems_ide_part_table_initialize+0xa8><== NOT EXECUTED
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
            continue;                                                 
        }                                                             
    }                                                                 
                                                                      
    partition_table_free(disk_desc);                                  
ffc06f68:	7f a3 eb 78 	mr      r3,r29                                 
ffc06f6c:	4b ff f8 09 	bl      ffc06774 <partition_table_free>        
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06f70:	80 01 00 44 	lwz     r0,68(r1)                              
ffc06f74:	7e c3 b3 78 	mr      r3,r22                                 
ffc06f78:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc06f7c:	7c 08 03 a6 	mtlr    r0                                     
ffc06f80:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc06f84:	83 01 00 20 	lwz     r24,32(r1)                             
ffc06f88:	83 21 00 24 	lwz     r25,36(r1)                             
ffc06f8c:	83 41 00 28 	lwz     r26,40(r1)                             
ffc06f90:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc06f94:	83 81 00 30 	lwz     r28,48(r1)                             
ffc06f98:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc06f9c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc06fa0:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc06fa4:	38 21 00 40 	addi    r1,r1,64                               
ffc06fa8:	4e 80 00 20 	blr                                            
                                                                      
    /* get partition table */                                         
    rc = partition_table_get(dev_name, disk_desc);                    
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        free(disk_desc);                                              
ffc06fac:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc06fb0:	48 00 0a 25 	bl      ffc079d4 <free>                        <== NOT EXECUTED
    }                                                                 
                                                                      
    partition_table_free(disk_desc);                                  
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
ffc06fb4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc06fb8:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
ffc06fbc:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc06fc0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06fc4:	82 c1 00 18 	lwz     r22,24(r1)                             <== NOT EXECUTED
ffc06fc8:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc06fcc:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc06fd0:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc06fd4:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc06fd8:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc06fdc:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc06fe0:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc06fe4:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc06fe8:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc06fec:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0b994 <rtems_io_register_driver>: rtems_device_major_number *registered_major ) { rtems_device_major_number major_limit = _IO_Number_of_drivers; if ( rtems_interrupt_is_in_progress() )
ffc0b994:	3d 20 00 00 	lis     r9,0                                   
ffc0b998:	81 49 2e 48 	lwz     r10,11848(r9)                          
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
ffc0b99c:	3d 20 00 00 	lis     r9,0                                   
ffc0b9a0:	81 09 27 f4 	lwz     r8,10228(r9)                           
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
ffc0b9a4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b9a8:	41 9e 00 0c 	beq-    cr7,ffc0b9b4 <rtems_io_register_driver+0x20>
    return RTEMS_CALLED_FROM_ISR;                                     
ffc0b9ac:	38 60 00 12 	li      r3,18                                  
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0b9b0:	4e 80 00 20 	blr                                            
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
ffc0b9b4:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0b9b8:	41 9e 00 50 	beq-    cr7,ffc0ba08 <rtems_io_register_driver+0x74>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
ffc0b9bc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
  if ( registered_major == NULL )                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
ffc0b9c0:	91 05 00 00 	stw     r8,0(r5)                               
                                                                      
  if ( driver_table == NULL )                                         
ffc0b9c4:	41 9e 00 44 	beq-    cr7,ffc0ba08 <rtems_io_register_driver+0x74>
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                  
)                                                                     
{                                                                     
ffc0b9c8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0b9cc:	7c 08 02 a6 	mflr    r0                                     
ffc0b9d0:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0b9d4:	81 44 00 00 	lwz     r10,0(r4)                              
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                  
)                                                                     
{                                                                     
ffc0b9d8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc0b9dc:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0b9e0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0b9e4:	41 9e 00 2c 	beq-    cr7,ffc0ba10 <rtems_io_register_driver+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc0b9e8:	7f 88 f8 40 	cmplw   cr7,r8,r31                             
    return RTEMS_INVALID_NUMBER;                                      
ffc0b9ec:	38 60 00 0a 	li      r3,10                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
ffc0b9f0:	41 9d 00 34 	bgt-    cr7,ffc0ba24 <rtems_io_register_driver+0x90>
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0b9f4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0b9f8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b9fc:	7c 08 03 a6 	mtlr    r0                                     
ffc0ba00:	38 21 00 10 	addi    r1,r1,16                               
ffc0ba04:	4e 80 00 20 	blr                                            
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0ba08:	38 60 00 09 	li      r3,9                                   
ffc0ba0c:	4e 80 00 20 	blr                                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ba10:	81 44 00 04 	lwz     r10,4(r4)                              
ffc0ba14:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ba18:	40 9e ff d0 	bne+    cr7,ffc0b9e8 <rtems_io_register_driver+0x54>
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
ffc0ba1c:	38 60 00 09 	li      r3,9                                   
ffc0ba20:	4b ff ff d4 	b       ffc0b9f4 <rtems_io_register_driver+0x60>
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc0ba24:	3d 40 00 00 	lis     r10,0                                  
ffc0ba28:	81 0a 27 bc 	lwz     r8,10172(r10)                          
                                                                      
    ++level;                                                          
ffc0ba2c:	39 08 00 01 	addi    r8,r8,1                                
    _Thread_Dispatch_disable_level = level;                           
ffc0ba30:	91 0a 27 bc 	stw     r8,10172(r10)                          
  if ( major >= major_limit )                                         
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
ffc0ba34:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ba38:	41 9e 00 2c 	beq-    cr7,ffc0ba64 <rtems_io_register_driver+0xd0>
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0ba3c:	3d 00 00 00 	lis     r8,0                                   
ffc0ba40:	1d 5f 00 18 	mulli   r10,r31,24                             
ffc0ba44:	81 28 27 f8 	lwz     r9,10232(r8)                           
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ba48:	7c e9 50 2e 	lwzx    r7,r9,r10                              
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
ffc0ba4c:	7d 29 52 14 	add     r9,r9,r10                              
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ba50:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0ba54:	41 9e 00 cc 	beq-    cr7,ffc0bb20 <rtems_io_register_driver+0x18c>
    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();                                      
ffc0ba58:	48 00 26 09 	bl      ffc0e060 <_Thread_Enable_dispatch>     
      return RTEMS_RESOURCE_IN_USE;                                   
ffc0ba5c:	38 60 00 0c 	li      r3,12                                  
ffc0ba60:	4b ff ff 94 	b       ffc0b9f4 <rtems_io_register_driver+0x60>
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
ffc0ba64:	80 e9 27 f4 	lwz     r7,10228(r9)                           
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
ffc0ba68:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc0ba6c:	41 9e 00 a4 	beq-    cr7,ffc0bb10 <rtems_io_register_driver+0x17c><== NEVER TAKEN
ffc0ba70:	3d 00 00 00 	lis     r8,0                                   
ffc0ba74:	7c e9 03 a6 	mtctr   r7                                     
ffc0ba78:	81 28 27 f8 	lwz     r9,10232(r8)                           
ffc0ba7c:	48 00 00 10 	b       ffc0ba8c <rtems_io_register_driver+0xf8>
ffc0ba80:	3b ff 00 01 	addi    r31,r31,1                              
ffc0ba84:	39 29 00 18 	addi    r9,r9,24                               
ffc0ba88:	42 40 00 88 	bdz-    ffc0bb10 <rtems_io_register_driver+0x17c>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0ba8c:	81 49 00 00 	lwz     r10,0(r9)                              
ffc0ba90:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0ba94:	40 9e ff ec 	bne+    cr7,ffc0ba80 <rtems_io_register_driver+0xec>
ffc0ba98:	81 49 00 04 	lwz     r10,4(r9)                              
ffc0ba9c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0baa0:	40 9e ff e0 	bne+    cr7,ffc0ba80 <rtems_io_register_driver+0xec>
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
ffc0baa4:	7f 87 f8 00 	cmpw    cr7,r7,r31                             
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0baa8:	93 e5 00 00 	stw     r31,0(r5)                              
ffc0baac:	1d 5f 00 18 	mulli   r10,r31,24                             
                                                                      
  if ( m != n )                                                       
ffc0bab0:	41 9e 00 64 	beq-    cr7,ffc0bb14 <rtems_io_register_driver+0x180><== NEVER TAKEN
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
ffc0bab4:	81 08 27 f8 	lwz     r8,10232(r8)                           
ffc0bab8:	80 64 00 04 	lwz     r3,4(r4)                               
ffc0babc:	80 a4 00 08 	lwz     r5,8(r4)                               
ffc0bac0:	7d 28 52 14 	add     r9,r8,r10                              
ffc0bac4:	80 e4 00 00 	lwz     r7,0(r4)                               
ffc0bac8:	80 c4 00 0c 	lwz     r6,12(r4)                              
ffc0bacc:	7c e8 51 2e 	stwx    r7,r8,r10                              
ffc0bad0:	90 69 00 04 	stw     r3,4(r9)                               
ffc0bad4:	90 a9 00 08 	stw     r5,8(r9)                               
ffc0bad8:	90 c9 00 0c 	stw     r6,12(r9)                              
ffc0badc:	81 04 00 10 	lwz     r8,16(r4)                              
ffc0bae0:	81 44 00 14 	lwz     r10,20(r4)                             
ffc0bae4:	91 09 00 10 	stw     r8,16(r9)                              
ffc0bae8:	91 49 00 14 	stw     r10,20(r9)                             
                                                                      
  _Thread_Enable_dispatch();                                          
ffc0baec:	48 00 25 75 	bl      ffc0e060 <_Thread_Enable_dispatch>     
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
}                                                                     
ffc0baf0:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc0baf4:	7f e3 fb 78 	mr      r3,r31                                 
}                                                                     
ffc0baf8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0bafc:	7c 08 03 a6 	mtlr    r0                                     
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc0bb00:	38 80 00 00 	li      r4,0                                   
ffc0bb04:	38 a0 00 00 	li      r5,0                                   
}                                                                     
ffc0bb08:	38 21 00 10 	addi    r1,r1,16                               
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
ffc0bb0c:	48 00 93 e4 	b       ffc14ef0 <rtems_io_initialize>         
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
ffc0bb10:	93 e5 00 00 	stw     r31,0(r5)                              
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
ffc0bb14:	48 00 25 4d 	bl      ffc0e060 <_Thread_Enable_dispatch>     
  *major = m;                                                         
                                                                      
  if ( m != n )                                                       
    return RTEMS_SUCCESSFUL;                                          
                                                                      
  return RTEMS_TOO_MANY;                                              
ffc0bb18:	38 60 00 05 	li      r3,5                                   
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
ffc0bb1c:	4b ff fe d8 	b       ffc0b9f4 <rtems_io_register_driver+0x60>
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
ffc0bb20:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0bb24:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bb28:	40 9e ff 30 	bne+    cr7,ffc0ba58 <rtems_io_register_driver+0xc4>
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
ffc0bb2c:	93 e5 00 00 	stw     r31,0(r5)                              
ffc0bb30:	4b ff ff 84 	b       ffc0bab4 <rtems_io_register_driver+0x120>
                                                                      

ffc0cfd0 <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) {
ffc0cfd0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0cfd4:	7c 08 02 a6 	mflr    r0                                     
ffc0cfd8:	93 a1 00 14 	stw     r29,20(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0cfdc:	7c 7d 1b 79 	mr.     r29,r3                                 
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
{                                                                     
ffc0cfe0:	90 01 00 24 	stw     r0,36(r1)                              
ffc0cfe4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0cfe8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0cfec:	93 c1 00 18 	stw     r30,24(r1)                             
ffc0cff0:	93 e1 00 1c 	stw     r31,28(r1)                             
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
ffc0cff4:	41 82 00 70 	beq-    ffc0d064 <rtems_iterate_over_all_threads+0x94><== NEVER TAKEN
ffc0cff8:	3f 80 00 00 	lis     r28,0                                  
ffc0cffc:	3b 9c 30 18 	addi    r28,r28,12312                          
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
ffc0d000:	3b 7c 00 0c 	addi    r27,r28,12                             
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
ffc0d004:	85 3c 00 04 	lwzu    r9,4(r28)                              
ffc0d008:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0d00c:	41 9e 00 50 	beq-    cr7,ffc0d05c <rtems_iterate_over_all_threads+0x8c>
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
ffc0d010:	83 c9 00 04 	lwz     r30,4(r9)                              
    if ( !information )                                               
ffc0d014:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc0d018:	41 9e 00 44 	beq-    cr7,ffc0d05c <rtems_iterate_over_all_threads+0x8c>
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0d01c:	a1 1e 00 10 	lhz     r8,16(r30)                             
ffc0d020:	71 09 ff ff 	andi.   r9,r8,65535                            
ffc0d024:	41 82 00 38 	beq-    ffc0d05c <rtems_iterate_over_all_threads+0x8c><== NEVER TAKEN
ffc0d028:	3b e0 00 01 	li      r31,1                                  
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0d02c:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc0d030:	57 ea 10 3a 	rlwinm  r10,r31,2,0,29                         
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0d034:	3b ff 00 01 	addi    r31,r31,1                              
      the_thread = (Thread_Control *)information->local_table[ i ];   
ffc0d038:	7c 69 50 2e 	lwzx    r3,r9,r10                              
                                                                      
      if ( !the_thread )                                              
ffc0d03c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0d040:	41 9e 00 10 	beq-    cr7,ffc0d050 <rtems_iterate_over_all_threads+0x80>
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
ffc0d044:	7f a9 03 a6 	mtctr   r29                                    
ffc0d048:	4e 80 04 21 	bctrl                                          
ffc0d04c:	a1 1e 00 10 	lhz     r8,16(r30)                             
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
ffc0d050:	55 09 04 3e 	clrlwi  r9,r8,16                               
ffc0d054:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc0d058:	40 9c ff d4 	bge+    cr7,ffc0d02c <rtems_iterate_over_all_threads+0x5c>
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
ffc0d05c:	7f 9c d8 00 	cmpw    cr7,r28,r27                            
ffc0d060:	40 9e ff a4 	bne+    cr7,ffc0d004 <rtems_iterate_over_all_threads+0x34>
                                                                      
      (*routine)(the_thread);                                         
    }                                                                 
  }                                                                   
                                                                      
}                                                                     
ffc0d064:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0d068:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0d06c:	7c 08 03 a6 	mtlr    r0                                     
ffc0d070:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0d074:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0d078:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0d07c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0d080:	38 21 00 20 	addi    r1,r1,32                               
ffc0d084:	4e 80 00 20 	blr                                            
                                                                      

ffc04d14 <rtems_libio_init>: rtems_id rtems_libio_semaphore; rtems_libio_t *rtems_libio_iops; rtems_libio_t *rtems_libio_iop_freelist; void rtems_libio_init( void ) {
ffc04d14:	94 21 ff f0 	stwu    r1,-16(r1)                             
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04d18:	3d 20 00 00 	lis     r9,0                                   
rtems_id           rtems_libio_semaphore;                             
rtems_libio_t     *rtems_libio_iops;                                  
rtems_libio_t     *rtems_libio_iop_freelist;                          
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04d1c:	7c 08 02 a6 	mflr    r0                                     
ffc04d20:	93 e1 00 0c 	stw     r31,12(r1)                             
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04d24:	83 e9 27 58 	lwz     r31,10072(r9)                          
rtems_id           rtems_libio_semaphore;                             
rtems_libio_t     *rtems_libio_iops;                                  
rtems_libio_t     *rtems_libio_iop_freelist;                          
                                                                      
void rtems_libio_init( void )                                         
{                                                                     
ffc04d28:	90 01 00 14 	stw     r0,20(r1)                              
    rtems_status_code rc;                                             
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
ffc04d2c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc04d30:	41 9e 00 64 	beq-    cr7,ffc04d94 <rtems_libio_init+0x80>   <== NEVER TAKEN
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc04d34:	7f e3 fb 78 	mr      r3,r31                                 
ffc04d38:	38 80 00 38 	li      r4,56                                  
ffc04d3c:	4b ff fa 7d 	bl      ffc047b8 <calloc>                      
ffc04d40:	3d 20 00 00 	lis     r9,0                                   
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04d44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    uint32_t i;                                                       
    rtems_libio_t *iop;                                               
                                                                      
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
ffc04d48:	90 69 28 08 	stw     r3,10248(r9)                           
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
ffc04d4c:	41 9e 00 b0 	beq-    cr7,ffc04dfc <rtems_libio_init+0xe8>   
            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++)  
ffc04d50:	2b 9f 00 01 	cmplwi  cr7,r31,1                              
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
ffc04d54:	3d 20 00 00 	lis     r9,0                                   
ffc04d58:	90 69 28 0c 	stw     r3,10252(r9)                           
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
ffc04d5c:	40 9d 00 30 	ble-    cr7,ffc04d8c <rtems_libio_init+0x78>   
ffc04d60:	3b ff ff ff 	addi    r31,r31,-1                             
ffc04d64:	7f e9 03 a6 	mtctr   r31                                    
ffc04d68:	7c 69 1b 78 	mr      r9,r3                                  
ffc04d6c:	39 40 00 01 	li      r10,1                                  
          iop->data1 = iop + 1;                                       
ffc04d70:	39 29 00 38 	addi    r9,r9,56                               
ffc04d74:	91 29 ff f8 	stw     r9,-8(r9)                              
                                                    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++)  
ffc04d78:	39 4a 00 01 	addi    r10,r10,1                              
ffc04d7c:	42 00 ff f4 	bdnz+   ffc04d70 <rtems_libio_init+0x5c>       
                                                                      
rtems_id           rtems_libio_semaphore;                             
rtems_libio_t     *rtems_libio_iops;                                  
rtems_libio_t     *rtems_libio_iop_freelist;                          
                                                                      
void rtems_libio_init( void )                                         
ffc04d80:	39 4a ff ff 	addi    r10,r10,-1                             
ffc04d84:	1d 4a 00 38 	mulli   r10,r10,56                             
ffc04d88:	7c 63 52 14 	add     r3,r3,r10                              
            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;                                            
ffc04d8c:	39 20 00 00 	li      r9,0                                   
ffc04d90:	91 23 00 30 	stw     r9,48(r3)                              
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
ffc04d94:	3c 60 4c 42 	lis     r3,19522                               
ffc04d98:	3c e0 00 00 	lis     r7,0                                   
ffc04d9c:	60 63 49 4f 	ori     r3,r3,18767                            
ffc04da0:	38 80 00 01 	li      r4,1                                   
ffc04da4:	38 a0 00 54 	li      r5,84                                  
ffc04da8:	38 c0 00 00 	li      r6,0                                   
ffc04dac:	38 e7 28 10 	addi    r7,r7,10256                            
ffc04db0:	48 00 49 5d 	bl      ffc0970c <rtems_semaphore_create>      
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
ffc04db4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc04db8:	40 9e 00 40 	bne-    cr7,ffc04df8 <rtems_libio_init+0xe4>   <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
ffc04dbc:	3d 20 00 00 	lis     r9,0                                   
ffc04dc0:	81 29 27 5c 	lwz     r9,10076(r9)                           
ffc04dc4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04dc8:	41 9e 00 1c 	beq-    cr7,ffc04de4 <rtems_libio_init+0xd0>   
     (* rtems_fs_init_helper)();                                      
}                                                                     
ffc04dcc:	80 01 00 14 	lwz     r0,20(r1)                              
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
ffc04dd0:	7d 29 03 a6 	mtctr   r9                                     
}                                                                     
ffc04dd4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04dd8:	7c 08 03 a6 	mtlr    r0                                     
ffc04ddc:	38 21 00 10 	addi    r1,r1,16                               
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
     (* rtems_fs_init_helper)();                                      
ffc04de0:	4e 80 04 20 	bctr                                           
}                                                                     
ffc04de4:	80 01 00 14 	lwz     r0,20(r1)                              
ffc04de8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc04dec:	7c 08 03 a6 	mtlr    r0                                     
ffc04df0:	38 21 00 10 	addi    r1,r1,16                               
ffc04df4:	4e 80 00 20 	blr                                            
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
ffc04df8:	48 00 55 a1 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== 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);              
ffc04dfc:	38 60 00 1a 	li      r3,26                                  
ffc04e00:	48 00 55 99 	bl      ffc0a398 <rtems_fatal_error_occurred>  
                                                                      

ffc06554 <rtems_libio_set_private_env>: } rtems_status_code rtems_libio_set_private_env(void) {
ffc06554:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06558:	7c 08 02 a6 	mflr    r0                                     
ffc0655c:	93 61 00 0c 	stw     r27,12(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
  rtems_user_env_t *old_env = rtems_current_user_env;                 
ffc06560:	3f 60 00 00 	lis     r27,0                                  
  free_user_env(env);                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
ffc06564:	93 81 00 10 	stw     r28,16(r1)                             
ffc06568:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc0656c:	90 01 00 24 	stw     r0,36(r1)                              
ffc06570:	93 a1 00 14 	stw     r29,20(r1)                             
ffc06574:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
ffc06578:	48 00 20 31 	bl      ffc085a8 <rtems_task_self>             
  rtems_user_env_t *old_env = 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;            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
ffc0657c:	3d 20 00 00 	lis     r9,0                                   
                                                                      
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;                 
ffc06580:	83 fb 27 08 	lwz     r31,9992(r27)                          
  bool uses_global_env = old_env == &rtems_global_user_env;           
  bool uses_shared_env = old_env->task_id != self_task_id;            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
ffc06584:	39 29 21 38 	addi    r9,r9,8504                             
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
ffc06588:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_user_env_t *old_env = 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;            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
ffc0658c:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
{                                                                     
  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;           
  bool uses_shared_env = old_env->task_id != self_task_id;            
ffc06590:	81 5f 00 24 	lwz     r10,36(r31)                            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
ffc06594:	41 9e 00 0c 	beq-    cr7,ffc065a0 <rtems_libio_set_private_env+0x4c>
ffc06598:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc0659c:	41 9e 00 d4 	beq-    cr7,ffc06670 <rtems_libio_set_private_env+0x11c>
    rtems_user_env_t *new_env = calloc(1, sizeof(*new_env));          
ffc065a0:	38 60 00 01 	li      r3,1                                   
ffc065a4:	38 80 00 2c 	li      r4,44                                  
ffc065a8:	48 00 5c c1 	bl      ffc0c268 <calloc>                      
                                                                      
      if (sc != RTEMS_SUCCESSFUL) {                                   
        free_user_env(new_env);                                       
      }                                                               
    } else {                                                          
      sc = RTEMS_NO_MEMORY;                                           
ffc065ac:	3b c0 00 1a 	li      r30,26                                 
  bool uses_shared_env = old_env->task_id != self_task_id;            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
    rtems_user_env_t *new_env = calloc(1, sizeof(*new_env));          
                                                                      
    if (new_env != NULL) {                                            
ffc065b0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc065b4:	41 82 00 80 	beq-    ffc06634 <rtems_libio_set_private_env+0xe0>
      *new_env = *old_env;                                            
ffc065b8:	7f e4 fb 78 	mr      r4,r31                                 
ffc065bc:	38 a0 00 2c 	li      r5,44                                  
ffc065c0:	48 00 84 91 	bl      ffc0ea50 <memcpy>                      
      new_env->reference_count = 1;                                   
ffc065c4:	39 20 00 01 	li      r9,1                                   
ffc065c8:	91 3d 00 28 	stw     r9,40(r29)                             
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
ffc065cc:	38 7f 00 04 	addi    r3,r31,4                               
    rtems_user_env_t *new_env = calloc(1, sizeof(*new_env));          
                                                                      
    if (new_env != NULL) {                                            
      *new_env = *old_env;                                            
      new_env->reference_count = 1;                                   
      new_env->task_id = self_task_id;                                
ffc065d0:	93 9d 00 24 	stw     r28,36(r29)                            
      new_env->root_directory =                                       
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
ffc065d4:	48 00 10 55 	bl      ffc07628 <rtems_filesystem_global_location_obtain>
                                                                      
    if (new_env != NULL) {                                            
      *new_env = *old_env;                                            
      new_env->reference_count = 1;                                   
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
ffc065d8:	90 7d 00 04 	stw     r3,4(r29)                              
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
      new_env->current_directory =                                    
        rtems_filesystem_global_location_obtain(&old_env->current_directory);
ffc065dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc065e0:	48 00 10 49 	bl      ffc07628 <rtems_filesystem_global_location_obtain>
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
                                                                      
    rtems_current_user_env = &rtems_global_user_env;                  
  }                                                                   
}                                                                     
ffc065e4:	81 5d 00 04 	lwz     r10,4(r29)                             
      *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 =                                    
ffc065e8:	90 7d 00 00 	stw     r3,0(r29)                              
        rtems_filesystem_global_location_obtain(&old_env->current_directory);
                                                                      
      if (                                                            
ffc065ec:	3d 20 ff c1 	lis     r9,-63                                 
ffc065f0:	39 29 49 2c 	addi    r9,r9,18732                            
ffc065f4:	81 4a 00 10 	lwz     r10,16(r10)                            
ffc065f8:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc065fc:	41 9e 00 a0 	beq-    cr7,ffc0669c <rtems_libio_set_private_env+0x148>
        !rtems_filesystem_global_location_is_null(new_env->root_directory)
          && !rtems_filesystem_global_location_is_null(new_env->current_directory)
ffc06600:	81 43 00 10 	lwz     r10,16(r3)                             
ffc06604:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc06608:	41 9e 00 94 	beq-    cr7,ffc0669c <rtems_libio_set_private_env+0x148><== NEVER TAKEN
      ) {                                                             
        sc = rtems_task_variable_add(                                 
ffc0660c:	3c a0 ff c0 	lis     r5,-64                                 
ffc06610:	38 60 00 00 	li      r3,0                                   
ffc06614:	38 9b 27 08 	addi    r4,r27,9992                            
ffc06618:	38 a5 64 b0 	addi    r5,r5,25776                            
ffc0661c:	48 00 20 3d 	bl      ffc08658 <rtems_task_variable_add>     
          RTEMS_SELF,                                                 
          (void **) &rtems_current_user_env,                          
          free_user_env                                               
        );                                                            
        if (sc == RTEMS_SUCCESSFUL) {                                 
ffc06620:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc06624:	41 82 00 38 	beq-    ffc0665c <rtems_libio_set_private_env+0x108>
          free_user_env_protected(old_env);                           
          rtems_current_user_env = new_env;                           
        } else {                                                      
          sc = RTEMS_TOO_MANY;                                        
ffc06628:	3b c0 00 05 	li      r30,5                                  
      } else {                                                        
        sc = RTEMS_UNSATISFIED;                                       
      }                                                               
                                                                      
      if (sc != RTEMS_SUCCESSFUL) {                                   
        free_user_env(new_env);                                       
ffc0662c:	7f a3 eb 78 	mr      r3,r29                                 
ffc06630:	4b ff fe 81 	bl      ffc064b0 <free_user_env>               
      sc = RTEMS_NO_MEMORY;                                           
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc06634:	80 01 00 24 	lwz     r0,36(r1)                              
ffc06638:	7f c3 f3 78 	mr      r3,r30                                 
ffc0663c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc06640:	7c 08 03 a6 	mtlr    r0                                     
ffc06644:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06648:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0664c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06650:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06654:	38 21 00 20 	addi    r1,r1,32                               
ffc06658:	4e 80 00 20 	blr                                            
          RTEMS_SELF,                                                 
          (void **) &rtems_current_user_env,                          
          free_user_env                                               
        );                                                            
        if (sc == RTEMS_SUCCESSFUL) {                                 
          free_user_env_protected(old_env);                           
ffc0665c:	7f e3 fb 78 	mr      r3,r31                                 
ffc06660:	4b ff fe c5 	bl      ffc06524 <free_user_env_protected>     
          rtems_current_user_env = new_env;                           
ffc06664:	3d 20 00 00 	lis     r9,0                                   
ffc06668:	93 a9 27 08 	stw     r29,9992(r9)                           
ffc0666c:	4b ff ff c8 	b       ffc06634 <rtems_libio_set_private_env+0xe0>
      sc = RTEMS_NO_MEMORY;                                           
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc06670:	80 01 00 24 	lwz     r0,36(r1)                              
  _Thread_Enable_dispatch();                                          
}                                                                     
                                                                      
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc06674:	3b c0 00 00 	li      r30,0                                  
      sc = RTEMS_NO_MEMORY;                                           
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc06678:	7f c3 f3 78 	mr      r3,r30                                 
ffc0667c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc06680:	7c 08 03 a6 	mtlr    r0                                     
ffc06684:	83 81 00 10 	lwz     r28,16(r1)                             
ffc06688:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0668c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc06690:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc06694:	38 21 00 20 	addi    r1,r1,32                               
ffc06698:	4e 80 00 20 	blr                                            
          rtems_current_user_env = new_env;                           
        } else {                                                      
          sc = RTEMS_TOO_MANY;                                        
        }                                                             
      } else {                                                        
        sc = RTEMS_UNSATISFIED;                                       
ffc0669c:	3b c0 00 0d 	li      r30,13                                 
ffc066a0:	4b ff ff 8c 	b       ffc0662c <rtems_libio_set_private_env+0xd8>
                                                                      

ffc066a4 <rtems_libio_share_private_env>: return sc; } rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
ffc066a4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc066a8:	7c 08 02 a6 	mflr    r0                                     
ffc066ac:	93 c1 00 20 	stw     r30,32(r1)                             
ffc066b0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc066b4:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc066b8:	3b e0 00 00 	li      r31,0                                  
                                                                      
  return sc;                                                          
}                                                                     
                                                                      
rtems_status_code rtems_libio_share_private_env(rtems_id task_id)     
{                                                                     
ffc066bc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc066c0:	93 a1 00 1c 	stw     r29,28(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
ffc066c4:	48 00 1e e5 	bl      ffc085a8 <rtems_task_self>             
                                                                      
  if (task_id != RTEMS_SELF && self_task_id != task_id) {             
ffc066c8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc066cc:	41 9e 00 80 	beq-    cr7,ffc0674c <rtems_libio_share_private_env+0xa8>
ffc066d0:	7f 83 f0 00 	cmpw    cr7,r3,r30                             
  return sc;                                                          
}                                                                     
                                                                      
rtems_status_code rtems_libio_share_private_env(rtems_id task_id)     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc066d4:	3b e0 00 00 	li      r31,0                                  
  rtems_id self_task_id = rtems_task_self();                          
                                                                      
  if (task_id != RTEMS_SELF && self_task_id != task_id) {             
ffc066d8:	41 9e 00 74 	beq-    cr7,ffc0674c <rtems_libio_share_private_env+0xa8>
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc066dc:	3d 20 00 00 	lis     r9,0                                   
ffc066e0:	81 49 27 98 	lwz     r10,10136(r9)                          
                                                                      
    ++level;                                                          
ffc066e4:	39 4a 00 01 	addi    r10,r10,1                              
    _Thread_Dispatch_disable_level = level;                           
ffc066e8:	91 49 27 98 	stw     r10,10136(r9)                          
    /*                                                                
     * We have to disable the thread dispatching to prevent deletion of the
     * environment in the meantime.                                   
     */                                                               
    _Thread_Disable_dispatch();                                       
    sc = rtems_task_variable_get(                                     
ffc066ec:	3f a0 00 00 	lis     r29,0                                  
ffc066f0:	3b fd 27 08 	addi    r31,r29,9992                           
ffc066f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc066f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc066fc:	38 a1 00 08 	addi    r5,r1,8                                
ffc06700:	48 00 21 15 	bl      ffc08814 <rtems_task_variable_get>     
      task_id,                                                        
      (void *) &rtems_current_user_env,                               
      (void *) &env                                                   
    );                                                                
    if (sc == RTEMS_SUCCESSFUL) {                                     
ffc06704:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc06708:	40 9e 00 64 	bne-    cr7,ffc0676c <rtems_libio_share_private_env+0xc8>
      ++env->reference_count;                                         
ffc0670c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc06710:	81 49 00 28 	lwz     r10,40(r9)                             
ffc06714:	39 4a 00 01 	addi    r10,r10,1                              
ffc06718:	91 49 00 28 	stw     r10,40(r9)                             
    } else {                                                          
      sc = RTEMS_UNSATISFIED;                                         
    }                                                                 
    _Thread_Enable_dispatch();                                        
ffc0671c:	48 00 45 85 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
      sc = rtems_task_variable_add(                                   
ffc06720:	3c a0 ff c0 	lis     r5,-64                                 
ffc06724:	7f e4 fb 78 	mr      r4,r31                                 
ffc06728:	38 60 00 00 	li      r3,0                                   
ffc0672c:	38 a5 64 b0 	addi    r5,r5,25776                            
ffc06730:	48 00 1f 29 	bl      ffc08658 <rtems_task_variable_add>     
        RTEMS_SELF,                                                   
        (void **) &rtems_current_user_env,                            
        free_user_env                                                 
      );                                                              
      if (sc == RTEMS_SUCCESSFUL) {                                   
ffc06734:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06738:	40 82 00 5c 	bne-    ffc06794 <rtems_libio_share_private_env+0xf0><== NEVER TAKEN
        free_user_env_protected(rtems_current_user_env);              
ffc0673c:	80 7d 27 08 	lwz     r3,9992(r29)                           
ffc06740:	4b ff fd e5 	bl      ffc06524 <free_user_env_protected>     
        rtems_current_user_env = env;                                 
ffc06744:	81 21 00 08 	lwz     r9,8(r1)                               
ffc06748:	91 3d 27 08 	stw     r9,9992(r29)                           
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0674c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc06750:	7f e3 fb 78 	mr      r3,r31                                 
ffc06754:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc06758:	7c 08 03 a6 	mtlr    r0                                     
ffc0675c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06760:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc06764:	38 21 00 28 	addi    r1,r1,40                               
ffc06768:	4e 80 00 20 	blr                                            
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ++env->reference_count;                                         
    } else {                                                          
      sc = RTEMS_UNSATISFIED;                                         
    }                                                                 
    _Thread_Enable_dispatch();                                        
ffc0676c:	48 00 45 35 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc06770:	80 01 00 2c 	lwz     r0,44(r1)                              
      (void *) &env                                                   
    );                                                                
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ++env->reference_count;                                         
    } else {                                                          
      sc = RTEMS_UNSATISFIED;                                         
ffc06774:	3b e0 00 0d 	li      r31,13                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc06778:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0677c:	7c 08 03 a6 	mtlr    r0                                     
ffc06780:	7f e3 fb 78 	mr      r3,r31                                 
ffc06784:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc06788:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0678c:	38 21 00 28 	addi    r1,r1,40                               
ffc06790:	4e 80 00 20 	blr                                            
      );                                                              
      if (sc == RTEMS_SUCCESSFUL) {                                   
        free_user_env_protected(rtems_current_user_env);              
        rtems_current_user_env = env;                                 
      } else {                                                        
        free_user_env_protected(env);                                 
ffc06794:	80 61 00 08 	lwz     r3,8(r1)                               <== NOT EXECUTED
        sc = RTEMS_TOO_MANY;                                          
ffc06798:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
      );                                                              
      if (sc == RTEMS_SUCCESSFUL) {                                   
        free_user_env_protected(rtems_current_user_env);              
        rtems_current_user_env = env;                                 
      } else {                                                        
        free_user_env_protected(env);                                 
ffc0679c:	4b ff fd 89 	bl      ffc06524 <free_user_env_protected>     <== NOT EXECUTED
ffc067a0:	4b ff ff ac 	b       ffc0674c <rtems_libio_share_private_env+0xa8><== NOT EXECUTED
                                                                      

ffc0ecb0 <rtems_libio_to_fcntl_flags>: int rtems_libio_to_fcntl_flags( uint32_t flags ) { int fcntl_flags = 0; if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) {
ffc0ecb0:	54 69 07 7c 	rlwinm  r9,r3,0,29,30                          
ffc0ecb4:	2f 89 00 06 	cmpwi   cr7,r9,6                               
    fcntl_flags |= O_RDWR;                                            
ffc0ecb8:	39 20 00 02 	li      r9,2                                   
                                                                      
int rtems_libio_to_fcntl_flags( uint32_t flags )                      
{                                                                     
  int fcntl_flags = 0;                                                
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
ffc0ecbc:	41 9e 00 10 	beq-    cr7,ffc0eccc <rtems_libio_to_fcntl_flags+0x1c><== NEVER TAKEN
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0ecc0:	70 69 00 02 	andi.   r9,r3,2                                
    fcntl_flags |= O_RDONLY;                                          
ffc0ecc4:	39 20 00 00 	li      r9,0                                   
{                                                                     
  int fcntl_flags = 0;                                                
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
ffc0ecc8:	41 82 00 30 	beq-    ffc0ecf8 <rtems_libio_to_fcntl_flags+0x48><== NEVER TAKEN
    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 ) {     
ffc0eccc:	70 6a 00 01 	andi.   r10,r3,1                               
ffc0ecd0:	41 82 00 08 	beq-    ffc0ecd8 <rtems_libio_to_fcntl_flags+0x28>
    fcntl_flags |= O_NONBLOCK;                                        
ffc0ecd4:	61 29 40 00 	ori     r9,r9,16384                            
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
ffc0ecd8:	70 6a 02 00 	andi.   r10,r3,512                             
ffc0ecdc:	41 82 00 08 	beq-    ffc0ece4 <rtems_libio_to_fcntl_flags+0x34>
    fcntl_flags |= O_APPEND;                                          
ffc0ece0:	61 29 00 08 	ori     r9,r9,8                                
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
ffc0ece4:	70 6a 04 00 	andi.   r10,r3,1024                            
ffc0ece8:	41 82 00 08 	beq-    ffc0ecf0 <rtems_libio_to_fcntl_flags+0x40>
    fcntl_flags |= O_CREAT;                                           
ffc0ecec:	61 29 02 00 	ori     r9,r9,512                              
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
ffc0ecf0:	7d 23 4b 78 	mr      r3,r9                                  
ffc0ecf4:	4e 80 00 20 	blr                                            
int rtems_libio_to_fcntl_flags( uint32_t flags )                      
{                                                                     
  int fcntl_flags = 0;                                                
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
ffc0ecf8:	54 69 f7 fe 	rlwinm  r9,r3,30,31,31                         <== NOT EXECUTED
ffc0ecfc:	4b ff ff d0 	b       ffc0eccc <rtems_libio_to_fcntl_flags+0x1c><== NOT EXECUTED
                                                                      

ffc067a4 <rtems_libio_use_global_env>: return sc; } void rtems_libio_use_global_env(void) {
ffc067a4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc067a8:	7c 08 02 a6 	mflr    r0                                     
ffc067ac:	93 e1 00 0c 	stw     r31,12(r1)                             
  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) {                                             
ffc067b0:	3f e0 00 00 	lis     r31,0                                  
ffc067b4:	38 9f 27 08 	addi    r4,r31,9992                            
                                                                      
  return sc;                                                          
}                                                                     
                                                                      
void rtems_libio_use_global_env(void)                                 
{                                                                     
ffc067b8:	93 c1 00 08 	stw     r30,8(r1)                              
  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) {                                             
ffc067bc:	3f c0 00 00 	lis     r30,0                                  
ffc067c0:	3b de 21 38 	addi    r30,r30,8504                           
ffc067c4:	81 3f 27 08 	lwz     r9,9992(r31)                           
                                                                      
  return sc;                                                          
}                                                                     
                                                                      
void rtems_libio_use_global_env(void)                                 
{                                                                     
ffc067c8:	90 01 00 14 	stw     r0,20(r1)                              
  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) {                                             
ffc067cc:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc067d0:	41 9e 00 18 	beq-    cr7,ffc067e8 <rtems_libio_use_global_env+0x44>
    sc = rtems_task_variable_delete(                                  
ffc067d4:	38 60 00 00 	li      r3,0                                   
ffc067d8:	48 00 1f 75 	bl      ffc0874c <rtems_task_variable_delete>  
      RTEMS_SELF,                                                     
      (void **) &rtems_current_user_env                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
ffc067dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc067e0:	40 9e 00 20 	bne-    cr7,ffc06800 <rtems_libio_use_global_env+0x5c><== NEVER TAKEN
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
                                                                      
    rtems_current_user_env = &rtems_global_user_env;                  
ffc067e4:	93 df 27 08 	stw     r30,9992(r31)                          
  }                                                                   
}                                                                     
ffc067e8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc067ec:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc067f0:	7c 08 03 a6 	mtlr    r0                                     
ffc067f4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc067f8:	38 21 00 10 	addi    r1,r1,16                               
ffc067fc:	4e 80 00 20 	blr                                            
    sc = rtems_task_variable_delete(                                  
      RTEMS_SELF,                                                     
      (void **) &rtems_current_user_env                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
ffc06800:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc06804:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc06808:	48 00 22 89 	bl      ffc08a90 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc08714 <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
ffc08714:	94 21 ff e8 	stwu    r1,-24(r1)                             
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08718:	3d 20 00 00 	lis     r9,0                                   
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc0871c:	7c 08 02 a6 	mflr    r0                                     
ffc08720:	7c 64 1b 78 	mr      r4,r3                                  
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08724:	80 69 27 94 	lwz     r3,10132(r9)                           
ffc08728:	38 a1 00 08 	addi    r5,r1,8                                
 *  size and thus we skip updating the statistics.                    
 */                                                                   
static void rtems_malloc_statistics_at_free(                          
  void *pointer                                                       
)                                                                     
{                                                                     
ffc0872c:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
ffc08730:	48 00 85 7d 	bl      ffc10cac <_Protected_heap_Get_block_size>
ffc08734:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08738:	41 9e 00 2c 	beq-    cr7,ffc08764 <rtems_malloc_statistics_at_free+0x50><== NEVER TAKEN
    MSBUMP(lifetime_freed, size);                                     
ffc0873c:	3c e0 00 00 	lis     r7,0                                   
ffc08740:	81 61 00 08 	lwz     r11,8(r1)                              
ffc08744:	38 e7 34 10 	addi    r7,r7,13328                            
ffc08748:	81 07 00 28 	lwz     r8,40(r7)                              
ffc0874c:	39 40 00 00 	li      r10,0                                  
ffc08750:	81 27 00 2c 	lwz     r9,44(r7)                              
ffc08754:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc08758:	7d 4a 41 14 	adde    r10,r10,r8                             
ffc0875c:	91 47 00 28 	stw     r10,40(r7)                             
ffc08760:	91 67 00 2c 	stw     r11,44(r7)                             
  }                                                                   
}                                                                     
ffc08764:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc08768:	38 21 00 18 	addi    r1,r1,24                               
ffc0876c:	7c 08 03 a6 	mtlr    r0                                     
ffc08770:	4e 80 00 20 	blr                                            
                                                                      

ffc08774 <rtems_malloc_statistics_at_malloc>: { uintptr_t actual_size = 0; uint32_t current_depth; rtems_malloc_statistics_t *s = &rtems_malloc_statistics; if ( !pointer )
ffc08774:	7c 64 1b 79 	mr.     r4,r3                                  
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08778:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0877c:	7c 08 02 a6 	mflr    r0                                     
  uintptr_t actual_size = 0;                                          
ffc08780:	39 20 00 00 	li      r9,0                                   
ffc08784:	91 21 00 08 	stw     r9,8(r1)                               
}                                                                     
                                                                      
static void rtems_malloc_statistics_at_malloc(                        
  void *pointer                                                       
)                                                                     
{                                                                     
ffc08788:	90 01 00 1c 	stw     r0,28(r1)                              
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
ffc0878c:	41 82 00 54 	beq-    ffc087e0 <rtems_malloc_statistics_at_malloc+0x6c><== NEVER TAKEN
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
ffc08790:	3d 20 00 00 	lis     r9,0                                   
ffc08794:	80 69 27 94 	lwz     r3,10132(r9)                           
ffc08798:	38 a1 00 08 	addi    r5,r1,8                                
ffc0879c:	48 00 85 11 	bl      ffc10cac <_Protected_heap_Get_block_size>
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc087a0:	3c e0 00 00 	lis     r7,0                                   
ffc087a4:	38 e7 34 10 	addi    r7,r7,13328                            
ffc087a8:	81 61 00 08 	lwz     r11,8(r1)                              
ffc087ac:	81 07 00 20 	lwz     r8,32(r7)                              
ffc087b0:	39 40 00 00 	li      r10,0                                  
ffc087b4:	81 27 00 24 	lwz     r9,36(r7)                              
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc087b8:	80 c7 00 2c 	lwz     r6,44(r7)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc087bc:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc087c0:	7d 4a 41 14 	adde    r10,r10,r8                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc087c4:	81 07 00 18 	lwz     r8,24(r7)                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc087c8:	91 47 00 20 	stw     r10,32(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
ffc087cc:	7d 26 58 50 	subf    r9,r6,r11                              
  if (current_depth > s->max_depth)                                   
ffc087d0:	7f 89 40 40 	cmplw   cr7,r9,r8                              
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
ffc087d4:	91 67 00 24 	stw     r11,36(r7)                             
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
  if (current_depth > s->max_depth)                                   
ffc087d8:	40 9d 00 08 	ble-    cr7,ffc087e0 <rtems_malloc_statistics_at_malloc+0x6c>
      s->max_depth = current_depth;                                   
ffc087dc:	91 27 00 18 	stw     r9,24(r7)                              
}                                                                     
ffc087e0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc087e4:	38 21 00 18 	addi    r1,r1,24                               
ffc087e8:	7c 08 03 a6 	mtlr    r0                                     
ffc087ec:	4e 80 00 20 	blr                                            
                                                                      

ffc140c4 <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
ffc140c4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc140c8:	7c 08 02 a6 	mflr    r0                                     
ffc140cc:	93 e1 00 14 	stw     r31,20(r1)                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc140d0:	7c 7f 1b 79 	mr.     r31,r3                                 
int rtems_memalign(                                                   
  void   **pointer,                                                   
  size_t   alignment,                                                 
  size_t   size                                                       
)                                                                     
{                                                                     
ffc140d4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc140d8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc140dc:	93 c1 00 10 	stw     r30,16(r1)                             
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
ffc140e0:	41 82 00 9c 	beq-    ffc1417c <rtems_memalign+0xb8>         
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc140e4:	3d 20 00 00 	lis     r9,0                                   
ffc140e8:	81 29 27 e4 	lwz     r9,10212(r9)                           
ffc140ec:	7c 9e 23 78 	mr      r30,r4                                 
ffc140f0:	7c bd 2b 78 	mr      r29,r5                                 
ffc140f4:	2f 89 00 03 	cmpwi   cr7,r9,3                               
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
                                                                      
  *pointer = NULL;                                                    
ffc140f8:	39 20 00 00 	li      r9,0                                   
ffc140fc:	91 3f 00 00 	stw     r9,0(r31)                              
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc14100:	41 9e 00 70 	beq-    cr7,ffc14170 <rtems_memalign+0xac>     
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
ffc14104:	4b ff 21 01 	bl      ffc06204 <malloc_deferred_frees_process>
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
ffc14108:	3d 20 00 00 	lis     r9,0                                   
ffc1410c:	80 69 26 f0 	lwz     r3,9968(r9)                            
ffc14110:	7f c5 f3 78 	mr      r5,r30                                 
ffc14114:	7f a4 eb 78 	mr      r4,r29                                 
ffc14118:	38 c0 00 00 	li      r6,0                                   
ffc1411c:	4b ff 90 fd 	bl      ffc0d218 <_Protected_heap_Allocate_aligned_with_boundary>
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
ffc14120:	7c 7e 1b 79 	mr.     r30,r3                                 
    return ENOMEM;                                                    
ffc14124:	38 60 00 0c 	li      r3,12                                  
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
ffc14128:	41 82 00 2c 	beq-    ffc14154 <rtems_memalign+0x90>         
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
ffc1412c:	3d 20 00 00 	lis     r9,0                                   
ffc14130:	81 29 27 64 	lwz     r9,10084(r9)                           
ffc14134:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14138:	41 9e 00 14 	beq-    cr7,ffc1414c <rtems_memalign+0x88>     
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
ffc1413c:	81 29 00 04 	lwz     r9,4(r9)                               
ffc14140:	7f e3 fb 78 	mr      r3,r31                                 
ffc14144:	7d 29 03 a6 	mtctr   r9                                     
ffc14148:	4e 80 04 21 	bctrl                                          
                                                                      
  *pointer = return_this;                                             
ffc1414c:	93 df 00 00 	stw     r30,0(r31)                             
  return 0;                                                           
ffc14150:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc14154:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc14158:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1415c:	7c 08 03 a6 	mtlr    r0                                     
ffc14160:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc14164:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc14168:	38 21 00 18 	addi    r1,r1,24                               
ffc1416c:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   *  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() )                                 
ffc14170:	4b ff 20 69 	bl      ffc061d8 <malloc_is_system_state_OK>   
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
ffc14174:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14178:	40 be ff 8c 	bne-    cr7,ffc14104 <rtems_memalign+0x40>     <== ALWAYS TAKEN
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
ffc1417c:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
ffc14180:	38 60 00 16 	li      r3,22                                  
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
                                                                      
  *pointer = return_this;                                             
  return 0;                                                           
}                                                                     
ffc14184:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc14188:	7c 08 03 a6 	mtlr    r0                                     
ffc1418c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc14190:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc14194:	38 21 00 18 	addi    r1,r1,24                               
ffc14198:	4e 80 00 20 	blr                                            
                                                                      

ffc0bbcc <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
ffc0bbcc:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc0bbd0:	7d 80 00 26 	mfcr    r12                                    
ffc0bbd4:	7c 08 02 a6 	mflr    r0                                     
ffc0bbd8:	93 41 00 60 	stw     r26,96(r1)                             
ffc0bbdc:	7c 9a 23 78 	mr      r26,r4                                 
ffc0bbe0:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc0bbe4:	90 01 00 7c 	stw     r0,124(r1)                             
ffc0bbe8:	93 21 00 5c 	stw     r25,92(r1)                             
ffc0bbec:	93 61 00 64 	stw     r27,100(r1)                            
ffc0bbf0:	93 81 00 68 	stw     r28,104(r1)                            
ffc0bbf4:	93 c1 00 70 	stw     r30,112(r1)                            
ffc0bbf8:	93 e1 00 74 	stw     r31,116(r1)                            
ffc0bbfc:	91 81 00 58 	stw     r12,88(r1)                             
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
ffc0bc00:	48 01 ea f1 	bl      ffc2a6f0 <strdup>                      
                                                                      
  if (dup_path != NULL) {                                             
ffc0bc04:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0bc08:	41 82 01 8c 	beq-    ffc0bd94 <rtems_mkdir+0x1c8>           
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc0bc0c:	89 3d 00 00 	lbz     r9,0(r29)                              
ffc0bc10:	7f bf eb 78 	mr      r31,r29                                
ffc0bc14:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc0bc18:	41 9e 01 58 	beq-    cr7,ffc0bd70 <rtems_mkdir+0x1a4>       
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0bc1c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
ffc0bc20:	3b 80 00 00 	li      r28,0                                  
ffc0bc24:	39 40 00 01 	li      r10,1                                  
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc0bc28:	3b 60 00 2f 	li      r27,47                                 
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc0bc2c:	3b 20 00 00 	li      r25,0                                  
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0bc30:	41 9e 00 18 	beq-    cr7,ffc0bc48 <rtems_mkdir+0x7c>        <== NEVER TAKEN
      last = 1;                                                       
    else if (p[0] != '/')                                             
ffc0bc34:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc0bc38:	41 9e 00 a4 	beq-    cr7,ffc0bcdc <rtems_mkdir+0x110>       
ffc0bc3c:	8d 3f 00 01 	lbzu    r9,1(r31)                              
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
ffc0bc40:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0bc44:	40 be ff f0 	bne-    cr7,ffc0bc34 <rtems_mkdir+0x68>        
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc0bc48:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc0bc4c:	99 3f 00 00 	stb     r9,0(r31)                              
ffc0bc50:	3b c0 00 01 	li      r30,1                                  
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc0bc54:	41 be 00 a0 	beq+    cr7,ffc0bcf4 <rtems_mkdir+0x128>       
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0bc58:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
ffc0bc5c:	38 60 00 00 	li      r3,0                                   
ffc0bc60:	48 00 31 f5 	bl      ffc0ee54 <umask>                       
ffc0bc64:	7c 7c 1b 78 	mr      r28,r3                                 
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
ffc0bc68:	54 63 06 ae 	rlwinm  r3,r3,0,26,23                          
ffc0bc6c:	48 00 31 e9 	bl      ffc0ee54 <umask>                       
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0bc70:	41 b2 00 8c 	beq+    cr4,ffc0bcfc <rtems_mkdir+0x130>       
      (void)umask(oumask);                                            
ffc0bc74:	7f 83 e3 78 	mr      r3,r28                                 
ffc0bc78:	48 00 31 dd 	bl      ffc0ee54 <umask>                       
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0bc7c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bc80:	7f 44 d3 78 	mr      r4,r26                                 
ffc0bc84:	4b ff ef 3d 	bl      ffc0abc0 <mkdir>                       
ffc0bc88:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bc8c:	41 9c 00 94 	blt-    cr7,ffc0bd20 <rtems_mkdir+0x154>       
ffc0bc90:	3b e0 00 01 	li      r31,1                                  
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc0bc94:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bc98:	4b ff e6 65 	bl      ffc0a2fc <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0bc9c:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0bca0:	38 60 00 00 	li      r3,0                                   
ffc0bca4:	41 9e 00 f0 	beq-    cr7,ffc0bd94 <rtems_mkdir+0x1c8>       <== NEVER TAKEN
}                                                                     
ffc0bca8:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc0bcac:	81 81 00 58 	lwz     r12,88(r1)                             
ffc0bcb0:	7c 08 03 a6 	mtlr    r0                                     
ffc0bcb4:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc0bcb8:	83 41 00 60 	lwz     r26,96(r1)                             
ffc0bcbc:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0bcc0:	83 61 00 64 	lwz     r27,100(r1)                            
ffc0bcc4:	83 81 00 68 	lwz     r28,104(r1)                            
ffc0bcc8:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc0bccc:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc0bcd0:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc0bcd4:	38 21 00 78 	addi    r1,r1,120                              
ffc0bcd8:	4e 80 00 20 	blr                                            
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
ffc0bcdc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
    if (!last && p[1] == '\0')                                        
ffc0bce0:	8b df 00 01 	lbz     r30,1(r31)                             
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
ffc0bce4:	9b 3f 00 00 	stb     r25,0(r31)                             
    if (!last && p[1] == '\0')                                        
ffc0bce8:	7f de 00 34 	cntlzw  r30,r30                                
ffc0bcec:	57 de d9 7e 	rlwinm  r30,r30,27,5,31                        
      last = 1;                                                       
    if (first) {                                                      
ffc0bcf0:	40 be ff 68 	bne-    cr7,ffc0bc58 <rtems_mkdir+0x8c>        
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
ffc0bcf4:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc0bcf8:	40 b2 ff 7c 	bne-    cr4,ffc0bc74 <rtems_mkdir+0xa8>        
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
ffc0bcfc:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bd00:	38 80 01 ff 	li      r4,511                                 
ffc0bd04:	4b ff ee bd 	bl      ffc0abc0 <mkdir>                       
ffc0bd08:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bd0c:	41 9c 00 14 	blt-    cr7,ffc0bd20 <rtems_mkdir+0x154>       
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
ffc0bd10:	9b 7f 00 00 	stb     r27,0(r31)                             
ffc0bd14:	39 40 00 00 	li      r10,0                                  
ffc0bd18:	8d 3f 00 01 	lbzu    r9,1(r31)                              
ffc0bd1c:	4b ff ff 24 	b       ffc0bc40 <rtems_mkdir+0x74>            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
ffc0bd20:	48 01 c2 1d 	bl      ffc27f3c <__errno>                     
ffc0bd24:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0bd28:	2f 89 00 11 	cmpwi   cr7,r9,17                              
ffc0bd2c:	41 9e 00 14 	beq-    cr7,ffc0bd40 <rtems_mkdir+0x174>       
ffc0bd30:	48 01 c2 0d 	bl      ffc27f3c <__errno>                     
ffc0bd34:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0bd38:	2f 89 00 15 	cmpwi   cr7,r9,21                              
ffc0bd3c:	40 9e 00 84 	bne-    cr7,ffc0bdc0 <rtems_mkdir+0x1f4>       <== ALWAYS TAKEN
        if (stat(path, &sb) < 0) {                                    
ffc0bd40:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bd44:	38 81 00 08 	addi    r4,r1,8                                
ffc0bd48:	48 00 00 81 	bl      ffc0bdc8 <stat>                        
ffc0bd4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0bd50:	41 9c 00 70 	blt-    cr7,ffc0bdc0 <rtems_mkdir+0x1f4>       <== NEVER TAKEN
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
ffc0bd54:	81 21 00 14 	lwz     r9,20(r1)                              
ffc0bd58:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
ffc0bd5c:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc0bd60:	40 9e 00 1c 	bne-    cr7,ffc0bd7c <rtems_mkdir+0x1b0>       
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
ffc0bd64:	41 b2 ff ac 	beq-    cr4,ffc0bd10 <rtems_mkdir+0x144>       
          retval = 2;                                                 
ffc0bd68:	3b e0 00 02 	li      r31,2                                  
ffc0bd6c:	4b ff ff 28 	b       ffc0bc94 <rtems_mkdir+0xc8>            
ffc0bd70:	89 3d 00 01 	lbz     r9,1(r29)                              
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
ffc0bd74:	3b fd 00 01 	addi    r31,r29,1                              
ffc0bd78:	4b ff fe a4 	b       ffc0bc1c <rtems_mkdir+0x50>            
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
ffc0bd7c:	41 92 00 20 	beq-    cr4,ffc0bd9c <rtems_mkdir+0x1d0>       
            errno = EEXIST;                                           
ffc0bd80:	48 01 c1 bd 	bl      ffc27f3c <__errno>                     
ffc0bd84:	39 20 00 11 	li      r9,17                                  
ffc0bd88:	91 23 00 00 	stw     r9,0(r3)                               
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc0bd8c:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bd90:	4b ff e5 6d 	bl      ffc0a2fc <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0bd94:	38 60 ff ff 	li      r3,-1                                  
ffc0bd98:	4b ff ff 10 	b       ffc0bca8 <rtems_mkdir+0xdc>            
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
ffc0bd9c:	48 01 c1 a1 	bl      ffc27f3c <__errno>                     
ffc0bda0:	39 20 00 14 	li      r9,20                                  
ffc0bda4:	91 23 00 00 	stw     r9,0(r3)                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
    (void)umask(oumask);                                              
ffc0bda8:	7f 83 e3 78 	mr      r3,r28                                 
ffc0bdac:	48 00 30 a9 	bl      ffc0ee54 <umask>                       
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
ffc0bdb0:	7f a3 eb 78 	mr      r3,r29                                 
ffc0bdb4:	4b ff e5 49 	bl      ffc0a2fc <free>                        
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
ffc0bdb8:	38 60 ff ff 	li      r3,-1                                  
ffc0bdbc:	4b ff fe ec 	b       ffc0bca8 <rtems_mkdir+0xdc>            
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
ffc0bdc0:	41 92 ff e8 	beq+    cr4,ffc0bda8 <rtems_mkdir+0x1dc>       <== NEVER TAKEN
ffc0bdc4:	4b ff ff ec 	b       ffc0bdb0 <rtems_mkdir+0x1e4>           
                                                                      

ffc0b7b0 <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 ) {
ffc0b7b0:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc0b7b4:	7c 08 02 a6 	mflr    r0                                     
ffc0b7b8:	93 e1 00 0c 	stw     r31,12(r1)                             
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0b7bc:	7c bf 2b 79 	mr.     r31,r5                                 
rtems_status_code rtems_object_get_class_information(                 
  int                                 the_api,                        
  int                                 the_class,                      
  rtems_object_api_class_information *info                            
)                                                                     
{                                                                     
ffc0b7c0:	90 01 00 14 	stw     r0,20(r1)                              
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
ffc0b7c4:	41 82 00 90 	beq-    ffc0b854 <rtems_object_get_class_information+0xa4>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
ffc0b7c8:	54 84 04 3e 	clrlwi  r4,r4,16                               
ffc0b7cc:	48 00 23 9d 	bl      ffc0db68 <_Objects_Get_information>    
  if ( !obj_info )                                                    
ffc0b7d0:	7c 69 1b 79 	mr.     r9,r3                                  
    return RTEMS_INVALID_NUMBER;                                      
ffc0b7d4:	38 60 00 0a 	li      r3,10                                  
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
  if ( !obj_info )                                                    
ffc0b7d8:	41 82 00 68 	beq-    ffc0b840 <rtems_object_get_class_information+0x90>
   * 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;                              
ffc0b7dc:	a0 c9 00 10 	lhz     r6,16(r9)                              
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0b7e0:	80 e9 00 08 	lwz     r7,8(r9)                               
  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++ )               
ffc0b7e4:	2f 86 00 00 	cmpwi   cr7,r6,0                               
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
ffc0b7e8:	81 09 00 0c 	lwz     r8,12(r9)                              
  info->auto_extend = obj_info->auto_extend;                          
ffc0b7ec:	89 49 00 12 	lbz     r10,18(r9)                             
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
ffc0b7f0:	90 ff 00 00 	stw     r7,0(r31)                              
  info->maximum_id  = obj_info->maximum_id;                           
ffc0b7f4:	91 1f 00 04 	stw     r8,4(r31)                              
  info->auto_extend = obj_info->auto_extend;                          
ffc0b7f8:	99 5f 00 0c 	stb     r10,12(r31)                            
  info->maximum     = obj_info->maximum;                              
ffc0b7fc:	90 df 00 08 	stw     r6,8(r31)                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
ffc0b800:	41 9e 00 6c 	beq-    cr7,ffc0b86c <rtems_object_get_class_information+0xbc><== NEVER TAKEN
ffc0b804:	80 89 00 1c 	lwz     r4,28(r9)                              
ffc0b808:	39 00 00 01 	li      r8,1                                   
ffc0b80c:	39 20 00 01 	li      r9,1                                   
ffc0b810:	39 40 00 00 	li      r10,0                                  
ffc0b814:	39 29 00 01 	addi    r9,r9,1                                
ffc0b818:	7f 86 48 40 	cmplw   cr7,r6,r9                              
    if ( !obj_info->local_table[i] )                                  
ffc0b81c:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc0b820:	7c e4 40 2e 	lwzx    r7,r4,r8                               
  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++ )               
ffc0b824:	7d 28 4b 78 	mr      r8,r9                                  
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
ffc0b828:	20 a7 00 00 	subfic  r5,r7,0                                
ffc0b82c:	7c aa 01 94 	addze   r5,r10                                 
ffc0b830:	7c aa 2b 78 	mr      r10,r5                                 
  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++ )               
ffc0b834:	40 9c ff e0 	bge+    cr7,ffc0b814 <rtems_object_get_class_information+0x64>
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
ffc0b838:	91 5f 00 10 	stw     r10,16(r31)                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0b83c:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0b840:	80 01 00 14 	lwz     r0,20(r1)                              
ffc0b844:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b848:	7c 08 03 a6 	mtlr    r0                                     
ffc0b84c:	38 21 00 10 	addi    r1,r1,16                               
ffc0b850:	4e 80 00 20 	blr                                            
ffc0b854:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
    return RTEMS_INVALID_ADDRESS;                                     
ffc0b858:	38 60 00 09 	li      r3,9                                   
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0b85c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0b860:	7c 08 03 a6 	mtlr    r0                                     
ffc0b864:	38 21 00 10 	addi    r1,r1,16                               
ffc0b868:	4e 80 00 20 	blr                                            
  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++ )               
ffc0b86c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc0b870:	4b ff ff c8 	b       ffc0b838 <rtems_object_get_class_information+0x88><== NOT EXECUTED
                                                                      

ffc04acc <rtems_panic>: void rtems_panic( const char *printf_format, ... ) {
ffc04acc:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc04ad0:	7c 08 02 a6 	mflr    r0                                     
ffc04ad4:	90 81 00 1c 	stw     r4,28(r1)                              
ffc04ad8:	90 01 00 7c 	stw     r0,124(r1)                             
ffc04adc:	90 a1 00 20 	stw     r5,32(r1)                              
ffc04ae0:	90 c1 00 24 	stw     r6,36(r1)                              
ffc04ae4:	90 e1 00 28 	stw     r7,40(r1)                              
ffc04ae8:	91 01 00 2c 	stw     r8,44(r1)                              
ffc04aec:	91 21 00 30 	stw     r9,48(r1)                              
ffc04af0:	91 41 00 34 	stw     r10,52(r1)                             
ffc04af4:	40 86 00 24 	bne-    cr1,ffc04b18 <rtems_panic+0x4c>        <== ALWAYS TAKEN
ffc04af8:	d8 21 00 38 	stfd    f1,56(r1)                              <== NOT EXECUTED
ffc04afc:	d8 41 00 40 	stfd    f2,64(r1)                              <== NOT EXECUTED
ffc04b00:	d8 61 00 48 	stfd    f3,72(r1)                              <== NOT EXECUTED
ffc04b04:	d8 81 00 50 	stfd    f4,80(r1)                              <== NOT EXECUTED
ffc04b08:	d8 a1 00 58 	stfd    f5,88(r1)                              <== NOT EXECUTED
ffc04b0c:	d8 c1 00 60 	stfd    f6,96(r1)                              <== NOT EXECUTED
ffc04b10:	d8 e1 00 68 	stfd    f7,104(r1)                             <== NOT EXECUTED
ffc04b14:	d9 01 00 70 	stfd    f8,112(r1)                             <== NOT EXECUTED
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04b18:	39 20 00 01 	li      r9,1                                   
ffc04b1c:	99 21 00 08 	stb     r9,8(r1)                               
ffc04b20:	39 20 00 00 	li      r9,0                                   
                                                                      
void rtems_panic(                                                     
  const char *printf_format,                                          
  ...                                                                 
)                                                                     
{                                                                     
ffc04b24:	7c 64 1b 78 	mr      r4,r3                                  
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04b28:	99 21 00 09 	stb     r9,9(r1)                               
ffc04b2c:	39 21 00 80 	addi    r9,r1,128                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04b30:	38 a1 00 08 	addi    r5,r1,8                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04b34:	91 21 00 0c 	stw     r9,12(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04b38:	3c 60 20 00 	lis     r3,8192                                
  ...                                                                 
)                                                                     
{                                                                     
  va_list arglist;                                                    
                                                                      
  va_start(arglist, printf_format);                                   
ffc04b3c:	39 21 00 18 	addi    r9,r1,24                               
ffc04b40:	91 21 00 10 	stw     r9,16(r1)                              
  (void) rtems_verror(RTEMS_ERROR_PANIC, printf_format, arglist);     
ffc04b44:	4b ff fc fd 	bl      ffc04840 <rtems_verror>                
  va_end(arglist);                                                    
                                                                      
  rtems_error(0, "fatal error, exiting");                             
ffc04b48:	3c 80 ff c2 	lis     r4,-62                                 
ffc04b4c:	38 84 e3 e8 	addi    r4,r4,-7192                            
ffc04b50:	38 60 00 00 	li      r3,0                                   
ffc04b54:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04b58:	4b ff fe 9d 	bl      ffc049f4 <rtems_error>                 
  _exit(errno);                                                       
ffc04b5c:	48 00 d5 1d 	bl      ffc12078 <__errno>                     
ffc04b60:	80 63 00 00 	lwz     r3,0(r3)                               
ffc04b64:	48 00 0a d5 	bl      ffc05638 <_exit>                       
                                                                      

ffc19ea8 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
ffc19ea8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc19eac:	7c 08 02 a6 	mflr    r0                                     
ffc19eb0:	93 c1 00 28 	stw     r30,40(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc19eb4:	7c 7e 1b 79 	mr.     r30,r3                                 
  uint32_t         length,                                            
  uint32_t         buffer_size,                                       
  rtems_attribute  attribute_set,                                     
  rtems_id        *id                                                 
)                                                                     
{                                                                     
ffc19eb8:	90 01 00 34 	stw     r0,52(r1)                              
ffc19ebc:	93 61 00 1c 	stw     r27,28(r1)                             
ffc19ec0:	93 81 00 20 	stw     r28,32(r1)                             
ffc19ec4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc19ec8:	93 e1 00 2c 	stw     r31,44(r1)                             
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
ffc19ecc:	40 82 00 2c 	bne-    ffc19ef8 <rtems_partition_create+0x50> 
    return RTEMS_INVALID_NAME;                                        
ffc19ed0:	38 60 00 03 	li      r3,3                                   
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc19ed4:	80 01 00 34 	lwz     r0,52(r1)                              
ffc19ed8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc19edc:	7c 08 03 a6 	mtlr    r0                                     
ffc19ee0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc19ee4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc19ee8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc19eec:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc19ef0:	38 21 00 30 	addi    r1,r1,48                               
ffc19ef4:	4e 80 00 20 	blr                                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc19ef8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc19efc:	38 60 00 09 	li      r3,9                                   
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
ffc19f00:	41 be ff d4 	beq-    cr7,ffc19ed4 <rtems_partition_create+0x2c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
ffc19f04:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc19f08:	41 be ff cc 	beq-    cr7,ffc19ed4 <rtems_partition_create+0x2c><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc19f0c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc19f10:	7c bf 2b 78 	mr      r31,r5                                 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
ffc19f14:	38 60 00 08 	li      r3,8                                   
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
ffc19f18:	41 9e ff bc 	beq+    cr7,ffc19ed4 <rtems_partition_create+0x2c>
ffc19f1c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
ffc19f20:	41 9e ff b4 	beq+    cr7,ffc19ed4 <rtems_partition_create+0x2c>
ffc19f24:	7f 85 30 40 	cmplw   cr7,r5,r6                              
ffc19f28:	41 9c ff ac 	blt+    cr7,ffc19ed4 <rtems_partition_create+0x2c>
ffc19f2c:	70 c9 00 07 	andi.   r9,r6,7                                
ffc19f30:	40 82 ff a4 	bne+    ffc19ed4 <rtems_partition_create+0x2c> 
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc19f34:	70 9b 00 07 	andi.   r27,r4,7                               
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
    return RTEMS_INVALID_ADDRESS;                                     
ffc19f38:	38 60 00 09 	li      r3,9                                   
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
ffc19f3c:	40 82 ff 98 	bne+    ffc19ed4 <rtems_partition_create+0x2c> 
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc19f40:	3d 20 00 00 	lis     r9,0                                   
ffc19f44:	81 49 28 f8 	lwz     r10,10488(r9)                          
                                                                      
    ++level;                                                          
ffc19f48:	39 4a 00 01 	addi    r10,r10,1                              
    _Thread_Dispatch_disable_level = level;                           
ffc19f4c:	91 49 28 f8 	stw     r10,10488(r9)                          
 *  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 );
ffc19f50:	3f 80 00 00 	lis     r28,0                                  
ffc19f54:	90 81 00 08 	stw     r4,8(r1)                               
ffc19f58:	3b 9c 6e b0 	addi    r28,r28,28336                          
ffc19f5c:	7f 83 e3 78 	mr      r3,r28                                 
ffc19f60:	90 c1 00 0c 	stw     r6,12(r1)                              
ffc19f64:	90 e1 00 10 	stw     r7,16(r1)                              
ffc19f68:	91 01 00 14 	stw     r8,20(r1)                              
ffc19f6c:	48 00 62 95 	bl      ffc20200 <_Objects_Allocate>           
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
ffc19f70:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc19f74:	80 81 00 08 	lwz     r4,8(r1)                               
ffc19f78:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc19f7c:	80 e1 00 10 	lwz     r7,16(r1)                              
ffc19f80:	81 01 00 14 	lwz     r8,20(r1)                              
ffc19f84:	41 82 00 50 	beq-    ffc19fd4 <rtems_partition_create+0x12c>
  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,        
ffc19f88:	7c bf 33 96 	divwu   r5,r31,r6                              
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
ffc19f8c:	90 9d 00 10 	stw     r4,16(r29)                             
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
ffc19f90:	90 dd 00 18 	stw     r6,24(r29)                             
  the_partition->attribute_set         = attribute_set;               
ffc19f94:	90 fd 00 1c 	stw     r7,28(r29)                             
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
ffc19f98:	93 fd 00 14 	stw     r31,20(r29)                            
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
ffc19f9c:	93 7d 00 20 	stw     r27,32(r29)                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
ffc19fa0:	91 01 00 14 	stw     r8,20(r1)                              
ffc19fa4:	38 7d 00 24 	addi    r3,r29,36                              
ffc19fa8:	48 00 44 ed 	bl      ffc1e494 <_Chain_Initialize>           
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
ffc19fac:	81 3d 00 08 	lwz     r9,8(r29)                              
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
ffc19fb0:	80 fc 00 1c 	lwz     r7,28(r28)                             
ffc19fb4:	55 2a 13 ba 	rlwinm  r10,r9,2,14,29                         
ffc19fb8:	7f a7 51 2e 	stwx    r29,r7,r10                             
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
ffc19fbc:	93 dd 00 0c 	stw     r30,12(r29)                            
    &_Partition_Information,                                          
    &the_partition->Object,                                           
    (Objects_Name) name                                               
  );                                                                  
                                                                      
  *id = the_partition->Object.id;                                     
ffc19fc0:	81 01 00 14 	lwz     r8,20(r1)                              
ffc19fc4:	91 28 00 00 	stw     r9,0(r8)                               
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
ffc19fc8:	48 00 79 05 	bl      ffc218cc <_Thread_Enable_dispatch>     
  return RTEMS_SUCCESSFUL;                                            
ffc19fcc:	38 60 00 00 	li      r3,0                                   
ffc19fd0:	4b ff ff 04 	b       ffc19ed4 <rtems_partition_create+0x2c> 
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
ffc19fd4:	48 00 78 f9 	bl      ffc218cc <_Thread_Enable_dispatch>     
    return RTEMS_TOO_MANY;                                            
ffc19fd8:	38 60 00 05 	li      r3,5                                   
ffc19fdc:	4b ff fe f8 	b       ffc19ed4 <rtems_partition_create+0x2c> 
                                                                      

ffc1a1a0 <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
ffc1a1a0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1a1a4:	7c 69 1b 78 	mr      r9,r3                                  
ffc1a1a8:	7c 08 02 a6 	mflr    r0                                     
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
ffc1a1ac:	3c 60 00 00 	lis     r3,0                                   
ffc1a1b0:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1a1b4:	38 63 6e b0 	addi    r3,r3,28336                            
ffc1a1b8:	7c 9e 23 78 	mr      r30,r4                                 
ffc1a1bc:	38 a1 00 08 	addi    r5,r1,8                                
ffc1a1c0:	90 01 00 24 	stw     r0,36(r1)                              
ffc1a1c4:	7d 24 4b 78 	mr      r4,r9                                  
ffc1a1c8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1a1cc:	48 00 66 65 	bl      ffc20830 <_Objects_Get>                
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
ffc1a1d0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1a1d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1a1d8:	40 9e 00 60 	bne-    cr7,ffc1a238 <rtems_partition_return_buffer+0x98>
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
ffc1a1dc:	81 23 00 10 	lwz     r9,16(r3)                              
ffc1a1e0:	7c 7f 1b 78 	mr      r31,r3                                 
  ending   = _Addresses_Add_offset( starting, the_partition->length );
ffc1a1e4:	81 43 00 14 	lwz     r10,20(r3)                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc1a1e8:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc1a1ec:	41 9c 00 68 	blt-    cr7,ffc1a254 <rtems_partition_return_buffer+0xb4>
RTEMS_INLINE_ROUTINE void *_Addresses_Add_offset (                    
  const void *base,                                                   
  uintptr_t   offset                                                  
)                                                                     
{                                                                     
  return (void *)((uintptr_t)base + offset);                          
ffc1a1f0:	7d 49 52 14 	add     r10,r9,r10                             
  const void *address,                                                
  const void *base,                                                   
  const void *limit                                                   
)                                                                     
{                                                                     
  return (address >= base && address <= limit);                       
ffc1a1f4:	7f 9e 50 40 	cmplw   cr7,r30,r10                            
ffc1a1f8:	41 9d 00 5c 	bgt-    cr7,ffc1a254 <rtems_partition_return_buffer+0xb4><== NEVER TAKEN
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
ffc1a1fc:	81 43 00 18 	lwz     r10,24(r3)                             
RTEMS_INLINE_ROUTINE int32_t _Addresses_Subtract (                    
  const void *left,                                                   
  const void *right                                                   
)                                                                     
{                                                                     
  return (int32_t) ((const char *) left - (const char *) right);      
ffc1a200:	7d 29 f0 50 	subf    r9,r9,r30                              
ffc1a204:	7d 09 53 96 	divwu   r8,r9,r10                              
ffc1a208:	7d 48 51 d6 	mullw   r10,r8,r10                             
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
ffc1a20c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc1a210:	40 9e 00 44 	bne-    cr7,ffc1a254 <rtems_partition_return_buffer+0xb4>
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
ffc1a214:	38 63 00 24 	addi    r3,r3,36                               
ffc1a218:	7f c4 f3 78 	mr      r4,r30                                 
ffc1a21c:	48 00 42 09 	bl      ffc1e424 <_Chain_Append>               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
ffc1a220:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc1a224:	39 29 ff ff 	addi    r9,r9,-1                               
ffc1a228:	91 3f 00 20 	stw     r9,32(r31)                             
        _Thread_Enable_dispatch();                                    
ffc1a22c:	48 00 76 a1 	bl      ffc218cc <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc1a230:	38 60 00 00 	li      r3,0                                   
ffc1a234:	48 00 00 08 	b       ffc1a23c <rtems_partition_return_buffer+0x9c>
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1a238:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc1a23c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1a240:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1a244:	7c 08 03 a6 	mtlr    r0                                     
ffc1a248:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1a24c:	38 21 00 20 	addi    r1,r1,32                               
ffc1a250:	4e 80 00 20 	blr                                            
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc1a254:	48 00 76 79 	bl      ffc218cc <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1a258:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1a25c:	83 c1 00 18 	lwz     r30,24(r1)                             
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
      return RTEMS_INVALID_ADDRESS;                                   
ffc1a260:	38 60 00 09 	li      r3,9                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1a264:	7c 08 03 a6 	mtlr    r0                                     
ffc1a268:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1a26c:	38 21 00 20 	addi    r1,r1,32                               
ffc1a270:	4e 80 00 20 	blr                                            
                                                                      

ffc09714 <rtems_printf_plugin>: #include <rtems/bspIo.h> #include <stdio.h> int rtems_printf_plugin(void *context, const char *format, ...) {
ffc09714:	94 21 ff 90 	stwu    r1,-112(r1)                            
ffc09718:	7c 08 02 a6 	mflr    r0                                     
ffc0971c:	90 a1 00 18 	stw     r5,24(r1)                              
ffc09720:	90 01 00 74 	stw     r0,116(r1)                             
ffc09724:	90 c1 00 1c 	stw     r6,28(r1)                              
ffc09728:	90 e1 00 20 	stw     r7,32(r1)                              
ffc0972c:	91 01 00 24 	stw     r8,36(r1)                              
ffc09730:	91 21 00 28 	stw     r9,40(r1)                              
ffc09734:	91 41 00 2c 	stw     r10,44(r1)                             
ffc09738:	40 86 00 24 	bne-    cr1,ffc0975c <rtems_printf_plugin+0x48><== ALWAYS TAKEN
ffc0973c:	d8 21 00 30 	stfd    f1,48(r1)                              <== NOT EXECUTED
ffc09740:	d8 41 00 38 	stfd    f2,56(r1)                              <== NOT EXECUTED
ffc09744:	d8 61 00 40 	stfd    f3,64(r1)                              <== NOT EXECUTED
ffc09748:	d8 81 00 48 	stfd    f4,72(r1)                              <== NOT EXECUTED
ffc0974c:	d8 a1 00 50 	stfd    f5,80(r1)                              <== NOT EXECUTED
ffc09750:	d8 c1 00 58 	stfd    f6,88(r1)                              <== NOT EXECUTED
ffc09754:	d8 e1 00 60 	stfd    f7,96(r1)                              <== NOT EXECUTED
ffc09758:	d9 01 00 68 	stfd    f8,104(r1)                             <== NOT EXECUTED
  int rv;                                                             
  va_list ap;                                                         
                                                                      
  va_start(ap, format);                                               
ffc0975c:	39 20 00 02 	li      r9,2                                   
ffc09760:	99 21 00 08 	stb     r9,8(r1)                               
ffc09764:	39 20 00 00 	li      r9,0                                   
  rv = vprintf(format, ap);                                           
ffc09768:	7c 83 23 78 	mr      r3,r4                                  
int rtems_printf_plugin(void *context, const char *format, ...)       
{                                                                     
  int rv;                                                             
  va_list ap;                                                         
                                                                      
  va_start(ap, format);                                               
ffc0976c:	99 21 00 09 	stb     r9,9(r1)                               
ffc09770:	39 21 00 78 	addi    r9,r1,120                              
  rv = vprintf(format, ap);                                           
ffc09774:	38 81 00 08 	addi    r4,r1,8                                
int rtems_printf_plugin(void *context, const char *format, ...)       
{                                                                     
  int rv;                                                             
  va_list ap;                                                         
                                                                      
  va_start(ap, format);                                               
ffc09778:	91 21 00 0c 	stw     r9,12(r1)                              
ffc0977c:	39 21 00 10 	addi    r9,r1,16                               
ffc09780:	91 21 00 10 	stw     r9,16(r1)                              
  rv = vprintf(format, ap);                                           
ffc09784:	48 00 f5 21 	bl      ffc18ca4 <vprintf>                     
  va_end(ap);                                                         
                                                                      
  return rv;                                                          
}                                                                     
ffc09788:	80 01 00 74 	lwz     r0,116(r1)                             
ffc0978c:	38 21 00 70 	addi    r1,r1,112                              
ffc09790:	7c 08 03 a6 	mtlr    r0                                     
ffc09794:	4e 80 00 20 	blr                                            
                                                                      

ffc3e424 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
ffc3e424:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc3e428:	7c 08 02 a6 	mflr    r0                                     
ffc3e42c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc3e430:	7c 7f 1b 78 	mr      r31,r3                                 
ffc3e434:	3c 60 00 00 	lis     r3,0                                   
ffc3e438:	93 a1 00 24 	stw     r29,36(r1)                             
ffc3e43c:	38 63 67 e0 	addi    r3,r3,26592                            
ffc3e440:	7c 9d 23 78 	mr      r29,r4                                 
ffc3e444:	38 a1 00 08 	addi    r5,r1,8                                
ffc3e448:	90 01 00 34 	stw     r0,52(r1)                              
ffc3e44c:	7f e4 fb 78 	mr      r4,r31                                 
ffc3e450:	93 61 00 1c 	stw     r27,28(r1)                             
ffc3e454:	93 81 00 20 	stw     r28,32(r1)                             
ffc3e458:	93 c1 00 28 	stw     r30,40(r1)                             
ffc3e45c:	4b fc cd e1 	bl      ffc0b23c <_Objects_Get>                
  rtems_rate_monotonic_period_states   local_state;                   
  ISR_Level                            level;                         
                                                                      
  the_period = _Rate_monotonic_Get( id, &location );                  
                                                                      
  switch ( location ) {                                               
ffc3e460:	81 21 00 08 	lwz     r9,8(r1)                               
ffc3e464:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc3e468:	40 9e 00 50 	bne-    cr7,ffc3e4b8 <rtems_rate_monotonic_period+0x94>
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
ffc3e46c:	3f 80 00 00 	lis     r28,0                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
ffc3e470:	81 43 00 40 	lwz     r10,64(r3)                             
ffc3e474:	3b 9c 65 60 	addi    r28,r28,25952                          
ffc3e478:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc3e47c:	7c 7e 1b 78 	mr      r30,r3                                 
ffc3e480:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc3e484:	41 9e 00 60 	beq-    cr7,ffc3e4e4 <rtems_rate_monotonic_period+0xc0>
        _Thread_Enable_dispatch();                                    
ffc3e488:	4b fc dd b9 	bl      ffc0c240 <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc3e48c:	80 01 00 34 	lwz     r0,52(r1)                              
                                                                      
  switch ( location ) {                                               
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
ffc3e490:	3b e0 00 17 	li      r31,23                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc3e494:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc3e498:	7c 08 03 a6 	mtlr    r0                                     
ffc3e49c:	7f e3 fb 78 	mr      r3,r31                                 
ffc3e4a0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc3e4a4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc3e4a8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc3e4ac:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc3e4b0:	38 21 00 30 	addi    r1,r1,48                               
ffc3e4b4:	4e 80 00 20 	blr                                            
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc3e4b8:	3b e0 00 04 	li      r31,4                                  
}                                                                     
ffc3e4bc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc3e4c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc3e4c4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc3e4c8:	7c 08 03 a6 	mtlr    r0                                     
ffc3e4cc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc3e4d0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc3e4d4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc3e4d8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc3e4dc:	38 21 00 30 	addi    r1,r1,48                               
ffc3e4e0:	4e 80 00 20 	blr                                            
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
ffc3e4e4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc3e4e8:	41 9e 00 80 	beq-    cr7,ffc3e568 <rtems_rate_monotonic_period+0x144>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc3e4ec:	7f 60 00 a6 	mfmsr   r27                                    
ffc3e4f0:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc3e4f4:	7f 69 48 78 	andc    r9,r27,r9                              
ffc3e4f8:	7d 20 01 24 	mtmsr   r9                                     
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
ffc3e4fc:	81 23 00 38 	lwz     r9,56(r3)                              
ffc3e500:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc3e504:	41 9e 00 8c 	beq-    cr7,ffc3e590 <rtems_rate_monotonic_period+0x16c>
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
ffc3e508:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc3e50c:	41 9e 00 d4 	beq-    cr7,ffc3e5e0 <rtems_rate_monotonic_period+0x1bc>
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc3e510:	2f 89 00 04 	cmpwi   cr7,r9,4                               
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc3e514:	3b e0 00 04 	li      r31,4                                  
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
ffc3e518:	40 9e ff a4 	bne+    cr7,ffc3e4bc <rtems_rate_monotonic_period+0x98><== NEVER TAKEN
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc3e51c:	4b ff fc d9 	bl      ffc3e1f4 <_Rate_monotonic_Update_statistics>
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc3e520:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc3e524:	39 20 00 02 	li      r9,2                                   
        the_period->next_length = length;                             
ffc3e528:	93 be 00 3c 	stw     r29,60(r30)                            
ffc3e52c:	3c 60 00 00 	lis     r3,0                                   
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc3e530:	91 3e 00 38 	stw     r9,56(r30)                             
ffc3e534:	38 63 64 88 	addi    r3,r3,25736                            
ffc3e538:	38 9e 00 10 	addi    r4,r30,16                              
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc3e53c:	93 be 00 1c 	stw     r29,28(r30)                            
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Scheduler_Release_job(the_period->owner, the_period->next_length);
        _Thread_Enable_dispatch();                                    
        return RTEMS_TIMEOUT;                                         
ffc3e540:	3b e0 00 06 	li      r31,6                                  
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e544:	4b fc ec 91 	bl      ffc0d1d4 <_Watchdog_Insert>            
ffc3e548:	3d 20 00 00 	lis     r9,0                                   
ffc3e54c:	81 29 20 c0 	lwz     r9,8384(r9)                            
ffc3e550:	80 7e 00 40 	lwz     r3,64(r30)                             
ffc3e554:	80 9e 00 3c 	lwz     r4,60(r30)                             
ffc3e558:	7d 29 03 a6 	mtctr   r9                                     
ffc3e55c:	4e 80 04 21 	bctrl                                          
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
        the_period->next_length = length;                             
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Scheduler_Release_job(the_period->owner, the_period->next_length);
        _Thread_Enable_dispatch();                                    
ffc3e560:	4b fc dc e1 	bl      ffc0c240 <_Thread_Enable_dispatch>     
ffc3e564:	4b ff ff 58 	b       ffc3e4bc <rtems_rate_monotonic_period+0x98>
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
        switch ( the_period->state ) {                                
ffc3e568:	81 23 00 38 	lwz     r9,56(r3)                              
ffc3e56c:	3b e0 00 00 	li      r31,0                                  
ffc3e570:	2b 89 00 04 	cmplwi  cr7,r9,4                               
ffc3e574:	41 9d 00 14 	bgt-    cr7,ffc3e588 <rtems_rate_monotonic_period+0x164><== NEVER TAKEN
ffc3e578:	3d 40 ff c7 	lis     r10,-57                                
ffc3e57c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc3e580:	39 4a 99 40 	addi    r10,r10,-26304                         
ffc3e584:	7f ea 48 2e 	lwzx    r31,r10,r9                             
          case RATE_MONOTONIC_ACTIVE:                                 
          default:              /* unreached -- only to remove warnings */
            return_value = RTEMS_SUCCESSFUL;                          
            break;                                                    
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc3e588:	4b fc dc b9 	bl      ffc0c240 <_Thread_Enable_dispatch>     
ffc3e58c:	4b ff ff 30 	b       ffc3e4bc <rtems_rate_monotonic_period+0x98>
ffc3e590:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
        _ISR_Enable( level );                                         
                                                                      
        the_period->next_length = length;                             
ffc3e594:	93 a3 00 3c 	stw     r29,60(r3)                             
                                                                      
        /*                                                            
         *  Baseline statistics information for the beginning of a period.
         */                                                           
        _Rate_monotonic_Initiate_statistics( the_period );            
ffc3e598:	4b ff fd ad 	bl      ffc3e344 <_Rate_monotonic_Initiate_statistics>
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
ffc3e59c:	39 40 00 02 	li      r10,2                                  
ffc3e5a0:	91 5e 00 38 	stw     r10,56(r30)                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc3e5a4:	3d 40 ff c4 	lis     r10,-60                                
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc3e5a8:	39 20 00 00 	li      r9,0                                   
  the_watchdog->routine   = routine;                                  
ffc3e5ac:	39 4a e6 50 	addi    r10,r10,-6576                          
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc3e5b0:	91 3e 00 18 	stw     r9,24(r30)                             
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e5b4:	3c 60 00 00 	lis     r3,0                                   
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
ffc3e5b8:	91 5e 00 2c 	stw     r10,44(r30)                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e5bc:	38 63 64 88 	addi    r3,r3,25736                            
ffc3e5c0:	38 9e 00 10 	addi    r4,r30,16                              
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
ffc3e5c4:	93 fe 00 30 	stw     r31,48(r30)                            
          NULL                                                        
        );                                                            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
ffc3e5c8:	3b e0 00 00 	li      r31,0                                  
  the_watchdog->user_data = user_data;                                
ffc3e5cc:	91 3e 00 34 	stw     r9,52(r30)                             
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
ffc3e5d0:	93 be 00 1c 	stw     r29,28(r30)                            
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
ffc3e5d4:	4b fc ec 01 	bl      ffc0d1d4 <_Watchdog_Insert>            
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
ffc3e5d8:	4b fc dc 69 	bl      ffc0c240 <_Thread_Enable_dispatch>     
ffc3e5dc:	4b ff fe e0 	b       ffc3e4bc <rtems_rate_monotonic_period+0x98>
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
ffc3e5e0:	4b ff fc 15 	bl      ffc3e1f4 <_Rate_monotonic_Update_statistics>
        /*                                                            
         *  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;         
ffc3e5e4:	39 20 00 01 	li      r9,1                                   
ffc3e5e8:	91 3e 00 38 	stw     r9,56(r30)                             
        the_period->next_length = length;                             
ffc3e5ec:	93 be 00 3c 	stw     r29,60(r30)                            
ffc3e5f0:	7f 60 01 24 	mtmsr   r27                                    
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc3e5f4:	81 3c 00 10 	lwz     r9,16(r28)                             
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc3e5f8:	38 80 40 00 	li      r4,16384                               
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc3e5fc:	81 5e 00 08 	lwz     r10,8(r30)                             
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc3e600:	7d 23 4b 78 	mr      r3,r9                                  
        the_period->state = RATE_MONOTONIC_OWNER_IS_BLOCKING;         
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
ffc3e604:	91 49 00 20 	stw     r10,32(r9)                             
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
ffc3e608:	4b fc e7 1d 	bl      ffc0cd24 <_Thread_Set_state>           
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc3e60c:	7d 40 00 a6 	mfmsr   r10                                    
ffc3e610:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc3e614:	7d 49 48 78 	andc    r9,r10,r9                              
ffc3e618:	7d 20 01 24 	mtmsr   r9                                     
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc3e61c:	39 00 00 02 	li      r8,2                                   
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
          local_state = the_period->state;                            
ffc3e620:	81 3e 00 38 	lwz     r9,56(r30)                             
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
ffc3e624:	91 1e 00 38 	stw     r8,56(r30)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc3e628:	7d 40 01 24 	mtmsr   r10                                    
                                                                      
        /*                                                            
         *  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 )   
ffc3e62c:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc3e630:	41 9e 00 10 	beq-    cr7,ffc3e640 <rtems_rate_monotonic_period+0x21c><== NEVER TAKEN
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
ffc3e634:	4b fc dc 0d 	bl      ffc0c240 <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc3e638:	3b e0 00 00 	li      r31,0                                  
ffc3e63c:	4b ff fe 80 	b       ffc3e4bc <rtems_rate_monotonic_period+0x98>
        /*                                                            
         *  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 );
ffc3e640:	80 7c 00 10 	lwz     r3,16(r28)                             <== NOT EXECUTED
ffc3e644:	38 80 40 00 	li      r4,16384                               <== NOT EXECUTED
ffc3e648:	4b fc d6 f9 	bl      ffc0bd40 <_Thread_Clear_state>         <== NOT EXECUTED
ffc3e64c:	4b ff ff e8 	b       ffc3e634 <rtems_rate_monotonic_period+0x210><== NOT EXECUTED
                                                                      

ffc2e730 <rtems_rate_monotonic_report_statistics_with_plugin>: void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc2e730:	94 21 ff 70 	stwu    r1,-144(r1)                            
ffc2e734:	7c 08 02 a6 	mflr    r0                                     
ffc2e738:	93 c1 00 88 	stw     r30,136(r1)                            
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc2e73c:	7c 9e 23 79 	mr.     r30,r4                                 
                                                                      
void rtems_rate_monotonic_report_statistics_with_plugin(              
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc2e740:	90 01 00 94 	stw     r0,148(r1)                             
ffc2e744:	92 e1 00 6c 	stw     r23,108(r1)                            
ffc2e748:	93 01 00 70 	stw     r24,112(r1)                            
ffc2e74c:	93 21 00 74 	stw     r25,116(r1)                            
ffc2e750:	93 41 00 78 	stw     r26,120(r1)                            
ffc2e754:	93 61 00 7c 	stw     r27,124(r1)                            
ffc2e758:	93 81 00 80 	stw     r28,128(r1)                            
ffc2e75c:	93 a1 00 84 	stw     r29,132(r1)                            
ffc2e760:	93 e1 00 8c 	stw     r31,140(r1)                            
  rtems_id                               id;                          
  rtems_rate_monotonic_period_statistics the_stats;                   
  rtems_rate_monotonic_period_status     the_status;                  
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
ffc2e764:	41 82 01 5c 	beq-    ffc2e8c0 <rtems_rate_monotonic_report_statistics_with_plugin+0x190><== NEVER TAKEN
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc2e768:	3c 80 ff c6 	lis     r4,-58                                 
ffc2e76c:	7f c9 03 a6 	mtctr   r30                                    
ffc2e770:	38 84 69 5c 	addi    r4,r4,26972                            
ffc2e774:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  /*                                                                  
   * 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 ;                   
ffc2e778:	3f a0 00 00 	lis     r29,0                                  
ffc2e77c:	3b bd 67 e0 	addi    r29,r29,26592                          
  char                                   name[5];                     
                                                                      
  if ( !print )                                                       
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
ffc2e780:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e784:	4e 80 04 21 	bctrl                                          
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
ffc2e788:	3c 80 ff c6 	lis     r4,-58                                 
ffc2e78c:	38 84 69 7c 	addi    r4,r4,27004                            
ffc2e790:	7f c9 03 a6 	mtctr   r30                                    
ffc2e794:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e798:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e79c:	4e 80 04 21 	bctrl                                          
    (*print)( context, "--- Wall times are in seconds ---\n" );       
ffc2e7a0:	3c 80 ff c6 	lis     r4,-58                                 
ffc2e7a4:	38 84 69 a0 	addi    r4,r4,27040                            
ffc2e7a8:	7f c9 03 a6 	mtctr   r30                                    
ffc2e7ac:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e7b0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e7b4:	4e 80 04 21 	bctrl                                          
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
ffc2e7b8:	3c 80 ff c6 	lis     r4,-58                                 
ffc2e7bc:	38 84 69 c4 	addi    r4,r4,27076                            
ffc2e7c0:	7f c9 03 a6 	mtctr   r30                                    
ffc2e7c4:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e7c8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e7cc:	4e 80 04 21 	bctrl                                          
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
ffc2e7d0:	3c 80 ff c6 	lis     r4,-58                                 
ffc2e7d4:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e7d8:	7f c9 03 a6 	mtctr   r30                                    
ffc2e7dc:	38 84 6a 10 	addi    r4,r4,27152                            
ffc2e7e0:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e7e4:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   * 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 ;                   
ffc2e7e8:	83 fd 00 08 	lwz     r31,8(r29)                             
ffc2e7ec:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc2e7f0:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc2e7f4:	41 9d 00 cc 	bgt-    cr7,ffc2e8c0 <rtems_rate_monotonic_report_statistics_with_plugin+0x190><== NEVER TAKEN
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc2e7f8:	3f 20 ff c6 	lis     r25,-58                                
      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,                                              
ffc2e7fc:	3e e0 ff c6 	lis     r23,-58                                
ffc2e800:	3f 60 10 62 	lis     r27,4194                               
      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,                                              
ffc2e804:	3f 00 ff c6 	lis     r24,-58                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc2e808:	3f 40 ff c7 	lis     r26,-57                                
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc2e80c:	3b 39 6a 5c 	addi    r25,r25,27228                          
      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,                                              
ffc2e810:	3a f7 6a 74 	addi    r23,r23,27252                          
ffc2e814:	63 7b 4d d3 	ori     r27,r27,19923                          
      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,                                              
ffc2e818:	3b 18 6a 94 	addi    r24,r24,27284                          
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc2e81c:	3b 5a 82 24 	addi    r26,r26,-32220                         
ffc2e820:	48 00 00 14 	b       ffc2e834 <rtems_rate_monotonic_report_statistics_with_plugin+0x104>
                                                                      
  /*                                                                  
   * 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 ;                   
ffc2e824:	81 3d 00 0c 	lwz     r9,12(r29)                             
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
ffc2e828:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
  /*                                                                  
   * 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 ;                   
ffc2e82c:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc2e830:	41 9c 00 90 	blt-    cr7,ffc2e8c0 <rtems_rate_monotonic_report_statistics_with_plugin+0x190>
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
ffc2e834:	7f e3 fb 78 	mr      r3,r31                                 
ffc2e838:	38 81 00 08 	addi    r4,r1,8                                
ffc2e83c:	48 00 f5 11 	bl      ffc3dd4c <rtems_rate_monotonic_get_statistics>
    if ( status != RTEMS_SUCCESSFUL )                                 
ffc2e840:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2e844:	40 9e ff e0 	bne+    cr7,ffc2e824 <rtems_rate_monotonic_report_statistics_with_plugin+0xf4>
    #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 );      
ffc2e848:	38 81 00 40 	addi    r4,r1,64                               
ffc2e84c:	7f e3 fb 78 	mr      r3,r31                                 
ffc2e850:	48 00 f7 25 	bl      ffc3df74 <rtems_rate_monotonic_get_status>
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
ffc2e854:	80 61 00 40 	lwz     r3,64(r1)                              
ffc2e858:	38 a1 00 60 	addi    r5,r1,96                               
ffc2e85c:	38 80 00 05 	li      r4,5                                   
ffc2e860:	4b fe 3b a1 	bl      ffc12400 <rtems_object_get_name>       
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
ffc2e864:	7f 24 cb 78 	mr      r4,r25                                 
ffc2e868:	7f e5 fb 78 	mr      r5,r31                                 
ffc2e86c:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc2e870:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e874:	81 01 00 0c 	lwz     r8,12(r1)                              
ffc2e878:	38 c1 00 60 	addi    r6,r1,96                               
ffc2e87c:	7f c9 03 a6 	mtctr   r30                                    
ffc2e880:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e884:	4e 80 04 21 	bctrl                                          
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc2e888:	81 21 00 08 	lwz     r9,8(r1)                               
      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 );
ffc2e88c:	38 61 00 20 	addi    r3,r1,32                               
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc2e890:	2f 89 00 00 	cmpwi   cr7,r9,0                               
      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 );
ffc2e894:	38 a1 00 58 	addi    r5,r1,88                               
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc2e898:	7f 44 d3 78 	mr      r4,r26                                 
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
ffc2e89c:	40 9e 00 58 	bne-    cr7,ffc2e8f4 <rtems_rate_monotonic_report_statistics_with_plugin+0x1c4>
      (*print)( context, "\n" );                                      
ffc2e8a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e8a4:	7f c9 03 a6 	mtctr   r30                                    
   * 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++ ) {                                                      
ffc2e8a8:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
ffc2e8ac:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e8b0:	4e 80 04 21 	bctrl                                          
                                                                      
  /*                                                                  
   * 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 ;                   
ffc2e8b4:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc2e8b8:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc2e8bc:	40 9c ff 78 	bge+    cr7,ffc2e834 <rtems_rate_monotonic_report_statistics_with_plugin+0x104><== ALWAYS TAKEN
        the_stats.min_wall_time, the_stats.max_wall_time, ival_wall, fval_wall
      );                                                              
    #endif                                                            
    }                                                                 
  }                                                                   
}                                                                     
ffc2e8c0:	80 01 00 94 	lwz     r0,148(r1)                             
ffc2e8c4:	82 e1 00 6c 	lwz     r23,108(r1)                            
ffc2e8c8:	7c 08 03 a6 	mtlr    r0                                     
ffc2e8cc:	83 01 00 70 	lwz     r24,112(r1)                            
ffc2e8d0:	83 21 00 74 	lwz     r25,116(r1)                            
ffc2e8d4:	83 41 00 78 	lwz     r26,120(r1)                            
ffc2e8d8:	83 61 00 7c 	lwz     r27,124(r1)                            
ffc2e8dc:	83 81 00 80 	lwz     r28,128(r1)                            
ffc2e8e0:	83 a1 00 84 	lwz     r29,132(r1)                            
ffc2e8e4:	83 c1 00 88 	lwz     r30,136(r1)                            
ffc2e8e8:	83 e1 00 8c 	lwz     r31,140(r1)                            
ffc2e8ec:	38 21 00 90 	addi    r1,r1,144                              
ffc2e8f0:	4e 80 00 20 	blr                                            
      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 );
ffc2e8f4:	7d 24 4b 78 	mr      r4,r9                                  
ffc2e8f8:	48 00 0e e5 	bl      ffc2f7dc <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc2e8fc:	81 01 00 14 	lwz     r8,20(r1)                              
ffc2e900:	81 41 00 1c 	lwz     r10,28(r1)                             
ffc2e904:	7f c9 03 a6 	mtctr   r30                                    
ffc2e908:	80 61 00 5c 	lwz     r3,92(r1)                              
ffc2e90c:	7d 68 d8 96 	mulhw   r11,r8,r27                             
ffc2e910:	80 e1 00 18 	lwz     r7,24(r1)                              
ffc2e914:	7c 03 d8 96 	mulhw   r0,r3,r27                              
ffc2e918:	81 21 00 58 	lwz     r9,88(r1)                              
ffc2e91c:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc2e920:	7c 8a d8 96 	mulhw   r4,r10,r27                             
ffc2e924:	7d 6b 36 70 	srawi   r11,r11,6                              
ffc2e928:	7d 06 fe 70 	srawi   r6,r8,31                               
ffc2e92c:	7c 63 fe 70 	srawi   r3,r3,31                               
ffc2e930:	7c 88 36 70 	srawi   r8,r4,6                                
ffc2e934:	7d 44 fe 70 	srawi   r4,r10,31                              
ffc2e938:	7c 0a 36 70 	srawi   r10,r0,6                               
ffc2e93c:	7c c6 58 50 	subf    r6,r6,r11                              
ffc2e940:	7d 04 40 50 	subf    r8,r4,r8                               
ffc2e944:	7d 43 50 50 	subf    r10,r3,r10                             
ffc2e948:	7e e4 bb 78 	mr      r4,r23                                 
ffc2e94c:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e950:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e954:	4e 80 04 21 	bctrl                                          
      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);
ffc2e958:	80 81 00 08 	lwz     r4,8(r1)                               
ffc2e95c:	38 61 00 38 	addi    r3,r1,56                               
ffc2e960:	38 a1 00 58 	addi    r5,r1,88                               
ffc2e964:	48 00 0e 79 	bl      ffc2f7dc <_Timespec_Divide_by_integer> 
      (*print)( context,                                              
ffc2e968:	81 01 00 2c 	lwz     r8,44(r1)                              
ffc2e96c:	81 41 00 34 	lwz     r10,52(r1)                             
ffc2e970:	7f c9 03 a6 	mtctr   r30                                    
ffc2e974:	80 61 00 5c 	lwz     r3,92(r1)                              
ffc2e978:	7d 88 d8 96 	mulhw   r12,r8,r27                             
ffc2e97c:	80 a1 00 28 	lwz     r5,40(r1)                              
ffc2e980:	7d 6a d8 96 	mulhw   r11,r10,r27                            
ffc2e984:	80 e1 00 30 	lwz     r7,48(r1)                              
ffc2e988:	81 21 00 58 	lwz     r9,88(r1)                              
ffc2e98c:	7c 83 d8 96 	mulhw   r4,r3,r27                              
ffc2e990:	7d 40 fe 70 	srawi   r0,r10,31                              
ffc2e994:	7d 8c 36 70 	srawi   r12,r12,6                              
ffc2e998:	7d 06 fe 70 	srawi   r6,r8,31                               
ffc2e99c:	7c 8a 36 70 	srawi   r10,r4,6                               
ffc2e9a0:	7d 68 36 70 	srawi   r8,r11,6                               
ffc2e9a4:	7c 6b fe 70 	srawi   r11,r3,31                              
ffc2e9a8:	7f 04 c3 78 	mr      r4,r24                                 
ffc2e9ac:	7f 83 e3 78 	mr      r3,r28                                 
ffc2e9b0:	7c c6 60 50 	subf    r6,r6,r12                              
ffc2e9b4:	7d 00 40 50 	subf    r8,r0,r8                               
ffc2e9b8:	7d 4b 50 50 	subf    r10,r11,r10                            
ffc2e9bc:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2e9c0:	4e 80 04 21 	bctrl                                          
ffc2e9c4:	4b ff fe 60 	b       ffc2e824 <rtems_rate_monotonic_report_statistics_with_plugin+0xf4>
                                                                      

ffc2e9d8 <rtems_rate_monotonic_reset_all_statistics>: * * This rountine increments the thread dispatch level */ RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void) { uint32_t level = _Thread_Dispatch_disable_level;
ffc2e9d8:	3d 20 00 00 	lis     r9,0                                   
                                                                      
/*                                                                    
 *  rtems_rate_monotonic_reset_all_statistics                         
 */                                                                   
void rtems_rate_monotonic_reset_all_statistics( void )                
{                                                                     
ffc2e9dc:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc2e9e0:	7c 08 02 a6 	mflr    r0                                     
ffc2e9e4:	81 49 34 80 	lwz     r10,13440(r9)                          
ffc2e9e8:	90 01 00 14 	stw     r0,20(r1)                              
                                                                      
    ++level;                                                          
ffc2e9ec:	39 4a 00 01 	addi    r10,r10,1                              
ffc2e9f0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc2e9f4:	93 e1 00 0c 	stw     r31,12(r1)                             
    _Thread_Dispatch_disable_level = level;                           
ffc2e9f8:	91 49 34 80 	stw     r10,13440(r9)                          
                                                                      
    /*                                                                
     * 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 ;                 
ffc2e9fc:	3f c0 00 00 	lis     r30,0                                  
ffc2ea00:	3b de 67 e0 	addi    r30,r30,26592                          
ffc2ea04:	83 fe 00 08 	lwz     r31,8(r30)                             
ffc2ea08:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc2ea0c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc2ea10:	41 9d 00 1c 	bgt-    cr7,ffc2ea2c <rtems_rate_monotonic_reset_all_statistics+0x54><== NEVER TAKEN
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
ffc2ea14:	7f e3 fb 78 	mr      r3,r31                                 
ffc2ea18:	48 00 00 2d 	bl      ffc2ea44 <rtems_rate_monotonic_reset_statistics>
                                                                      
    /*                                                                
     * 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 ;                 
ffc2ea1c:	81 3e 00 0c 	lwz     r9,12(r30)                             
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
ffc2ea20:	3b ff 00 01 	addi    r31,r31,1                              
                                                                      
    /*                                                                
     * 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 ;                 
ffc2ea24:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc2ea28:	40 9c ff ec 	bge+    cr7,ffc2ea14 <rtems_rate_monotonic_reset_all_statistics+0x3c>
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
}                                                                     
ffc2ea2c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc2ea30:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc2ea34:	7c 08 03 a6 	mtlr    r0                                     
ffc2ea38:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc2ea3c:	38 21 00 10 	addi    r1,r1,16                               
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
ffc2ea40:	4b fd d8 00 	b       ffc0c240 <_Thread_Enable_dispatch>     
                                                                      

ffc0aad0 <rtems_rbheap_allocate>: return big_enough; } void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size) {
ffc0aad0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc0aad4:	7c 08 02 a6 	mflr    r0                                     
ffc0aad8:	90 01 00 24 	stw     r0,36(r1)                              
  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;                           
ffc0aadc:	81 23 00 30 	lwz     r9,48(r3)                              
                                                                      
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
ffc0aae0:	93 c1 00 18 	stw     r30,24(r1)                             
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0aae4:	7f c4 4b 96 	divwu   r30,r4,r9                              
                                                                      
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
ffc0aae8:	93 81 00 10 	stw     r28,16(r1)                             
ffc0aaec:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0aaf0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0aaf4:	93 e1 00 1c 	stw     r31,28(r1)                             
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0aaf8:	7f de 49 d6 	mullw   r30,r30,r9                             
                                                                      
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
ffc0aafc:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
ffc0ab00:	7d 5e 20 51 	subf.   r10,r30,r4                             
ffc0ab04:	40 82 00 ac 	bne-    ffc0abb0 <rtems_rbheap_allocate+0xe0>  <== NEVER TAKEN
  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) {                             
ffc0ab08:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc0ab0c:	7c 9e 23 78 	mr      r30,r4                                 
ffc0ab10:	41 9e 00 2c 	beq-    cr7,ffc0ab3c <rtems_rbheap_allocate+0x6c>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc0ab14:	83 bc 00 00 	lwz     r29,0(r28)                             
  rtems_chain_control *free_chain,                                    
  size_t size                                                         
)                                                                     
{                                                                     
  rtems_chain_node *current = rtems_chain_first(free_chain);          
  const rtems_chain_node *tail = rtems_chain_tail(free_chain);        
ffc0ab18:	39 3c 00 04 	addi    r9,r28,4                               
  rtems_rbheap_chunk *big_enough = NULL;                              
                                                                      
  while (current != tail && big_enough == NULL) {                     
ffc0ab1c:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
ffc0ab20:	41 9e 00 1c 	beq-    cr7,ffc0ab3c <rtems_rbheap_allocate+0x6c>
    rtems_rbheap_chunk *free_chunk = (rtems_rbheap_chunk *) current;  
                                                                      
    if (free_chunk->size >= size) {                                   
ffc0ab24:	83 fd 00 1c 	lwz     r31,28(r29)                            
ffc0ab28:	7f 9f f0 40 	cmplw   cr7,r31,r30                            
ffc0ab2c:	40 9c 00 38 	bge-    cr7,ffc0ab64 <rtems_rbheap_allocate+0x94>
  rtems_rbheap_chunk *chunk = malloc(sizeof(*chunk));                 
                                                                      
  if (chunk != NULL) {                                                
    rtems_rbheap_add_to_spare_descriptor_chain(control, chunk);       
  }                                                                   
}                                                                     
ffc0ab30:	83 bd 00 00 	lwz     r29,0(r29)                             
{                                                                     
  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) {                     
ffc0ab34:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc0ab38:	40 9e ff ec 	bne+    cr7,ffc0ab24 <rtems_rbheap_allocate+0x54><== NEVER TAKEN
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
  void *ptr = NULL;                                                   
ffc0ab3c:	38 60 00 00 	li      r3,0                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
ffc0ab40:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0ab44:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ab48:	7c 08 03 a6 	mtlr    r0                                     
ffc0ab4c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ab50:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ab54:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ab58:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ab5c:	38 21 00 20 	addi    r1,r1,32                               
ffc0ab60:	4e 80 00 20 	blr                                            
    rtems_rbheap_chunk *free_chunk = search_free_chunk(free_chain, aligned_size);
                                                                      
    if (free_chunk != NULL) {                                         
      uintptr_t free_size = free_chunk->size;                         
                                                                      
      if (free_size > aligned_size) {                                 
ffc0ab64:	7f 9e f8 40 	cmplw   cr7,r30,r31                            
ffc0ab68:	41 9c 00 68 	blt-    cr7,ffc0abd0 <rtems_rbheap_allocate+0x100>
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
ffc0ab6c:	80 01 00 24 	lwz     r0,36(r1)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc0ab70:	39 40 00 00 	li      r10,0                                  
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
ffc0ab74:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc0ab78:	7c 08 03 a6 	mtlr    r0                                     
  previous       = the_node->previous;                                
ffc0ab7c:	81 1d 00 04 	lwz     r8,4(r29)                              
          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;                             
ffc0ab80:	80 7d 00 18 	lwz     r3,24(r29)                             
  next->previous = previous;                                          
ffc0ab84:	91 09 00 04 	stw     r8,4(r9)                               
  previous->next = next;                                              
ffc0ab88:	91 28 00 00 	stw     r9,0(r8)                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc0ab8c:	91 5d 00 04 	stw     r10,4(r29)                             
ffc0ab90:	91 5d 00 00 	stw     r10,0(r29)                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
ffc0ab94:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ab98:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ab9c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0aba0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0aba4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0aba8:	38 21 00 20 	addi    r1,r1,32                               
ffc0abac:	4e 80 00 20 	blr                                            
  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) {                             
ffc0abb0:	2f 84 00 00 	cmpwi   cr7,r4,0                               <== NOT EXECUTED
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
    value += alignment - excess;                                      
ffc0abb4:	7d 24 4a 14 	add     r9,r4,r9                               <== NOT EXECUTED
ffc0abb8:	7f ca 48 50 	subf    r30,r10,r9                             <== 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) {                             
ffc0abbc:	41 be ff 80 	beq-    cr7,ffc0ab3c <rtems_rbheap_allocate+0x6c><== NOT EXECUTED
ffc0abc0:	7f 84 f0 40 	cmplw   cr7,r4,r30                             <== NOT EXECUTED
ffc0abc4:	40 9d ff 50 	ble+    cr7,ffc0ab14 <rtems_rbheap_allocate+0x44><== NOT EXECUTED
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
  void *ptr = NULL;                                                   
ffc0abc8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc0abcc:	4b ff ff 74 	b       ffc0ab40 <rtems_rbheap_allocate+0x70>  <== NOT EXECUTED
                                                                      
    if (free_chunk != NULL) {                                         
      uintptr_t free_size = free_chunk->size;                         
                                                                      
      if (free_size > aligned_size) {                                 
        rtems_rbheap_chunk *new_chunk = get_chunk(control);           
ffc0abd0:	7f 83 e3 78 	mr      r3,r28                                 
ffc0abd4:	4b ff fc 9d 	bl      ffc0a870 <get_chunk>                   
                                                                      
        if (new_chunk != NULL) {                                      
ffc0abd8:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0abdc:	41 a2 ff 60 	beq-    ffc0ab3c <rtems_rbheap_allocate+0x6c>  <== NEVER TAKEN
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_chunk->size = new_free_size;                           
          new_chunk->begin = free_chunk->begin + new_free_size;       
ffc0abe0:	81 5d 00 18 	lwz     r10,24(r29)                            
                                                                      
      if (free_size > aligned_size) {                                 
        rtems_rbheap_chunk *new_chunk = get_chunk(control);           
                                                                      
        if (new_chunk != NULL) {                                      
          uintptr_t new_free_size = free_size - aligned_size;         
ffc0abe4:	7f fe f8 50 	subf    r31,r30,r31                            
ffc0abe8:	39 20 00 00 	li      r9,0                                   
                                                                      
          free_chunk->size = new_free_size;                           
ffc0abec:	93 fd 00 1c 	stw     r31,28(r29)                            
          new_chunk->begin = free_chunk->begin + new_free_size;       
ffc0abf0:	7d 5f 52 14 	add     r10,r31,r10                            
          new_chunk->size = aligned_size;                             
ffc0abf4:	93 db 00 1c 	stw     r30,28(r27)                            
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
ffc0abf8:	38 7c 00 18 	addi    r3,r28,24                              
ffc0abfc:	38 9b 00 08 	addi    r4,r27,8                               
                                                                      
        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;       
ffc0ac00:	91 5b 00 18 	stw     r10,24(r27)                            
ffc0ac04:	91 3b 00 04 	stw     r9,4(r27)                              
ffc0ac08:	91 3b 00 00 	stw     r9,0(r27)                              
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
ffc0ac0c:	48 00 1e d9 	bl      ffc0cae4 <_RBTree_Insert_unprotected>  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
ffc0ac10:	80 01 00 24 	lwz     r0,36(r1)                              
          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;                            
ffc0ac14:	80 7b 00 18 	lwz     r3,24(r27)                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
ffc0ac18:	7c 08 03 a6 	mtlr    r0                                     
ffc0ac1c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0ac20:	83 81 00 10 	lwz     r28,16(r1)                             
ffc0ac24:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc0ac28:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0ac2c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0ac30:	38 21 00 20 	addi    r1,r1,32                               
ffc0ac34:	4e 80 00 20 	blr                                            
                                                                      

ffc0adb0 <rtems_rbheap_extend_descriptors_with_malloc>: /* Do nothing */ } void rtems_rbheap_extend_descriptors_with_malloc(rtems_rbheap_control *control) {
ffc0adb0:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc0adb4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc0adb8:	93 e1 00 0c 	stw     r31,12(r1)                             <== NOT EXECUTED
ffc0adbc:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
  rtems_rbheap_chunk *chunk = malloc(sizeof(*chunk));                 
ffc0adc0:	38 60 00 20 	li      r3,32                                  <== NOT EXECUTED
{                                                                     
  /* Do nothing */                                                    
}                                                                     
                                                                      
void rtems_rbheap_extend_descriptors_with_malloc(rtems_rbheap_control *control)
{                                                                     
ffc0adc4:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
  rtems_rbheap_chunk *chunk = malloc(sizeof(*chunk));                 
ffc0adc8:	4b ff a6 5d 	bl      ffc05424 <malloc>                      <== NOT EXECUTED
                                                                      
  if (chunk != NULL) {                                                
ffc0adcc:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc0add0:	41 82 00 1c 	beq-    ffc0adec <rtems_rbheap_extend_descriptors_with_malloc+0x3c><== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0add4:	81 5f 00 0c 	lwz     r10,12(r31)                            <== NOT EXECUTED
RTEMS_INLINE_ROUTINE void _Chain_Prepend_unprotected(                 
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert_unprotected(_Chain_Head(the_chain), the_node);        
ffc0add8:	39 1f 00 0c 	addi    r8,r31,12                              <== NOT EXECUTED
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0addc:	91 03 00 04 	stw     r8,4(r3)                               <== NOT EXECUTED
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0ade0:	90 7f 00 0c 	stw     r3,12(r31)                             <== NOT EXECUTED
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0ade4:	90 6a 00 04 	stw     r3,4(r10)                              <== NOT EXECUTED
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0ade8:	91 43 00 00 	stw     r10,0(r3)                              <== NOT EXECUTED
    rtems_rbheap_add_to_spare_descriptor_chain(control, chunk);       
  }                                                                   
}                                                                     
ffc0adec:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc0adf0:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc0adf4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc0adf8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc0adfc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc0ac38 <rtems_rbheap_free>: rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr) { rtems_status_code sc = RTEMS_SUCCESSFUL; if (ptr != NULL) {
ffc0ac38:	2c 04 00 00 	cmpwi   r4,0                                   
ffc0ac3c:	41 82 00 f4 	beq-    ffc0ad30 <rtems_rbheap_free+0xf8>      
    _RBTree_Extract_unprotected(chunk_tree, &b->tree_node);           
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
ffc0ac40:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc0ac44:	7c 08 02 a6 	mflr    r0                                     
                                                                      
#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 };                        
ffc0ac48:	39 20 00 00 	li      r9,0                                   
    _RBTree_Extract_unprotected(chunk_tree, &b->tree_node);           
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
ffc0ac4c:	90 01 00 44 	stw     r0,68(r1)                              
ffc0ac50:	93 e1 00 3c 	stw     r31,60(r1)                             
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
ffc0ac54:	83 e3 00 1c 	lwz     r31,28(r3)                             
ffc0ac58:	93 81 00 30 	stw     r28,48(r1)                             
ffc0ac5c:	7c 7c 1b 78 	mr      r28,r3                                 
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0ac60:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ac64:	93 c1 00 38 	stw     r30,56(r1)                             
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (ptr != NULL) {                                                  
    rtems_chain_control *free_chain = &control->free_chunk_chain;     
    rtems_rbtree_control *chunk_tree = &control->chunk_tree;          
ffc0ac68:	3b c3 00 18 	addi    r30,r3,24                              
    _RBTree_Extract_unprotected(chunk_tree, &b->tree_node);           
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
ffc0ac6c:	93 61 00 2c 	stw     r27,44(r1)                             
ffc0ac70:	93 a1 00 34 	stw     r29,52(r1)                             
                                                                      
#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 };                        
ffc0ac74:	91 21 00 08 	stw     r9,8(r1)                               
ffc0ac78:	91 21 00 0c 	stw     r9,12(r1)                              
ffc0ac7c:	91 21 00 10 	stw     r9,16(r1)                              
ffc0ac80:	91 21 00 14 	stw     r9,20(r1)                              
ffc0ac84:	91 21 00 18 	stw     r9,24(r1)                              
ffc0ac88:	91 21 00 1c 	stw     r9,28(r1)                              
ffc0ac8c:	91 21 00 24 	stw     r9,36(r1)                              
ffc0ac90:	90 81 00 20 	stw     r4,32(r1)                              
ffc0ac94:	41 9e 01 10 	beq-    cr7,ffc0ada4 <rtems_rbheap_free+0x16c> <== NEVER TAKEN
ffc0ac98:	3b a0 00 00 	li      r29,0                                  
    compare_result = the_rbtree->compare_function(the_node, iter_node);
ffc0ac9c:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc0aca0:	7f e4 fb 78 	mr      r4,r31                                 
ffc0aca4:	38 61 00 10 	addi    r3,r1,16                               
ffc0aca8:	7d 29 03 a6 	mtctr   r9                                     
ffc0acac:	4e 80 04 21 	bctrl                                          
    if ( _RBTree_Is_equal( compare_result ) ) {                       
ffc0acb0:	2c 03 00 00 	cmpwi   r3,0                                   
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
ffc0acb4:	7c 6a fe 70 	srawi   r10,r3,31                              
ffc0acb8:	7d 23 50 50 	subf    r9,r3,r10                              
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
ffc0acbc:	55 29 1f 7a 	rlwinm  r9,r9,3,29,29                          
ffc0acc0:	7d 3f 4a 14 	add     r9,r31,r9                              
  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 ) ) {                       
ffc0acc4:	40 82 00 14 	bne-    ffc0acd8 <rtems_rbheap_free+0xa0>      
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0acc8:	89 5e 00 14 	lbz     r10,20(r30)                            
ffc0accc:	7f fd fb 78 	mr      r29,r31                                
ffc0acd0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc0acd4:	40 9e 00 54 	bne-    cr7,ffc0ad28 <rtems_rbheap_free+0xf0>  <== ALWAYS TAKEN
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
ffc0acd8:	83 e9 00 04 	lwz     r31,4(r9)                              
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
ffc0acdc:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc0ace0:	40 9e ff bc 	bne+    cr7,ffc0ac9c <rtems_rbheap_free+0x64>  
  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) {                                         
ffc0ace4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        check_and_merge(free_chain, chunk_tree, chunk, pred);         
      } else {                                                        
        sc = RTEMS_INCORRECT_STATE;                                   
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ID;                                          
ffc0ace8:	38 60 00 04 	li      r3,4                                   
  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) {                                         
ffc0acec:	3b fd ff f8 	addi    r31,r29,-8                             
ffc0acf0:	41 9e 00 14 	beq-    cr7,ffc0ad04 <rtems_rbheap_free+0xcc>  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
ffc0acf4:	81 3d ff f8 	lwz     r9,-8(r29)                             
                                                                      
        check_and_merge(free_chain, chunk_tree, chunk, succ);         
        add_to_chain(free_chain, chunk);                              
        check_and_merge(free_chain, chunk_tree, chunk, pred);         
      } else {                                                        
        sc = RTEMS_INCORRECT_STATE;                                   
ffc0acf8:	38 60 00 0e 	li      r3,14                                  
ffc0acfc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ad00:	41 9e 00 38 	beq-    cr7,ffc0ad38 <rtems_rbheap_free+0x100> 
      sc = RTEMS_INVALID_ID;                                          
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0ad04:	80 01 00 44 	lwz     r0,68(r1)                              
ffc0ad08:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc0ad0c:	7c 08 03 a6 	mtlr    r0                                     
ffc0ad10:	83 81 00 30 	lwz     r28,48(r1)                             
ffc0ad14:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc0ad18:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc0ad1c:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc0ad20:	38 21 00 40 	addi    r1,r1,64                               
ffc0ad24:	4e 80 00 20 	blr                                            
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
ffc0ad28:	7f fd fb 78 	mr      r29,r31                                
ffc0ad2c:	4b ff ff b8 	b       ffc0ace4 <rtems_rbheap_free+0xac>      
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc0ad30:	38 60 00 00 	li      r3,0                                   
      sc = RTEMS_INVALID_ID;                                          
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0ad34:	4e 80 00 20 	blr                                            
ffc0ad38:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0ad3c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0ad40:	40 9e ff c4 	bne+    cr7,ffc0ad04 <rtems_rbheap_free+0xcc>  <== NEVER TAKEN
static rtems_rbheap_chunk *get_next(                                  
  const rtems_rbheap_chunk *chunk,                                    
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return rtems_rbheap_chunk_of_node(                                  
ffc0ad44:	38 80 00 00 	li      r4,0                                   
ffc0ad48:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ad4c:	48 00 21 b1 	bl      ffc0cefc <_RBTree_Next_unprotected>    
ffc0ad50:	38 80 00 01 	li      r4,1                                   
ffc0ad54:	7c 7b 1b 78 	mr      r27,r3                                 
ffc0ad58:	7f a3 eb 78 	mr      r3,r29                                 
ffc0ad5c:	48 00 21 a1 	bl      ffc0cefc <_RBTree_Next_unprotected>    
    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);         
ffc0ad60:	7f c4 f3 78 	mr      r4,r30                                 
static rtems_rbheap_chunk *get_next(                                  
  const rtems_rbheap_chunk *chunk,                                    
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return rtems_rbheap_chunk_of_node(                                  
ffc0ad64:	38 c3 ff f8 	addi    r6,r3,-8                               
    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);         
ffc0ad68:	7f e5 fb 78 	mr      r5,r31                                 
ffc0ad6c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ad70:	4b ff fb 91 	bl      ffc0a900 <check_and_merge>             
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0ad74:	81 3c 00 00 	lwz     r9,0(r28)                              
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0ad78:	93 9f 00 04 	stw     r28,4(r31)                             
        add_to_chain(free_chain, chunk);                              
        check_and_merge(free_chain, chunk_tree, chunk, pred);         
ffc0ad7c:	7f 83 e3 78 	mr      r3,r28                                 
ffc0ad80:	7f c4 f3 78 	mr      r4,r30                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0ad84:	93 fc 00 00 	stw     r31,0(r28)                             
ffc0ad88:	7f e5 fb 78 	mr      r5,r31                                 
ffc0ad8c:	38 db ff f8 	addi    r6,r27,-8                              
  the_node->next        = before_node;                                
ffc0ad90:	91 3f 00 00 	stw     r9,0(r31)                              
  before_node->previous = the_node;                                   
ffc0ad94:	93 e9 00 04 	stw     r31,4(r9)                              
ffc0ad98:	4b ff fb 69 	bl      ffc0a900 <check_and_merge>             
  }                                                                   
}                                                                     
                                                                      
rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc0ad9c:	38 60 00 00 	li      r3,0                                   
ffc0ada0:	4b ff ff 64 	b       ffc0ad04 <rtems_rbheap_free+0xcc>      
        check_and_merge(free_chain, chunk_tree, chunk, pred);         
      } else {                                                        
        sc = RTEMS_INCORRECT_STATE;                                   
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ID;                                          
ffc0ada4:	38 60 00 04 	li      r3,4                                   <== NOT EXECUTED
ffc0ada8:	4b ff ff 5c 	b       ffc0ad04 <rtems_rbheap_free+0xcc>      <== NOT EXECUTED
                                                                      

ffc0a984 <rtems_rbheap_initialize>: void *handler_arg ) { rtems_status_code sc = RTEMS_SUCCESSFUL; if (alignment > 0) {
ffc0a984:	2c 06 00 00 	cmpwi   r6,0                                   
ffc0a988:	40 82 00 0c 	bne-    ffc0a994 <rtems_rbheap_initialize+0x10>
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ADDRESS;                                     
    }                                                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
ffc0a98c:	38 60 00 0a 	li      r3,10                                  
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0a990:	4e 80 00 20 	blr                                            
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0a994:	7d 24 33 96 	divwu   r9,r4,r6                               
  uintptr_t area_size,                                                
  uintptr_t alignment,                                                
  rtems_rbheap_extend_descriptors extend_descriptors,                 
  void *handler_arg                                                   
)                                                                     
{                                                                     
ffc0a998:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc0a99c:	7c 08 02 a6 	mflr    r0                                     
ffc0a9a0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc0a9a4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc0a9a8:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc0a9ac:	93 c1 00 10 	stw     r30,16(r1)                             
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0a9b0:	7d 29 31 d6 	mullw   r9,r9,r6                               
ffc0a9b4:	7c 7f 1b 78 	mr      r31,r3                                 
                                                                      
  if (excess > 0) {                                                   
ffc0a9b8:	7d 49 20 51 	subf.   r10,r9,r4                              
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (alignment > 0) {                                                
    uintptr_t begin = (uintptr_t) area_begin;                         
    uintptr_t end = begin + area_size;                                
ffc0a9bc:	7c a5 22 14 	add     r5,r5,r4                               
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
ffc0a9c0:	41 82 00 f0 	beq-    ffc0aab0 <rtems_rbheap_initialize+0x12c>
    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) {
ffc0a9c4:	7f 84 28 40 	cmplw   cr7,r4,r5                              
        insert_into_tree(chunk_tree, first);                          
      } else {                                                        
        sc = RTEMS_NO_MEMORY;                                         
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ADDRESS;                                     
ffc0a9c8:	38 60 00 09 	li      r3,9                                   
    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) {
ffc0a9cc:	41 9c 00 20 	blt-    cr7,ffc0a9ec <rtems_rbheap_initialize+0x68>
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc0a9d0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0a9d4:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0a9d8:	7c 08 03 a6 	mtlr    r0                                     
ffc0a9dc:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0a9e0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0a9e4:	38 21 00 18 	addi    r1,r1,24                               
ffc0a9e8:	4e 80 00 20 	blr                                            
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
    value += alignment - excess;                                      
ffc0a9ec:	7f c6 22 14 	add     r30,r6,r4                              
ffc0a9f0:	7f ca f0 50 	subf    r30,r10,r30                            
    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) {
ffc0a9f4:	7f 84 f0 40 	cmplw   cr7,r4,r30                             
ffc0a9f8:	41 9d ff d8 	bgt+    cr7,ffc0a9d0 <rtems_rbheap_initialize+0x4c><== NEVER TAKEN
  return value;                                                       
}                                                                     
                                                                      
static uintptr_t align_down(uintptr_t alignment, uintptr_t value)     
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0a9fc:	7c a5 33 96 	divwu   r5,r5,r6                               
                                                                      
  return value - excess;                                              
ffc0aa00:	7f a5 31 d6 	mullw   r29,r5,r6                              
    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) {
ffc0aa04:	7f 9d f0 40 	cmplw   cr7,r29,r30                            
        insert_into_tree(chunk_tree, first);                          
      } else {                                                        
        sc = RTEMS_NO_MEMORY;                                         
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ADDRESS;                                     
ffc0aa08:	38 60 00 09 	li      r3,9                                   
    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) {
ffc0aa0c:	40 9d ff c4 	ble+    cr7,ffc0a9d0 <rtems_rbheap_initialize+0x4c>
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0aa10:	39 20 00 00 	li      r9,0                                   
  tail->previous = head;                                              
ffc0aa14:	93 ff 00 08 	stw     r31,8(r31)                             
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 );                        
ffc0aa18:	38 9f 00 04 	addi    r4,r31,4                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0aa1c:	91 3f 00 04 	stw     r9,4(r31)                              
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 );                        
ffc0aa20:	39 5f 00 0c 	addi    r10,r31,12                             
ffc0aa24:	38 bf 00 10 	addi    r5,r31,16                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc0aa28:	91 3f 00 10 	stw     r9,16(r31)                             
      rtems_rbtree_initialize_empty(chunk_tree, chunk_compare, true); 
      control->alignment = alignment;                                 
      control->handler_arg = handler_arg;                             
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
ffc0aa2c:	7f e3 fb 78 	mr      r3,r31                                 
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
ffc0aa30:	91 3f 00 18 	stw     r9,24(r31)                             
  the_rbtree->root             = NULL;                                
ffc0aa34:	91 3f 00 1c 	stw     r9,28(r31)                             
  the_rbtree->first[0]         = NULL;                                
ffc0aa38:	91 3f 00 20 	stw     r9,32(r31)                             
  the_rbtree->first[1]         = NULL;                                
ffc0aa3c:	91 3f 00 24 	stw     r9,36(r31)                             
  the_rbtree->compare_function = compare_function;                    
ffc0aa40:	3d 20 ff c1 	lis     r9,-63                                 
ffc0aa44:	39 29 a8 60 	addi    r9,r9,-22432                           
ffc0aa48:	91 3f 00 28 	stw     r9,40(r31)                             
  the_rbtree->is_unique        = is_unique;                           
ffc0aa4c:	39 20 00 01 	li      r9,1                                   
ffc0aa50:	99 3f 00 2c 	stb     r9,44(r31)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc0aa54:	90 9f 00 00 	stw     r4,0(r31)                              
ffc0aa58:	90 bf 00 0c 	stw     r5,12(r31)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc0aa5c:	91 5f 00 14 	stw     r10,20(r31)                            
      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;                                 
ffc0aa60:	90 df 00 30 	stw     r6,48(r31)                             
      control->handler_arg = handler_arg;                             
ffc0aa64:	91 1f 00 38 	stw     r8,56(r31)                             
      control->extend_descriptors = extend_descriptors;               
ffc0aa68:	90 ff 00 34 	stw     r7,52(r31)                             
                                                                      
      first = get_chunk(control);                                     
ffc0aa6c:	4b ff fe 05 	bl      ffc0a870 <get_chunk>                   
      if (first != NULL) {                                            
ffc0aa70:	7c 69 1b 79 	mr.     r9,r3                                  
        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;                                         
ffc0aa74:	38 60 00 1a 	li      r3,26                                  
      control->alignment = alignment;                                 
      control->handler_arg = handler_arg;                             
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
      if (first != NULL) {                                            
ffc0aa78:	41 a2 ff 58 	beq-    ffc0a9d0 <rtems_rbheap_initialize+0x4c>
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
ffc0aa7c:	81 5f 00 00 	lwz     r10,0(r31)                             
        first->begin = aligned_begin;                                 
        first->size = aligned_end - aligned_begin;                    
ffc0aa80:	7f be e8 50 	subf    r29,r30,r29                            
      control->handler_arg = handler_arg;                             
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
      if (first != NULL) {                                            
        first->begin = aligned_begin;                                 
ffc0aa84:	93 c9 00 18 	stw     r30,24(r9)                             
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
ffc0aa88:	38 7f 00 18 	addi    r3,r31,24                              
ffc0aa8c:	38 89 00 08 	addi    r4,r9,8                                
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
      if (first != NULL) {                                            
        first->begin = aligned_begin;                                 
        first->size = aligned_end - aligned_begin;                    
ffc0aa90:	93 a9 00 1c 	stw     r29,28(r9)                             
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
ffc0aa94:	93 e9 00 04 	stw     r31,4(r9)                              
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
ffc0aa98:	91 3f 00 00 	stw     r9,0(r31)                              
  the_node->next        = before_node;                                
  before_node->previous = the_node;                                   
ffc0aa9c:	91 2a 00 04 	stw     r9,4(r10)                              
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
ffc0aaa0:	91 49 00 00 	stw     r10,0(r9)                              
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
ffc0aaa4:	48 00 20 41 	bl      ffc0cae4 <_RBTree_Insert_unprotected>  
  uintptr_t alignment,                                                
  rtems_rbheap_extend_descriptors extend_descriptors,                 
  void *handler_arg                                                   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
ffc0aaa8:	38 60 00 00 	li      r3,0                                   
ffc0aaac:	4b ff ff 24 	b       ffc0a9d0 <rtems_rbheap_initialize+0x4c>
  return value;                                                       
}                                                                     
                                                                      
static uintptr_t align_down(uintptr_t alignment, uintptr_t value)     
{                                                                     
  uintptr_t excess = value % alignment;                               
ffc0aab0:	7f a5 33 96 	divwu   r29,r5,r6                              
    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) {
ffc0aab4:	7f 84 28 40 	cmplw   cr7,r4,r5                              
                                                                      
static uintptr_t align_down(uintptr_t alignment, uintptr_t value)     
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  return value - excess;                                              
ffc0aab8:	7f bd 31 d6 	mullw   r29,r29,r6                             
    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) {
ffc0aabc:	41 9c 00 0c 	blt-    cr7,ffc0aac8 <rtems_rbheap_initialize+0x144>
        insert_into_tree(chunk_tree, first);                          
      } else {                                                        
        sc = RTEMS_NO_MEMORY;                                         
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ADDRESS;                                     
ffc0aac0:	38 60 00 09 	li      r3,9                                   
ffc0aac4:	4b ff ff 0c 	b       ffc0a9d0 <rtems_rbheap_initialize+0x4c>
    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) {
ffc0aac8:	7c 9e 23 78 	mr      r30,r4                                 
ffc0aacc:	4b ff ff 38 	b       ffc0aa04 <rtems_rbheap_initialize+0x80>
                                                                      

ffc1fa40 <rtems_rfs_bitmap_create_search>: int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) {
ffc1fa40:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fa44:	7c 08 02 a6 	mflr    r0                                     
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fa48:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc1fa4c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1fa50:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1fa54:	90 01 00 24 	stw     r0,36(r1)                              
ffc1fa58:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1fa5c:	4b ff f7 91 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1fa60:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fa64:	40 81 00 1c 	ble-    ffc1fa80 <rtems_rfs_bitmap_create_search+0x40>
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1fa68:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1fa6c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fa70:	7c 08 03 a6 	mtlr    r0                                     
ffc1fa74:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fa78:	38 21 00 20 	addi    r1,r1,32                               
ffc1fa7c:	4e 80 00 20 	blr                                            
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
ffc1fa80:	80 ff 00 0c 	lwz     r7,12(r31)                             
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1fa84:	39 20 00 00 	li      r9,0                                   
  search_map = control->search_bits;                                  
ffc1fa88:	81 7f 00 14 	lwz     r11,20(r31)                            
  size = control->size;                                               
  bit = 0;                                                            
ffc1fa8c:	38 80 00 00 	li      r4,0                                   
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc1fa90:	2f 87 00 00 	cmpwi   cr7,r7,0                               
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
ffc1fa94:	91 3f 00 10 	stw     r9,16(r31)                             
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
ffc1fa98:	39 20 ff ff 	li      r9,-1                                  
ffc1fa9c:	91 2b 00 00 	stw     r9,0(r11)                              
                                                                      
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);                 
ffc1faa0:	38 00 ff ff 	li      r0,-1                                  
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1faa4:	38 c0 00 01 	li      r6,1                                   
ffc1faa8:	80 a1 00 08 	lwz     r5,8(r1)                               
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc1faac:	41 9e 00 78 	beq-    cr7,ffc1fb24 <rtems_rfs_bitmap_create_search+0xe4><== NEVER TAKEN
  {                                                                   
    rtems_rfs_bitmap_element bits;                                    
    int                      available;                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
ffc1fab0:	2b 87 00 1f 	cmplwi  cr7,r7,31                              
ffc1fab4:	41 9d 00 8c 	bgt-    cr7,ffc1fb40 <rtems_rfs_bitmap_create_search+0x100>
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc1fab8:	81 25 00 00 	lwz     r9,0(r5)                               
                                                                      
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);                 
ffc1fabc:	21 07 00 20 	subfic  r8,r7,32                               
ffc1fac0:	7c 08 44 30 	srw     r8,r0,r8                               
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
ffc1fac4:	7d 08 48 38 	and     r8,r8,r9                               
    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;                                               
ffc1fac8:	7c e3 3b 78 	mr      r3,r7                                  
ffc1facc:	7c e9 3b 78 	mr      r9,r7                                  
    {                                                                 
      bits      = *map;                                               
      available = rtems_rfs_bitmap_element_bits ();                   
    }                                                                 
                                                                      
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
ffc1fad0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1fad4:	41 9e 00 34 	beq-    cr7,ffc1fb08 <rtems_rfs_bitmap_create_search+0xc8>
ffc1fad8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1fadc:	7d 29 03 a6 	mtctr   r9                                     
ffc1fae0:	39 20 00 00 	li      r9,0                                   
ffc1fae4:	40 9d 00 7c 	ble-    cr7,ffc1fb60 <rtems_rfs_bitmap_create_search+0x120><== NEVER TAKEN
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1fae8:	7c ca 48 30 	slw     r10,r6,r9                              
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
ffc1faec:	7d 5e 40 39 	and.    r30,r10,r8                             
    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++)                                 
ffc1faf0:	39 29 00 01 	addi    r9,r9,1                                
        if (!rtems_rfs_bitmap_test (bits, b))                         
ffc1faf4:	41 82 00 10 	beq-    ffc1fb04 <rtems_rfs_bitmap_create_search+0xc4>
          control->free++;                                            
ffc1faf8:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc1fafc:	39 4a 00 01 	addi    r10,r10,1                              
ffc1fb00:	91 5f 00 10 	stw     r10,16(r31)                            
    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++)                                 
ffc1fb04:	42 00 ff e4 	bdnz+   ffc1fae8 <rtems_rfs_bitmap_create_search+0xa8>
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc1fb08:	2f 84 00 20 	cmpwi   cr7,r4,32                              
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
ffc1fb0c:	7c e3 38 50 	subf    r7,r3,r7                               
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
ffc1fb10:	41 9e 00 40 	beq-    cr7,ffc1fb50 <rtems_rfs_bitmap_create_search+0x110>
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
ffc1fb14:	38 84 00 01 	addi    r4,r4,1                                
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
ffc1fb18:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc1fb1c:	38 a5 00 04 	addi    r5,r5,4                                
ffc1fb20:	40 9e ff 90 	bne+    cr7,ffc1fab0 <rtems_rfs_bitmap_create_search+0x70>
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1fb24:	80 01 00 24 	lwz     r0,36(r1)                              
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc1fb28:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1fb2c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fb30:	7c 08 03 a6 	mtlr    r0                                     
ffc1fb34:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fb38:	38 21 00 20 	addi    r1,r1,32                               
ffc1fb3c:	4e 80 00 20 	blr                                            
                                     rtems_rfs_bitmap_mask_section (0, size));
      available = size;                                               
    }                                                                 
    else                                                              
    {                                                                 
      bits      = *map;                                               
ffc1fb40:	81 05 00 00 	lwz     r8,0(r5)                               
ffc1fb44:	38 60 00 20 	li      r3,32                                  
      available = rtems_rfs_bitmap_element_bits ();                   
ffc1fb48:	39 20 00 20 	li      r9,32                                  
ffc1fb4c:	4b ff ff 84 	b       ffc1fad0 <rtems_rfs_bitmap_create_search+0x90>
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
ffc1fb50:	90 0b 00 04 	stw     r0,4(r11)                              
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
ffc1fb54:	38 80 00 00 	li      r4,0                                   
      search_map++;                                                   
ffc1fb58:	39 6b 00 04 	addi    r11,r11,4                              
ffc1fb5c:	4b ff ff bc 	b       ffc1fb18 <rtems_rfs_bitmap_create_search+0xd8>
ffc1fb60:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc1fb64:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
ffc1fb68:	4b ff ff 80 	b       ffc1fae8 <rtems_rfs_bitmap_create_search+0xa8><== NOT EXECUTED
                                                                      

ffc1f1ec <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) {
ffc1f1ec:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1f1f0:	7c 08 02 a6 	mflr    r0                                     
ffc1f1f4:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc1f1f8:	81 23 00 00 	lwz     r9,0(r3)                               
 * @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)             
{                                                                     
ffc1f1fc:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1f200:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc1f204:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 * @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)             
{                                                                     
ffc1f208:	93 c1 00 08 	stw     r30,8(r1)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
ffc1f20c:	38 60 00 06 	li      r3,6                                   
rtems_rfs_bitmap_load_map (rtems_rfs_bitmap_control* control,         
                           rtems_rfs_bitmap_map*     map)             
{                                                                     
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
ffc1f210:	41 9e 00 3c 	beq-    cr7,ffc1f24c <rtems_rfs_bitmap_load_map+0x60>
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc1f214:	39 20 00 00 	li      r9,0                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc1f218:	80 bf 00 08 	lwz     r5,8(r31)                              
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
ffc1f21c:	91 24 00 00 	stw     r9,0(r4)                               
ffc1f220:	7c 9e 23 78 	mr      r30,r4                                 
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
ffc1f224:	38 c0 00 01 	li      r6,1                                   
ffc1f228:	80 7f 00 04 	lwz     r3,4(r31)                              
ffc1f22c:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc1f230:	48 00 22 1d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
                                        control->buffer,              
                                        control->block,               
                                        true);                        
  if (rc)                                                             
ffc1f234:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f238:	40 82 00 14 	bne-    ffc1f24c <rtems_rfs_bitmap_load_map+0x60><== NEVER TAKEN
    return rc;                                                        
                                                                      
  *map = rtems_rfs_buffer_data (control->buffer);                     
ffc1f23c:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1f240:	81 29 00 08 	lwz     r9,8(r9)                               
ffc1f244:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc1f248:	91 3e 00 00 	stw     r9,0(r30)                              
  return 0;                                                           
}                                                                     
ffc1f24c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1f250:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1f254:	7c 08 03 a6 	mtlr    r0                                     
ffc1f258:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1f25c:	38 21 00 10 	addi    r1,r1,16                               
ffc1f260:	4e 80 00 20 	blr                                            
                                                                      

ffc1f91c <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) {
ffc1f91c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1f920:	7d 80 00 26 	mfcr    r12                                    
ffc1f924:	7c 08 02 a6 	mflr    r0                                     
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc1f928:	39 20 00 00 	li      r9,0                                   
ffc1f92c:	2d 84 00 00 	cmpwi   cr3,r4,0                               
int                                                                   
rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      seed,           
                            bool*                     allocated,      
                            rtems_rfs_bitmap_bit*     bit)            
{                                                                     
ffc1f930:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1f934:	7c db 33 78 	mr      r27,r6                                 
ffc1f938:	93 81 00 10 	stw     r28,16(r1)                             
ffc1f93c:	7c bc 2b 78 	mr      r28,r5                                 
ffc1f940:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1f944:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1f948:	93 c1 00 18 	stw     r30,24(r1)                             
   * 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;                                                  
  lower_seed = seed;                                                  
ffc1f94c:	7c 9e 23 78 	mr      r30,r4                                 
int                                                                   
rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      seed,           
                            bool*                     allocated,      
                            rtems_rfs_bitmap_bit*     bit)            
{                                                                     
ffc1f950:	93 e1 00 1c 	stw     r31,28(r1)                             
   * 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;                                                  
ffc1f954:	7c 9f 23 78 	mr      r31,r4                                 
int                                                                   
rtems_rfs_bitmap_map_alloc (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      seed,           
                            bool*                     allocated,      
                            rtems_rfs_bitmap_bit*     bit)            
{                                                                     
ffc1f958:	90 01 00 24 	stw     r0,36(r1)                              
ffc1f95c:	91 81 00 08 	stw     r12,8(r1)                              
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
ffc1f960:	99 25 00 00 	stb     r9,0(r5)                               
   * 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))          
ffc1f964:	41 8c 00 64 	blt-    cr3,ffc1f9c8 <rtems_rfs_bitmap_map_alloc+0xac><== NEVER TAKEN
ffc1f968:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc1f96c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc1f970:	40 9c 00 58 	bge-    cr7,ffc1f9c8 <rtems_rfs_bitmap_map_alloc+0xac>
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
    {                                                                 
      *bit = upper_seed;                                              
ffc1f974:	93 fb 00 00 	stw     r31,0(r27)                             
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc1f978:	7f a3 eb 78 	mr      r3,r29                                 
ffc1f97c:	7f 64 db 78 	mr      r4,r27                                 
ffc1f980:	7f 85 e3 78 	mr      r5,r28                                 
ffc1f984:	38 c0 00 01 	li      r6,1                                   
ffc1f988:	4b ff f8 dd 	bl      ffc1f264 <rtems_rfs_search_map_for_clear_bit.constprop.1>
                                               window, 1);            
      if ((rc > 0) || *allocated)                                     
ffc1f98c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1f990:	41 9d 00 80 	bgt-    cr7,ffc1fa10 <rtems_rfs_bitmap_map_alloc+0xf4><== NEVER TAKEN
ffc1f994:	89 3c 00 00 	lbz     r9,0(r28)                              
ffc1f998:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1f99c:	40 9e 00 74 	bne-    cr7,ffc1fa10 <rtems_rfs_bitmap_map_alloc+0xf4>
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
ffc1f9a0:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc1f9a4:	40 90 00 40 	bge-    cr4,ffc1f9e4 <rtems_rfs_bitmap_map_alloc+0xc8>
                                                                      
    /*                                                                
     * 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)                                   
ffc1f9a8:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc1f9ac:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc1f9b0:	40 9d 00 0c 	ble-    cr7,ffc1f9bc <rtems_rfs_bitmap_map_alloc+0xa0><== NEVER TAKEN
ffc1f9b4:	3b ff 08 00 	addi    r31,r31,2048                           
ffc1f9b8:	2d 9f 00 00 	cmpwi   cr3,r31,0                              
      upper_seed += window;                                           
    if (lower_seed >= 0)                                              
ffc1f9bc:	41 b0 ff a8 	blt-    cr4,ffc1f964 <rtems_rfs_bitmap_map_alloc+0x48>
      lower_seed -= window;                                           
ffc1f9c0:	3b de f8 00 	addi    r30,r30,-2048                          
   * 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))          
ffc1f9c4:	40 8c ff a4 	bge+    cr3,ffc1f968 <rtems_rfs_bitmap_map_alloc+0x4c><== ALWAYS TAKEN
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
ffc1f9c8:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc1f9cc:	41 90 00 44 	blt-    cr4,ffc1fa10 <rtems_rfs_bitmap_map_alloc+0xf4>
ffc1f9d0:	81 3d 00 0c 	lwz     r9,12(r29)                             
ffc1f9d4:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc1f9d8:	40 9c 00 38 	bge-    cr7,ffc1fa10 <rtems_rfs_bitmap_map_alloc+0xf4>
  {                                                                   
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
ffc1f9dc:	7f 89 f8 40 	cmplw   cr7,r9,r31                             
ffc1f9e0:	41 bd ff 94 	bgt-    cr7,ffc1f974 <rtems_rfs_bitmap_map_alloc+0x58><== NEVER TAKEN
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
    {                                                                 
      *bit = lower_seed;                                              
ffc1f9e4:	93 db 00 00 	stw     r30,0(r27)                             
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
ffc1f9e8:	7f a3 eb 78 	mr      r3,r29                                 
ffc1f9ec:	7f 64 db 78 	mr      r4,r27                                 
ffc1f9f0:	7f 85 e3 78 	mr      r5,r28                                 
ffc1f9f4:	38 c0 ff ff 	li      r6,-1                                  
ffc1f9f8:	4b ff f8 6d 	bl      ffc1f264 <rtems_rfs_search_map_for_clear_bit.constprop.1>
                                               window, -1);           
      if ((rc > 0) || *allocated)                                     
ffc1f9fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1fa00:	41 9d 00 10 	bgt-    cr7,ffc1fa10 <rtems_rfs_bitmap_map_alloc+0xf4><== NEVER TAKEN
ffc1fa04:	89 3c 00 00 	lbz     r9,0(r28)                              
ffc1fa08:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1fa0c:	41 9e ff 9c 	beq+    cr7,ffc1f9a8 <rtems_rfs_bitmap_map_alloc+0x8c>
    if (lower_seed >= 0)                                              
      lower_seed -= window;                                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1fa10:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1fa14:	38 60 00 00 	li      r3,0                                   
ffc1fa18:	81 81 00 08 	lwz     r12,8(r1)                              
ffc1fa1c:	7c 08 03 a6 	mtlr    r0                                     
ffc1fa20:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1fa24:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1fa28:	7d 81 81 20 	mtcrf   24,r12                                 
ffc1fa2c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1fa30:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fa34:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fa38:	38 21 00 20 	addi    r1,r1,32                               
ffc1fa3c:	4e 80 00 20 	blr                                            
                                                                      

ffc1f600 <rtems_rfs_bitmap_map_clear>: } int rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc1f600:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1f604:	7c 08 02 a6 	mflr    r0                                     
ffc1f608:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1f60c:	7c 9e 23 78 	mr      r30,r4                                 
  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);                     
ffc1f610:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control,        
                            rtems_rfs_bitmap_bit      bit)            
{                                                                     
ffc1f614:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1f618:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1f61c:	90 01 00 24 	stw     r0,36(r1)                              
  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);                     
ffc1f620:	4b ff fb cd 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f624:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f628:	40 81 00 1c 	ble-    ffc1f644 <rtems_rfs_bitmap_map_clear+0x44>
  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;                                                           
}                                                                     
ffc1f62c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1f630:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1f634:	7c 08 03 a6 	mtlr    r0                                     
ffc1f638:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1f63c:	38 21 00 20 	addi    r1,r1,32                               
ffc1f640:	4e 80 00 20 	blr                                            
  int                  offset;                                        
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f644:	81 3f 00 0c 	lwz     r9,12(r31)                             
    return EINVAL;                                                    
ffc1f648:	38 60 00 16 	li      r3,22                                  
  int                  offset;                                        
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f64c:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc1f650:	40 9c ff dc 	bge+    cr7,ffc1f62c <rtems_rfs_bitmap_map_clear+0x2c><== NEVER TAKEN
    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);
ffc1f654:	80 c1 00 08 	lwz     r6,8(r1)                               
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
  index             = rtems_rfs_bitmap_map_index (bit);               
ffc1f658:	7f c8 2e 70 	srawi   r8,r30,5                               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
ffc1f65c:	55 07 10 3a 	rlwinm  r7,r8,2,0,29                           
  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;                                                           
}                                                                     
ffc1f660:	80 01 00 24 	lwz     r0,36(r1)                              
 */                                                                   
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);                  
ffc1f664:	7d 46 38 2e 	lwzx    r10,r6,r7                              
  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);
ffc1f668:	39 20 00 01 	li      r9,1                                   
    return rc;                                                        
  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);              
ffc1f66c:	57 c5 06 fe 	clrlwi  r5,r30,27                              
  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;                                                           
}                                                                     
ffc1f670:	7c 08 03 a6 	mtlr    r0                                     
  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);
ffc1f674:	7d 25 28 30 	slw     r5,r9,r5                               
 */                                                                   
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);                  
ffc1f678:	7d 45 2b 78 	or      r5,r10,r5                              
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
ffc1f67c:	81 5f 00 14 	lwz     r10,20(r31)                            
  index             = rtems_rfs_bitmap_map_index (bit);               
  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);               
ffc1f680:	7f de 56 70 	srawi   r30,r30,10                             
  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);
ffc1f684:	7c a6 39 2e 	stwx    r5,r6,r7                               
  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);
ffc1f688:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         
 */                                                                   
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);                  
ffc1f68c:	7c aa f0 2e 	lwzx    r5,r10,r30                             
  index             = rtems_rfs_bitmap_map_index (bit);               
  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);               
ffc1f690:	55 08 06 fe 	clrlwi  r8,r8,27                               
  search_map[index] = rtems_rfs_bitmap_clear (search_map[index], 1 << offset);
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
  control->free++;                                                    
ffc1f694:	80 df 00 10 	lwz     r6,16(r31)                             
  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);
ffc1f698:	7d 28 40 30 	slw     r8,r9,r8                               
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
ffc1f69c:	80 ff 00 00 	lwz     r7,0(r31)                              
 */                                                                   
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);                  
ffc1f6a0:	7c a5 43 78 	or      r5,r5,r8                               
  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++;                                                    
ffc1f6a4:	38 c6 00 01 	addi    r6,r6,1                                
  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);
ffc1f6a8:	7c aa f1 2e 	stwx    r5,r10,r30                             
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
  control->free++;                                                    
  return 0;                                                           
ffc1f6ac:	38 60 00 00 	li      r3,0                                   
  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);                      
ffc1f6b0:	99 27 00 00 	stb     r9,0(r7)                               
  control->free++;                                                    
  return 0;                                                           
}                                                                     
ffc1f6b4:	83 c1 00 18 	lwz     r30,24(r1)                             
  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++;                                                    
ffc1f6b8:	90 df 00 10 	stw     r6,16(r31)                             
  return 0;                                                           
}                                                                     
ffc1f6bc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1f6c0:	38 21 00 20 	addi    r1,r1,32                               
ffc1f6c4:	4e 80 00 20 	blr                                            
                                                                      

ffc1f838 <rtems_rfs_bitmap_map_clear_all>: int rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control) {
ffc1f838:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1f83c:	7c 08 02 a6 	mflr    r0                                     
  rtems_rfs_bitmap_bit last_search_bit;                               
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f840:	38 81 00 08 	addi    r4,r1,8                                
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control)    
{                                                                     
ffc1f844:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1f848:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1f84c:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_rfs_bitmap_bit last_search_bit;                               
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f850:	4b ff f9 9d 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f854:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f858:	40 81 00 18 	ble-    ffc1f870 <rtems_rfs_bitmap_map_clear_all+0x38>
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1f85c:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1f860:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1f864:	7c 08 03 a6 	mtlr    r0                                     
ffc1f868:	38 21 00 20 	addi    r1,r1,32                               
ffc1f86c:	4e 80 00 20 	blr                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc1f870:	80 bf 00 0c 	lwz     r5,12(r31)                             
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1f874:	39 40 00 00 	li      r10,0                                  
ffc1f878:	80 e1 00 08 	lwz     r7,8(r1)                               
ffc1f87c:	39 20 00 00 	li      r9,0                                   
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
ffc1f880:	38 a5 ff ff 	addi    r5,r5,-1                               
ffc1f884:	54 a5 d9 7e 	rlwinm  r5,r5,27,5,31                          
ffc1f888:	38 c5 00 01 	addi    r6,r5,1                                
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1f88c:	7c c9 03 a6 	mtctr   r6                                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
ffc1f890:	90 df 00 10 	stw     r6,16(r31)                             
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1f894:	39 00 ff ff 	li      r8,-1                                  
ffc1f898:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1f89c:	39 29 00 01 	addi    r9,r9,1                                
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
ffc1f8a0:	7d 07 51 2e 	stwx    r8,r7,r10                              
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
ffc1f8a4:	7d 2a 4b 78 	mr      r10,r9                                 
ffc1f8a8:	42 00 ff f0 	bdnz+   ffc1f898 <rtems_rfs_bitmap_map_clear_all+0x60>
   * 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)                                           
ffc1f8ac:	70 c9 00 1f 	andi.   r9,r6,31                               
ffc1f8b0:	38 80 ff ff 	li      r4,-1                                  
ffc1f8b4:	41 82 00 0c 	beq-    ffc1f8c0 <rtems_rfs_bitmap_map_clear_all+0x88>
ffc1f8b8:	21 29 00 20 	subfic  r9,r9,32                               
ffc1f8bc:	7c 84 4c 30 	srw     r4,r4,r9                               
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
ffc1f8c0:	54 a6 d9 7f 	rlwinm. r6,r5,27,5,31                          
ffc1f8c4:	81 1f 00 14 	lwz     r8,20(r31)                             
ffc1f8c8:	41 82 00 28 	beq-    ffc1f8f0 <rtems_rfs_bitmap_map_clear_all+0xb8><== ALWAYS TAKEN
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1f8cc:	7c c9 03 a6 	mtctr   r6                                     <== 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++)                                
ffc1f8d0:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc1f8d4:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1f8d8:	38 e0 ff ff 	li      r7,-1                                  <== NOT EXECUTED
ffc1f8dc:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         <== 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++)                                
ffc1f8e0:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
ffc1f8e4:	7c e8 51 2e 	stwx    r7,r8,r10                              <== 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++)                                
ffc1f8e8:	7d 2a 4b 78 	mr      r10,r9                                 <== NOT EXECUTED
ffc1f8ec:	42 00 ff f0 	bdnz+   ffc1f8dc <rtems_rfs_bitmap_map_clear_all+0xa4><== NOT EXECUTED
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
ffc1f8f0:	80 01 00 24 	lwz     r0,36(r1)                              
  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] =                                
ffc1f8f4:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
    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);                      
ffc1f8f8:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc1f8fc:	39 40 00 01 	li      r10,1                                  
                                                                      
  return 0;                                                           
}                                                                     
ffc1f900:	7c 08 03 a6 	mtlr    r0                                     
  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] =                                
ffc1f904:	7c 88 31 2e 	stwx    r4,r8,r6                               
                            RTEMS_RFS_BITMAP_ELEMENT_SET,             
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
ffc1f908:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc1f90c:	83 e1 00 1c 	lwz     r31,28(r1)                             
  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);                      
ffc1f910:	99 49 00 00 	stb     r10,0(r9)                              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f914:	38 21 00 20 	addi    r1,r1,32                               
ffc1f918:	4e 80 00 20 	blr                                            
                                                                      

ffc1f544 <rtems_rfs_bitmap_map_set>: int rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
ffc1f544:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1f548:	7c 08 02 a6 	mflr    r0                                     
ffc1f54c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1f550:	7c 9e 23 78 	mr      r30,r4                                 
  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);                     
ffc1f554:	38 81 00 08 	addi    r4,r1,8                                
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control,          
                          rtems_rfs_bitmap_bit      bit)              
{                                                                     
ffc1f558:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1f55c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc1f560:	90 01 00 24 	stw     r0,36(r1)                              
  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);                     
ffc1f564:	4b ff fc 89 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f568:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f56c:	40 81 00 1c 	ble-    ffc1f588 <rtems_rfs_bitmap_map_set+0x44>
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
  }                                                                   
  return 0;                                                           
}                                                                     
ffc1f570:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1f574:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1f578:	7c 08 03 a6 	mtlr    r0                                     
ffc1f57c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1f580:	38 21 00 20 	addi    r1,r1,32                               
ffc1f584:	4e 80 00 20 	blr                                            
  int                  offset;                                        
  int                 rc;                                             
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f588:	81 3f 00 0c 	lwz     r9,12(r31)                             
    return EINVAL;                                                    
ffc1f58c:	38 60 00 16 	li      r3,22                                  
  int                  offset;                                        
  int                 rc;                                             
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f590:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc1f594:	40 9c ff dc 	bge+    cr7,ffc1f570 <rtems_rfs_bitmap_map_set+0x2c><== NEVER TAKEN
    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);        
ffc1f598:	81 01 00 08 	lwz     r8,8(r1)                               
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
  index      = rtems_rfs_bitmap_map_index (bit);                      
ffc1f59c:	7f c6 2e 70 	srawi   r6,r30,5                               
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc1f5a0:	54 ca 10 3a 	rlwinm  r10,r6,2,0,29                          
 */                                                                   
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);                    
ffc1f5a4:	7c a8 50 2e 	lwzx    r5,r8,r10                              
    return rc;                                                        
  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);                     
ffc1f5a8:	57 c7 06 fe 	clrlwi  r7,r30,27                              
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
ffc1f5ac:	39 20 00 01 	li      r9,1                                   
ffc1f5b0:	7d 27 38 30 	slw     r7,r9,r7                               
 */                                                                   
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);                    
ffc1f5b4:	7c a7 38 78 	andc    r7,r5,r7                               
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
ffc1f5b8:	80 bf 00 14 	lwz     r5,20(r31)                             
  index      = rtems_rfs_bitmap_map_index (bit);                      
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
ffc1f5bc:	2f 87 00 00 	cmpwi   cr7,r7,0                               
  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);        
ffc1f5c0:	7c e8 51 2e 	stwx    r7,r8,r10                              
    offset = rtems_rfs_bitmap_map_offset (bit);                       
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
  }                                                                   
  return 0;                                                           
ffc1f5c4:	38 60 00 00 	li      r3,0                                   
    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);        
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
ffc1f5c8:	40 be ff a8 	bne-    cr7,ffc1f570 <rtems_rfs_bitmap_map_set+0x2c><== ALWAYS TAKEN
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
ffc1f5cc:	7f de 56 70 	srawi   r30,r30,10                             <== NOT EXECUTED
    offset = rtems_rfs_bitmap_map_offset (bit);                       
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
    control->free--;                                                  
ffc1f5d0:	81 5f 00 10 	lwz     r10,16(r31)                            <== 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);
ffc1f5d4:	57 de 10 3a 	rlwinm  r30,r30,2,0,29                         <== NOT EXECUTED
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
ffc1f5d8:	80 ff 00 00 	lwz     r7,0(r31)                              <== 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);                    
ffc1f5dc:	7d 05 f0 2e 	lwzx    r8,r5,r30                              <== NOT EXECUTED
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
  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);                       
ffc1f5e0:	54 c6 06 fe 	clrlwi  r6,r6,27                               <== NOT EXECUTED
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
ffc1f5e4:	7d 26 30 30 	slw     r6,r9,r6                               <== 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);                    
ffc1f5e8:	7d 08 30 78 	andc    r8,r8,r6                               <== 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--;                                                  
ffc1f5ec:	39 4a ff ff 	addi    r10,r10,-1                             <== 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);
ffc1f5f0:	7d 05 f1 2e 	stwx    r8,r5,r30                              <== NOT EXECUTED
    control->free--;                                                  
ffc1f5f4:	91 5f 00 10 	stw     r10,16(r31)                            <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
ffc1f5f8:	99 27 00 00 	stb     r9,0(r7)                               <== NOT EXECUTED
ffc1f5fc:	4b ff ff 74 	b       ffc1f570 <rtems_rfs_bitmap_map_set+0x2c><== NOT EXECUTED
                                                                      

ffc1f6c8 <rtems_rfs_bitmap_map_test>: int rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit, bool* state) {
ffc1f6c8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc1f6cc:	7c 08 02 a6 	mflr    r0                                     
ffc1f6d0:	93 e1 00 24 	stw     r31,36(r1)                             
ffc1f6d4:	7c 9f 23 78 	mr      r31,r4                                 
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f6d8:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
int                                                                   
rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control,         
                           rtems_rfs_bitmap_bit      bit,             
                           bool*                     state)           
{                                                                     
ffc1f6dc:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc1f6e0:	7c bd 2b 78 	mr      r29,r5                                 
ffc1f6e4:	93 c1 00 20 	stw     r30,32(r1)                             
ffc1f6e8:	7c 7e 1b 78 	mr      r30,r3                                 
ffc1f6ec:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_rfs_bitmap_map map;                                           
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f6f0:	4b ff fa fd 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f6f4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f6f8:	40 81 00 20 	ble-    ffc1f718 <rtems_rfs_bitmap_map_test+0x50>
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1f6fc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc1f700:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1f704:	7c 08 03 a6 	mtlr    r0                                     
ffc1f708:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1f70c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1f710:	38 21 00 28 	addi    r1,r1,40                               
ffc1f714:	4e 80 00 20 	blr                                            
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f718:	81 3e 00 0c 	lwz     r9,12(r30)                             
    return EINVAL;                                                    
ffc1f71c:	38 60 00 16 	li      r3,22                                  
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
ffc1f720:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc1f724:	40 9c ff d8 	bge+    cr7,ffc1f6fc <rtems_rfs_bitmap_map_test+0x34><== NEVER TAKEN
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f728:	81 21 00 08 	lwz     r9,8(r1)                               
  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);                           
ffc1f72c:	7f ea 2e 70 	srawi   r10,r31,5                              
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
ffc1f730:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
  return 0;                                                           
}                                                                     
ffc1f734:	80 01 00 2c 	lwz     r0,44(r1)                              
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f738:	7d 29 50 2e 	lwzx    r9,r9,r10                              
ffc1f73c:	39 40 00 01 	li      r10,1                                  
ffc1f740:	7d 5f f8 30 	slw     r31,r10,r31                            
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1f744:	7c 08 03 a6 	mtlr    r0                                     
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f748:	7f ea 48 39 	and.    r10,r31,r9                             
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1f74c:	83 c1 00 20 	lwz     r30,32(r1)                             
    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;                                                           
ffc1f750:	38 60 00 00 	li      r3,0                                   
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f754:	7f e0 00 26 	mfcr    r31                                    
ffc1f758:	57 ff 1f fe 	rlwinm  r31,r31,3,31,31                        
ffc1f75c:	9b fd 00 00 	stb     r31,0(r29)                             
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  index = rtems_rfs_bitmap_map_index (bit);                           
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
ffc1f760:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc1f764:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc1f768:	38 21 00 28 	addi    r1,r1,40                               
ffc1f76c:	4e 80 00 20 	blr                                            
                                                                      

ffc1f50c <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);
ffc1f50c:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc1f510:	20 63 00 20 	subfic  r3,r3,32                               <== NOT EXECUTED
  return mask;                                                        
}                                                                     
ffc1f514:	7d 23 1c 30 	srw     r3,r9,r3                               <== NOT EXECUTED
ffc1f518:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1f51c <rtems_rfs_bitmap_mask_section>: rtems_rfs_bitmap_element rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end) { rtems_rfs_bitmap_element mask = 0; if (end > start)
ffc1f51c:	7f 84 18 40 	cmplw   cr7,r4,r3                              <== NOT EXECUTED
ffc1f520:	40 9d 00 1c 	ble-    cr7,ffc1f53c <rtems_rfs_bitmap_mask_section+0x20><== NOT EXECUTED
    mask = rtems_rfs_bitmap_mask (end - start) << start;              
ffc1f524:	7c 83 20 50 	subf    r4,r3,r4                               <== 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);                 
ffc1f528:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc1f52c:	20 84 00 20 	subfic  r4,r4,32                               <== NOT EXECUTED
ffc1f530:	7d 24 24 30 	srw     r4,r9,r4                               <== 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;              
ffc1f534:	7c 83 18 30 	slw     r3,r4,r3                               <== NOT EXECUTED
ffc1f538:	4e 80 00 20 	blr                                            <== NOT EXECUTED
}                                                                     
                                                                      
rtems_rfs_bitmap_element                                              
rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end)  
{                                                                     
  rtems_rfs_bitmap_element mask = 0;                                  
ffc1f53c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  if (end > start)                                                    
    mask = rtems_rfs_bitmap_mask (end - start) << start;              
  return mask;                                                        
}                                                                     
ffc1f540:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1fdcc <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) {
ffc1fdcc:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1fdd0:	7c 08 02 a6 	mflr    r0                                     
ffc1fdd4:	93 c1 00 18 	stw     r30,24(r1)                             
ffc1fdd8:	7c de 33 78 	mr      r30,r6                                 
                                                                      
  /*                                                                  
   * 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);     
ffc1fddc:	38 c0 00 01 	li      r6,1                                   
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)       
{                                                                     
ffc1fde0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc1fde4:	7c bb 2b 78 	mr      r27,r5                                 
ffc1fde8:	93 81 00 10 	stw     r28,16(r1)                             
ffc1fdec:	7c 9c 23 78 	mr      r28,r4                                 
ffc1fdf0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc1fdf4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc1fdf8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc1fdfc:	7c ff 3b 78 	mr      r31,r7                                 
ffc1fe00:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   * 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);     
ffc1fe04:	48 00 16 49 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc1fe08:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1fe0c:	40 81 00 28 	ble-    ffc1fe34 <rtems_rfs_block_find_indirect+0x68><== ALWAYS TAKEN
    *result = 0;                                                      
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1fe10:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1fe14:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc1fe18:	7c 08 03 a6 	mtlr    r0                                     
ffc1fe1c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc1fe20:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc1fe24:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc1fe28:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1fe2c:	38 21 00 20 	addi    r1,r1,32                               
ffc1fe30:	4e 80 00 20 	blr                                            
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
ffc1fe34:	81 5c 00 08 	lwz     r10,8(r28)                             
ffc1fe38:	57 c9 10 3a 	rlwinm  r9,r30,2,0,29                          
ffc1fe3c:	81 0a 00 1c 	lwz     r8,28(r10)                             
ffc1fe40:	7d 48 4a 14 	add     r10,r8,r9                              
ffc1fe44:	7d 28 48 ae 	lbzx    r9,r8,r9                               
ffc1fe48:	88 ea 00 03 	lbz     r7,3(r10)                              
ffc1fe4c:	89 0a 00 01 	lbz     r8,1(r10)                              
ffc1fe50:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc1fe54:	89 4a 00 02 	lbz     r10,2(r10)                             
ffc1fe58:	7c e9 4b 78 	or      r9,r7,r9                               
ffc1fe5c:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc1fe60:	7d 29 43 78 	or      r9,r9,r8                               
ffc1fe64:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc1fe68:	7d 29 53 78 	or      r9,r9,r10                              
  if ((*result + 1) == 0)                                             
ffc1fe6c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1fe70:	41 9e 00 5c 	beq-    cr7,ffc1fecc <rtems_rfs_block_find_indirect+0x100><== NEVER TAKEN
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
ffc1fe74:	81 5d 00 04 	lwz     r10,4(r29)                             
ffc1fe78:	38 60 00 00 	li      r3,0                                   
ffc1fe7c:	91 3f 00 00 	stw     r9,0(r31)                              
ffc1fe80:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc1fe84:	41 9d ff 8c 	bgt+    cr7,ffc1fe10 <rtems_rfs_block_find_indirect+0x44><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
ffc1fe88:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc1fe8c:	38 80 10 00 	li      r4,4096                                <== NOT EXECUTED
ffc1fe90:	4b ff 7e 9d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc1fe94:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc1fe98:	40 9e 00 3c 	bne-    cr7,ffc1fed4 <rtems_rfs_block_find_indirect+0x108><== NOT EXECUTED
    *result = 0;                                                      
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1fe9c:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
  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:"        
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
ffc1fea0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1fea4:	91 3f 00 00 	stw     r9,0(r31)                              <== NOT EXECUTED
ffc1fea8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1feac:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1feb0:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc1feb4:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc1feb8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc1febc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1fec0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc1fec4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc1fec8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
  if ((*result + 1) == 0)                                             
    *result = 0;                                                      
ffc1fecc:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc1fed0:	4b ff ff a4 	b       ffc1fe74 <rtems_rfs_block_find_indirect+0xa8><== NOT EXECUTED
                                                                      
  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:"        
ffc1fed4:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc1fed8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1fedc:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc1fee0:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc1fee4:	38 63 b8 18 	addi    r3,r3,-18408                           <== NOT EXECUTED
ffc1fee8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1feec:	48 00 9a f1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc1fef0:	4b ff ff ac 	b       ffc1fe9c <rtems_rfs_block_find_indirect+0xd0><== NOT EXECUTED
                                                                      

ffc2007c <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) {
ffc2007c:	94 21 ff e8 	stwu    r1,-24(r1)                             <== NOT EXECUTED
ffc20080:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc20084:	93 c1 00 10 	stw     r30,16(r1)                             <== NOT EXECUTED
ffc20088:	7c be 2b 78 	mr      r30,r5                                 <== NOT EXECUTED
ffc2008c:	93 e1 00 14 	stw     r31,20(r1)                             <== NOT EXECUTED
ffc20090:	7c df 33 78 	mr      r31,r6                                 <== NOT EXECUTED
  if (pos == 0)                                                       
ffc20094:	7f c9 fb 79 	or.     r9,r30,r31                             <== NOT EXECUTED
                                                                      
void                                                                  
rtems_rfs_block_get_block_size (rtems_rfs_file_system* fs,            
                                rtems_rfs_pos          pos,           
                                rtems_rfs_block_size*  size)          
{                                                                     
ffc20098:	93 a1 00 0c 	stw     r29,12(r1)                             <== NOT EXECUTED
ffc2009c:	7c fd 3b 78 	mr      r29,r7                                 <== NOT EXECUTED
ffc200a0:	90 01 00 1c 	stw     r0,28(r1)                              <== NOT EXECUTED
ffc200a4:	93 81 00 08 	stw     r28,8(r1)                              <== NOT EXECUTED
  if (pos == 0)                                                       
ffc200a8:	41 82 00 5c 	beq-    ffc20104 <rtems_rfs_block_get_block_size+0x88><== NOT EXECUTED
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
ffc200ac:	83 83 00 08 	lwz     r28,8(r3)                              <== NOT EXECUTED
ffc200b0:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc200b4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc200b8:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc200bc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc200c0:	48 01 71 b5 	bl      ffc37274 <__udivdi3>                   <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc200c4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
{                                                                     
  if (pos == 0)                                                       
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
ffc200c8:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc200cc:	90 9d 00 00 	stw     r4,0(r29)                              <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc200d0:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc200d4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc200d8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc200dc:	48 01 75 91 	bl      ffc3766c <__umoddi3>                   <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc200e0:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
  if (pos == 0)                                                       
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
ffc200e4:	90 9d 00 04 	stw     r4,4(r29)                              <== NOT EXECUTED
  }                                                                   
}                                                                     
ffc200e8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc200ec:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc200f0:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc200f4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc200f8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc200fc:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc20100:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc20104:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc20108:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc2010c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc20110:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc20114:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc20118:	83 e1 00 14 	lwz     r31,20(r1)                             <== 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;                                                    
ffc2011c:	91 27 00 00 	stw     r9,0(r7)                               <== NOT EXECUTED
ffc20120:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
  size->offset = 0;                                                   
ffc20124:	91 27 00 04 	stw     r9,4(r7)                               <== NOT EXECUTED
ffc20128:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc2037c <rtems_rfs_block_map_close>: int rtems_rfs_block_map_close (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) {
ffc2037c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc20380:	7c 08 02 a6 	mflr    r0                                     
ffc20384:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc20388:	89 24 00 00 	lbz     r9,0(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc2038c:	93 81 00 08 	stw     r28,8(r1)                              
ffc20390:	7c 7c 1b 78 	mr      r28,r3                                 
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc20394:	2f 89 00 00 	cmpwi   cr7,r9,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc20398:	93 a1 00 0c 	stw     r29,12(r1)                             
  int rc = 0;                                                         
ffc2039c:	3b a0 00 00 	li      r29,0                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
ffc203a0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc203a4:	7c 9f 23 78 	mr      r31,r4                                 
ffc203a8:	93 c1 00 10 	stw     r30,16(r1)                             
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc203ac:	41 9e 00 24 	beq-    cr7,ffc203d0 <rtems_rfs_block_map_close+0x54>
ffc203b0:	80 84 00 04 	lwz     r4,4(r4)                               
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
  int rc = 0;                                                         
ffc203b4:	3b a0 00 00 	li      r29,0                                  
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
ffc203b8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc203bc:	41 9e 00 14 	beq-    cr7,ffc203d0 <rtems_rfs_block_map_close+0x54><== NEVER TAKEN
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
ffc203c0:	4b ff 58 65 	bl      ffc15c24 <rtems_rfs_inode_load>        
    if (brc > 0)                                                      
ffc203c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc203c8:	7c 7d 1b 78 	mr      r29,r3                                 
ffc203cc:	40 9d 00 60 	ble-    cr7,ffc2042c <rtems_rfs_block_map_close+0xb0><== ALWAYS TAKEN
                                                                      
      map->dirty = false;                                             
    }                                                                 
  }                                                                   
                                                                      
  map->inode = NULL;                                                  
ffc203d0:	3b c0 00 00 	li      r30,0                                  
ffc203d4:	93 df 00 04 	stw     r30,4(r31)                             
 */                                                                   
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);                       
ffc203d8:	38 9f 00 38 	addi    r4,r31,56                              
ffc203dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc203e0:	48 00 0e 59 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
ffc203e4:	9b df 00 38 	stb     r30,56(r31)                            
 */                                                                   
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);                       
ffc203e8:	7f 83 e3 78 	mr      r3,r28                                 
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc203ec:	93 df 00 3c 	stw     r30,60(r31)                            
 */                                                                   
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);                       
ffc203f0:	38 9f 00 44 	addi    r4,r31,68                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc203f4:	93 df 00 40 	stw     r30,64(r31)                            
 */                                                                   
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);                       
ffc203f8:	48 00 0e 41 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
    rc = brc;                                                         
  brc = rtems_rfs_buffer_handle_close (fs, &map->doubly_buffer);      
  if ((brc > 0) && (rc == 0))                                         
    rc = brc;                                                         
  return rc;                                                          
}                                                                     
ffc203fc:	80 01 00 1c 	lwz     r0,28(r1)                              
  handle->dirty = false;                                              
ffc20400:	9b df 00 44 	stb     r30,68(r31)                            
ffc20404:	7f a3 eb 78 	mr      r3,r29                                 
ffc20408:	7c 08 03 a6 	mtlr    r0                                     
  handle->bnum  = 0;                                                  
ffc2040c:	93 df 00 48 	stw     r30,72(r31)                            
  handle->buffer = NULL;                                              
ffc20410:	93 df 00 4c 	stw     r30,76(r31)                            
ffc20414:	83 81 00 08 	lwz     r28,8(r1)                              
ffc20418:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc2041c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc20420:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc20424:	38 21 00 18 	addi    r1,r1,24                               
ffc20428:	4e 80 00 20 	blr                                            
 */                                                                   
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);                      
ffc2042c:	39 20 00 05 	li      r9,5                                   
ffc20430:	7d 29 03 a6 	mtctr   r9                                     
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
ffc20434:	38 df 00 20 	addi    r6,r31,32                              
ffc20438:	38 e0 00 00 	li      r7,0                                   
ffc2043c:	38 00 00 01 	li      r0,1                                   
    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]);    
ffc20440:	81 3f 00 04 	lwz     r9,4(r31)                              
 * @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);       
ffc20444:	39 07 00 04 	addi    r8,r7,4                                
ffc20448:	85 46 00 04 	lwzu    r10,4(r6)                              
ffc2044c:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc20450:	80 a9 00 0c 	lwz     r5,12(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc20454:	39 60 00 01 	li      r11,1                                  
 * @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);       
ffc20458:	55 44 46 3e 	rlwinm  r4,r10,8,24,31                         
ffc2045c:	7c a5 42 14 	add     r5,r5,r8                               
ffc20460:	98 85 00 0c 	stb     r4,12(r5)                              
ffc20464:	55 43 84 3e 	rlwinm  r3,r10,16,16,31                        
ffc20468:	55 44 c2 3e 	rlwinm  r4,r10,24,8,31                         
ffc2046c:	80 a9 00 0c 	lwz     r5,12(r9)                              
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc20470:	38 e7 00 01 	addi    r7,r7,1                                
ffc20474:	7c a5 42 14 	add     r5,r5,r8                               
ffc20478:	98 65 00 0d 	stb     r3,13(r5)                              
ffc2047c:	80 a9 00 0c 	lwz     r5,12(r9)                              
ffc20480:	7c a5 42 14 	add     r5,r5,r8                               
ffc20484:	98 85 00 0e 	stb     r4,14(r5)                              
ffc20488:	80 a9 00 0c 	lwz     r5,12(r9)                              
ffc2048c:	7d 05 42 14 	add     r8,r5,r8                               
ffc20490:	99 48 00 0f 	stb     r10,15(r8)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc20494:	98 09 00 10 	stb     r0,16(r9)                              
ffc20498:	42 00 ff a8 	bdnz+   ffc20440 <rtems_rfs_block_map_close+0xc4>
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
ffc2049c:	81 3f 00 04 	lwz     r9,4(r31)                              
      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);            
ffc204a0:	7f 83 e3 78 	mr      r3,r28                                 
    {                                                                 
      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);  
ffc204a4:	81 5f 00 08 	lwz     r10,8(r31)                             
      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);            
ffc204a8:	38 a0 00 01 	li      r5,1                                   
 * @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);      
ffc204ac:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc204b0:	55 47 46 3e 	rlwinm  r7,r10,8,24,31                         
ffc204b4:	98 e8 00 0c 	stb     r7,12(r8)                              
ffc204b8:	55 46 84 3e 	rlwinm  r6,r10,16,16,31                        
ffc204bc:	55 47 c2 3e 	rlwinm  r7,r10,24,8,31                         
ffc204c0:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc204c4:	98 c8 00 0d 	stb     r6,13(r8)                              
ffc204c8:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc204cc:	98 e8 00 0e 	stb     r7,14(r8)                              
ffc204d0:	81 09 00 0c 	lwz     r8,12(r9)                              
ffc204d4:	99 48 00 0f 	stb     r10,15(r8)                             
      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);
ffc204d8:	81 1f 00 04 	lwz     r8,4(r31)                              
ffc204dc:	81 5f 00 0c 	lwz     r10,12(r31)                            
 */                                                                   
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);    
ffc204e0:	80 e8 00 0c 	lwz     r7,12(r8)                              
ffc204e4:	55 46 c6 3e 	rlwinm  r6,r10,24,24,31                        
 */                                                                   
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);                      
ffc204e8:	99 69 00 10 	stb     r11,16(r9)                             
 */                                                                   
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);    
ffc204ec:	98 c7 00 0a 	stb     r6,10(r7)                              
ffc204f0:	81 28 00 0c 	lwz     r9,12(r8)                              
ffc204f4:	99 49 00 0b 	stb     r10,11(r9)                             
      rtems_rfs_inode_set_last_map_block (map->inode, map->last_map_block);
ffc204f8:	81 5f 00 04 	lwz     r10,4(r31)                             
ffc204fc:	81 3f 00 1c 	lwz     r9,28(r31)                             
 * @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);
ffc20500:	80 ea 00 0c 	lwz     r7,12(r10)                             
ffc20504:	55 24 46 3e 	rlwinm  r4,r9,8,24,31                          
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);                      
ffc20508:	99 68 00 10 	stb     r11,16(r8)                             
 * @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);
ffc2050c:	55 26 84 3e 	rlwinm  r6,r9,16,16,31                         
ffc20510:	98 87 00 30 	stb     r4,48(r7)                              
ffc20514:	55 27 c2 3e 	rlwinm  r7,r9,24,8,31                          
ffc20518:	81 0a 00 0c 	lwz     r8,12(r10)                             
ffc2051c:	98 c8 00 31 	stb     r6,49(r8)                              
ffc20520:	81 0a 00 0c 	lwz     r8,12(r10)                             
ffc20524:	98 e8 00 32 	stb     r7,50(r8)                              
ffc20528:	81 0a 00 0c 	lwz     r8,12(r10)                             
ffc2052c:	99 28 00 33 	stb     r9,51(r8)                              
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
ffc20530:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc20534:	81 1f 00 20 	lwz     r8,32(r31)                             
 * @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);
ffc20538:	80 e9 00 0c 	lwz     r7,12(r9)                              
ffc2053c:	55 04 46 3e 	rlwinm  r4,r8,8,24,31                          
 */                                                                   
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);                      
ffc20540:	99 6a 00 10 	stb     r11,16(r10)                            
 * @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);
ffc20544:	55 06 84 3e 	rlwinm  r6,r8,16,16,31                         
ffc20548:	98 87 00 34 	stb     r4,52(r7)                              
ffc2054c:	55 07 c2 3e 	rlwinm  r7,r8,24,8,31                          
ffc20550:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc20554:	98 ca 00 35 	stb     r6,53(r10)                             
ffc20558:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc2055c:	98 ea 00 36 	stb     r7,54(r10)                             
ffc20560:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc20564:	99 0a 00 37 	stb     r8,55(r10)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc20568:	99 69 00 10 	stb     r11,16(r9)                             
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
ffc2056c:	80 9f 00 04 	lwz     r4,4(r31)                              
ffc20570:	4b ff 58 a9 	bl      ffc15e18 <rtems_rfs_inode_unload>      
ffc20574:	7c 69 18 f8 	not     r9,r3                                  
ffc20578:	7d 29 fe 70 	srawi   r9,r9,31                               
ffc2057c:	7c 7d 48 38 	and     r29,r3,r9                              
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
ffc20580:	39 20 00 00 	li      r9,0                                   
ffc20584:	99 3f 00 00 	stb     r9,0(r31)                              
ffc20588:	4b ff fe 48 	b       ffc203d0 <rtems_rfs_block_map_close+0x54>
                                                                      

ffc2058c <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) {
ffc2058c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc20590:	7c 08 02 a6 	mflr    r0                                     
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc20594:	39 20 00 00 	li      r9,0                                   
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)               
{                                                                     
ffc20598:	90 01 00 34 	stw     r0,52(r1)                              
ffc2059c:	93 81 00 20 	stw     r28,32(r1)                             
ffc205a0:	7c 7c 1b 78 	mr      r28,r3                                 
ffc205a4:	93 a1 00 24 	stw     r29,36(r1)                             
ffc205a8:	7c dd 33 78 	mr      r29,r6                                 
ffc205ac:	93 c1 00 28 	stw     r30,40(r1)                             
ffc205b0:	7c be 2b 78 	mr      r30,r5                                 
ffc205b4:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc205b8:	7c 9f 23 78 	mr      r31,r4                                 
ffc205bc:	93 61 00 1c 	stw     r27,28(r1)                             
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
ffc205c0:	91 26 00 00 	stw     r9,0(r6)                               
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc205c4:	81 25 00 00 	lwz     r9,0(r5)                               
ffc205c8:	81 44 00 08 	lwz     r10,8(r4)                              
ffc205cc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc205d0:	41 9e 00 34 	beq-    cr7,ffc20604 <rtems_rfs_block_map_find+0x78>
ffc205d4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    return ENXIO;                                                     
ffc205d8:	38 60 00 06 	li      r3,6                                   
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc205dc:	40 9e 00 28 	bne-    cr7,ffc20604 <rtems_rfs_block_map_find+0x78><== ALWAYS TAKEN
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
    map->bpos.block = *block;                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc205e0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc205e4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc205e8:	7c 08 03 a6 	mtlr    r0                                     
ffc205ec:	83 81 00 20 	lwz     r28,32(r1)                             
ffc205f0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc205f4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc205f8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc205fc:	38 21 00 30 	addi    r1,r1,48                               
ffc20600:	4e 80 00 20 	blr                                            
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc20604:	7f 89 50 40 	cmplw   cr7,r9,r10                             
    return ENXIO;                                                     
ffc20608:	38 60 00 06 	li      r3,6                                   
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
ffc2060c:	40 9c ff d4 	bge+    cr7,ffc205e0 <rtems_rfs_block_map_find+0x54>
    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))         
ffc20610:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc20614:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc20618:	41 9e 00 68 	beq-    cr7,ffc20680 <rtems_rfs_block_map_find+0xf4>
    /*                                                                
     * 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)                    
ffc2061c:	2b 8a 00 05 	cmplwi  cr7,r10,5                              
ffc20620:	41 9d 00 74 	bgt-    cr7,ffc20694 <rtems_rfs_block_map_find+0x108>
    {                                                                 
      *block = map->blocks[bpos->bno];                                
ffc20624:	39 29 00 08 	addi    r9,r9,8                                
ffc20628:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc2062c:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc20630:	81 29 00 04 	lwz     r9,4(r9)                               
ffc20634:	91 3d 00 00 	stw     r9,0(r29)                              
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc20638:	81 1e 00 08 	lwz     r8,8(r30)                              
    map->bpos.block = *block;                                         
ffc2063c:	38 60 00 00 	li      r3,0                                   
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc20640:	81 3e 00 04 	lwz     r9,4(r30)                              
ffc20644:	81 5e 00 00 	lwz     r10,0(r30)                             
    map->bpos.block = *block;                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20648:	80 01 00 34 	lwz     r0,52(r1)                              
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc2064c:	91 1f 00 18 	stw     r8,24(r31)                             
    map->bpos.block = *block;                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20650:	7c 08 03 a6 	mtlr    r0                                     
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
ffc20654:	91 5f 00 10 	stw     r10,16(r31)                            
ffc20658:	91 3f 00 14 	stw     r9,20(r31)                             
    map->bpos.block = *block;                                         
ffc2065c:	81 3d 00 00 	lwz     r9,0(r29)                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20660:	83 61 00 1c 	lwz     r27,28(r1)                             
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
    map->bpos.block = *block;                                         
ffc20664:	91 3f 00 18 	stw     r9,24(r31)                             
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc20668:	83 81 00 20 	lwz     r28,32(r1)                             
ffc2066c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc20670:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc20674:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc20678:	38 21 00 30 	addi    r1,r1,48                               
ffc2067c:	4e 80 00 20 	blr                                            
    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))         
ffc20680:	81 1f 00 18 	lwz     r8,24(r31)                             
ffc20684:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc20688:	41 be ff 94 	beq-    cr7,ffc2061c <rtems_rfs_block_map_find+0x90>
  {                                                                   
    *block = map->bpos.block;                                         
ffc2068c:	91 1d 00 00 	stw     r8,0(r29)                              
ffc20690:	4b ff ff a8 	b       ffc20638 <rtems_rfs_block_map_find+0xac>
       * 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;                      
ffc20694:	80 fc 00 34 	lwz     r7,52(r28)                             
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc20698:	80 dc 00 38 	lwz     r6,56(r28)                             
       * 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;                      
ffc2069c:	7d 09 3b 96 	divwu   r8,r9,r7                               
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc206a0:	7f 86 50 40 	cmplw   cr7,r6,r10                             
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
      singly = bpos->bno / fs->blocks_per_block;                      
ffc206a4:	91 01 00 08 	stw     r8,8(r1)                               
       * 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;                      
ffc206a8:	7c a8 39 d6 	mullw   r5,r8,r7                               
ffc206ac:	7f 65 48 50 	subf    r27,r5,r9                              
      singly = bpos->bno / fs->blocks_per_block;                      
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
ffc206b0:	40 9c 00 70 	bge-    cr7,ffc20720 <rtems_rfs_block_map_find+0x194><== ALWAYS TAKEN
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc206b4:	7c 88 3b 96 	divwu   r4,r8,r7                               <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc206b8:	80 7c 00 3c 	lwz     r3,60(r28)                             <== NOT EXECUTED
ffc206bc:	7f 83 50 40 	cmplw   cr7,r3,r10                             <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc206c0:	7c e4 39 d6 	mullw   r7,r4,r7                               <== NOT EXECUTED
        {                                                             
          /*                                                          
           * This should never happen. Here so Joel can remove once his coverage
           * testing gets to the file systems.                        
           */                                                         
          rc = ENXIO;                                                 
ffc206c4:	38 60 00 06 	li      r3,6                                   <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc206c8:	7c c7 40 50 	subf    r6,r7,r8                               <== NOT EXECUTED
ffc206cc:	90 c1 00 08 	stw     r6,8(r1)                               <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
ffc206d0:	40 9d ff 10 	ble+    cr7,ffc205e0 <rtems_rfs_block_map_find+0x54><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_find_indirect (fs,                     
ffc206d4:	39 24 00 08 	addi    r9,r4,8                                <== NOT EXECUTED
ffc206d8:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== NOT EXECUTED
ffc206dc:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc206e0:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc206e4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc206e8:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
ffc206ec:	38 e1 00 08 	addi    r7,r1,8                                <== NOT EXECUTED
ffc206f0:	4b ff f6 dd 	bl      ffc1fdcc <rtems_rfs_block_find_indirect><== NOT EXECUTED
                                              &map->doubly_buffer,    
                                              map->blocks[doubly],    
                                              singly, &singly);       
          if (rc == 0)                                                
ffc206f4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc206f8:	40 82 fe e8 	bne+    ffc205e0 <rtems_rfs_block_map_find+0x54><== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_block_find_indirect (fs,                   
ffc206fc:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc20700:	7f 83 e3 78 	mr      r3,r28                                 
ffc20704:	38 9f 00 38 	addi    r4,r31,56                              
ffc20708:	7f 66 db 78 	mr      r6,r27                                 
ffc2070c:	7f a7 eb 78 	mr      r7,r29                                 
ffc20710:	4b ff f6 bd 	bl      ffc1fdcc <rtems_rfs_block_find_indirect>
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
ffc20714:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20718:	40 9e fe c8 	bne+    cr7,ffc205e0 <rtems_rfs_block_map_find+0x54><== NEVER TAKEN
ffc2071c:	4b ff ff 1c 	b       ffc20638 <rtems_rfs_block_map_find+0xac>
      {                                                               
        /*                                                            
         * This is a single indirect table of blocks anchored off a slot in the
         * inode.                                                     
         */                                                           
        rc = rtems_rfs_block_find_indirect (fs,                       
ffc20720:	39 28 00 08 	addi    r9,r8,8                                
ffc20724:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc20728:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc2072c:	80 a9 00 04 	lwz     r5,4(r9)                               
ffc20730:	4b ff ff d0 	b       ffc20700 <rtems_rfs_block_map_find+0x174>
                                                                      

ffc20838 <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) {
ffc20838:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc2083c:	7c 08 02 a6 	mflr    r0                                     
ffc20840:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc20844:	7c 7d 1b 78 	mr      r29,r3                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc20848:	38 60 00 00 	li      r3,0                                   
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)           
{                                                                     
ffc2084c:	93 e1 00 44 	stw     r31,68(r1)                             
ffc20850:	7c 9f 23 78 	mr      r31,r4                                 
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc20854:	38 80 20 00 	li      r4,8192                                
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)           
{                                                                     
ffc20858:	93 21 00 2c 	stw     r25,44(r1)                             
ffc2085c:	7c d9 33 78 	mr      r25,r6                                 
ffc20860:	93 41 00 30 	stw     r26,48(r1)                             
ffc20864:	7c ba 2b 78 	mr      r26,r5                                 
ffc20868:	90 01 00 4c 	stw     r0,76(r1)                              
ffc2086c:	92 81 00 18 	stw     r20,24(r1)                             
ffc20870:	92 a1 00 1c 	stw     r21,28(r1)                             
ffc20874:	92 c1 00 20 	stw     r22,32(r1)                             
ffc20878:	92 e1 00 24 	stw     r23,36(r1)                             
ffc2087c:	93 01 00 28 	stw     r24,40(r1)                             
ffc20880:	93 61 00 34 	stw     r27,52(r1)                             
ffc20884:	93 81 00 38 	stw     r28,56(r1)                             
ffc20888:	93 c1 00 40 	stw     r30,64(r1)                             
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
ffc2088c:	4b ff 74 a1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc20890:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20894:	40 9e 03 a4 	bne-    cr7,ffc20c38 <rtems_rfs_block_map_grow+0x400><== NEVER TAKEN
    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))
ffc20898:	81 5f 00 08 	lwz     r10,8(r31)                             
    return EFBIG;                                                     
ffc2089c:	3b 80 00 1b 	li      r28,27                                 
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
    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))
ffc208a0:	81 3d 00 3c 	lwz     r9,60(r29)                             
ffc208a4:	7d 5a 52 14 	add     r10,r26,r10                            
ffc208a8:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc208ac:	41 9c 00 48 	blt-    cr7,ffc208f4 <rtems_rfs_block_map_grow+0xbc><== ALWAYS TAKEN
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc208b0:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc208b4:	7f 83 e3 78 	mr      r3,r28                                 
ffc208b8:	82 81 00 18 	lwz     r20,24(r1)                             
ffc208bc:	7c 08 03 a6 	mtlr    r0                                     
ffc208c0:	82 a1 00 1c 	lwz     r21,28(r1)                             
ffc208c4:	82 c1 00 20 	lwz     r22,32(r1)                             
ffc208c8:	82 e1 00 24 	lwz     r23,36(r1)                             
ffc208cc:	83 01 00 28 	lwz     r24,40(r1)                             
ffc208d0:	83 21 00 2c 	lwz     r25,44(r1)                             
ffc208d4:	83 41 00 30 	lwz     r26,48(r1)                             
ffc208d8:	83 61 00 34 	lwz     r27,52(r1)                             
ffc208dc:	83 81 00 38 	lwz     r28,56(r1)                             
ffc208e0:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc208e4:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc208e8:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc208ec:	38 21 00 48 	addi    r1,r1,72                               
ffc208f0:	4e 80 00 20 	blr                                            
                                                                      
  /*                                                                  
   * 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++)                                        
ffc208f4:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc208f8:	41 9e 03 5c 	beq-    cr7,ffc20c54 <rtems_rfs_block_map_grow+0x41c><== NEVER TAKEN
ffc208fc:	80 9f 00 20 	lwz     r4,32(r31)                             
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_grow (rtems_rfs_file_system* fs,                  
ffc20900:	3b c0 00 00 	li      r30,0                                  
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc20904:	3b 60 00 01 	li      r27,1                                  
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc20908:	3a ff 00 44 	addi    r23,r31,68                             
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc2090c:	3b 1f 00 38 	addi    r24,r31,56                             
ffc20910:	48 00 00 48 	b       ffc20958 <rtems_rfs_block_map_grow+0x120>
                                       false, &block);                
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
      map->blocks[map->size.count] = block;                           
ffc20914:	39 27 00 08 	addi    r9,r7,8                                
ffc20918:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc2091c:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc20920:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc20924:	90 89 00 04 	stw     r4,4(r9)                               
    }                                                                 
                                                                      
    map->size.count++;                                                
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
ffc20928:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
ffc2092c:	38 e7 00 01 	addi    r7,r7,1                                
    map->size.offset = 0;                                             
ffc20930:	39 20 00 00 	li      r9,0                                   
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
ffc20934:	90 ff 00 08 	stw     r7,8(r31)                              
    map->size.offset = 0;                                             
ffc20938:	91 3f 00 0c 	stw     r9,12(r31)                             
                                                                      
    if (b == 0)                                                       
ffc2093c:	40 9e 00 08 	bne-    cr7,ffc20944 <rtems_rfs_block_map_grow+0x10c><== NEVER TAKEN
      *new_block = block;                                             
ffc20940:	90 99 00 00 	stw     r4,0(r25)                              
                                                                      
  /*                                                                  
   * 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++)                                        
ffc20944:	3b de 00 01 	addi    r30,r30,1                              
    map->size.count++;                                                
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
      *new_block = block;                                             
    map->last_data_block = block;                                     
ffc20948:	90 9f 00 20 	stw     r4,32(r31)                             
                                                                      
  /*                                                                  
   * 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++)                                        
ffc2094c:	7f 9e d0 00 	cmpw    cr7,r30,r26                            
    map->size.offset = 0;                                             
                                                                      
    if (b == 0)                                                       
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
ffc20950:	9b 7f 00 00 	stb     r27,0(r31)                             
                                                                      
  /*                                                                  
   * 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++)                                        
ffc20954:	41 9e 03 00 	beq-    cr7,ffc20c54 <rtems_rfs_block_map_grow+0x41c><== ALWAYS TAKEN
    /*                                                                
     * 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,      
ffc20958:	7f a3 eb 78 	mr      r3,r29                                 
ffc2095c:	38 a0 00 00 	li      r5,0                                   
ffc20960:	38 c1 00 0c 	addi    r6,r1,12                               
ffc20964:	4b ff 4c a9 	bl      ffc1560c <rtems_rfs_group_bitmap_alloc>
                                       false, &block);                
    if (rc > 0)                                                       
ffc20968:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2096c:	41 a1 ff 44 	bgt-    ffc208b0 <rtems_rfs_block_map_grow+0x78>
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
ffc20970:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc20974:	2b 87 00 04 	cmplwi  cr7,r7,4                               
ffc20978:	40 bd ff 9c 	ble-    cr7,ffc20914 <rtems_rfs_block_map_grow+0xdc>
       * 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;                
ffc2097c:	81 5d 00 34 	lwz     r10,52(r29)                            
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20980:	81 3d 00 38 	lwz     r9,56(r29)                             
       * 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;                
ffc20984:	7d 07 53 96 	divwu   r8,r7,r10                              
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20988:	7f 87 48 40 	cmplw   cr7,r7,r9                              
       * 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;                
ffc2098c:	7e c8 51 d6 	mullw   r22,r8,r10                             
ffc20990:	7e d6 38 50 	subf    r22,r22,r7                             
      singly = map->size.count / fs->blocks_per_block;                
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
ffc20994:	40 9c 00 ac 	bge-    cr7,ffc20a40 <rtems_rfs_block_map_grow+0x208><== NEVER TAKEN
         * 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) ||                                          
ffc20998:	2f 96 00 00 	cmpwi   cr7,r22,0                              
ffc2099c:	41 9e 02 08 	beq-    cr7,ffc20ba4 <rtems_rfs_block_map_grow+0x36c><== NEVER TAKEN
ffc209a0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc209a4:	40 9e 00 0c 	bne-    cr7,ffc209b0 <rtems_rfs_block_map_grow+0x178><== NEVER TAKEN
            ((singly == 0) && (direct == RTEMS_RFS_INODE_BLOCKS)))    
ffc209a8:	2f 96 00 05 	cmpwi   cr7,r22,5                              
ffc209ac:	41 9e 01 f8 	beq-    cr7,ffc20ba4 <rtems_rfs_block_map_grow+0x36c>
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
ffc209b0:	39 08 00 08 	addi    r8,r8,8                                
ffc209b4:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
ffc209b8:	7d 1f 42 14 	add     r8,r31,r8                              
ffc209bc:	80 a8 00 04 	lwz     r5,4(r8)                               
ffc209c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc209c4:	7f 04 c3 78 	mr      r4,r24                                 
ffc209c8:	38 c0 00 01 	li      r6,1                                   
ffc209cc:	48 00 0a 81 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
ffc209d0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                map->blocks[singly], true);
        }                                                             
                                                                      
        if (rc > 0)                                                   
ffc209d4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc209d8:	41 9d 01 b8 	bgt-    cr7,ffc20b90 <rtems_rfs_block_map_grow+0x358><== NEVER TAKEN
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
ffc209dc:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc209e0:	89 01 00 0c 	lbz     r8,12(r1)                              
ffc209e4:	81 49 00 1c 	lwz     r10,28(r9)                             
ffc209e8:	56 c9 10 3a 	rlwinm  r9,r22,2,0,29                          
ffc209ec:	7d 0a 49 ae 	stbx    r8,r10,r9                              
ffc209f0:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc209f4:	a1 01 00 0c 	lhz     r8,12(r1)                              
ffc209f8:	81 4a 00 1c 	lwz     r10,28(r10)                            
ffc209fc:	7d 4a 4a 14 	add     r10,r10,r9                             
ffc20a00:	99 0a 00 01 	stb     r8,1(r10)                              
ffc20a04:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc20a08:	81 0a 00 1c 	lwz     r8,28(r10)                             
ffc20a0c:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc20a10:	7d 08 4a 14 	add     r8,r8,r9                               
ffc20a14:	55 4a c2 3e 	rlwinm  r10,r10,24,8,31                        
ffc20a18:	99 48 00 02 	stb     r10,2(r8)                              
ffc20a1c:	81 5f 00 40 	lwz     r10,64(r31)                            
ffc20a20:	81 4a 00 1c 	lwz     r10,28(r10)                            
ffc20a24:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc20a28:	81 41 00 0c 	lwz     r10,12(r1)                             
ffc20a2c:	99 49 00 03 	stb     r10,3(r9)                              
ffc20a30:	9b 7f 00 38 	stb     r27,56(r31)                            
ffc20a34:	80 ff 00 08 	lwz     r7,8(r31)                              
ffc20a38:	80 81 00 0c 	lwz     r4,12(r1)                              
ffc20a3c:	4b ff fe ec 	b       ffc20928 <rtems_rfs_block_map_grow+0xf0>
         * Doubly indirect tables are being used.                     
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
ffc20a40:	7e a8 53 96 	divwu   r21,r8,r10                             <== 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)                                              
ffc20a44:	2f 96 00 00 	cmpwi   cr7,r22,0                              <== NOT EXECUTED
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
ffc20a48:	7d 55 51 d6 	mullw   r10,r21,r10                            <== NOT EXECUTED
ffc20a4c:	7e 8a 40 50 	subf    r20,r10,r8                             <== 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)                                              
ffc20a50:	40 9e 00 c0 	bne-    cr7,ffc20b10 <rtems_rfs_block_map_grow+0x2d8><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
ffc20a54:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20a58:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc20a5c:	7f 05 c3 78 	mr      r5,r24                                 <== NOT EXECUTED
ffc20a60:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc20a64:	38 e0 00 00 	li      r7,0                                   <== NOT EXECUTED
ffc20a68:	4b ff f1 9d 	bl      ffc1fc04 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
                                                   &map->singly_buffer,
                                                   &singly_block,     
                                                   false);            
          if (rc > 0)                                                 
ffc20a6c:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc20a70:	41 81 01 20 	bgt-    ffc20b90 <rtems_rfs_block_map_grow+0x358><== 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) ||                                        
ffc20a74:	2f 94 00 00 	cmpwi   cr7,r20,0                              <== NOT EXECUTED
ffc20a78:	41 9e 01 60 	beq-    cr7,ffc20bd8 <rtems_rfs_block_map_grow+0x3a0><== NOT EXECUTED
ffc20a7c:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
ffc20a80:	40 9e 00 0c 	bne-    cr7,ffc20a8c <rtems_rfs_block_map_grow+0x254><== NOT EXECUTED
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
ffc20a84:	2f 94 00 05 	cmpwi   cr7,r20,5                              <== NOT EXECUTED
ffc20a88:	41 9e 01 50 	beq-    cr7,ffc20bd8 <rtems_rfs_block_map_grow+0x3a0><== NOT EXECUTED
              return rc;                                              
            }                                                         
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20a8c:	3a b5 00 08 	addi    r21,r21,8                              <== NOT EXECUTED
ffc20a90:	56 b5 10 3a 	rlwinm  r21,r21,2,0,29                         <== NOT EXECUTED
ffc20a94:	7e bf aa 14 	add     r21,r31,r21                            <== NOT EXECUTED
ffc20a98:	80 b5 00 04 	lwz     r5,4(r21)                              <== NOT EXECUTED
ffc20a9c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20aa0:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc20aa4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc20aa8:	48 00 09 a5 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
ffc20aac:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc20ab0:	41 81 01 64 	bgt-    ffc20c14 <rtems_rfs_block_map_grow+0x3dc><== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
              return rc;                                              
            }                                                         
          }                                                           
                                                                      
          rtems_rfs_block_set_number (&map->doubly_buffer,            
ffc20ab4:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20ab8:	56 94 10 3a 	rlwinm  r20,r20,2,0,29                         <== NOT EXECUTED
ffc20abc:	89 41 00 08 	lbz     r10,8(r1)                              <== NOT EXECUTED
ffc20ac0:	81 29 00 1c 	lwz     r9,28(r9)                              <== NOT EXECUTED
ffc20ac4:	7d 49 a1 ae 	stbx    r10,r9,r20                             <== NOT EXECUTED
ffc20ac8:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20acc:	a1 41 00 08 	lhz     r10,8(r1)                              <== NOT EXECUTED
ffc20ad0:	81 29 00 1c 	lwz     r9,28(r9)                              <== NOT EXECUTED
ffc20ad4:	7d 29 a2 14 	add     r9,r9,r20                              <== NOT EXECUTED
ffc20ad8:	99 49 00 01 	stb     r10,1(r9)                              <== NOT EXECUTED
ffc20adc:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20ae0:	81 49 00 1c 	lwz     r10,28(r9)                             <== NOT EXECUTED
ffc20ae4:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc20ae8:	7d 4a a2 14 	add     r10,r10,r20                            <== NOT EXECUTED
ffc20aec:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          <== NOT EXECUTED
ffc20af0:	99 2a 00 02 	stb     r9,2(r10)                              <== NOT EXECUTED
ffc20af4:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20af8:	81 29 00 1c 	lwz     r9,28(r9)                              <== NOT EXECUTED
ffc20afc:	7e 89 a2 14 	add     r20,r9,r20                             <== NOT EXECUTED
ffc20b00:	81 21 00 08 	lwz     r9,8(r1)                               <== NOT EXECUTED
ffc20b04:	99 34 00 03 	stb     r9,3(r20)                              <== NOT EXECUTED
ffc20b08:	9b 7f 00 44 	stb     r27,68(r31)                            <== NOT EXECUTED
ffc20b0c:	4b ff fe d0 	b       ffc209dc <rtems_rfs_block_map_grow+0x1a4><== NOT EXECUTED
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
ffc20b10:	3a b5 00 08 	addi    r21,r21,8                              <== NOT EXECUTED
ffc20b14:	56 b5 10 3a 	rlwinm  r21,r21,2,0,29                         <== NOT EXECUTED
ffc20b18:	7e bf aa 14 	add     r21,r31,r21                            <== NOT EXECUTED
ffc20b1c:	80 b5 00 04 	lwz     r5,4(r21)                              <== NOT EXECUTED
ffc20b20:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20b24:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc20b28:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc20b2c:	48 00 09 21 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                &map->doubly_buffer,  
                                                map->blocks[doubly],  
                                                true);                
          if (rc > 0)                                                 
ffc20b30:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc20b34:	41 81 00 5c 	bgt-    ffc20b90 <rtems_rfs_block_map_grow+0x358><== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc20b38:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20b3c:	56 94 10 3a 	rlwinm  r20,r20,2,0,29                         <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20b40:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc20b44:	81 49 00 1c 	lwz     r10,28(r9)                             <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20b48:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc20b4c:	7c ca a0 ae 	lbzx    r6,r10,r20                             <== NOT EXECUTED
ffc20b50:	7d 2a a2 14 	add     r9,r10,r20                             <== NOT EXECUTED
ffc20b54:	88 e9 00 03 	lbz     r7,3(r9)                               <== NOT EXECUTED
ffc20b58:	89 09 00 01 	lbz     r8,1(r9)                               <== NOT EXECUTED
ffc20b5c:	89 49 00 02 	lbz     r10,2(r9)                              <== NOT EXECUTED
ffc20b60:	54 c9 c0 0e 	rlwinm  r9,r6,24,0,7                           <== NOT EXECUTED
ffc20b64:	7c e9 4b 78 	or      r9,r7,r9                               <== NOT EXECUTED
ffc20b68:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          <== NOT EXECUTED
ffc20b6c:	7d 29 43 78 	or      r9,r9,r8                               <== NOT EXECUTED
ffc20b70:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc20b74:	7d 29 53 78 	or      r9,r9,r10                              <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20b78:	7d 25 4b 78 	mr      r5,r9                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
ffc20b7c:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20b80:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc20b84:	48 00 08 c9 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                                singly_block, true);  
          if (rc > 0)                                                 
ffc20b88:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc20b8c:	40 81 fe 50 	ble+    ffc209dc <rtems_rfs_block_map_grow+0x1a4><== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
ffc20b90:	80 a1 00 0c 	lwz     r5,12(r1)                              <== NOT EXECUTED
ffc20b94:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20b98:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc20b9c:	4b ff 4c fd 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
ffc20ba0:	4b ff fd 10 	b       ffc208b0 <rtems_rfs_block_map_grow+0x78><== NOT EXECUTED
           */                                                         
          bool upping;                                                
          upping = map->size.count == RTEMS_RFS_INODE_BLOCKS;         
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
                                                   &map->singly_buffer,
                                                   &map->blocks[singly],
ffc20ba4:	38 c8 00 08 	addi    r6,r8,8                                
ffc20ba8:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           
          /*                                                          
           * 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,           
ffc20bac:	68 e7 00 05 	xori    r7,r7,5                                
                                                   &map->singly_buffer,
                                                   &map->blocks[singly],
ffc20bb0:	7c df 32 14 	add     r6,r31,r6                              
          /*                                                          
           * 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,           
ffc20bb4:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc20bb8:	7f a3 eb 78 	mr      r3,r29                                 
ffc20bbc:	7f e4 fb 78 	mr      r4,r31                                 
ffc20bc0:	7f 05 c3 78 	mr      r5,r24                                 
ffc20bc4:	38 c6 00 04 	addi    r6,r6,4                                
ffc20bc8:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc20bcc:	4b ff f0 39 	bl      ffc1fc04 <rtems_rfs_block_map_indirect_alloc>
ffc20bd0:	7c 7c 1b 78 	mr      r28,r3                                 
         * move the direct blocks into the table and if not this is the first
         * entry of a new block.                                      
         */                                                           
        if ((direct == 0) ||                                          
            ((singly == 0) && (direct == RTEMS_RFS_INODE_BLOCKS)))    
        {                                                             
ffc20bd4:	4b ff fe 00 	b       ffc209d4 <rtems_rfs_block_map_grow+0x19c>
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc20bd8:	80 ff 00 08 	lwz     r7,8(r31)                              <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
ffc20bdc:	38 d5 00 08 	addi    r6,r21,8                               <== NOT EXECUTED
           */                                                         
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
ffc20be0:	81 3d 00 38 	lwz     r9,56(r29)                             <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
ffc20be4:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc20be8:	7c df 32 14 	add     r6,r31,r6                              <== 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,         
ffc20bec:	7c e7 4a 78 	xor     r7,r7,r9                               <== NOT EXECUTED
ffc20bf0:	7c e7 00 34 	cntlzw  r7,r7                                  <== NOT EXECUTED
ffc20bf4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20bf8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc20bfc:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc20c00:	38 c6 00 04 	addi    r6,r6,4                                <== NOT EXECUTED
ffc20c04:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          <== NOT EXECUTED
ffc20c08:	4b ff ef fd 	bl      ffc1fc04 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
                                                     upping);         
            if (rc > 0)                                               
ffc20c0c:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc20c10:	40 81 fe a4 	ble+    ffc20ab4 <rtems_rfs_block_map_grow+0x27c><== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
            {                                                         
              rtems_rfs_group_bitmap_free (fs, false, singly_block);  
ffc20c14:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc20c18:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20c1c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc20c20:	4b ff 4c 79 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
ffc20c24:	80 a1 00 0c 	lwz     r5,12(r1)                              <== NOT EXECUTED
ffc20c28:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc20c2c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc20c30:	4b ff 4c 69 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
ffc20c34:	4b ff fc 7c 	b       ffc208b0 <rtems_rfs_block_map_grow+0x78><== NOT EXECUTED
                          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",
ffc20c38:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc20c3c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc20c40:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc20c44:	38 63 b8 64 	addi    r3,r3,-18332                           <== NOT EXECUTED
ffc20c48:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc20c4c:	48 00 8d 91 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc20c50:	4b ff fc 48 	b       ffc20898 <rtems_rfs_block_map_grow+0x60><== NOT EXECUTED
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
ffc20c54:	3b 80 00 00 	li      r28,0                                  
ffc20c58:	4b ff fc 58 	b       ffc208b0 <rtems_rfs_block_map_grow+0x78>
                                                                      

ffc1fc04 <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) {
ffc1fc04:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc1fc08:	7c 08 02 a6 	mflr    r0                                     
ffc1fc0c:	90 01 00 34 	stw     r0,52(r1)                              
ffc1fc10:	93 c1 00 28 	stw     r30,40(r1)                             
ffc1fc14:	7c 9e 23 78 	mr      r30,r4                                 
  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);
ffc1fc18:	80 84 00 1c 	lwz     r4,28(r4)                              
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)  
{                                                                     
ffc1fc1c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc1fc20:	7c db 33 78 	mr      r27,r6                                 
  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);
ffc1fc24:	38 c1 00 08 	addi    r6,r1,8                                
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)  
{                                                                     
ffc1fc28:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1fc2c:	7c bd 2b 78 	mr      r29,r5                                 
  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);
ffc1fc30:	38 a0 00 00 	li      r5,0                                   
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)  
{                                                                     
ffc1fc34:	93 41 00 18 	stw     r26,24(r1)                             
ffc1fc38:	7c fa 3b 78 	mr      r26,r7                                 
ffc1fc3c:	93 81 00 20 	stw     r28,32(r1)                             
ffc1fc40:	7c 7c 1b 78 	mr      r28,r3                                 
ffc1fc44:	93 e1 00 2c 	stw     r31,44(r1)                             
  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);
ffc1fc48:	4b ff 59 c5 	bl      ffc1560c <rtems_rfs_group_bitmap_alloc>
  if (rc > 0)                                                         
ffc1fc4c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1fc50:	40 81 00 30 	ble-    ffc1fc80 <rtems_rfs_block_map_indirect_alloc+0x7c><== ALWAYS TAKEN
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
ffc1fc54:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1fc58:	7f e3 fb 78 	mr      r3,r31                                 
ffc1fc5c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc1fc60:	7c 08 03 a6 	mtlr    r0                                     
ffc1fc64:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1fc68:	83 81 00 20 	lwz     r28,32(r1)                             
ffc1fc6c:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1fc70:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc1fc74:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc1fc78:	38 21 00 30 	addi    r1,r1,48                               
ffc1fc7c:	4e 80 00 20 	blr                                            
   * 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);
ffc1fc80:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1fc84:	7f 83 e3 78 	mr      r3,r28                                 
ffc1fc88:	7f a4 eb 78 	mr      r4,r29                                 
ffc1fc8c:	38 c0 00 00 	li      r6,0                                   
ffc1fc90:	48 00 17 bd 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc1fc94:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1fc98:	40 81 00 40 	ble-    ffc1fcd8 <rtems_rfs_block_map_indirect_alloc+0xd4><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
ffc1fc9c:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc1fca0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc1fca4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc1fca8:	4b ff 5b f1 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
ffc1fcac:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc1fcb0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1fcb4:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc1fcb8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc1fcbc:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc1fcc0:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc1fcc4:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc1fcc8:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc1fccc:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc1fcd0:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc1fcd4:	4e 80 00 20 	blr                                            <== 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));
ffc1fcd8:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc1fcdc:	38 80 00 ff 	li      r4,255                                 
ffc1fce0:	80 bc 00 08 	lwz     r5,8(r28)                              
ffc1fce4:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc1fce8:	48 00 9a 99 	bl      ffc29780 <memset>                      
  if (upping)                                                         
ffc1fcec:	2f 9a 00 00 	cmpwi   cr7,r26,0                              
ffc1fcf0:	40 9e 00 20 	bne-    cr7,ffc1fd10 <rtems_rfs_block_map_indirect_alloc+0x10c><== ALWAYS TAKEN
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
ffc1fcf4:	81 21 00 08 	lwz     r9,8(r1)                               
              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);                               
ffc1fcf8:	39 40 00 01 	li      r10,1                                  
ffc1fcfc:	99 5d 00 00 	stb     r10,0(r29)                             
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
ffc1fd00:	3b e0 00 00 	li      r31,0                                  
    for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                      
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
ffc1fd04:	91 3b 00 00 	stw     r9,0(r27)                              
  map->last_map_block = new_block;                                    
ffc1fd08:	91 3e 00 1c 	stw     r9,28(r30)                             
ffc1fd0c:	4b ff ff 48 	b       ffc1fc54 <rtems_rfs_block_map_indirect_alloc+0x50>
  }                                                                   
  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))             
ffc1fd10:	38 60 00 00 	li      r3,0                                   
ffc1fd14:	38 80 20 00 	li      r4,8192                                
ffc1fd18:	4b ff 80 15 	bl      ffc17d2c <rtems_rfs_trace>             
ffc1fd1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1fd20:	40 9e 00 94 	bne-    cr7,ffc1fdb4 <rtems_rfs_block_map_indirect_alloc+0x1b0><== NEVER TAKEN
      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]);         
ffc1fd24:	39 00 00 05 	li      r8,5                                   
ffc1fd28:	7d 09 03 a6 	mtctr   r8                                     
 * @param block The block number of the indirect block allocated.     
 * @param upping True is upping the map to the next indirect level.   
 * @return int The error number (errno). No error if 0.               
 */                                                                   
static int                                                            
rtems_rfs_block_map_indirect_alloc (rtems_rfs_file_system*   fs,      
ffc1fd2c:	39 5e 00 20 	addi    r10,r30,32                             
ffc1fd30:	39 20 00 00 	li      r9,0                                   
    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]);         
ffc1fd34:	38 c0 00 01 	li      r6,1                                   
ffc1fd38:	81 1d 00 08 	lwz     r8,8(r29)                              
ffc1fd3c:	84 ea 00 04 	lwzu    r7,4(r10)                              
ffc1fd40:	81 08 00 1c 	lwz     r8,28(r8)                              
ffc1fd44:	54 e7 46 3e 	rlwinm  r7,r7,8,24,31                          
ffc1fd48:	7c e8 49 ae 	stbx    r7,r8,r9                               
ffc1fd4c:	81 1d 00 08 	lwz     r8,8(r29)                              
ffc1fd50:	a0 ea 00 00 	lhz     r7,0(r10)                              
ffc1fd54:	81 08 00 1c 	lwz     r8,28(r8)                              
ffc1fd58:	7d 08 4a 14 	add     r8,r8,r9                               
ffc1fd5c:	98 e8 00 01 	stb     r7,1(r8)                               
ffc1fd60:	81 1d 00 08 	lwz     r8,8(r29)                              
ffc1fd64:	80 ea 00 00 	lwz     r7,0(r10)                              
ffc1fd68:	81 08 00 1c 	lwz     r8,28(r8)                              
ffc1fd6c:	54 e7 c2 3e 	rlwinm  r7,r7,24,8,31                          
ffc1fd70:	7d 08 4a 14 	add     r8,r8,r9                               
ffc1fd74:	98 e8 00 02 	stb     r7,2(r8)                               
ffc1fd78:	81 1d 00 08 	lwz     r8,8(r29)                              
ffc1fd7c:	80 ea 00 00 	lwz     r7,0(r10)                              
ffc1fd80:	81 08 00 1c 	lwz     r8,28(r8)                              
ffc1fd84:	7d 08 4a 14 	add     r8,r8,r9                               
ffc1fd88:	98 e8 00 03 	stb     r7,3(r8)                               
ffc1fd8c:	39 29 00 04 	addi    r9,r9,4                                
ffc1fd90:	98 dd 00 00 	stb     r6,0(r29)                              
  {                                                                   
    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++)                      
ffc1fd94:	42 00 ff a4 	bdnz+   ffc1fd38 <rtems_rfs_block_map_indirect_alloc+0x134>
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
ffc1fd98:	39 20 00 00 	li      r9,0                                   
ffc1fd9c:	91 3e 00 24 	stw     r9,36(r30)                             
ffc1fda0:	91 3e 00 28 	stw     r9,40(r30)                             
ffc1fda4:	91 3e 00 2c 	stw     r9,44(r30)                             
ffc1fda8:	91 3e 00 30 	stw     r9,48(r30)                             
ffc1fdac:	91 3e 00 34 	stw     r9,52(r30)                             
ffc1fdb0:	4b ff ff 44 	b       ffc1fcf4 <rtems_rfs_block_map_indirect_alloc+0xf0>
  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",
ffc1fdb4:	80 9e 00 08 	lwz     r4,8(r30)                              <== NOT EXECUTED
ffc1fdb8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1fdbc:	38 63 b7 e4 	addi    r3,r3,-18460                           <== NOT EXECUTED
ffc1fdc0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1fdc4:	48 00 9c 19 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc1fdc8:	4b ff ff 5c 	b       ffc1fd24 <rtems_rfs_block_map_indirect_alloc+0x120><== NOT EXECUTED
                                                                      

ffc1fef4 <rtems_rfs_block_map_indirect_shrink.isra.12>: * 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) ||
ffc1fef4:	2c 07 00 00 	cmpwi   r7,0                                   
 * @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,     
ffc1fef8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc1fefc:	7c 08 02 a6 	mflr    r0                                     
ffc1ff00:	7c 6a 1b 78 	mr      r10,r3                                 
ffc1ff04:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc1ff08:	7c 9f 23 78 	mr      r31,r4                                 
ffc1ff0c:	90 01 00 14 	stw     r0,20(r1)                              
ffc1ff10:	93 c1 00 08 	stw     r30,8(r1)                              
   * 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) ||                                                 
ffc1ff14:	41 82 00 30 	beq-    ffc1ff44 <rtems_rfs_block_map_indirect_shrink.isra.12+0x50><== NEVER TAKEN
ffc1ff18:	2f 86 00 00 	cmpwi   cr7,r6,0                               
                                     rtems_rfs_block_map*     map,    
                                     rtems_rfs_buffer_handle* buffer, 
                                     rtems_rfs_block_no       indirect,
                                     rtems_rfs_block_no       index)  
{                                                                     
  int rc = 0;                                                         
ffc1ff1c:	38 60 00 00 	li      r3,0                                   
   * 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) ||                                                 
ffc1ff20:	40 9e 00 0c 	bne-    cr7,ffc1ff2c <rtems_rfs_block_map_indirect_shrink.isra.12+0x38><== NEVER TAKEN
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
ffc1ff24:	2f 87 00 05 	cmpwi   cr7,r7,5                               
ffc1ff28:	41 9e 00 64 	beq-    cr7,ffc1ff8c <rtems_rfs_block_map_indirect_shrink.isra.12+0x98>
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1ff2c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc1ff30:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1ff34:	7c 08 03 a6 	mtlr    r0                                     
ffc1ff38:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1ff3c:	38 21 00 10 	addi    r1,r1,16                               
ffc1ff40:	4e 80 00 20 	blr                                            
   * 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];         
ffc1ff44:	38 c6 00 08 	addi    r6,r6,8                                <== NOT EXECUTED
ffc1ff48:	54 c6 10 3a 	rlwinm  r6,r6,2,0,29                           <== NOT EXECUTED
ffc1ff4c:	7c c4 32 14 	add     r6,r4,r6                               <== NOT EXECUTED
ffc1ff50:	83 c6 00 04 	lwz     r30,4(r6)                              <== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
ffc1ff54:	90 e6 00 04 	stw     r7,4(r6)                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc1ff58:	7d 43 53 78 	mr      r3,r10                                 
ffc1ff5c:	38 80 00 00 	li      r4,0                                   
ffc1ff60:	7f c5 f3 78 	mr      r5,r30                                 
ffc1ff64:	4b ff 59 35 	bl      ffc15898 <rtems_rfs_group_bitmap_free> 
    if (rc > 0)                                                       
ffc1ff68:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1ff6c:	41 81 ff c0 	bgt+    ffc1ff2c <rtems_rfs_block_map_indirect_shrink.isra.12+0x38><== NEVER TAKEN
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1ff70:	80 01 00 14 	lwz     r0,20(r1)                              
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    map->last_map_block = block_to_free;                              
ffc1ff74:	93 df 00 1c 	stw     r30,28(r31)                            
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc1ff78:	7c 08 03 a6 	mtlr    r0                                     
ffc1ff7c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc1ff80:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc1ff84:	38 21 00 10 	addi    r1,r1,16                               
ffc1ff88:	4e 80 00 20 	blr                                            
   * 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];         
ffc1ff8c:	38 e0 00 05 	li      r7,5                                   
ffc1ff90:	81 25 00 00 	lwz     r9,0(r5)                               
ffc1ff94:	7c e9 03 a6 	mtctr   r7                                     
ffc1ff98:	83 c4 00 24 	lwz     r30,36(r4)                             
ffc1ff9c:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc1ffa0:	39 00 00 00 	li      r8,0                                   
      /*                                                              
       * 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);      
ffc1ffa4:	88 89 00 00 	lbz     r4,0(r9)                               
ffc1ffa8:	88 c9 00 01 	lbz     r6,1(r9)                               
ffc1ffac:	88 e9 00 03 	lbz     r7,3(r9)                               
ffc1ffb0:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           
ffc1ffb4:	88 a9 00 02 	lbz     r5,2(r9)                               
ffc1ffb8:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc1ffbc:	7c 86 33 78 	or      r6,r4,r6                               
ffc1ffc0:	7c c6 3b 78 	or      r6,r6,r7                               
ffc1ffc4:	54 a5 40 2e 	rlwinm  r5,r5,8,0,23                           
 * @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,     
ffc1ffc8:	7c ff 42 14 	add     r7,r31,r8                              
      /*                                                              
       * 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);      
ffc1ffcc:	7c c6 2b 78 	or      r6,r6,r5                               
ffc1ffd0:	90 c7 00 24 	stw     r6,36(r7)                              
ffc1ffd4:	39 29 00 04 	addi    r9,r9,4                                
ffc1ffd8:	39 08 00 04 	addi    r8,r8,4                                
    {                                                                 
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
ffc1ffdc:	42 00 ff c8 	bdnz+   ffc1ffa4 <rtems_rfs_block_map_indirect_shrink.isra.12+0xb0>
ffc1ffe0:	4b ff ff 78 	b       ffc1ff58 <rtems_rfs_block_map_indirect_shrink.isra.12+0x64>
                                                                      

ffc20190 <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) {
ffc20190:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc20194:	7c 08 02 a6 	mflr    r0                                     
   * 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;                                                 
ffc20198:	39 20 00 00 	li      r9,0                                   
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
                          rtems_rfs_inode_handle* inode,              
                          rtems_rfs_block_map*    map)                
{                                                                     
ffc2019c:	93 c1 00 18 	stw     r30,24(r1)                             
   * 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;                                                 
  map->inode = NULL;                                                  
ffc201a0:	3b c0 00 00 	li      r30,0                                  
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
                          rtems_rfs_inode_handle* inode,              
                          rtems_rfs_block_map*    map)                
{                                                                     
ffc201a4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc201a8:	93 81 00 10 	stw     r28,16(r1)                             
ffc201ac:	7c 9c 23 78 	mr      r28,r4                                 
ffc201b0:	93 a1 00 14 	stw     r29,20(r1)                             
ffc201b4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc201b8:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc201bc:	7c bf 2b 78 	mr      r31,r5                                 
ffc201c0:	90 01 00 24 	stw     r0,36(r1)                              
   * 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;                                                 
ffc201c4:	99 25 00 00 	stb     r9,0(r5)                               
  map->inode = NULL;                                                  
ffc201c8:	93 c5 00 04 	stw     r30,4(r5)                              
 * @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;                                                    
ffc201cc:	93 c5 00 08 	stw     r30,8(r5)                              
  size->offset = 0;                                                   
ffc201d0:	93 c5 00 0c 	stw     r30,12(r5)                             
 * @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;                                                      
ffc201d4:	93 c5 00 10 	stw     r30,16(r5)                             
  bpos->boff = 0;                                                     
ffc201d8:	93 c5 00 14 	stw     r30,20(r5)                             
  bpos->block = 0;                                                    
ffc201dc:	93 c5 00 18 	stw     r30,24(r5)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc201e0:	9b c5 00 38 	stb     r30,56(r5)                             
  handle->bnum  = 0;                                                  
ffc201e4:	93 c5 00 3c 	stw     r30,60(r5)                             
  handle->buffer = NULL;                                              
ffc201e8:	93 c5 00 40 	stw     r30,64(r5)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc201ec:	9b c5 00 44 	stb     r30,68(r5)                             
  handle->bnum  = 0;                                                  
ffc201f0:	93 c5 00 48 	stw     r30,72(r5)                             
  handle->buffer = NULL;                                              
ffc201f4:	93 c5 00 4c 	stw     r30,76(r5)                             
    return rc;                                                        
  rc = rtems_rfs_buffer_handle_open (fs, &map->doubly_buffer);        
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_load (fs, inode);                              
ffc201f8:	4b ff 5a 2d 	bl      ffc15c24 <rtems_rfs_inode_load>        
  if (rc > 0)                                                         
ffc201fc:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc20200:	41 81 01 24 	bgt-    ffc20324 <rtems_rfs_block_map_open+0x194><== NEVER TAKEN
  /*                                                                  
   * 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++)                        
ffc20204:	39 20 00 05 	li      r9,5                                   
                                                                      
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
ffc20208:	93 9f 00 04 	stw     r28,4(r31)                             
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
ffc2020c:	7d 29 03 a6 	mtctr   r9                                     
  block_size = rtems_rfs_fs_block_size (fs);                          
  return (((uint64_t) (size->count - 1)) * block_size) + offset;      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_open (rtems_rfs_file_system*  fs,                 
ffc20210:	38 df 00 20 	addi    r6,r31,32                              
ffc20214:	81 5c 00 0c 	lwz     r10,12(r28)                            
  /*                                                                  
   * 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++)                        
ffc20218:	39 00 00 00 	li      r8,0                                   
 * @return uint32_t The block number.                                 
 */                                                                   
static inline uint32_t                                                
rtems_rfs_inode_get_block (rtems_rfs_inode_handle* handle, int block) 
{                                                                     
  return rtems_rfs_read_u32 (&handle->node->data.blocks[block]);      
ffc2021c:	38 e8 00 04 	addi    r7,r8,4                                
ffc20220:	54 e7 10 3a 	rlwinm  r7,r7,2,0,29                           
ffc20224:	7c ea 3a 14 	add     r7,r10,r7                              
ffc20228:	89 67 00 0c 	lbz     r11,12(r7)                             
ffc2022c:	39 08 00 01 	addi    r8,r8,1                                
ffc20230:	88 07 00 0d 	lbz     r0,13(r7)                              
ffc20234:	88 a7 00 0f 	lbz     r5,15(r7)                              
ffc20238:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc2023c:	88 e7 00 0e 	lbz     r7,14(r7)                              
ffc20240:	54 09 80 1e 	rlwinm  r9,r0,16,0,15                          
ffc20244:	7d 69 4b 78 	or      r9,r11,r9                              
ffc20248:	7d 29 2b 78 	or      r9,r9,r5                               
ffc2024c:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc20250:	7d 29 3b 78 	or      r9,r9,r7                               
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
ffc20254:	95 26 00 04 	stwu    r9,4(r6)                               
  /*                                                                  
   * 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++)                        
ffc20258:	42 00 ff c4 	bdnz+   ffc2021c <rtems_rfs_block_map_open+0x8c>
 * @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);             
ffc2025c:	88 ca 00 0c 	lbz     r6,12(r10)                             
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
ffc20260:	7f a3 eb 78 	mr      r3,r29                                 
ffc20264:	89 2a 00 0d 	lbz     r9,13(r10)                             
ffc20268:	7f 84 e3 78 	mr      r4,r28                                 
ffc2026c:	88 ea 00 0f 	lbz     r7,15(r10)                             
ffc20270:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc20274:	89 0a 00 0e 	lbz     r8,14(r10)                             
ffc20278:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc2027c:	7c c9 4b 78 	or      r9,r6,r9                               
                                                                      
  return rc;                                                          
}                                                                     
ffc20280:	80 01 00 24 	lwz     r0,36(r1)                              
ffc20284:	7d 29 3b 78 	or      r9,r9,r7                               
ffc20288:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc2028c:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc20290:	7c 08 03 a6 	mtlr    r0                                     
ffc20294:	7d 29 43 78 	or      r9,r9,r8                               
ffc20298:	83 81 00 10 	lwz     r28,16(r1)                             
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
ffc2029c:	91 3f 00 08 	stw     r9,8(r31)                              
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
ffc202a0:	38 a0 00 00 	li      r5,0                                   
 * @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);            
ffc202a4:	89 2a 00 0a 	lbz     r9,10(r10)                             
ffc202a8:	89 0a 00 0b 	lbz     r8,11(r10)                             
ffc202ac:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
                                                                      
  return rc;                                                          
}                                                                     
ffc202b0:	83 a1 00 14 	lwz     r29,20(r1)                             
   */                                                                 
  map->inode = inode;                                                 
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
ffc202b4:	7d 29 43 78 	or      r9,r9,r8                               
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc202b8:	83 c1 00 18 	lwz     r30,24(r1)                             
   */                                                                 
  map->inode = inode;                                                 
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
ffc202bc:	91 3f 00 0c 	stw     r9,12(r31)                             
 * @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);          
ffc202c0:	88 ca 00 30 	lbz     r6,48(r10)                             
ffc202c4:	89 2a 00 31 	lbz     r9,49(r10)                             
ffc202c8:	88 ea 00 33 	lbz     r7,51(r10)                             
ffc202cc:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc202d0:	89 0a 00 32 	lbz     r8,50(r10)                             
ffc202d4:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc202d8:	7c c9 4b 78 	or      r9,r6,r9                               
ffc202dc:	7d 29 3b 78 	or      r9,r9,r7                               
ffc202e0:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc202e4:	7d 29 43 78 	or      r9,r9,r8                               
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
ffc202e8:	91 3f 00 1c 	stw     r9,28(r31)                             
 * @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);         
ffc202ec:	88 ea 00 34 	lbz     r7,52(r10)                             
ffc202f0:	89 2a 00 35 	lbz     r9,53(r10)                             
ffc202f4:	89 0a 00 37 	lbz     r8,55(r10)                             
ffc202f8:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc202fc:	89 4a 00 36 	lbz     r10,54(r10)                            
ffc20300:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc20304:	7c e9 4b 78 	or      r9,r7,r9                               
ffc20308:	7d 29 43 78 	or      r9,r9,r8                               
ffc2030c:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc20310:	7d 29 53 78 	or      r9,r9,r10                              
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
ffc20314:	91 3f 00 20 	stw     r9,32(r31)                             
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc20318:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc2031c:	38 21 00 20 	addi    r1,r1,32                               
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
ffc20320:	4b ff 5a f8 	b       ffc15e18 <rtems_rfs_inode_unload>      
 */                                                                   
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);                       
ffc20324:	38 9f 00 38 	addi    r4,r31,56                              <== NOT EXECUTED
ffc20328:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc2032c:	48 00 0f 0d 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc20330:	9b df 00 38 	stb     r30,56(r31)                            <== 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);                       
ffc20334:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc20338:	93 df 00 3c 	stw     r30,60(r31)                            <== 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);                       
ffc2033c:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc20340:	93 df 00 40 	stw     r30,64(r31)                            <== 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);                       
ffc20344:	48 00 0e f5 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
ffc20348:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
  handle->dirty = false;                                              
ffc2034c:	9b df 00 44 	stb     r30,68(r31)                            <== NOT EXECUTED
ffc20350:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc20354:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc20358:	93 df 00 48 	stw     r30,72(r31)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc2035c:	93 df 00 4c 	stw     r30,76(r31)                            <== NOT EXECUTED
ffc20360:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc20364:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc20368:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc2036c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc20370:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc20374:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc20378:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc20c5c <rtems_rfs_block_map_shrink>: int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) {
ffc20c5c:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc20c60:	7c 08 02 a6 	mflr    r0                                     
ffc20c64:	93 c1 00 38 	stw     r30,56(r1)                             
ffc20c68:	7c 7e 1b 78 	mr      r30,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc20c6c:	38 60 00 00 	li      r3,0                                   
                                                                      
int                                                                   
rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs,                
                            rtems_rfs_block_map*   map,               
                            size_t                 blocks)            
{                                                                     
ffc20c70:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc20c74:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc20c78:	38 80 40 00 	li      r4,16384                               
                                                                      
int                                                                   
rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs,                
                            rtems_rfs_block_map*   map,               
                            size_t                 blocks)            
{                                                                     
ffc20c7c:	93 a1 00 34 	stw     r29,52(r1)                             
ffc20c80:	7c bd 2b 78 	mr      r29,r5                                 
ffc20c84:	90 01 00 44 	stw     r0,68(r1)                              
ffc20c88:	92 41 00 08 	stw     r18,8(r1)                              
ffc20c8c:	92 61 00 0c 	stw     r19,12(r1)                             
ffc20c90:	92 81 00 10 	stw     r20,16(r1)                             
ffc20c94:	92 a1 00 14 	stw     r21,20(r1)                             
ffc20c98:	92 c1 00 18 	stw     r22,24(r1)                             
ffc20c9c:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc20ca0:	93 01 00 20 	stw     r24,32(r1)                             
ffc20ca4:	93 21 00 24 	stw     r25,36(r1)                             
ffc20ca8:	93 41 00 28 	stw     r26,40(r1)                             
ffc20cac:	93 61 00 2c 	stw     r27,44(r1)                             
ffc20cb0:	93 81 00 30 	stw     r28,48(r1)                             
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
ffc20cb4:	4b ff 70 79 	bl      ffc17d2c <rtems_rfs_trace>             
ffc20cb8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc20cbc:	40 9e 02 d0 	bne-    cr7,ffc20f8c <rtems_rfs_block_map_shrink+0x330><== NEVER TAKEN
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
ffc20cc0:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc20cc4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc20cc8:	41 9e 02 b4 	beq-    cr7,ffc20f7c <rtems_rfs_block_map_shrink+0x320>
ffc20ccc:	7f 9d 50 40 	cmplw   cr7,r29,r10                            
ffc20cd0:	41 9d 02 b4 	bgt-    cr7,ffc20f84 <rtems_rfs_block_map_shrink+0x328><== NEVER TAKEN
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc20cd4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc20cd8:	41 9e 02 d0 	beq-    cr7,ffc20fa8 <rtems_rfs_block_map_shrink+0x34c><== NEVER TAKEN
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
      map->blocks[block] = 0;                                         
ffc20cdc:	3b 40 00 00 	li      r26,0                                  
        rtems_rfs_block_no doubly_singly;                             
                                                                      
        doubly        = singly / fs->blocks_per_block;                
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20ce0:	3a ff 00 44 	addi    r23,r31,68                             
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20ce4:	3b 1f 00 38 	addi    r24,r31,56                             
int                                                                   
rtems_rfs_block_map_free_all (rtems_rfs_file_system* fs,              
                              rtems_rfs_block_map*   map)             
{                                                                     
  return rtems_rfs_block_map_shrink (fs, map, map->size.count);       
}                                                                     
ffc20ce8:	3a bf 00 4c 	addi    r21,r31,76                             
ffc20cec:	3a df 00 40 	addi    r22,r31,64                             
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
ffc20cf0:	3b 20 00 01 	li      r25,1                                  
ffc20cf4:	48 00 00 50 	b       ffc20d44 <rtems_rfs_block_map_shrink+0xe8>
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
ffc20cf8:	39 4a 00 07 	addi    r10,r10,7                              
ffc20cfc:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         
ffc20d00:	7d 5f 52 14 	add     r10,r31,r10                            
ffc20d04:	83 8a 00 04 	lwz     r28,4(r10)                             
      map->blocks[block] = 0;                                         
ffc20d08:	93 4a 00 04 	stw     r26,4(r10)                             
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
ffc20d0c:	7f c3 f3 78 	mr      r3,r30                                 
ffc20d10:	38 80 00 00 	li      r4,0                                   
ffc20d14:	7f 85 e3 78 	mr      r5,r28                                 
ffc20d18:	4b ff 4b 81 	bl      ffc15898 <rtems_rfs_group_bitmap_free> 
    if (rc > 0)                                                       
ffc20d1c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20d20:	41 81 01 5c 	bgt-    ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NEVER TAKEN
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc20d24:	37 bd ff ff 	addic.  r29,r29,-1                             
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
ffc20d28:	81 5f 00 08 	lwz     r10,8(r31)                             
    map->size.offset = 0;                                             
ffc20d2c:	93 5f 00 0c 	stw     r26,12(r31)                            
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
ffc20d30:	39 4a ff ff 	addi    r10,r10,-1                             
ffc20d34:	91 5f 00 08 	stw     r10,8(r31)                             
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
ffc20d38:	93 9f 00 20 	stw     r28,32(r31)                            
    map->dirty = true;                                                
ffc20d3c:	9b 3f 00 00 	stb     r25,0(r31)                             
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
ffc20d40:	41 82 02 08 	beq-    ffc20f48 <rtems_rfs_block_map_shrink+0x2ec>
  {                                                                   
    rtems_rfs_block_no block;                                         
    rtems_rfs_block_no block_to_free;                                 
    int                rc;                                            
                                                                      
    block = map->size.count - 1;                                      
ffc20d44:	39 2a ff ff 	addi    r9,r10,-1                              
                                                                      
    if (block < RTEMS_RFS_INODE_BLOCKS)                               
ffc20d48:	2b 89 00 04 	cmplwi  cr7,r9,4                               
ffc20d4c:	40 bd ff ac 	ble-    cr7,ffc20cf8 <rtems_rfs_block_map_shrink+0x9c>
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc20d50:	81 1e 00 34 	lwz     r8,52(r30)                             
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc20d54:	80 fe 00 38 	lwz     r7,56(r30)                             
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc20d58:	7f 69 43 96 	divwu   r27,r9,r8                              
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc20d5c:	7f 89 38 40 	cmplw   cr7,r9,r7                              
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
ffc20d60:	7e 9b 41 d6 	mullw   r20,r27,r8                             
ffc20d64:	7e 94 48 50 	subf    r20,r20,r9                             
      singly = block / fs->blocks_per_block;                          
                                                                      
      if (block < fs->block_map_singly_blocks)                        
ffc20d68:	41 9c 01 5c 	blt-    cr7,ffc20ec4 <rtems_rfs_block_map_shrink+0x268><== ALWAYS TAKEN
        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)                   
ffc20d6c:	80 fe 00 3c 	lwz     r7,60(r30)                             <== NOT EXECUTED
ffc20d70:	7f 89 38 40 	cmplw   cr7,r9,r7                              <== NOT EXECUTED
ffc20d74:	40 9c 01 d4 	bge-    cr7,ffc20f48 <rtems_rfs_block_map_shrink+0x2ec><== 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;                
ffc20d78:	7e 7b 43 96 	divwu   r19,r27,r8                             <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20d7c:	39 33 00 08 	addi    r9,r19,8                               <== NOT EXECUTED
ffc20d80:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           <== 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;                
ffc20d84:	7d 13 41 d6 	mullw   r8,r19,r8                              <== NOT EXECUTED
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20d88:	7d 3f 4a 14 	add     r9,r31,r9                              <== NOT EXECUTED
ffc20d8c:	80 a9 00 04 	lwz     r5,4(r9)                               <== NOT EXECUTED
ffc20d90:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc20d94:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc20d98:	38 c0 00 01 	li      r6,1                                   <== 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;                
ffc20d9c:	7f 68 d8 50 	subf    r27,r8,r27                             <== NOT EXECUTED
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
ffc20da0:	48 00 06 ad 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
ffc20da4:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20da8:	41 81 00 d4 	bgt-    ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NOT EXECUTED
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
ffc20dac:	81 3f 00 4c 	lwz     r9,76(r31)                             <== NOT EXECUTED
ffc20db0:	57 6a 10 3a 	rlwinm  r10,r27,2,0,29                         <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20db4:	7f c3 f3 78 	mr      r3,r30                                 <== 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,     
ffc20db8:	80 c9 00 1c 	lwz     r6,28(r9)                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20dbc:	7f 04 c3 78 	mr      r4,r24                                 <== 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,     
ffc20dc0:	7d 26 52 14 	add     r9,r6,r10                              <== NOT EXECUTED
ffc20dc4:	7e 46 50 ae 	lbzx    r18,r6,r10                             <== NOT EXECUTED
ffc20dc8:	89 09 00 03 	lbz     r8,3(r9)                               <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20dcc:	38 c0 00 01 	li      r6,1                                   <== 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,     
ffc20dd0:	89 49 00 01 	lbz     r10,1(r9)                              <== NOT EXECUTED
ffc20dd4:	56 52 c0 0e 	rlwinm  r18,r18,24,0,7                         <== NOT EXECUTED
ffc20dd8:	89 29 00 02 	lbz     r9,2(r9)                               <== NOT EXECUTED
ffc20ddc:	7d 12 93 78 	or      r18,r8,r18                             <== NOT EXECUTED
ffc20de0:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc20de4:	7e 52 53 78 	or      r18,r18,r10                            <== NOT EXECUTED
ffc20de8:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc20dec:	7e 52 4b 78 	or      r18,r18,r9                             <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20df0:	7e 45 93 78 	mr      r5,r18                                 <== NOT EXECUTED
ffc20df4:	48 00 06 59 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
                                              singly, true);          
        if (rc > 0)                                                   
ffc20df8:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20dfc:	41 81 00 80 	bgt-    ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc20e00:	81 3f 00 40 	lwz     r9,64(r31)                             <== NOT EXECUTED
ffc20e04:	56 8a 10 3a 	rlwinm  r10,r20,2,0,29                         <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc20e08:	2f 94 00 00 	cmpwi   cr7,r20,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,
ffc20e0c:	81 09 00 1c 	lwz     r8,28(r9)                              <== NOT EXECUTED
ffc20e10:	7d 28 52 14 	add     r9,r8,r10                              <== NOT EXECUTED
ffc20e14:	7f 88 50 ae 	lbzx    r28,r8,r10                             <== NOT EXECUTED
ffc20e18:	89 09 00 03 	lbz     r8,3(r9)                               <== NOT EXECUTED
ffc20e1c:	89 49 00 01 	lbz     r10,1(r9)                              <== NOT EXECUTED
ffc20e20:	57 9c c0 0e 	rlwinm  r28,r28,24,0,7                         <== NOT EXECUTED
ffc20e24:	89 29 00 02 	lbz     r9,2(r9)                               <== NOT EXECUTED
ffc20e28:	7d 1c e3 78 	or      r28,r8,r28                             <== NOT EXECUTED
ffc20e2c:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc20e30:	7f 9c 53 78 	or      r28,r28,r10                            <== NOT EXECUTED
ffc20e34:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc20e38:	7f 9c 4b 78 	or      r28,r28,r9                             <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
ffc20e3c:	40 9e fe d0 	bne+    cr7,ffc20d0c <rtems_rfs_block_map_shrink+0xb0><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_group_bitmap_free (fs, false, singly);       
ffc20e40:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc20e44:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc20e48:	7e 45 93 78 	mr      r5,r18                                 <== NOT EXECUTED
ffc20e4c:	4b ff 4a 4d 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
          if (rc > 0)                                                 
ffc20e50:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20e54:	41 81 00 28 	bgt-    ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NOT EXECUTED
            return rc;                                                
                                                                      
          map->last_map_block = singly;                               
ffc20e58:	92 5f 00 1c 	stw     r18,28(r31)                            <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer,
ffc20e5c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc20e60:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc20e64:	7e a5 ab 78 	mr      r5,r21                                 <== NOT EXECUTED
ffc20e68:	7e 66 9b 78 	mr      r6,r19                                 <== NOT EXECUTED
ffc20e6c:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc20e70:	4b ff f0 85 	bl      ffc1fef4 <rtems_rfs_block_map_indirect_shrink.isra.12><== NOT EXECUTED
                                                    doubly, doubly_singly);
          if (rc)                                                     
ffc20e74:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc20e78:	41 82 fe 94 	beq+    ffc20d0c <rtems_rfs_block_map_shrink+0xb0><== 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;                                                           
}                                                                     
ffc20e7c:	80 01 00 44 	lwz     r0,68(r1)                              
ffc20e80:	82 41 00 08 	lwz     r18,8(r1)                              
ffc20e84:	7c 08 03 a6 	mtlr    r0                                     
ffc20e88:	82 61 00 0c 	lwz     r19,12(r1)                             
ffc20e8c:	82 81 00 10 	lwz     r20,16(r1)                             
ffc20e90:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc20e94:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc20e98:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc20e9c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc20ea0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc20ea4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc20ea8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc20eac:	83 81 00 30 	lwz     r28,48(r1)                             
ffc20eb0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc20eb4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc20eb8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc20ebc:	38 21 00 40 	addi    r1,r1,64                               
ffc20ec0:	4e 80 00 20 	blr                                            
      {                                                               
        /*                                                            
         * Request the indirect block and then obtain the block number from the
         * indirect block.                                            
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
ffc20ec4:	39 3b 00 08 	addi    r9,r27,8                               
ffc20ec8:	55 29 10 3a 	rlwinm  r9,r9,2,0,29                           
ffc20ecc:	7d 3f 4a 14 	add     r9,r31,r9                              
ffc20ed0:	80 a9 00 04 	lwz     r5,4(r9)                               
ffc20ed4:	7f c3 f3 78 	mr      r3,r30                                 
ffc20ed8:	7f 04 c3 78 	mr      r4,r24                                 
ffc20edc:	38 c0 00 01 	li      r6,1                                   
ffc20ee0:	48 00 05 6d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
ffc20ee4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20ee8:	41 a1 ff 94 	bgt-    ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NEVER TAKEN
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
ffc20eec:	81 3f 00 40 	lwz     r9,64(r31)                             
ffc20ef0:	56 8a 10 3a 	rlwinm  r10,r20,2,0,29                         
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc20ef4:	7f c3 f3 78 	mr      r3,r30                                 
        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,
ffc20ef8:	81 09 00 1c 	lwz     r8,28(r9)                              
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc20efc:	7f e4 fb 78 	mr      r4,r31                                 
ffc20f00:	7e c5 b3 78 	mr      r5,r22                                 
        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,
ffc20f04:	7f 88 50 ae 	lbzx    r28,r8,r10                             
ffc20f08:	7d 28 52 14 	add     r9,r8,r10                              
ffc20f0c:	89 09 00 03 	lbz     r8,3(r9)                               
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc20f10:	7f 66 db 78 	mr      r6,r27                                 
        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,
ffc20f14:	89 49 00 01 	lbz     r10,1(r9)                              
ffc20f18:	57 9c c0 0e 	rlwinm  r28,r28,24,0,7                         
ffc20f1c:	89 29 00 02 	lbz     r9,2(r9)                               
ffc20f20:	7d 1c e3 78 	or      r28,r8,r28                             
ffc20f24:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc20f28:	7f 9c 53 78 	or      r28,r28,r10                            
ffc20f2c:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc20f30:	7e 87 a3 78 	mr      r7,r20                                 
        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,
ffc20f34:	7f 9c 4b 78 	or      r28,r28,r9                             
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
ffc20f38:	4b ff ef bd 	bl      ffc1fef4 <rtems_rfs_block_map_indirect_shrink.isra.12>
                                                  singly, direct);    
        if (rc)                                                       
ffc20f3c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc20f40:	41 82 fd cc 	beq+    ffc20d0c <rtems_rfs_block_map_shrink+0xb0><== ALWAYS TAKEN
ffc20f44:	4b ff ff 38 	b       ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
ffc20f48:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc20f4c:	40 9e 00 5c 	bne-    cr7,ffc20fa8 <rtems_rfs_block_map_shrink+0x34c>
  {                                                                   
    map->last_map_block = 0;                                          
ffc20f50:	91 5f 00 1c 	stw     r10,28(r31)                            
    map->last_data_block = 0;                                         
ffc20f54:	91 5f 00 20 	stw     r10,32(r31)                            
ffc20f58:	81 3f 00 0c 	lwz     r9,12(r31)                             
                                                                      
  /*                                                                  
   * 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);           
ffc20f5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc20f60:	91 3f 00 14 	stw     r9,20(r31)                             
ffc20f64:	39 20 00 00 	li      r9,0                                   
ffc20f68:	91 5f 00 10 	stw     r10,16(r31)                            
ffc20f6c:	91 3f 00 18 	stw     r9,24(r31)                             
ffc20f70:	41 9e 00 0c 	beq-    cr7,ffc20f7c <rtems_rfs_block_map_shrink+0x320><== ALWAYS TAKEN
ffc20f74:	39 4a ff ff 	addi    r10,r10,-1                             <== NOT EXECUTED
ffc20f78:	91 5f 00 10 	stw     r10,16(r31)                            <== NOT EXECUTED
                                                                      
  return 0;                                                           
ffc20f7c:	38 60 00 00 	li      r3,0                                   
ffc20f80:	4b ff fe fc 	b       ffc20e7c <rtems_rfs_block_map_shrink+0x220>
ffc20f84:	7d 5d 53 78 	mr      r29,r10                                <== NOT EXECUTED
ffc20f88:	4b ff fd 4c 	b       ffc20cd4 <rtems_rfs_block_map_shrink+0x78><== NOT EXECUTED
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",
ffc20f8c:	80 bf 00 08 	lwz     r5,8(r31)                              <== NOT EXECUTED
ffc20f90:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc20f94:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc20f98:	38 63 b8 9c 	addi    r3,r3,-18276                           <== NOT EXECUTED
ffc20f9c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc20fa0:	48 00 8a 3d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc20fa4:	4b ff fd 1c 	b       ffc20cc0 <rtems_rfs_block_map_shrink+0x64><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
ffc20fa8:	81 1f 00 10 	lwz     r8,16(r31)                             
ffc20fac:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc20fb0:	40 bc ff a8 	bge-    cr7,ffc20f58 <rtems_rfs_block_map_shrink+0x2fc><== NEVER TAKEN
ffc20fb4:	39 2a ff ff 	addi    r9,r10,-1                              
ffc20fb8:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc20fbc:	40 9e ff c0 	bne+    cr7,ffc20f7c <rtems_rfs_block_map_shrink+0x320><== NEVER TAKEN
ffc20fc0:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc20fc4:	81 1f 00 14 	lwz     r8,20(r31)                             
ffc20fc8:	7f 88 48 40 	cmplw   cr7,r8,r9                              
ffc20fcc:	41 9d ff 90 	bgt+    cr7,ffc20f5c <rtems_rfs_block_map_shrink+0x300><== ALWAYS TAKEN
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
                                                                      
  return 0;                                                           
ffc20fd0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc20fd4:	4b ff fe a8 	b       ffc20e7c <rtems_rfs_block_map_shrink+0x220><== NOT EXECUTED
                                                                      

ffc27b10 <rtems_rfs_buffer_bdbuf_release>: int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) {
ffc27b10:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc27b14:	7d 80 00 26 	mfcr    r12                                    
ffc27b18:	7c 08 02 a6 	mflr    r0                                     
ffc27b1c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc27b20:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc27b24:	38 80 00 40 	li      r4,64                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
ffc27b28:	93 e1 00 14 	stw     r31,20(r1)                             
ffc27b2c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc27b30:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
ffc27b34:	90 01 00 1c 	stw     r0,28(r1)                              
ffc27b38:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc27b3c:	91 81 00 0c 	stw     r12,12(r1)                             
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc27b40:	4b ff 01 ed 	bl      ffc17d2c <rtems_rfs_trace>             
ffc27b44:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc27b48:	41 9e 00 28 	beq-    cr7,ffc27b70 <rtems_rfs_buffer_bdbuf_release+0x60><== ALWAYS TAKEN
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
ffc27b4c:	80 9f 00 34 	lwz     r4,52(r31)                             <== NOT EXECUTED
ffc27b50:	80 bf 00 18 	lwz     r5,24(r31)                             <== NOT EXECUTED
ffc27b54:	40 92 00 88 	bne-    cr4,ffc27bdc <rtems_rfs_buffer_bdbuf_release+0xcc><== NOT EXECUTED
ffc27b58:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc27b5c:	38 c6 ae 98 	addi    r6,r6,-20840                           <== NOT EXECUTED
ffc27b60:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc27b64:	38 63 ce 38 	addi    r3,r3,-12744                           <== NOT EXECUTED
ffc27b68:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27b6c:	48 00 1e 71 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc27b70:	7f e3 fb 78 	mr      r3,r31                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
ffc27b74:	41 92 00 34 	beq-    cr4,ffc27ba8 <rtems_rfs_buffer_bdbuf_release+0x98>
    sc = rtems_bdbuf_release_modified (buffer);                       
ffc27b78:	4b ff 2d b9 	bl      ffc1a930 <rtems_bdbuf_release_modified>
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27b7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
#if RTEMS_RFS_BUFFER_ERRORS                                           
    printf ("rtems-rfs: buffer-release: bdbuf-%s: %s(%d)\n",          
            modified ? "modified" : "not-modified",                   
            rtems_status_text (sc), sc);                              
#endif                                                                
    rc = EIO;                                                         
ffc27b80:	38 60 00 05 	li      r3,5                                   
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27b84:	41 9e 00 34 	beq-    cr7,ffc27bb8 <rtems_rfs_buffer_bdbuf_release+0xa8><== ALWAYS TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27b88:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc27b8c:	81 81 00 0c 	lwz     r12,12(r1)                             <== NOT EXECUTED
ffc27b90:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27b94:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc27b98:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc27b9c:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc27ba0:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc27ba4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
ffc27ba8:	4b ff 2c 9d 	bl      ffc1a844 <rtems_bdbuf_release>         
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27bac:	2f 83 00 00 	cmpwi   cr7,r3,0                               
#if RTEMS_RFS_BUFFER_ERRORS                                           
    printf ("rtems-rfs: buffer-release: bdbuf-%s: %s(%d)\n",          
            modified ? "modified" : "not-modified",                   
            rtems_status_text (sc), sc);                              
#endif                                                                
    rc = EIO;                                                         
ffc27bb0:	38 60 00 05 	li      r3,5                                   
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27bb4:	40 9e ff d4 	bne+    cr7,ffc27b88 <rtems_rfs_buffer_bdbuf_release+0x78><== NEVER TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27bb8:	80 01 00 1c 	lwz     r0,28(r1)                              
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
ffc27bbc:	38 60 00 00 	li      r3,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27bc0:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc27bc4:	7c 08 03 a6 	mtlr    r0                                     
ffc27bc8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc27bcc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc27bd0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc27bd4:	38 21 00 18 	addi    r1,r1,24                               
ffc27bd8:	4e 80 00 20 	blr                                            
{                                                                     
  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",
ffc27bdc:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc27be0:	38 c6 ce 2c 	addi    r6,r6,-12756                           <== NOT EXECUTED
ffc27be4:	4b ff ff 7c 	b       ffc27b60 <rtems_rfs_buffer_bdbuf_release+0x50><== NOT EXECUTED
                                                                      

ffc27ab0 <rtems_rfs_buffer_bdbuf_request>: rtems_rfs_buffer** buffer) { rtems_status_code sc; int rc = 0; if (read)
ffc27ab0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
int                                                                   
rtems_rfs_buffer_bdbuf_request (rtems_rfs_file_system*   fs,          
                                rtems_rfs_buffer_block   block,       
                                bool                     read,        
                                rtems_rfs_buffer**       buffer)      
{                                                                     
ffc27ab4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc27ab8:	7c 08 02 a6 	mflr    r0                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc27abc:	7c c5 33 78 	mr      r5,r6                                  
int                                                                   
rtems_rfs_buffer_bdbuf_request (rtems_rfs_file_system*   fs,          
                                rtems_rfs_buffer_block   block,       
                                bool                     read,        
                                rtems_rfs_buffer**       buffer)      
{                                                                     
ffc27ac0:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc27ac4:	80 63 00 10 	lwz     r3,16(r3)                              
                                rtems_rfs_buffer**       buffer)      
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
ffc27ac8:	41 9e 00 24 	beq-    cr7,ffc27aec <rtems_rfs_buffer_bdbuf_request+0x3c>
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
ffc27acc:	4b ff 2b 39 	bl      ffc1a604 <rtems_bdbuf_read>            
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27ad0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  {                                                                   
#if RTEMS_RFS_BUFFER_ERRORS                                           
    printf ("rtems-rfs: buffer-bdbuf-request: block=%lu: bdbuf-%s: %d: %s\n",
            block, read ? "read" : "get", sc, rtems_status_text (sc));
#endif                                                                
    rc = EIO;                                                         
ffc27ad4:	38 60 00 05 	li      r3,5                                   
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27ad8:	41 9e 00 24 	beq-    cr7,ffc27afc <rtems_rfs_buffer_bdbuf_request+0x4c><== ALWAYS TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27adc:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc27ae0:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc27ae4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27ae8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  int               rc = 0;                                           
                                                                      
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
ffc27aec:	4b ff 29 ad 	bl      ffc1a498 <rtems_bdbuf_get>             
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27af0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  {                                                                   
#if RTEMS_RFS_BUFFER_ERRORS                                           
    printf ("rtems-rfs: buffer-bdbuf-request: block=%lu: bdbuf-%s: %d: %s\n",
            block, read ? "read" : "get", sc, rtems_status_text (sc));
#endif                                                                
    rc = EIO;                                                         
ffc27af4:	38 60 00 05 	li      r3,5                                   
  if (read)                                                           
    sc = rtems_bdbuf_read (rtems_rfs_fs_device (fs), block, buffer);  
  else                                                                
    sc = rtems_bdbuf_get (rtems_rfs_fs_device (fs), block, buffer);   
                                                                      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc27af8:	40 9e ff e4 	bne+    cr7,ffc27adc <rtems_rfs_buffer_bdbuf_request+0x2c><== NEVER TAKEN
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27afc:	80 01 00 0c 	lwz     r0,12(r1)                              
                                rtems_rfs_buffer_block   block,       
                                bool                     read,        
                                rtems_rfs_buffer**       buffer)      
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
ffc27b00:	38 60 00 00 	li      r3,0                                   
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc27b04:	7c 08 03 a6 	mtlr    r0                                     
ffc27b08:	38 21 00 08 	addi    r1,r1,8                                
ffc27b0c:	4e 80 00 20 	blr                                            
                                                                      

ffc21c1c <rtems_rfs_buffer_close>: return 0; } int rtems_rfs_buffer_close (rtems_rfs_file_system* fs) {
ffc21c1c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc21c20:	7c 08 02 a6 	mflr    r0                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc21c24:	38 80 00 10 	li      r4,16                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc21c28:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc21c2c:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc21c30:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
ffc21c34:	90 01 00 14 	stw     r0,20(r1)                              
ffc21c38:	93 c1 00 08 	stw     r30,8(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
ffc21c3c:	4b ff 60 f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21c40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21c44:	40 9e 00 5c 	bne-    cr7,ffc21ca0 <rtems_rfs_buffer_close+0x84><== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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));
ffc21c48:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc21c4c:	7f e3 fb 78 	mr      r3,r31                                 
ffc21c50:	80 89 00 20 	lwz     r4,32(r9)                              
ffc21c54:	4b ff fe 75 	bl      ffc21ac8 <rtems_rfs_buffer_setblksize> 
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
ffc21c58:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc21c5c:	40 81 00 18 	ble-    ffc21c74 <rtems_rfs_buffer_close+0x58> <== ALWAYS TAKEN
ffc21c60:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21c64:	38 80 00 10 	li      r4,16                                  <== NOT EXECUTED
ffc21c68:	4b ff 60 c5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21c6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21c70:	40 9e 00 40 	bne-    cr7,ffc21cb0 <rtems_rfs_buffer_close+0x94><== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
ffc21c74:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc21c78:	4b fe 85 ed 	bl      ffc0a264 <close>                       
ffc21c7c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21c80:	41 9c 00 60 	blt-    cr7,ffc21ce0 <rtems_rfs_buffer_close+0xc4><== NEVER TAKEN
      printf ("rtems-rfs: buffer-close: file close failed: %d: %s\n", 
              rc, strerror (rc));                                     
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc21c84:	80 01 00 14 	lwz     r0,20(r1)                              
ffc21c88:	7f c3 f3 78 	mr      r3,r30                                 
ffc21c8c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc21c90:	7c 08 03 a6 	mtlr    r0                                     
ffc21c94:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc21c98:	38 21 00 10 	addi    r1,r1,16                               
ffc21c9c:	4e 80 00 20 	blr                                            
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");                    
ffc21ca0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21ca4:	38 63 bd 40 	addi    r3,r3,-17088                           <== NOT EXECUTED
ffc21ca8:	48 00 80 9d 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc21cac:	4b ff ff 9c 	b       ffc21c48 <rtems_rfs_buffer_close+0x2c> <== 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",
ffc21cb0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21cb4:	48 00 8e a5 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc21cb8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21cbc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc21cc0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21cc4:	38 63 bd 64 	addi    r3,r3,-17052                           <== NOT EXECUTED
ffc21cc8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21ccc:	48 00 7d 11 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
ffc21cd0:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc21cd4:	4b fe 85 91 	bl      ffc0a264 <close>                       <== NOT EXECUTED
ffc21cd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21cdc:	40 9c ff a8 	bge+    cr7,ffc21c84 <rtems_rfs_buffer_close+0x68><== NOT EXECUTED
  {                                                                   
    rc = errno;                                                       
ffc21ce0:	48 00 62 5d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))               
ffc21ce4:	38 80 00 10 	li      r4,16                                  <== 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;                                                       
ffc21ce8:	83 c3 00 00 	lwz     r30,0(r3)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))               
ffc21cec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21cf0:	4b ff 60 3d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21cf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21cf8:	41 9e ff 8c 	beq+    cr7,ffc21c84 <rtems_rfs_buffer_close+0x68><== NOT EXECUTED
      printf ("rtems-rfs: buffer-close: file close failed: %d: %s\n", 
ffc21cfc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21d00:	48 00 8e 59 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc21d04:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21d08:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc21d0c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21d10:	38 63 bd a4 	addi    r3,r3,-16988                           <== NOT EXECUTED
ffc21d14:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21d18:	48 00 7c c5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21d1c:	4b ff ff 68 	b       ffc21c84 <rtems_rfs_buffer_close+0x68> <== NOT EXECUTED
                                                                      

ffc21238 <rtems_rfs_buffer_handle_release>: } int rtems_rfs_buffer_handle_release (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle) {
ffc21238:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc2123c:	7c 08 02 a6 	mflr    r0                                     
ffc21240:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc21244:	81 24 00 08 	lwz     r9,8(r4)                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc21248:	93 c1 00 10 	stw     r30,16(r1)                             
  int rc = 0;                                                         
ffc2124c:	3b c0 00 00 	li      r30,0                                  
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc21250:	2f 89 00 00 	cmpwi   cr7,r9,0                               
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
ffc21254:	93 e1 00 14 	stw     r31,20(r1)                             
ffc21258:	7c 9f 23 78 	mr      r31,r4                                 
ffc2125c:	93 a1 00 0c 	stw     r29,12(r1)                             
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
ffc21260:	41 9e 00 48 	beq-    cr7,ffc212a8 <rtems_rfs_buffer_handle_release+0x70>
ffc21264:	7c 7d 1b 78 	mr      r29,r3                                 
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
ffc21268:	38 80 02 00 	li      r4,512                                 
ffc2126c:	38 60 00 00 	li      r3,0                                   
ffc21270:	4b ff 6a bd 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21274:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21278:	40 9e 00 50 	bne-    cr7,ffc212c8 <rtems_rfs_buffer_handle_release+0x90><== NEVER TAKEN
              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)                           
ffc2127c:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc21280:	83 c3 00 30 	lwz     r30,48(r3)                             
ffc21284:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc21288:	40 9d 00 10 	ble-    cr7,ffc21298 <rtems_rfs_buffer_handle_release+0x60><== NEVER TAKEN
      rtems_rfs_buffer_refs_down (handle);                            
ffc2128c:	3b de ff ff 	addi    r30,r30,-1                             
ffc21290:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc21294:	93 c3 00 30 	stw     r30,48(r3)                             
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
ffc21298:	41 9e 00 74 	beq-    cr7,ffc2130c <rtems_rfs_buffer_handle_release+0xd4>
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
  int rc = 0;                                                         
ffc2129c:	3b c0 00 00 	li      r30,0                                  
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
        }                                                             
      }                                                               
    }                                                                 
    handle->buffer = NULL;                                            
ffc212a0:	39 20 00 00 	li      r9,0                                   
ffc212a4:	91 3f 00 08 	stw     r9,8(r31)                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc212a8:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc212ac:	7f c3 f3 78 	mr      r3,r30                                 
ffc212b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc212b4:	7c 08 03 a6 	mtlr    r0                                     
ffc212b8:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc212bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc212c0:	38 21 00 18 	addi    r1,r1,24                               
ffc212c4:	4e 80 00 20 	blr                                            
  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",
ffc212c8:	89 3f 00 00 	lbz     r9,0(r31)                              <== NOT EXECUTED
ffc212cc:	80 9f 00 04 	lwz     r4,4(r31)                              <== NOT EXECUTED
ffc212d0:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc212d4:	40 9e 00 98 	bne-    cr7,ffc2136c <rtems_rfs_buffer_handle_release+0x134><== 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" : "");
ffc212d8:	81 3f 00 08 	lwz     r9,8(r31)                              <== 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",
ffc212dc:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc212e0:	38 a5 ae 98 	addi    r5,r5,-20840                           <== 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" : "");
ffc212e4:	80 c9 00 30 	lwz     r6,48(r9)                              <== 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",
ffc212e8:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc212ec:	40 9e 00 98 	bne-    cr7,ffc21384 <rtems_rfs_buffer_handle_release+0x14c><== NOT EXECUTED
ffc212f0:	3c e0 ff c4 	lis     r7,-60                                 <== NOT EXECUTED
ffc212f4:	38 e7 b9 5c 	addi    r7,r7,-18084                           <== NOT EXECUTED
ffc212f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc212fc:	38 63 b9 6c 	addi    r3,r3,-18068                           <== NOT EXECUTED
ffc21300:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21304:	48 00 86 d9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21308:	4b ff ff 74 	b       ffc2127c <rtems_rfs_buffer_handle_release+0x44><== NOT EXECUTED
ffc2130c:	4b ff c3 f5 	bl      ffc1d700 <_Chain_Extract>              
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc21310:	81 5d 00 00 	lwz     r10,0(r29)                             
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
ffc21314:	81 3d 00 50 	lwz     r9,80(r29)                             
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc21318:	71 48 00 02 	andi.   r8,r10,2                               
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
ffc2131c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc21320:	91 3d 00 50 	stw     r9,80(r29)                             
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
ffc21324:	40 82 00 6c 	bne-    ffc21390 <rtems_rfs_buffer_handle_release+0x158>
         * 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 +                                      
ffc21328:	81 1d 00 70 	lwz     r8,112(r29)                            
                                                                      
int                                                                   
rtems_rfs_buffer_handle_release (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle)     
{                                                                     
  int rc = 0;                                                         
ffc2132c:	3b c0 00 00 	li      r30,0                                  
         * 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 +                                      
ffc21330:	81 5d 00 60 	lwz     r10,96(r29)                            
ffc21334:	81 3d 00 40 	lwz     r9,64(r29)                             
ffc21338:	7d 48 52 14 	add     r10,r8,r10                             
ffc2133c:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc21340:	40 9c 00 80 	bge-    cr7,ffc213c0 <rtems_rfs_buffer_handle_release+0x188>
          }                                                           
          buffer->user = (void*) 0;                                   
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
        }                                                             
                                                                      
        if (rtems_rfs_buffer_dirty (handle))                          
ffc21344:	89 3f 00 00 	lbz     r9,0(r31)                              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc21348:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc2134c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc21350:	41 9e 00 58 	beq-    cr7,ffc213a8 <rtems_rfs_buffer_handle_release+0x170>
ffc21354:	38 7d 00 64 	addi    r3,r29,100                             
ffc21358:	4b fe f7 c1 	bl      ffc10b18 <_Chain_Append>               
        {                                                             
          rtems_chain_append (&fs->release_modified,                  
                              rtems_rfs_buffer_link (handle));        
          fs->release_modified_count++;                               
ffc2135c:	81 3d 00 70 	lwz     r9,112(r29)                            
ffc21360:	39 29 00 01 	addi    r9,r9,1                                
ffc21364:	91 3d 00 70 	stw     r9,112(r29)                            
ffc21368:	4b ff ff 38 	b       ffc212a0 <rtems_rfs_buffer_handle_release+0x68>
    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" : "");
ffc2136c:	81 3f 00 08 	lwz     r9,8(r31)                              <== 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",
ffc21370:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc21374:	38 a5 b9 54 	addi    r5,r5,-18092                           <== 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" : "");
ffc21378:	80 c9 00 30 	lwz     r6,48(r9)                              <== 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",
ffc2137c:	2f 86 00 00 	cmpwi   cr7,r6,0                               <== NOT EXECUTED
ffc21380:	41 be ff 70 	beq-    cr7,ffc212f0 <rtems_rfs_buffer_handle_release+0xb8><== NOT EXECUTED
ffc21384:	3c e0 ff c4 	lis     r7,-60                                 <== NOT EXECUTED
ffc21388:	38 e7 ae 98 	addi    r7,r7,-20840                           <== NOT EXECUTED
ffc2138c:	4b ff ff 6c 	b       ffc212f8 <rtems_rfs_buffer_handle_release+0xc0><== 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;                             
ffc21390:	80 7f 00 08 	lwz     r3,8(r31)                              
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc21394:	88 9f 00 00 	lbz     r4,0(r31)                              
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
      {                                                               
        handle->buffer->user = (void*) 0;                             
ffc21398:	93 c3 00 34 	stw     r30,52(r3)                             
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
ffc2139c:	48 00 67 75 	bl      ffc27b10 <rtems_rfs_buffer_bdbuf_release>
ffc213a0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc213a4:	4b ff fe fc 	b       ffc212a0 <rtems_rfs_buffer_handle_release+0x68>
ffc213a8:	38 7d 00 54 	addi    r3,r29,84                              
ffc213ac:	4b fe f7 6d 	bl      ffc10b18 <_Chain_Append>               
          fs->release_modified_count++;                               
        }                                                             
        else                                                          
        {                                                             
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
ffc213b0:	81 3d 00 60 	lwz     r9,96(r29)                             
ffc213b4:	39 29 00 01 	addi    r9,r9,1                                
ffc213b8:	91 3d 00 60 	stw     r9,96(r29)                             
ffc213bc:	4b ff fe e4 	b       ffc212a0 <rtems_rfs_buffer_handle_release+0x68>
             fs->release_modified_count) >= fs->max_held_buffers)     
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
ffc213c0:	38 60 00 00 	li      r3,0                                   
ffc213c4:	38 80 02 00 	li      r4,512                                 
ffc213c8:	4b ff 69 65 	bl      ffc17d2c <rtems_rfs_trace>             
ffc213cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc213d0:	40 9e 00 5c 	bne-    cr7,ffc2142c <rtems_rfs_buffer_handle_release+0x1f4><== NEVER TAKEN
            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)         
ffc213d4:	81 5d 00 60 	lwz     r10,96(r29)                            
ffc213d8:	81 3d 00 70 	lwz     r9,112(r29)                            
ffc213dc:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc213e0:	40 9d 00 30 	ble-    cr7,ffc21410 <rtems_rfs_buffer_handle_release+0x1d8>
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc213e4:	38 7d 00 54 	addi    r3,r29,84                              
ffc213e8:	4b fe f7 61 	bl      ffc10b48 <_Chain_Get>                  
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
ffc213ec:	81 3d 00 60 	lwz     r9,96(r29)                             
            modified = false;                                         
ffc213f0:	38 80 00 00 	li      r4,0                                   
                    " %" 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--;                                      
ffc213f4:	39 29 ff ff 	addi    r9,r9,-1                               
ffc213f8:	91 3d 00 60 	stw     r9,96(r29)                             
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
            modified = true;                                          
          }                                                           
          buffer->user = (void*) 0;                                   
ffc213fc:	39 20 00 00 	li      r9,0                                   
ffc21400:	91 23 00 34 	stw     r9,52(r3)                              
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
ffc21404:	48 00 67 0d 	bl      ffc27b10 <rtems_rfs_buffer_bdbuf_release>
ffc21408:	7c 7e 1b 78 	mr      r30,r3                                 
ffc2140c:	4b ff ff 38 	b       ffc21344 <rtems_rfs_buffer_handle_release+0x10c>
ffc21410:	38 7d 00 64 	addi    r3,r29,100                             
ffc21414:	4b fe f7 35 	bl      ffc10b48 <_Chain_Get>                  
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc21418:	81 3d 00 70 	lwz     r9,112(r29)                            
            modified = true;                                          
ffc2141c:	38 80 00 01 	li      r4,1                                   
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
ffc21420:	39 29 ff ff 	addi    r9,r9,-1                               
ffc21424:	91 3d 00 70 	stw     r9,112(r29)                            
ffc21428:	4b ff ff d4 	b       ffc213fc <rtems_rfs_buffer_handle_release+0x1c4>
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
            printf ("rtems-rfs: buffer-release: local cache overflow:"
ffc2142c:	80 9d 00 70 	lwz     r4,112(r29)                            <== NOT EXECUTED
ffc21430:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21434:	81 3d 00 60 	lwz     r9,96(r29)                             <== NOT EXECUTED
ffc21438:	38 63 b9 a0 	addi    r3,r3,-18016                           <== NOT EXECUTED
ffc2143c:	7c 84 4a 14 	add     r4,r4,r9                               <== NOT EXECUTED
ffc21440:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21444:	48 00 85 99 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21448:	4b ff ff 8c 	b       ffc213d4 <rtems_rfs_buffer_handle_release+0x19c><== NOT EXECUTED
                                                                      

ffc2144c <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) {
ffc2144c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc21450:	7c 08 02 a6 	mflr    r0                                     
ffc21454:	90 01 00 24 	stw     r0,36(r1)                              
                                                                      
  /*                                                                  
   * 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))                     
ffc21458:	81 24 00 08 	lwz     r9,8(r4)                               
int                                                                   
rtems_rfs_buffer_handle_request (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle,     
                                 rtems_rfs_buffer_block   block,      
                                 bool                     read)       
{                                                                     
ffc2145c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc21460:	7c db 33 78 	mr      r27,r6                                 
                                                                      
  /*                                                                  
   * 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))                     
ffc21464:	2f 89 00 00 	cmpwi   cr7,r9,0                               
int                                                                   
rtems_rfs_buffer_handle_request (rtems_rfs_file_system*   fs,         
                                 rtems_rfs_buffer_handle* handle,     
                                 rtems_rfs_buffer_block   block,      
                                 bool                     read)       
{                                                                     
ffc21468:	93 a1 00 14 	stw     r29,20(r1)                             
ffc2146c:	7c bd 2b 78 	mr      r29,r5                                 
ffc21470:	93 c1 00 18 	stw     r30,24(r1)                             
ffc21474:	7c 7e 1b 78 	mr      r30,r3                                 
ffc21478:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc2147c:	7c 9f 23 78 	mr      r31,r4                                 
ffc21480:	93 81 00 10 	stw     r28,16(r1)                             
                                                                      
  /*                                                                  
   * 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))                     
ffc21484:	41 9e 00 78 	beq-    cr7,ffc214fc <rtems_rfs_buffer_handle_request+0xb0>
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
ffc21488:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc2148c:	41 9e 00 10 	beq-    cr7,ffc2149c <rtems_rfs_buffer_handle_request+0x50><== NEVER TAKEN
ffc21490:	81 24 00 04 	lwz     r9,4(r4)                               
ffc21494:	7f 89 28 00 	cmpw    cr7,r9,r5                              
ffc21498:	41 9e 01 0c 	beq-    cr7,ffc215a4 <rtems_rfs_buffer_handle_request+0x158>
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc2149c:	38 60 00 00 	li      r3,0                                   
ffc214a0:	38 80 01 00 	li      r4,256                                 
ffc214a4:	4b ff 68 89 	bl      ffc17d2c <rtems_rfs_trace>             
ffc214a8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc214ac:	40 9e 01 24 	bne-    cr7,ffc215d0 <rtems_rfs_buffer_handle_request+0x184><== NEVER TAKEN
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
ffc214b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc214b4:	7f e4 fb 78 	mr      r4,r31                                 
ffc214b8:	4b ff fd 81 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
    if (rc > 0)                                                       
ffc214bc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc214c0:	40 81 00 2c 	ble-    ffc214ec <rtems_rfs_buffer_handle_request+0xa0><== ALWAYS TAKEN
    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;                                                           
}                                                                     
ffc214c4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc214c8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc214cc:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc214d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc214d4:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc214d8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc214dc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc214e0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc214e4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc214e8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
    if (rc > 0)                                                       
      return rc;                                                      
    handle->dirty = false;                                            
ffc214ec:	39 20 00 00 	li      r9,0                                   
ffc214f0:	99 3f 00 00 	stb     r9,0(r31)                              
    handle->bnum = 0;                                                 
ffc214f4:	39 20 00 00 	li      r9,0                                   
ffc214f8:	91 3f 00 04 	stw     r9,4(r31)                              
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc214fc:	38 60 00 00 	li      r3,0                                   
ffc21500:	38 80 01 00 	li      r4,256                                 
ffc21504:	4b ff 68 29 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21508:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2150c:	40 9e 01 74 	bne-    cr7,ffc21680 <rtems_rfs_buffer_handle_request+0x234><== NEVER TAKEN
   * 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)                                              
ffc21510:	81 3e 00 50 	lwz     r9,80(r30)                             
ffc21514:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc21518:	40 9e 01 18 	bne-    cr7,ffc21630 <rtems_rfs_buffer_handle_request+0x1e4>
  /*                                                                  
   * 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) &&                            
ffc2151c:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc21520:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc21524:	71 2a 00 02 	andi.   r10,r9,2                               
ffc21528:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc2152c:	41 82 00 bc 	beq-    ffc215e8 <rtems_rfs_buffer_handle_request+0x19c>
  }                                                                   
                                                                      
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
ffc21530:	41 9e 01 80 	beq-    cr7,ffc216b0 <rtems_rfs_buffer_handle_request+0x264><== ALWAYS TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
ffc21534:	81 24 00 30 	lwz     r9,48(r4)                              
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
ffc21538:	38 7e 00 44 	addi    r3,r30,68                              
ffc2153c:	39 29 00 01 	addi    r9,r9,1                                
ffc21540:	91 24 00 30 	stw     r9,48(r4)                              
ffc21544:	4b fe f5 d5 	bl      ffc10b18 <_Chain_Append>               
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
ffc21548:	81 5e 00 50 	lwz     r10,80(r30)                            
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
ffc2154c:	81 3f 00 08 	lwz     r9,8(r31)                              
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21550:	38 60 00 00 	li      r3,0                                   
  /*                                                                  
   * 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++;                                                
ffc21554:	39 4a 00 01 	addi    r10,r10,1                              
ffc21558:	91 5e 00 50 	stw     r10,80(r30)                            
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
  handle->bnum = block;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc2155c:	38 80 01 00 	li      r4,256                                 
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
ffc21560:	93 a9 00 34 	stw     r29,52(r9)                             
  handle->bnum = block;                                               
ffc21564:	93 bf 00 04 	stw     r29,4(r31)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
ffc21568:	4b ff 67 c5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2156c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21570:	41 9e 00 34 	beq-    cr7,ffc215a4 <rtems_rfs_buffer_handle_request+0x158><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
ffc21574:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc21578:	41 9e 01 20 	beq-    cr7,ffc21698 <rtems_rfs_buffer_handle_request+0x24c><== NOT EXECUTED
ffc2157c:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc21580:	38 a5 b0 dc 	addi    r5,r5,-20260                           <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
ffc21584:	81 3f 00 08 	lwz     r9,8(r31)                              <== 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",
ffc21588:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2158c:	38 63 ba a4 	addi    r3,r3,-17756                           <== NOT EXECUTED
ffc21590:	80 c9 00 18 	lwz     r6,24(r9)                              <== NOT EXECUTED
ffc21594:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc21598:	80 e9 00 30 	lwz     r7,48(r9)                              <== NOT EXECUTED
ffc2159c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc215a0:	48 00 84 3d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
}                                                                     
ffc215a4:	80 01 00 24 	lwz     r0,36(r1)                              
  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;                                                           
ffc215a8:	3b 80 00 00 	li      r28,0                                  
}                                                                     
ffc215ac:	7f 83 e3 78 	mr      r3,r28                                 
ffc215b0:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc215b4:	7c 08 03 a6 	mtlr    r0                                     
ffc215b8:	83 81 00 10 	lwz     r28,16(r1)                             
ffc215bc:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc215c0:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc215c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc215c8:	38 21 00 20 	addi    r1,r1,32                               
ffc215cc:	4e 80 00 20 	blr                                            
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
ffc215d0:	80 9f 00 04 	lwz     r4,4(r31)                              <== NOT EXECUTED
ffc215d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc215d8:	38 63 b9 dc 	addi    r3,r3,-17956                           <== NOT EXECUTED
ffc215dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc215e0:	48 00 83 fd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc215e4:	4b ff fe cc 	b       ffc214b0 <rtems_rfs_buffer_handle_request+0x64><== 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) &&                            
ffc215e8:	40 9e ff 4c 	bne+    cr7,ffc21534 <rtems_rfs_buffer_handle_request+0xe8>
      !rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
ffc215ec:	81 3e 00 60 	lwz     r9,96(r30)                             
ffc215f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc215f4:	40 9e 01 48 	bne-    cr7,ffc2173c <rtems_rfs_buffer_handle_request+0x2f0>
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc215f8:	81 3e 00 70 	lwz     r9,112(r30)                            
ffc215fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc21600:	41 be 00 b0 	beq+    cr7,ffc216b0 <rtems_rfs_buffer_handle_request+0x264>
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
ffc21604:	38 9e 00 70 	addi    r4,r30,112                             
ffc21608:	38 7e 00 64 	addi    r3,r30,100                             
ffc2160c:	7f a5 eb 78 	mr      r5,r29                                 
ffc21610:	4b ff fa b5 	bl      ffc210c4 <rtems_rfs_scan_chain>        
                                             &fs->release_modified_count,
                                             block);                  
      /*                                                              
       * If we found a buffer retain the dirty buffer state.          
       */                                                             
      if (rtems_rfs_buffer_handle_has_block (handle))                 
ffc21614:	2f 83 00 00 	cmpwi   cr7,r3,0                               
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
ffc21618:	90 7f 00 08 	stw     r3,8(r31)                              
ffc2161c:	7c 64 1b 78 	mr      r4,r3                                  
                                             &fs->release_modified_count,
                                             block);                  
      /*                                                              
       * If we found a buffer retain the dirty buffer state.          
       */                                                             
      if (rtems_rfs_buffer_handle_has_block (handle))                 
ffc21620:	41 9e 00 90 	beq-    cr7,ffc216b0 <rtems_rfs_buffer_handle_request+0x264>
        rtems_rfs_buffer_mark_dirty (handle);                         
ffc21624:	39 20 00 01 	li      r9,1                                   
ffc21628:	99 3f 00 00 	stb     r9,0(r31)                              
ffc2162c:	4b ff ff 08 	b       ffc21534 <rtems_rfs_buffer_handle_request+0xe8>
  if (fs->buffers_count)                                              
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
ffc21630:	38 7e 00 44 	addi    r3,r30,68                              
ffc21634:	38 9e 00 50 	addi    r4,r30,80                              
ffc21638:	7f a5 eb 78 	mr      r5,r29                                 
ffc2163c:	4b ff fa 89 	bl      ffc210c4 <rtems_rfs_scan_chain>        
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc21640:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  if (fs->buffers_count)                                              
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
ffc21644:	90 7f 00 08 	stw     r3,8(r31)                              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
ffc21648:	41 9e 00 5c 	beq-    cr7,ffc216a4 <rtems_rfs_buffer_handle_request+0x258>
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
ffc2164c:	38 60 00 00 	li      r3,0                                   
ffc21650:	38 80 01 00 	li      r4,256                                 
ffc21654:	4b ff 66 d9 	bl      ffc17d2c <rtems_rfs_trace>             
     * 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) &&                 
ffc21658:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2165c:	41 9e fe c0 	beq+    cr7,ffc2151c <rtems_rfs_buffer_handle_request+0xd0><== ALWAYS TAKEN
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 
              rtems_rfs_buffer_refs (handle) + 1);                    
ffc21660:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 
ffc21664:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21668:	38 63 ba 38 	addi    r3,r3,-17864                           <== NOT EXECUTED
ffc2166c:	80 89 00 30 	lwz     r4,48(r9)                              <== NOT EXECUTED
ffc21670:	38 84 00 01 	addi    r4,r4,1                                <== NOT EXECUTED
ffc21674:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21678:	48 00 83 65 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2167c:	4b ff fe a0 	b       ffc2151c <rtems_rfs_buffer_handle_request+0xd0><== 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); 
ffc21680:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21684:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc21688:	38 63 ba 10 	addi    r3,r3,-17904                           <== NOT EXECUTED
ffc2168c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21690:	48 00 83 4d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21694:	4b ff fe 7c 	b       ffc21510 <rtems_rfs_buffer_handle_request+0xc4><== 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",
ffc21698:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc2169c:	38 a5 b9 d8 	addi    r5,r5,-17960                           <== NOT EXECUTED
ffc216a0:	4b ff fe e4 	b       ffc21584 <rtems_rfs_buffer_handle_request+0x138><== 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) &&                            
ffc216a4:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc216a8:	71 2a 00 02 	andi.   r10,r9,2                               
ffc216ac:	41 a2 ff 40 	beq-    ffc215ec <rtems_rfs_buffer_handle_request+0x1a0>
  /*                                                                  
   * 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);
ffc216b0:	7f c3 f3 78 	mr      r3,r30                                 
ffc216b4:	7f a4 eb 78 	mr      r4,r29                                 
ffc216b8:	7f 65 db 78 	mr      r5,r27                                 
ffc216bc:	38 df 00 08 	addi    r6,r31,8                               
ffc216c0:	48 00 63 f1 	bl      ffc27ab0 <rtems_rfs_buffer_bdbuf_request>
                                                                      
    if (rc > 0)                                                       
ffc216c4:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc216c8:	40 81 00 54 	ble-    ffc2171c <rtems_rfs_buffer_handle_request+0x2d0><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
ffc216cc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc216d0:	38 80 01 00 	li      r4,256                                 <== NOT EXECUTED
ffc216d4:	4b ff 66 59 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc216d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc216dc:	41 be fd e8 	beq-    cr7,ffc214c4 <rtems_rfs_buffer_handle_request+0x78><== NOT EXECUTED
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
ffc216e0:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
ffc216e4:	41 9e 00 4c 	beq-    cr7,ffc21730 <rtems_rfs_buffer_handle_request+0x2e4><== NOT EXECUTED
ffc216e8:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc216ec:	3b ff b0 dc 	addi    r31,r31,-20260                         <== NOT EXECUTED
ffc216f0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc216f4:	48 00 94 65 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc216f8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc216fc:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc21700:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21704:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc21708:	7f 86 e3 78 	mr      r6,r28                                 <== NOT EXECUTED
ffc2170c:	38 63 ba 6c 	addi    r3,r3,-17812                           <== NOT EXECUTED
ffc21710:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21714:	48 00 82 c9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21718:	4b ff fd ac 	b       ffc214c4 <rtems_rfs_buffer_handle_request+0x78><== NOT EXECUTED
                block, read ? "read" : "get", rc, strerror (rc));     
      return rc;                                                      
    }                                                                 
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
ffc2171c:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc21720:	39 20 00 00 	li      r9,0                                   
ffc21724:	91 24 00 04 	stw     r9,4(r4)                               
ffc21728:	91 24 00 00 	stw     r9,0(r4)                               
ffc2172c:	4b ff fe 08 	b       ffc21534 <rtems_rfs_buffer_handle_request+0xe8>
    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",
ffc21730:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc21734:	3b ff b9 d8 	addi    r31,r31,-17960                         <== NOT EXECUTED
ffc21738:	4b ff ff b8 	b       ffc216f0 <rtems_rfs_buffer_handle_request+0x2a4><== NOT EXECUTED
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
ffc2173c:	38 9e 00 60 	addi    r4,r30,96                              
ffc21740:	38 7e 00 54 	addi    r3,r30,84                              
ffc21744:	7f a5 eb 78 	mr      r5,r29                                 
ffc21748:	4b ff f9 7d 	bl      ffc210c4 <rtems_rfs_scan_chain>        
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc2174c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
ffc21750:	90 7f 00 08 	stw     r3,8(r31)                              
ffc21754:	7c 64 1b 78 	mr      r4,r3                                  
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
ffc21758:	40 9e fd dc 	bne+    cr7,ffc21534 <rtems_rfs_buffer_handle_request+0xe8>
ffc2175c:	4b ff fe 9c 	b       ffc215f8 <rtems_rfs_buffer_handle_request+0x1ac>
                                                                      

ffc21760 <rtems_rfs_buffer_open>: return rc; } int rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs) {
ffc21760:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc21764:	7c 08 02 a6 	mflr    r0                                     
ffc21768:	93 c1 00 58 	stw     r30,88(r1)                             
ffc2176c:	7c 9e 23 78 	mr      r30,r4                                 
  struct stat st;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  int rv;                                                             
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21770:	38 80 00 20 	li      r4,32                                  
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
ffc21774:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc21778:	7c 7f 1b 78 	mr      r31,r3                                 
  struct stat st;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  int rv;                                                             
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc2177c:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs)   
{                                                                     
ffc21780:	90 01 00 64 	stw     r0,100(r1)                             
  struct stat st;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  int rv;                                                             
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21784:	4b ff 65 a9 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21788:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2178c:	40 9e 00 74 	bne-    cr7,ffc21800 <rtems_rfs_buffer_open+0xa0><== NEVER TAKEN
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  fs->device = open (name, O_RDWR);                                   
ffc21790:	7f e3 fb 78 	mr      r3,r31                                 
ffc21794:	38 80 00 02 	li      r4,2                                   
ffc21798:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc2179c:	4b fe 9d a1 	bl      ffc0b53c <open>                        
  if (fs->device < 0)                                                 
ffc217a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  fs->device = open (name, O_RDWR);                                   
ffc217a4:	90 7e 00 0c 	stw     r3,12(r30)                             
  if (fs->device < 0)                                                 
ffc217a8:	41 9c 00 88 	blt-    cr7,ffc21830 <rtems_rfs_buffer_open+0xd0><== NEVER TAKEN
    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)                                    
ffc217ac:	38 81 00 08 	addi    r4,r1,8                                
ffc217b0:	4b fe 8c 39 	bl      ffc0a3e8 <fstat>                       
ffc217b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc217b8:	41 9c 01 18 	blt-    cr7,ffc218d0 <rtems_rfs_buffer_open+0x170><== NEVER TAKEN
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
ffc217bc:	81 21 00 14 	lwz     r9,20(r1)                              
ffc217c0:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
ffc217c4:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc217c8:	41 9e 00 8c 	beq-    cr7,ffc21854 <rtems_rfs_buffer_open+0xf4><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc217cc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc217d0:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc217d4:	4b ff 65 59 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc217d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc217dc:	40 9e 00 c0 	bne-    cr7,ffc2189c <rtems_rfs_buffer_open+0x13c><== 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;                                                     
ffc217e0:	3b e0 00 06 	li      r31,6                                  <== 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;                                                           
}                                                                     
ffc217e4:	80 01 00 64 	lwz     r0,100(r1)                             
ffc217e8:	7f e3 fb 78 	mr      r3,r31                                 
ffc217ec:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc217f0:	7c 08 03 a6 	mtlr    r0                                     
ffc217f4:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc217f8:	38 21 00 60 	addi    r1,r1,96                               
ffc217fc:	4e 80 00 20 	blr                                            
#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);           
ffc21800:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21804:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21808:	38 63 ba e0 	addi    r3,r3,-17696                           <== NOT EXECUTED
ffc2180c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21810:	48 00 81 cd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  fs->device = open (name, O_RDWR);                                   
ffc21814:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc21818:	38 80 00 02 	li      r4,2                                   <== NOT EXECUTED
ffc2181c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21820:	4b fe 9d 1d 	bl      ffc0b53c <open>                        <== NOT EXECUTED
  if (fs->device < 0)                                                 
ffc21824:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  fs->device = open (name, O_RDWR);                                   
ffc21828:	90 7e 00 0c 	stw     r3,12(r30)                             <== NOT EXECUTED
  if (fs->device < 0)                                                 
ffc2182c:	40 9c ff 80 	bge+    cr7,ffc217ac <rtems_rfs_buffer_open+0x4c><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21830:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21834:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc21838:	4b ff 64 f5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2183c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21840:	41 9e ff a0 	beq+    cr7,ffc217e0 <rtems_rfs_buffer_open+0x80><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot open file\n");          
ffc21844:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21848:	38 63 bb 08 	addi    r3,r3,-17656                           <== NOT EXECUTED
ffc2184c:	48 00 84 f9 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc21850:	4b ff ff 90 	b       ffc217e0 <rtems_rfs_buffer_open+0x80>  <== 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);                   
ffc21854:	80 7e 00 0c 	lwz     r3,12(r30)                             
ffc21858:	3c 80 40 04 	lis     r4,16388                               
ffc2185c:	60 84 42 09 	ori     r4,r4,16905                            
ffc21860:	38 be 00 10 	addi    r5,r30,16                              
ffc21864:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc21868:	4b fe 8d 09 	bl      ffc0a570 <ioctl>                       
                                                                      
  /*                                                                  
   * 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)                                                        
ffc2186c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21870:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   * 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)                                                        
ffc21874:	41 9e 00 9c 	beq-    cr7,ffc21910 <rtems_rfs_buffer_open+0x1b0><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc21878:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc2187c:	4b ff 64 b1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21880:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21884:	41 9e ff 5c 	beq+    cr7,ffc217e0 <rtems_rfs_buffer_open+0x80><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
ffc21888:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2188c:	38 63 bb 98 	addi    r3,r3,-17512                           <== NOT EXECUTED
ffc21890:	48 00 84 b5 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
    return ENXIO;                                                     
ffc21894:	3b e0 00 06 	li      r31,6                                  <== NOT EXECUTED
ffc21898:	4b ff ff 4c 	b       ffc217e4 <rtems_rfs_buffer_open+0x84>  <== 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);
ffc2189c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc218a0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc218a4:	38 63 bb 64 	addi    r3,r3,-17564                           <== NOT EXECUTED
ffc218a8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc218ac:	48 00 81 31 	bl      ffc299dc <printf>                      <== 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;                                                           
}                                                                     
ffc218b0:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
   */                                                                 
  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);
    return ENXIO;                                                     
ffc218b4:	3b e0 00 06 	li      r31,6                                  <== 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;                                                           
}                                                                     
ffc218b8:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc218bc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc218c0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc218c4:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc218c8:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc218cc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    return ENXIO;                                                     
  }                                                                   
                                                                      
  if (fstat (fs->device, &st) < 0)                                    
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
ffc218d0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc218d4:	38 80 00 08 	li      r4,8                                   <== NOT EXECUTED
ffc218d8:	4b ff 64 55 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc218dc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc218e0:	41 9e ff 00 	beq+    cr7,ffc217e0 <rtems_rfs_buffer_open+0x80><== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
ffc218e4:	48 00 66 59 	bl      ffc27f3c <__errno>                     <== 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",       
ffc218e8:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc218ec:	48 00 92 6d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc218f0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc218f4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc218f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc218fc:	38 63 bb 34 	addi    r3,r3,-17612                           <== NOT EXECUTED
ffc21900:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21904:	48 00 80 d9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              name, strerror (errno));                                
    return ENXIO;                                                     
ffc21908:	3b e0 00 06 	li      r31,6                                  <== NOT EXECUTED
ffc2190c:	4b ff fe d8 	b       ffc217e4 <rtems_rfs_buffer_open+0x84>  <== NOT EXECUTED
#else                                                                 
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21910:	38 80 00 20 	li      r4,32                                  
ffc21914:	4b ff 64 19 	bl      ffc17d2c <rtems_rfs_trace>             
    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;                                                           
ffc21918:	3b e0 00 00 	li      r31,0                                  
#else                                                                 
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc2191c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21920:	41 9e fe c4 	beq+    cr7,ffc217e4 <rtems_rfs_buffer_open+0x84><== ALWAYS TAKEN
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
            rtems_rfs_fs_media_blocks (fs),                           
ffc21924:	81 3e 00 10 	lwz     r9,16(r30)                             <== NOT EXECUTED
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: blks=%" PRId32 ", blk-size=%" PRId32 "\n",
ffc21928:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2192c:	38 63 bb c8 	addi    r3,r3,-17464                           <== NOT EXECUTED
ffc21930:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc21934:	80 a9 00 20 	lwz     r5,32(r9)                              <== NOT EXECUTED
ffc21938:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2193c:	48 00 80 a1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21940:	4b ff fe a4 	b       ffc217e4 <rtems_rfs_buffer_open+0x84>  <== NOT EXECUTED
                                                                      

ffc21ac8 <rtems_rfs_buffer_setblksize>: return result; } int rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size) {
ffc21ac8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc21acc:	7c 08 02 a6 	mflr    r0                                     
ffc21ad0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc21ad4:	7c 7f 1b 78 	mr      r31,r3                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc21ad8:	38 60 00 00 	li      r3,0                                   
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc21adc:	90 81 00 08 	stw     r4,8(r1)                               
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc21ae0:	38 80 04 00 	li      r4,1024                                
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
ffc21ae4:	90 01 00 1c 	stw     r0,28(r1)                              
ffc21ae8:	93 c1 00 10 	stw     r30,16(r1)                             
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
ffc21aec:	4b ff 62 41 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21af0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21af4:	40 9e 00 88 	bne-    cr7,ffc21b7c <rtems_rfs_buffer_setblksize+0xb4><== NEVER TAKEN
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
ffc21af8:	7f e3 fb 78 	mr      r3,r31                                 
ffc21afc:	4b ff ff 21 	bl      ffc21a1c <rtems_rfs_buffers_release>   
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc21b00:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc21b04:	40 81 00 18 	ble-    ffc21b1c <rtems_rfs_buffer_setblksize+0x54><== ALWAYS TAKEN
ffc21b08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21b0c:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc21b10:	4b ff 62 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21b14:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21b18:	40 9e 00 e0 	bne-    cr7,ffc21bf8 <rtems_rfs_buffer_setblksize+0x130><== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_buffer_sync (fs);                                    
ffc21b1c:	7f e3 fb 78 	mr      r3,r31                                 
ffc21b20:	4b ff fe 25 	bl      ffc21944 <rtems_rfs_buffer_sync>       
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
ffc21b24:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc21b28:	40 81 00 18 	ble-    ffc21b40 <rtems_rfs_buffer_setblksize+0x78><== ALWAYS TAKEN
ffc21b2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21b30:	38 80 04 00 	li      r4,1024                                <== NOT EXECUTED
ffc21b34:	4b ff 61 f9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21b38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21b3c:	40 9e 00 58 	bne-    cr7,ffc21b94 <rtems_rfs_buffer_setblksize+0xcc><== 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);     
ffc21b40:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc21b44:	3c 80 80 04 	lis     r4,-32764                              
ffc21b48:	60 84 42 04 	ori     r4,r4,16900                            
ffc21b4c:	81 23 00 38 	lwz     r9,56(r3)                              
ffc21b50:	38 a1 00 08 	addi    r5,r1,8                                
ffc21b54:	7d 29 03 a6 	mtctr   r9                                     
ffc21b58:	4e 80 04 21 	bctrl                                          
  if (rc < 0)                                                         
ffc21b5c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc21b60:	41 80 00 78 	blt-    ffc21bd8 <rtems_rfs_buffer_setblksize+0x110><== NEVER TAKEN
    rc = errno;                                                       
#endif                                                                
  return rc;                                                          
}                                                                     
ffc21b64:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc21b68:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc21b6c:	7c 08 03 a6 	mtlr    r0                                     
ffc21b70:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc21b74:	38 21 00 18 	addi    r1,r1,24                               
ffc21b78:	4e 80 00 20 	blr                                            
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); 
ffc21b7c:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc21b80:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21b84:	38 63 bc 94 	addi    r3,r3,-17260                           <== NOT EXECUTED
ffc21b88:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21b8c:	48 00 7e 51 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21b90:	4b ff ff 68 	b       ffc21af8 <rtems_rfs_buffer_setblksize+0x30><== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
            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",
ffc21b94:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21b98:	48 00 8f c1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc21b9c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21ba0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc21ba4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21ba8:	38 63 bd 04 	addi    r3,r3,-17148                           <== NOT EXECUTED
ffc21bac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21bb0:	48 00 7e 2d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
ffc21bb4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc21bb8:	3c 80 80 04 	lis     r4,-32764                              <== NOT EXECUTED
ffc21bbc:	81 23 00 38 	lwz     r9,56(r3)                              <== NOT EXECUTED
ffc21bc0:	60 84 42 04 	ori     r4,r4,16900                            <== NOT EXECUTED
ffc21bc4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc21bc8:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc21bcc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
  if (rc < 0)                                                         
ffc21bd0:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc21bd4:	40 80 ff 90 	bge+    ffc21b64 <rtems_rfs_buffer_setblksize+0x9c><== NOT EXECUTED
    rc = errno;                                                       
ffc21bd8:	48 00 63 65 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
ffc21bdc:	80 01 00 1c 	lwz     r0,28(r1)                              <== 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;                                                       
ffc21be0:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
ffc21be4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21be8:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc21bec:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc21bf0:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc21bf4:	4e 80 00 20 	blr                                            <== 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",
ffc21bf8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc21bfc:	48 00 8f 5d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc21c00:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc21c04:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc21c08:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21c0c:	38 63 bc c4 	addi    r3,r3,-17212                           <== NOT EXECUTED
ffc21c10:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21c14:	48 00 7d c9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21c18:	4b ff ff 04 	b       ffc21b1c <rtems_rfs_buffer_setblksize+0x54><== NOT EXECUTED
                                                                      

ffc21944 <rtems_rfs_buffer_sync>: return rc; } int rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) {
ffc21944:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc21948:	7c 08 02 a6 	mflr    r0                                     
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc2194c:	38 80 00 20 	li      r4,32                                  
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc21950:	93 e1 00 14 	stw     r31,20(r1)                             
ffc21954:	7c 7f 1b 78 	mr      r31,r3                                 
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21958:	38 60 00 00 	li      r3,0                                   
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
ffc2195c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc21960:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc21964:	93 c1 00 10 	stw     r30,16(r1)                             
  int result = 0;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
ffc21968:	4b ff 63 c5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2196c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21970:	40 9e 00 9c 	bne-    cr7,ffc21a0c <rtems_rfs_buffer_sync+0xc8><== NEVER TAKEN
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
ffc21974:	80 7f 00 10 	lwz     r3,16(r31)                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_sync (rtems_rfs_file_system* fs)                     
{                                                                     
  int result = 0;                                                     
ffc21978:	3b c0 00 00 	li      r30,0                                  
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
ffc2197c:	4b ff 91 a1 	bl      ffc1ab1c <rtems_bdbuf_syncdev>         
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc21980:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc21984:	40 82 00 2c 	bne-    ffc219b0 <rtems_rfs_buffer_sync+0x6c>  <== NEVER TAKEN
    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);                                      
ffc21988:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc2198c:	4b fe 44 d9 	bl      ffc05e64 <rtems_disk_release>          
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
ffc21990:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc21994:	7f c3 f3 78 	mr      r3,r30                                 
ffc21998:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc2199c:	7c 08 03 a6 	mtlr    r0                                     
ffc219a0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc219a4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc219a8:	38 21 00 18 	addi    r1,r1,24                               
ffc219ac:	4e 80 00 20 	blr                                            
   */                                                                 
#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))                
ffc219b0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc219b4:	38 80 00 20 	li      r4,32                                  <== NOT EXECUTED
ffc219b8:	4b ff 63 75 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
              rtems_status_text (sc));                                
    result = EIO;                                                     
ffc219bc:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
   */                                                                 
#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))                
ffc219c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc219c4:	41 9e ff c4 	beq+    cr7,ffc21988 <rtems_rfs_buffer_sync+0x44><== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
ffc219c8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc219cc:	4b ff a6 49 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc219d0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc219d4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc219d8:	38 63 bc 18 	addi    r3,r3,-17384                           <== NOT EXECUTED
ffc219dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc219e0:	48 00 7f fd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
ffc219e4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc219e8:	4b fe 44 7d 	bl      ffc05e64 <rtems_disk_release>          <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
ffc219ec:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc219f0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc219f4:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc219f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc219fc:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc21a00:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc21a04:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc21a08:	4e 80 00 20 	blr                                            <== 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");                     
ffc21a0c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21a10:	38 63 bb f8 	addi    r3,r3,-17416                           <== NOT EXECUTED
ffc21a14:	48 00 83 31 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc21a18:	4b ff ff 5c 	b       ffc21974 <rtems_rfs_buffer_sync+0x30>  <== NOT EXECUTED
                                                                      

ffc21a1c <rtems_rfs_buffers_release>: return rrc; } int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) {
ffc21a1c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc21a20:	7c 08 02 a6 	mflr    r0                                     
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21a24:	38 80 00 40 	li      r4,64                                  
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc21a28:	93 c1 00 08 	stw     r30,8(r1)                              
ffc21a2c:	7c 7e 1b 78 	mr      r30,r3                                 
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21a30:	38 60 00 00 	li      r3,0                                   
  return rrc;                                                         
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffers_release (rtems_rfs_file_system* fs)                 
{                                                                     
ffc21a34:	90 01 00 14 	stw     r0,20(r1)                              
ffc21a38:	93 e1 00 0c 	stw     r31,12(r1)                             
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
ffc21a3c:	4b ff 62 f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21a40:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21a44:	40 9e 00 64 	bne-    cr7,ffc21aa8 <rtems_rfs_buffers_release+0x8c><== NEVER TAKEN
    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,                         
ffc21a48:	38 9e 00 60 	addi    r4,r30,96                              
ffc21a4c:	38 a0 00 00 	li      r5,0                                   
ffc21a50:	38 7e 00 54 	addi    r3,r30,84                              
ffc21a54:	4b ff f5 8d 	bl      ffc20fe0 <rtems_rfs_release_chain>     
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc21a58:	38 9e 00 70 	addi    r4,r30,112                             
ffc21a5c:	7c 69 18 f8 	not     r9,r3                                  
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
            "release:%" PRIu32 " release-modified:%" PRIu32 "\n",     
            fs->buffers_count, fs->release_count, fs->release_modified_count);
                                                                      
  rc = rtems_rfs_release_chain (&fs->release,                         
ffc21a60:	7c 7f 1b 78 	mr      r31,r3                                 
ffc21a64:	7d 29 fe 70 	srawi   r9,r9,31                               
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
ffc21a68:	38 7e 00 64 	addi    r3,r30,100                             
ffc21a6c:	38 a0 00 01 	li      r5,1                                   
ffc21a70:	7f ff 48 38 	and     r31,r31,r9                             
ffc21a74:	4b ff f5 6d 	bl      ffc20fe0 <rtems_rfs_release_chain>     
                                &fs->release_modified_count,          
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
ffc21a78:	2c 03 00 00 	cmpwi   r3,0                                   
ffc21a7c:	40 81 00 10 	ble-    ffc21a8c <rtems_rfs_buffers_release+0x70><== ALWAYS TAKEN
ffc21a80:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
ffc21a84:	40 9e 00 08 	bne-    cr7,ffc21a8c <rtems_rfs_buffers_release+0x70><== NOT EXECUTED
ffc21a88:	7c 7f 1b 78 	mr      r31,r3                                 <== NOT EXECUTED
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc21a8c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc21a90:	7f e3 fb 78 	mr      r3,r31                                 
ffc21a94:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc21a98:	7c 08 03 a6 	mtlr    r0                                     
ffc21a9c:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc21aa0:	38 21 00 10 	addi    r1,r1,16                               
ffc21aa4:	4e 80 00 20 	blr                                            
{                                                                     
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
ffc21aa8:	80 9e 00 50 	lwz     r4,80(r30)                             <== NOT EXECUTED
ffc21aac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21ab0:	80 be 00 60 	lwz     r5,96(r30)                             <== NOT EXECUTED
ffc21ab4:	38 63 bc 48 	addi    r3,r3,-17336                           <== NOT EXECUTED
ffc21ab8:	80 de 00 70 	lwz     r6,112(r30)                            <== NOT EXECUTED
ffc21abc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21ac0:	48 00 7f 1d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21ac4:	4b ff ff 84 	b       ffc21a48 <rtems_rfs_buffers_release+0x2c><== NOT EXECUTED
                                                                      

ffc22304 <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) {
ffc22304:	94 21 ff 58 	stwu    r1,-168(r1)                            
ffc22308:	7c 08 02 a6 	mflr    r0                                     
ffc2230c:	93 01 00 88 	stw     r24,136(r1)                            
ffc22310:	7c 98 23 78 	mr      r24,r4                                 
  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))                
ffc22314:	3c 80 20 00 	lis     r4,8192                                
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)                 
{                                                                     
ffc22318:	93 81 00 98 	stw     r28,152(r1)                            
ffc2231c:	7c 7c 1b 78 	mr      r28,r3                                 
  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))                
ffc22320:	38 60 00 00 	li      r3,0                                   
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)                 
{                                                                     
ffc22324:	92 e1 00 84 	stw     r23,132(r1)                            
ffc22328:	7c f7 3b 78 	mr      r23,r7                                 
ffc2232c:	93 21 00 8c 	stw     r25,140(r1)                            
ffc22330:	7c b9 2b 78 	mr      r25,r5                                 
ffc22334:	93 41 00 90 	stw     r26,144(r1)                            
ffc22338:	7c da 33 78 	mr      r26,r6                                 
ffc2233c:	90 01 00 ac 	stw     r0,172(r1)                             
ffc22340:	92 a1 00 7c 	stw     r21,124(r1)                            
ffc22344:	92 c1 00 80 	stw     r22,128(r1)                            
ffc22348:	93 61 00 94 	stw     r27,148(r1)                            
ffc2234c:	93 a1 00 9c 	stw     r29,156(r1)                            
ffc22350:	93 c1 00 a0 	stw     r30,160(r1)                            
ffc22354:	93 e1 00 a4 	stw     r31,164(r1)                            
  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))                
ffc22358:	4b ff 59 d5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2235c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22360:	40 9e 02 58 	bne-    cr7,ffc225b8 <rtems_rfs_dir_add_entry+0x2b4><== NEVER TAKEN
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc22364:	7f 83 e3 78 	mr      r3,r28                                 
ffc22368:	7f 04 c3 78 	mr      r4,r24                                 
ffc2236c:	38 a1 00 08 	addi    r5,r1,8                                
ffc22370:	4b ff de 21 	bl      ffc20190 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc22374:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc22378:	40 81 00 44 	ble-    ffc223bc <rtems_rfs_dir_add_entry+0xb8><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc2237c:	80 01 00 ac 	lwz     r0,172(r1)                             
ffc22380:	7f e3 fb 78 	mr      r3,r31                                 
ffc22384:	82 a1 00 7c 	lwz     r21,124(r1)                            
ffc22388:	7c 08 03 a6 	mtlr    r0                                     
ffc2238c:	82 c1 00 80 	lwz     r22,128(r1)                            
ffc22390:	82 e1 00 84 	lwz     r23,132(r1)                            
ffc22394:	83 01 00 88 	lwz     r24,136(r1)                            
ffc22398:	83 21 00 8c 	lwz     r25,140(r1)                            
ffc2239c:	83 41 00 90 	lwz     r26,144(r1)                            
ffc223a0:	83 61 00 94 	lwz     r27,148(r1)                            
ffc223a4:	83 81 00 98 	lwz     r28,152(r1)                            
ffc223a8:	83 a1 00 9c 	lwz     r29,156(r1)                            
ffc223ac:	83 c1 00 a0 	lwz     r30,160(r1)                            
ffc223b0:	83 e1 00 a4 	lwz     r31,164(r1)                            
ffc223b4:	38 21 00 a8 	addi    r1,r1,168                              
ffc223b8:	4e 80 00 20 	blr                                            
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc223bc:	39 20 00 00 	li      r9,0                                   
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc223c0:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc223c4:	91 21 00 5c 	stw     r9,92(r1)                              
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc223c8:	3a a0 00 00 	li      r21,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc223cc:	99 41 00 58 	stb     r10,88(r1)                             
ffc223d0:	62 b5 ff ff 	ori     r21,r21,65535                          
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
ffc223d4:	3a da 00 0a 	addi    r22,r26,10                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc223d8:	91 21 00 60 	stw     r9,96(r1)                              
 * @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;                                                      
ffc223dc:	91 21 00 64 	stw     r9,100(r1)                             
  bpos->boff = 0;                                                     
ffc223e0:	91 21 00 68 	stw     r9,104(r1)                             
  bpos->block = 0;                                                    
ffc223e4:	91 21 00 6c 	stw     r9,108(r1)                             
    /*                                                                
     * 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);          
ffc223e8:	7f 83 e3 78 	mr      r3,r28                                 
ffc223ec:	38 81 00 08 	addi    r4,r1,8                                
ffc223f0:	38 a1 00 64 	addi    r5,r1,100                              
ffc223f4:	38 c1 00 70 	addi    r6,r1,112                              
ffc223f8:	4b ff e1 95 	bl      ffc2058c <rtems_rfs_block_map_find>    
    if (rc > 0)                                                       
ffc223fc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc22400:	40 81 02 f4 	ble-    ffc226f4 <rtems_rfs_dir_add_entry+0x3f0>
    {                                                                 
      if (rc != ENXIO)                                                
ffc22404:	2f 9f 00 06 	cmpwi   cr7,r31,6                              
ffc22408:	40 9e 03 60 	bne-    cr7,ffc22768 <rtems_rfs_dir_add_entry+0x464><== NEVER TAKEN
      }                                                               
                                                                      
      /*                                                              
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
ffc2240c:	7f 83 e3 78 	mr      r3,r28                                 
ffc22410:	38 81 00 08 	addi    r4,r1,8                                
ffc22414:	38 a0 00 01 	li      r5,1                                   
ffc22418:	38 c1 00 70 	addi    r6,r1,112                              
ffc2241c:	4b ff e4 1d 	bl      ffc20838 <rtems_rfs_block_map_grow>    
      if (rc > 0)                                                     
ffc22420:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc22424:	41 81 03 84 	bgt-    ffc227a8 <rtems_rfs_dir_add_entry+0x4a4><== NEVER TAKEN
                  "block map grow failed for ino %" PRIu32 ": %d: %s\n",
                  rtems_rfs_inode_ino (dir), rc, strerror (rc));      
        break;                                                        
      }                                                               
                                                                      
      read = false;                                                   
ffc22428:	3b c0 00 00 	li      r30,0                                  
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc2242c:	81 21 00 64 	lwz     r9,100(r1)                             
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc22430:	7f 83 e3 78 	mr      r3,r28                                 
ffc22434:	80 a1 00 70 	lwz     r5,112(r1)                             
ffc22438:	38 81 00 58 	addi    r4,r1,88                               
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc2243c:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc22440:	7f c6 f3 78 	mr      r6,r30                                 
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
ffc22444:	91 21 00 64 	stw     r9,100(r1)                             
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
ffc22448:	4b ff f0 05 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc2244c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc22450:	41 81 02 ac 	bgt-    ffc226fc <rtems_rfs_dir_add_entry+0x3f8><== NEVER TAKEN
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
ffc22454:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                "block buffer req failed for ino %" PRIu32 ": %d: %s\n",
                rtems_rfs_inode_ino (dir), rc, strerror (rc));        
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc22458:	81 21 00 60 	lwz     r9,96(r1)                              
ffc2245c:	83 e9 00 1c 	lwz     r31,28(r9)                             
                                                                      
    if (!read)                                                        
ffc22460:	41 9e 01 ac 	beq-    cr7,ffc2260c <rtems_rfs_dir_add_entry+0x308>
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22464:	80 dc 00 08 	lwz     r6,8(r28)                              
ffc22468:	34 e6 ff f6 	addic.  r7,r6,-10                              
ffc2246c:	41 a2 ff 7c 	beq-    ffc223e8 <rtems_rfs_dir_add_entry+0xe4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc22470:	8b df 00 08 	lbz     r30,8(r31)                             
ffc22474:	89 3f 00 09 	lbz     r9,9(r31)                              
ffc22478:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2247c:	8b 7f 00 00 	lbz     r27,0(r31)                             
    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);                   
ffc22480:	7f de 4b 78 	or      r30,r30,r9                             
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22484:	89 1f 00 02 	lbz     r8,2(r31)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22488:	7f 9e a8 00 	cmpw    cr7,r30,r21                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc2248c:	89 5f 00 03 	lbz     r10,3(r31)                             
ffc22490:	57 7b c0 0e 	rlwinm  r27,r27,24,0,7                         
ffc22494:	89 3f 00 01 	lbz     r9,1(r31)                              
ffc22498:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc2249c:	7f 7b 43 78 	or      r27,r27,r8                             
ffc224a0:	7f 7b 53 78 	or      r27,r27,r10                            
ffc224a4:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc224a8:	7f 7b 4b 78 	or      r27,r27,r9                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc224ac:	41 9e 01 98 	beq-    cr7,ffc22644 <rtems_rfs_dir_add_entry+0x340>
ffc224b0:	3b a0 00 00 	li      r29,0                                  
ffc224b4:	48 00 00 70 	b       ffc22524 <rtems_rfs_dir_add_entry+0x220>
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc224b8:	81 3c 00 1c 	lwz     r9,28(r28)                             
ffc224bc:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc224c0:	40 9c 00 74 	bge-    cr7,ffc22534 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
ffc224c4:	41 9a 00 70 	beq-    cr6,ffc22534 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
ffc224c8:	81 3c 00 14 	lwz     r9,20(r28)                             
ffc224cc:	7f 89 d8 40 	cmplw   cr7,r9,r27                             
ffc224d0:	41 9c 00 64 	blt-    cr7,ffc22534 <rtems_rfs_dir_add_entry+0x230><== NEVER TAKEN
        rtems_rfs_block_map_close (fs, &map);                         
        return EIO;                                                   
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
ffc224d4:	7f bd f2 14 	add     r29,r29,r30                            
    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))
ffc224d8:	7f 9d 38 40 	cmplw   cr7,r29,r7                             
ffc224dc:	7f a5 eb 78 	mr      r5,r29                                 
ffc224e0:	40 bc ff 08 	bge-    cr7,ffc223e8 <rtems_rfs_dir_add_entry+0xe4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc224e4:	8b df 00 08 	lbz     r30,8(r31)                             
ffc224e8:	89 3f 00 09 	lbz     r9,9(r31)                              
ffc224ec:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc224f0:	8b 7f 00 00 	lbz     r27,0(r31)                             
    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);                   
ffc224f4:	7f de 4b 78 	or      r30,r30,r9                             
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc224f8:	89 1f 00 01 	lbz     r8,1(r31)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc224fc:	7f 9e a8 00 	cmpw    cr7,r30,r21                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22500:	89 5f 00 03 	lbz     r10,3(r31)                             
ffc22504:	57 7b c0 0e 	rlwinm  r27,r27,24,0,7                         
ffc22508:	89 3f 00 02 	lbz     r9,2(r31)                              
ffc2250c:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc22510:	7f 7b 43 78 	or      r27,r27,r8                             
ffc22514:	7f 7b 53 78 	or      r27,r27,r10                            
ffc22518:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc2251c:	7f 7b 4b 78 	or      r27,r27,r9                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22520:	41 9e 01 28 	beq-    cr7,ffc22648 <rtems_rfs_dir_add_entry+0x344>
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22524:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc22528:	2f 1b 00 00 	cmpwi   cr6,r27,0                              
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return EIO;                                                   
      }                                                               
                                                                      
      entry  += elength;                                              
ffc2252c:	7f ff f2 14 	add     r31,r31,r30                            
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22530:	41 9d ff 88 	bgt+    cr7,ffc224b8 <rtems_rfs_dir_add_entry+0x1b4><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
ffc22534:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22538:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc2253c:	4b ff 57 f1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22540:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22544:	40 9e 00 dc 	bne-    cr7,ffc22620 <rtems_rfs_dir_add_entry+0x31c><== 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);                       
ffc22548:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc2254c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22550:	4b ff ec e9 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22554:	39 20 00 00 	li      r9,0                                   <== 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);                         
ffc22558:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2255c:	91 21 00 5c 	stw     r9,92(r1)                              <== NOT EXECUTED
ffc22560:	38 81 00 08 	addi    r4,r1,8                                <== 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);                       
  handle->dirty = false;                                              
ffc22564:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22568:	91 21 00 60 	stw     r9,96(r1)                              <== NOT EXECUTED
        return EIO;                                                   
ffc2256c:	3b e0 00 05 	li      r31,5                                  <== 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);                       
  handle->dirty = false;                                              
ffc22570:	99 41 00 58 	stb     r10,88(r1)                             <== NOT EXECUTED
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
          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);                         
ffc22574:	4b ff de 09 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22578:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2257c:	80 01 00 ac 	lwz     r0,172(r1)                             <== NOT EXECUTED
ffc22580:	82 a1 00 7c 	lwz     r21,124(r1)                            <== NOT EXECUTED
ffc22584:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc22588:	82 c1 00 80 	lwz     r22,128(r1)                            <== NOT EXECUTED
ffc2258c:	82 e1 00 84 	lwz     r23,132(r1)                            <== NOT EXECUTED
ffc22590:	83 01 00 88 	lwz     r24,136(r1)                            <== NOT EXECUTED
ffc22594:	83 21 00 8c 	lwz     r25,140(r1)                            <== NOT EXECUTED
ffc22598:	83 41 00 90 	lwz     r26,144(r1)                            <== NOT EXECUTED
ffc2259c:	83 61 00 94 	lwz     r27,148(r1)                            <== NOT EXECUTED
ffc225a0:	83 81 00 98 	lwz     r28,152(r1)                            <== NOT EXECUTED
ffc225a4:	83 a1 00 9c 	lwz     r29,156(r1)                            <== NOT EXECUTED
ffc225a8:	83 c1 00 a0 	lwz     r30,160(r1)                            <== NOT EXECUTED
ffc225ac:	83 e1 00 a4 	lwz     r31,164(r1)                            <== NOT EXECUTED
ffc225b0:	38 21 00 a8 	addi    r1,r1,168                              <== NOT EXECUTED
ffc225b4:	4e 80 00 20 	blr                                            <== 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=",       
ffc225b8:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc225bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc225c0:	38 63 c0 90 	addi    r3,r3,-16240                           <== NOT EXECUTED
ffc225c4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc225c8:	48 00 74 15 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
ffc225cc:	2f 9a 00 00 	cmpwi   cr7,r26,0                              <== NOT EXECUTED
ffc225d0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc225d4:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc225d8:	41 9e 00 1c 	beq-    cr7,ffc225f4 <rtems_rfs_dir_add_entry+0x2f0><== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc225dc:	7c 79 48 ae 	lbzx    r3,r25,r9                              <== 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++)                                      
ffc225e0:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc225e4:	48 00 76 85 	bl      ffc29c68 <putchar>                     <== 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++)                                      
ffc225e8:	7f 9f d0 00 	cmpw    cr7,r31,r26                            <== NOT EXECUTED
ffc225ec:	7f e9 fb 78 	mr      r9,r31                                 <== NOT EXECUTED
ffc225f0:	40 9e ff ec 	bne+    cr7,ffc225dc <rtems_rfs_dir_add_entry+0x2d8><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
ffc225f4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc225f8:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc225fc:	38 63 c0 bc 	addi    r3,r3,-16196                           <== NOT EXECUTED
ffc22600:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22604:	48 00 73 d9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22608:	4b ff fd 5c 	b       ffc22364 <rtems_rfs_dir_add_entry+0x60><== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
ffc2260c:	80 bc 00 08 	lwz     r5,8(r28)                              
ffc22610:	7f e3 fb 78 	mr      r3,r31                                 
ffc22614:	38 80 00 ff 	li      r4,255                                 
ffc22618:	48 00 71 69 	bl      ffc29780 <memset>                      
ffc2261c:	4b ff fe 48 	b       ffc22464 <rtems_rfs_dir_add_entry+0x160>
      }                                                               
                                                                      
      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: "                        
ffc22620:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22624:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22628:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc2262c:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc22630:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc22634:	38 63 c1 a0 	addi    r3,r3,-15968                           <== NOT EXECUTED
ffc22638:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2263c:	48 00 73 a1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22640:	4b ff ff 08 	b       ffc22548 <rtems_rfs_dir_add_entry+0x244><== 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))
ffc22644:	38 a0 00 00 	li      r5,0                                   
      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))                  
ffc22648:	7c c5 30 50 	subf    r6,r5,r6                               
      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) <                     
ffc2264c:	7f 96 30 40 	cmplw   cr7,r22,r6                             
ffc22650:	40 9c fd 98 	bge+    cr7,ffc223e8 <rtems_rfs_dir_add_entry+0xe4><== NEVER TAKEN
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
ffc22654:	7f 44 d3 78 	mr      r4,r26                                 
ffc22658:	7f 23 cb 78 	mr      r3,r25                                 
ffc2265c:	48 00 55 8d 	bl      ffc27be8 <rtems_rfs_dir_hash>          
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22660:	56 e6 46 3e 	rlwinm  r6,r23,8,24,31                         
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
ffc22664:	7c 69 1b 78 	mr      r9,r3                                  
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22668:	98 df 00 00 	stb     r6,0(r31)                              
ffc2266c:	56 e7 84 3e 	rlwinm  r7,r23,16,16,31                        
ffc22670:	56 e8 c2 3e 	rlwinm  r8,r23,24,8,31                         
ffc22674:	98 ff 00 01 	stb     r7,1(r31)                              
          rtems_rfs_dir_set_entry_length (entry,                      
ffc22678:	56 ca c6 3e 	rlwinm  r10,r22,24,24,31                       
        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);                 
ffc2267c:	54 65 46 3e 	rlwinm  r5,r3,8,24,31                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc22680:	99 1f 00 02 	stb     r8,2(r31)                              
        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);                 
ffc22684:	54 64 84 3e 	rlwinm  r4,r3,16,16,31                         
ffc22688:	54 63 c2 3e 	rlwinm  r3,r3,24,8,31                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
ffc2268c:	99 5f 00 08 	stb     r10,8(r31)                             
        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);                 
ffc22690:	98 bf 00 04 	stb     r5,4(r31)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc22694:	7f 45 d3 78 	mr      r5,r26                                 
        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);                 
ffc22698:	98 9f 00 05 	stb     r4,5(r31)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc2269c:	7f 24 cb 78 	mr      r4,r25                                 
        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);                 
ffc226a0:	98 7f 00 06 	stb     r3,6(r31)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc226a4:	38 7f 00 0a 	addi    r3,r31,10                              
        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);                 
ffc226a8:	99 3f 00 07 	stb     r9,7(r31)                              
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
ffc226ac:	9a ff 00 03 	stb     r23,3(r31)                             
          rtems_rfs_dir_set_entry_length (entry,                      
ffc226b0:	9a df 00 09 	stb     r22,9(r31)                             
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
          rtems_rfs_buffer_mark_dirty (&buffer);                      
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
          return 0;                                                   
ffc226b4:	3b e0 00 00 	li      r31,0                                  
          hash = rtems_rfs_dir_hash (name, length);                   
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
ffc226b8:	48 00 6e 99 	bl      ffc29550 <memcpy>                      
          rtems_rfs_buffer_mark_dirty (&buffer);                      
ffc226bc:	39 20 00 01 	li      r9,1                                   
 */                                                                   
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);                       
ffc226c0:	38 81 00 58 	addi    r4,r1,88                               
ffc226c4:	99 21 00 58 	stb     r9,88(r1)                              
ffc226c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc226cc:	4b ff eb 6d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc226d0:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc226d4:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc226d8:	91 21 00 5c 	stw     r9,92(r1)                              
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
ffc226dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc226e0:	38 81 00 08 	addi    r4,r1,8                                
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);                       
  handle->dirty = false;                                              
ffc226e4:	99 41 00 58 	stb     r10,88(r1)                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc226e8:	91 21 00 60 	stw     r9,96(r1)                              
ffc226ec:	4b ff dc 91 	bl      ffc2037c <rtems_rfs_block_map_close>   
ffc226f0:	4b ff fc 8c 	b       ffc2237c <rtems_rfs_dir_add_entry+0x78>
  while (true)                                                        
  {                                                                   
    rtems_rfs_block_no block;                                         
    uint8_t*           entry;                                         
    int                offset;                                        
    bool               read = true;                                   
ffc226f4:	3b c0 00 01 	li      r30,1                                  
ffc226f8:	4b ff fd 34 	b       ffc2242c <rtems_rfs_dir_add_entry+0x128>
    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))            
ffc226fc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22700:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22704:	4b ff 56 29 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22708:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2270c:	41 be 00 2c 	beq+    cr7,ffc22738 <rtems_rfs_dir_add_entry+0x434><== NOT EXECUTED
        printf ("rtems-rfs: dir-add-entry: "                          
ffc22710:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22714:	83 d8 00 08 	lwz     r30,8(r24)                             <== NOT EXECUTED
ffc22718:	48 00 84 41 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc2271c:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc22720:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22724:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22728:	38 63 c1 58 	addi    r3,r3,-16040                           <== NOT EXECUTED
ffc2272c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22730:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22734:	48 00 72 a9 	bl      ffc299dc <printf>                      <== 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);                       
ffc22738:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc2273c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22740:	4b ff ea f9 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22744:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc22748:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc2274c:	91 21 00 5c 	stw     r9,92(r1)                              <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc22750:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22754:	38 81 00 08 	addi    r4,r1,8                                <== 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);                       
  handle->dirty = false;                                              
ffc22758:	99 41 00 58 	stb     r10,88(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc2275c:	91 21 00 60 	stw     r9,96(r1)                              <== NOT EXECUTED
ffc22760:	4b ff dc 1d 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc22764:	4b ff fc 18 	b       ffc2237c <rtems_rfs_dir_add_entry+0x78><== 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))          
ffc22768:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2276c:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc22770:	4b ff 55 bd 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22774:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22778:	41 9e ff c0 	beq+    cr7,ffc22738 <rtems_rfs_dir_add_entry+0x434><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc2277c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22780:	83 d8 00 08 	lwz     r30,8(r24)                             <== NOT EXECUTED
ffc22784:	48 00 83 d5 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22788:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc2278c:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22790:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22794:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22798:	38 63 c0 c8 	addi    r3,r3,-16184                           <== NOT EXECUTED
ffc2279c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc227a0:	48 00 72 3d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc227a4:	4b ff ff 94 	b       ffc22738 <rtems_rfs_dir_add_entry+0x434><== 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))          
ffc227a8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc227ac:	3c 80 20 00 	lis     r4,8192                                <== NOT EXECUTED
ffc227b0:	4b ff 55 7d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc227b4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc227b8:	41 9e ff 80 	beq+    cr7,ffc22738 <rtems_rfs_dir_add_entry+0x434><== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
ffc227bc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc227c0:	83 d8 00 08 	lwz     r30,8(r24)                             <== NOT EXECUTED
ffc227c4:	48 00 83 95 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc227c8:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc227cc:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc227d0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc227d4:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc227d8:	38 63 c1 10 	addi    r3,r3,-16112                           <== NOT EXECUTED
ffc227dc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc227e0:	48 00 71 fd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc227e4:	4b ff ff 54 	b       ffc22738 <rtems_rfs_dir_add_entry+0x434><== NOT EXECUTED
                                                                      

ffc227e8 <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) {
ffc227e8:	94 21 ff 68 	stwu    r1,-152(r1)                            
ffc227ec:	7d 80 00 26 	mfcr    r12                                    
ffc227f0:	7c 08 02 a6 	mflr    r0                                     
ffc227f4:	93 01 00 78 	stw     r24,120(r1)                            
ffc227f8:	7c 98 23 78 	mr      r24,r4                                 
  rtems_rfs_block_no      block;                                      
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
ffc227fc:	3c 80 40 00 	lis     r4,16384                               
int                                                                   
rtems_rfs_dir_del_entry (rtems_rfs_file_system*  fs,                  
                         rtems_rfs_inode_handle* dir,                 
                         rtems_rfs_ino           ino,                 
                         uint32_t                offset)              
{                                                                     
ffc22800:	93 81 00 88 	stw     r28,136(r1)                            
ffc22804:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_rfs_block_no      block;                                      
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
ffc22808:	38 60 00 00 	li      r3,0                                   
int                                                                   
rtems_rfs_dir_del_entry (rtems_rfs_file_system*  fs,                  
                         rtems_rfs_inode_handle* dir,                 
                         rtems_rfs_ino           ino,                 
                         uint32_t                offset)              
{                                                                     
ffc2280c:	92 e1 00 74 	stw     r23,116(r1)                            
ffc22810:	7c d7 33 78 	mr      r23,r6                                 
ffc22814:	93 21 00 7c 	stw     r25,124(r1)                            
ffc22818:	7c b9 2b 78 	mr      r25,r5                                 
ffc2281c:	90 01 00 9c 	stw     r0,156(r1)                             
ffc22820:	92 c1 00 70 	stw     r22,112(r1)                            
ffc22824:	93 41 00 80 	stw     r26,128(r1)                            
ffc22828:	93 61 00 84 	stw     r27,132(r1)                            
ffc2282c:	93 a1 00 8c 	stw     r29,140(r1)                            
ffc22830:	93 c1 00 90 	stw     r30,144(r1)                            
ffc22834:	93 e1 00 94 	stw     r31,148(r1)                            
ffc22838:	91 81 00 6c 	stw     r12,108(r1)                            
  rtems_rfs_block_no      block;                                      
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
ffc2283c:	4b ff 54 f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc22840:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22844:	40 9e 00 60 	bne-    cr7,ffc228a4 <rtems_rfs_dir_del_entry+0xbc><== NEVER TAKEN
    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);                      
ffc22848:	7f 83 e3 78 	mr      r3,r28                                 
ffc2284c:	7f 04 c3 78 	mr      r4,r24                                 
ffc22850:	38 a1 00 08 	addi    r5,r1,8                                
ffc22854:	4b ff d9 3d 	bl      ffc20190 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc22858:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc2285c:	40 81 00 7c 	ble-    ffc228d8 <rtems_rfs_dir_del_entry+0xf0><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22860:	80 01 00 9c 	lwz     r0,156(r1)                             
ffc22864:	7f 43 d3 78 	mr      r3,r26                                 
ffc22868:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc2286c:	7c 08 03 a6 	mtlr    r0                                     
ffc22870:	82 c1 00 70 	lwz     r22,112(r1)                            
ffc22874:	82 e1 00 74 	lwz     r23,116(r1)                            
ffc22878:	7d 80 81 20 	mtcrf   8,r12                                  
ffc2287c:	83 01 00 78 	lwz     r24,120(r1)                            
ffc22880:	83 21 00 7c 	lwz     r25,124(r1)                            
ffc22884:	83 41 00 80 	lwz     r26,128(r1)                            
ffc22888:	83 61 00 84 	lwz     r27,132(r1)                            
ffc2288c:	83 81 00 88 	lwz     r28,136(r1)                            
ffc22890:	83 a1 00 8c 	lwz     r29,140(r1)                            
ffc22894:	83 c1 00 90 	lwz     r30,144(r1)                            
ffc22898:	83 e1 00 94 	lwz     r31,148(r1)                            
ffc2289c:	38 21 00 98 	addi    r1,r1,152                              
ffc228a0:	4e 80 00 20 	blr                                            
  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",
ffc228a4:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc228a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc228ac:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc228b0:	7e e6 bb 78 	mr      r6,r23                                 <== NOT EXECUTED
ffc228b4:	38 63 c1 e8 	addi    r3,r3,-15896                           <== NOT EXECUTED
ffc228b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc228bc:	48 00 71 21 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc228c0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc228c4:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc228c8:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc228cc:	4b ff d8 c5 	bl      ffc20190 <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc228d0:	7c 7a 1b 79 	mr.     r26,r3                                 <== NOT EXECUTED
ffc228d4:	41 81 ff 8c 	bgt+    ffc22860 <rtems_rfs_dir_del_entry+0x78><== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
ffc228d8:	7f 83 e3 78 	mr      r3,r28                                 
ffc228dc:	38 81 00 08 	addi    r4,r1,8                                
ffc228e0:	38 a0 00 00 	li      r5,0                                   
ffc228e4:	7e e6 bb 78 	mr      r6,r23                                 
ffc228e8:	38 e1 00 64 	addi    r7,r1,100                              
ffc228ec:	4b ff de 49 	bl      ffc20734 <rtems_rfs_block_map_seek>    
ffc228f0:	3b e0 00 00 	li      r31,0                                  
  if (rc > 0)                                                         
ffc228f4:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc228f8:	40 81 00 20 	ble-    ffc22918 <rtems_rfs_dir_del_entry+0x130><== ALWAYS TAKEN
  {                                                                   
    if (rc == ENXIO)                                                  
ffc228fc:	2f 9a 00 06 	cmpwi   cr7,r26,6                              <== NOT EXECUTED
ffc22900:	40 be 00 08 	bne+    cr7,ffc22908 <rtems_rfs_dir_del_entry+0x120><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc22904:	3b 40 00 02 	li      r26,2                                  <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
ffc22908:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2290c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc22910:	4b ff da 6d 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc22914:	4b ff ff 4c 	b       ffc22860 <rtems_rfs_dir_del_entry+0x78><== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
ffc22918:	7e e9 00 34 	cntlzw  r9,r23                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc2291c:	9b e1 00 58 	stb     r31,88(r1)                             
ffc22920:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
ffc22924:	2e 09 00 00 	cmpwi   cr4,r9,0                               
  handle->bnum  = 0;                                                  
ffc22928:	93 e1 00 5c 	stw     r31,92(r1)                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc2292c:	3a c0 00 00 	li      r22,0                                  
  handle->buffer = NULL;                                              
ffc22930:	93 e1 00 60 	stw     r31,96(r1)                             
ffc22934:	62 d6 ff ff 	ori     r22,r22,65535                          
  while (rc == 0)                                                     
  {                                                                   
    uint8_t* entry;                                                   
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc22938:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc2293c:	7f 83 e3 78 	mr      r3,r28                                 
ffc22940:	38 81 00 58 	addi    r4,r1,88                               
ffc22944:	38 c0 00 01 	li      r6,1                                   
ffc22948:	4b ff eb 05 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc2294c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc22950:	41 81 03 10 	bgt-    ffc22c60 <rtems_rfs_dir_del_entry+0x478><== NEVER TAKEN
ffc22954:	80 dc 00 08 	lwz     r6,8(r28)                              
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
ffc22958:	41 92 01 34 	beq-    cr4,ffc22a8c <rtems_rfs_dir_del_entry+0x2a4><== ALWAYS TAKEN
ffc2295c:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
      eoffset = 0;                                                    
ffc22960:	3b 60 00 00 	li      r27,0                                  <== 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))
ffc22964:	38 e6 ff f6 	addi    r7,r6,-10                              
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc22968:	81 41 00 60 	lwz     r10,96(r1)                             
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc2296c:	7f 87 48 40 	cmplw   cr7,r7,r9                              
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
ffc22970:	81 4a 00 1c 	lwz     r10,28(r10)                            
ffc22974:	7f ea 4a 14 	add     r31,r10,r9                             
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc22978:	40 9d 01 28 	ble-    cr7,ffc22aa0 <rtems_rfs_dir_del_entry+0x2b8><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc2297c:	8b df 00 08 	lbz     r30,8(r31)                             
ffc22980:	89 1f 00 09 	lbz     r8,9(r31)                              
ffc22984:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22988:	8b bf 00 01 	lbz     r29,1(r31)                             
    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);                   
ffc2298c:	7f de 43 78 	or      r30,r30,r8                             
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22990:	88 bf 00 02 	lbz     r5,2(r31)                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22994:	7f 9e b0 00 	cmpw    cr7,r30,r22                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22998:	89 1f 00 03 	lbz     r8,3(r31)                              
ffc2299c:	57 bd 80 1e 	rlwinm  r29,r29,16,0,15                        
ffc229a0:	7d 2a 48 ae 	lbzx    r9,r10,r9                              
ffc229a4:	54 a5 40 2e 	rlwinm  r5,r5,8,0,23                           
ffc229a8:	7f bd 2b 78 	or      r29,r29,r5                             
ffc229ac:	7f bd 43 78 	or      r29,r29,r8                             
ffc229b0:	55 29 c0 0e 	rlwinm  r9,r9,24,0,7                           
ffc229b4:	7f bd 4b 78 	or      r29,r29,r9                             
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc229b8:	40 be 00 7c 	bne+    cr7,ffc22a34 <rtems_rfs_dir_del_entry+0x24c><== ALWAYS TAKEN
ffc229bc:	48 00 00 e4 	b       ffc22aa0 <rtems_rfs_dir_del_entry+0x2b8><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc229c0:	81 3c 00 1c 	lwz     r9,28(r28)                             
ffc229c4:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc229c8:	40 9c 00 7c 	bge-    cr7,ffc22a44 <rtems_rfs_dir_del_entry+0x25c><== NEVER TAKEN
ffc229cc:	41 9a 00 78 	beq-    cr6,ffc22a44 <rtems_rfs_dir_del_entry+0x25c><== NEVER TAKEN
ffc229d0:	81 3c 00 14 	lwz     r9,20(r28)                             
ffc229d4:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc229d8:	41 9c 00 6c 	blt-    cr7,ffc22a44 <rtems_rfs_dir_del_entry+0x25c><== NEVER TAKEN
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
ffc229dc:	41 86 01 18 	beq-    cr1,ffc22af4 <rtems_rfs_dir_del_entry+0x30c><== ALWAYS TAKEN
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
ffc229e0:	7f 7b f2 14 	add     r27,r27,r30                            <== 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))
ffc229e4:	7f 9b 38 40 	cmplw   cr7,r27,r7                             <== NOT EXECUTED
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
      }                                                               
                                                                      
      if (!search)                                                    
ffc229e8:	41 92 00 70 	beq-    cr4,ffc22a58 <rtems_rfs_dir_del_entry+0x270><== NOT EXECUTED
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
ffc229ec:	7f ff f2 14 	add     r31,r31,r30                            <== 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))
ffc229f0:	40 9c 00 b0 	bge-    cr7,ffc22aa0 <rtems_rfs_dir_del_entry+0x2b8><== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc229f4:	8b df 00 08 	lbz     r30,8(r31)                             <== NOT EXECUTED
ffc229f8:	89 3f 00 09 	lbz     r9,9(r31)                              <== NOT EXECUTED
ffc229fc:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22a00:	8b bf 00 00 	lbz     r29,0(r31)                             <== 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);                   
ffc22a04:	7f de 4b 78 	or      r30,r30,r9                             <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22a08:	89 1f 00 01 	lbz     r8,1(r31)                              <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22a0c:	7f 9e b0 00 	cmpw    cr7,r30,r22                            <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc22a10:	89 5f 00 03 	lbz     r10,3(r31)                             <== NOT EXECUTED
ffc22a14:	57 bd c0 0e 	rlwinm  r29,r29,24,0,7                         <== NOT EXECUTED
ffc22a18:	89 3f 00 02 	lbz     r9,2(r31)                              <== NOT EXECUTED
ffc22a1c:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          <== NOT EXECUTED
ffc22a20:	7f bd 43 78 	or      r29,r29,r8                             <== NOT EXECUTED
ffc22a24:	7f bd 53 78 	or      r29,r29,r10                            <== NOT EXECUTED
ffc22a28:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
ffc22a2c:	7f bd 4b 78 	or      r29,r29,r9                             <== NOT EXECUTED
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc22a30:	41 9e 00 70 	beq-    cr7,ffc22aa0 <rtems_rfs_dir_del_entry+0x2b8><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22a34:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc22a38:	2f 1d 00 00 	cmpwi   cr6,r29,0                              
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
ffc22a3c:	7c 99 e8 00 	cmpw    cr1,r25,r29                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22a40:	41 9d ff 80 	bgt+    cr7,ffc229c0 <rtems_rfs_dir_del_entry+0x1d8><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc22a44:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22a48:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc22a4c:	4b ff 52 e1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22a50:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22a54:	40 9e 00 78 	bne-    cr7,ffc22acc <rtems_rfs_dir_del_entry+0x2e4><== NOT EXECUTED
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
ffc22a58:	3b 40 00 05 	li      r26,5                                  <== 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);                       
ffc22a5c:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc22a60:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22a64:	4b ff e7 d5 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22a68:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc22a6c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc22a70:	91 21 00 5c 	stw     r9,92(r1)                              <== NOT EXECUTED
        rc = ENOENT;                                                  
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc22a74:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22a78:	38 81 00 08 	addi    r4,r1,8                                <== 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);                       
  handle->dirty = false;                                              
ffc22a7c:	99 41 00 58 	stb     r10,88(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22a80:	91 21 00 60 	stw     r9,96(r1)                              <== NOT EXECUTED
ffc22a84:	4b ff d8 f9 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc22a88:	4b ff fd d8 	b       ffc22860 <rtems_rfs_dir_del_entry+0x78><== NOT EXECUTED
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
ffc22a8c:	7d 37 33 96 	divwu   r9,r23,r6                              
ffc22a90:	7d 29 31 d6 	mullw   r9,r9,r6                               
ffc22a94:	7d 29 b8 50 	subf    r9,r9,r23                              
ffc22a98:	7d 3b 4b 78 	mr      r27,r9                                 
ffc22a9c:	4b ff fe c8 	b       ffc22964 <rtems_rfs_dir_del_entry+0x17c>
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
ffc22aa0:	40 a2 ff bc 	bne-    ffc22a5c <rtems_rfs_dir_del_entry+0x274><== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc22aa4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22aa8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc22aac:	38 a1 00 64 	addi    r5,r1,100                              <== NOT EXECUTED
ffc22ab0:	4b ff dd 49 	bl      ffc207f8 <rtems_rfs_block_map_next_block><== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc22ab4:	2f 83 00 06 	cmpwi   cr7,r3,6                               <== NOT EXECUTED
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc22ab8:	7c 7a 1b 78 	mr      r26,r3                                 <== NOT EXECUTED
      if (rc == ENXIO)                                                
ffc22abc:	41 9e 01 9c 	beq-    cr7,ffc22c58 <rtems_rfs_dir_del_entry+0x470><== NOT EXECUTED
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
ffc22ac0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22ac4:	41 9e fe 74 	beq+    cr7,ffc22938 <rtems_rfs_dir_del_entry+0x150><== NOT EXECUTED
ffc22ac8:	4b ff ff 94 	b       ffc22a5c <rtems_rfs_dir_del_entry+0x274><== NOT EXECUTED
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          printf ("rtems-rfs: dir-del-entry: "                        
ffc22acc:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22ad0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22ad4:	80 e1 00 64 	lwz     r7,100(r1)                             <== NOT EXECUTED
ffc22ad8:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc22adc:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc22ae0:	7f 68 db 78 	mr      r8,r27                                 <== NOT EXECUTED
ffc22ae4:	38 63 c2 6c 	addi    r3,r3,-15764                           <== NOT EXECUTED
ffc22ae8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22aec:	48 00 6e f1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22af0:	4b ff ff 68 	b       ffc22a58 <rtems_rfs_dir_del_entry+0x270><== NOT EXECUTED
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
ffc22af4:	7f be da 14 	add     r29,r30,r27                            
ffc22af8:	7f bd 30 50 	subf    r29,r29,r6                             
        memmove (entry, entry + elength, remaining);                  
ffc22afc:	7c 9f f2 14 	add     r4,r31,r30                             
ffc22b00:	7f a5 eb 78 	mr      r5,r29                                 
ffc22b04:	7f e3 fb 78 	mr      r3,r31                                 
ffc22b08:	48 00 6b 3d 	bl      ffc29644 <memmove>                     
        memset (entry + remaining, 0xff, elength);                    
ffc22b0c:	38 80 00 ff 	li      r4,255                                 
ffc22b10:	7f c5 f3 78 	mr      r5,r30                                 
ffc22b14:	7c 7f ea 14 	add     r3,r31,r29                             
ffc22b18:	48 00 6c 69 	bl      ffc29780 <memset>                      
         * 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);                 
ffc22b1c:	89 5f 00 08 	lbz     r10,8(r31)                             
ffc22b20:	89 3f 00 09 	lbz     r9,9(r31)                              
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc22b24:	38 60 00 00 	li      r3,0                                   
         * 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);                 
ffc22b28:	55 5f 40 2e 	rlwinm  r31,r10,8,0,23                         
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc22b2c:	3c 80 40 00 	lis     r4,16384                               
         * 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);                 
ffc22b30:	7f ff 4b 78 	or      r31,r31,r9                             
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
ffc22b34:	4b ff 51 f9 	bl      ffc17d2c <rtems_rfs_trace>             
ffc22b38:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22b3c:	41 9e 00 44 	beq-    cr7,ffc22b80 <rtems_rfs_dir_del_entry+0x398><== ALWAYS TAKEN
          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");    
ffc22b40:	81 21 00 18 	lwz     r9,24(r1)                              <== 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: "                        
ffc22b44:	80 c1 00 64 	lwz     r6,100(r1)                             <== NOT EXECUTED
ffc22b48:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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");    
ffc22b4c:	81 41 00 10 	lwz     r10,16(r1)                             <== 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: "                        
ffc22b50:	40 9e 00 f0 	bne-    cr7,ffc22c40 <rtems_rfs_dir_del_entry+0x458><== 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");    
ffc22b54:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc22b58:	40 9e 00 e8 	bne-    cr7,ffc22c40 <rtems_rfs_dir_del_entry+0x458><== 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: "                        
ffc22b5c:	3d 00 ff c4 	lis     r8,-60                                 <== NOT EXECUTED
ffc22b60:	39 08 ab 28 	addi    r8,r8,-21720                           <== NOT EXECUTED
ffc22b64:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22b68:	38 63 c2 b8 	addi    r3,r3,-15688                           <== NOT EXECUTED
ffc22b6c:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc22b70:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc22b74:	7f 67 db 78 	mr      r7,r27                                 <== NOT EXECUTED
ffc22b78:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22b7c:	48 00 6e 61 	bl      ffc299dc <printf>                      <== 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) &&                 
ffc22b80:	6f e9 ff ff 	xoris   r9,r31,65535                           
ffc22b84:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc22b88:	41 9e 00 40 	beq-    cr7,ffc22bc8 <rtems_rfs_dir_del_entry+0x3e0>
                      "block map shrink failed for ino %" PRIu32 ": %d: %s\n",
                      rtems_rfs_inode_ino (dir), rc, strerror (rc));  
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
ffc22b8c:	39 20 00 01 	li      r9,1                                   
 */                                                                   
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);                       
ffc22b90:	38 81 00 58 	addi    r4,r1,88                               
ffc22b94:	99 21 00 58 	stb     r9,88(r1)                              
ffc22b98:	7f 83 e3 78 	mr      r3,r28                                 
ffc22b9c:	4b ff e6 9d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22ba0:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc22ba4:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc22ba8:	91 21 00 5c 	stw     r9,92(r1)                              
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
ffc22bac:	7f 83 e3 78 	mr      r3,r28                                 
ffc22bb0:	38 81 00 08 	addi    r4,r1,8                                
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);                       
  handle->dirty = false;                                              
ffc22bb4:	99 41 00 58 	stb     r10,88(r1)                             
        return 0;                                                     
ffc22bb8:	3b 40 00 00 	li      r26,0                                  
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22bbc:	91 21 00 60 	stw     r9,96(r1)                              
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
ffc22bc0:	4b ff d7 bd 	bl      ffc2037c <rtems_rfs_block_map_close>   
ffc22bc4:	4b ff fc 9c 	b       ffc22860 <rtems_rfs_dir_del_entry+0x78>
                  "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) &&                 
ffc22bc8:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc22bcc:	40 be ff c0 	bne-    cr7,ffc22b8c <rtems_rfs_dir_del_entry+0x3a4><== ALWAYS TAKEN
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
ffc22bd0:	81 21 00 18 	lwz     r9,24(r1)                              <== NOT EXECUTED
ffc22bd4:	81 41 00 10 	lwz     r10,16(r1)                             <== NOT EXECUTED
ffc22bd8:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc22bdc:	40 9e 00 c4 	bne-    cr7,ffc22ca0 <rtems_rfs_dir_del_entry+0x4b8><== NOT EXECUTED
ffc22be0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc22be4:	40 9e 00 bc 	bne-    cr7,ffc22ca0 <rtems_rfs_dir_del_entry+0x4b8><== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
ffc22be8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc22bec:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc22bf0:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc22bf4:	4b ff e0 69 	bl      ffc20c5c <rtems_rfs_block_map_shrink>  <== NOT EXECUTED
          if (rc > 0)                                                 
ffc22bf8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc22bfc:	40 a1 ff 90 	ble-    ffc22b8c <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
          {                                                           
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))      
ffc22c00:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22c04:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc22c08:	4b ff 51 25 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22c0c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22c10:	41 9e ff 7c 	beq+    cr7,ffc22b8c <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
              printf ("rtems-rfs: dir-del-entry: "                    
ffc22c14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc22c18:	83 d8 00 08 	lwz     r30,8(r24)                             <== NOT EXECUTED
ffc22c1c:	48 00 7f 3d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22c20:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc22c24:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22c28:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22c2c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc22c30:	38 63 c3 18 	addi    r3,r3,-15592                           <== NOT EXECUTED
ffc22c34:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22c38:	48 00 6d a5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22c3c:	4b ff ff 50 	b       ffc22b8c <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
          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");    
ffc22c40:	39 4a ff ff 	addi    r10,r10,-1                             <== NOT EXECUTED
ffc22c44:	7f 89 50 00 	cmpw    cr7,r9,r10                             <== NOT EXECUTED
ffc22c48:	41 be ff 14 	beq-    cr7,ffc22b5c <rtems_rfs_dir_del_entry+0x374><== 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: "                        
ffc22c4c:	3d 00 ff c4 	lis     r8,-60                                 <== NOT EXECUTED
ffc22c50:	39 08 b0 60 	addi    r8,r8,-20384                           <== NOT EXECUTED
ffc22c54:	4b ff ff 10 	b       ffc22b64 <rtems_rfs_dir_del_entry+0x37c><== NOT EXECUTED
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
ffc22c58:	3b 40 00 02 	li      r26,2                                  <== NOT EXECUTED
ffc22c5c:	4b ff fe 00 	b       ffc22a5c <rtems_rfs_dir_del_entry+0x274><== 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))            
ffc22c60:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22c64:	3c 80 40 00 	lis     r4,16384                               <== NOT EXECUTED
ffc22c68:	4b ff 50 c5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22c6c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22c70:	41 9e fd ec 	beq+    cr7,ffc22a5c <rtems_rfs_dir_del_entry+0x274><== NOT EXECUTED
        printf ("rtems-rfs: dir-del-entry: "                          
ffc22c74:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc22c78:	83 f8 00 08 	lwz     r31,8(r24)                             <== NOT EXECUTED
ffc22c7c:	48 00 7e dd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22c80:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc22c84:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22c88:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22c8c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc22c90:	38 63 c2 24 	addi    r3,r3,-15836                           <== NOT EXECUTED
ffc22c94:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22c98:	48 00 6d 45 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22c9c:	4b ff fd c0 	b       ffc22a5c <rtems_rfs_dir_del_entry+0x274><== 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))        
ffc22ca0:	39 4a ff ff 	addi    r10,r10,-1                             <== NOT EXECUTED
ffc22ca4:	7f 89 50 00 	cmpw    cr7,r9,r10                             <== NOT EXECUTED
ffc22ca8:	40 9e fe e4 	bne+    cr7,ffc22b8c <rtems_rfs_dir_del_entry+0x3a4><== NOT EXECUTED
ffc22cac:	4b ff ff 3c 	b       ffc22be8 <rtems_rfs_dir_del_entry+0x400><== NOT EXECUTED
                                                                      

ffc230dc <rtems_rfs_dir_empty>: } int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) {
ffc230dc:	94 21 ff 78 	stwu    r1,-136(r1)                            
ffc230e0:	7c 08 02 a6 	mflr    r0                                     
ffc230e4:	93 61 00 74 	stw     r27,116(r1)                            
ffc230e8:	7c 9b 23 78 	mr      r27,r4                                 
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc230ec:	3c 80 80 00 	lis     r4,-32768                              
}                                                                     
                                                                      
int                                                                   
rtems_rfs_dir_empty (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_inode_handle* dir)                     
{                                                                     
ffc230f0:	93 81 00 78 	stw     r28,120(r1)                            
ffc230f4:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc230f8:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_dir_empty (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_inode_handle* dir)                     
{                                                                     
ffc230fc:	90 01 00 8c 	stw     r0,140(r1)                             
ffc23100:	93 01 00 68 	stw     r24,104(r1)                            
ffc23104:	93 21 00 6c 	stw     r25,108(r1)                            
ffc23108:	93 41 00 70 	stw     r26,112(r1)                            
ffc2310c:	93 a1 00 7c 	stw     r29,124(r1)                            
ffc23110:	93 c1 00 80 	stw     r30,128(r1)                            
ffc23114:	93 e1 00 84 	stw     r31,132(r1)                            
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
ffc23118:	4b ff 4c 15 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2311c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23120:	40 9e 00 50 	bne-    cr7,ffc23170 <rtems_rfs_dir_empty+0x94><== NEVER TAKEN
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc23124:	7f 83 e3 78 	mr      r3,r28                                 
ffc23128:	7f 64 db 78 	mr      r4,r27                                 
ffc2312c:	38 a1 00 08 	addi    r5,r1,8                                
ffc23130:	4b ff d0 61 	bl      ffc20190 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc23134:	7c 78 1b 79 	mr.     r24,r3                                 
ffc23138:	40 81 00 64 	ble-    ffc2319c <rtems_rfs_dir_empty+0xc0>    <== ALWAYS TAKEN
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc2313c:	80 01 00 8c 	lwz     r0,140(r1)                             <== NOT EXECUTED
ffc23140:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc23144:	83 21 00 6c 	lwz     r25,108(r1)                            <== NOT EXECUTED
ffc23148:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2314c:	83 01 00 68 	lwz     r24,104(r1)                            <== NOT EXECUTED
ffc23150:	83 41 00 70 	lwz     r26,112(r1)                            <== NOT EXECUTED
ffc23154:	83 61 00 74 	lwz     r27,116(r1)                            <== NOT EXECUTED
ffc23158:	83 81 00 78 	lwz     r28,120(r1)                            <== NOT EXECUTED
ffc2315c:	83 a1 00 7c 	lwz     r29,124(r1)                            <== NOT EXECUTED
ffc23160:	83 c1 00 80 	lwz     r30,128(r1)                            <== NOT EXECUTED
ffc23164:	83 e1 00 84 	lwz     r31,132(r1)                            <== NOT EXECUTED
ffc23168:	38 21 00 88 	addi    r1,r1,136                              <== NOT EXECUTED
ffc2316c:	4e 80 00 20 	blr                                            <== 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));
ffc23170:	80 9b 00 08 	lwz     r4,8(r27)                              <== NOT EXECUTED
ffc23174:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23178:	38 63 c4 40 	addi    r3,r3,-15296                           <== NOT EXECUTED
ffc2317c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23180:	48 00 68 5d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc23184:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23188:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc2318c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc23190:	4b ff d0 01 	bl      ffc20190 <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc23194:	7c 78 1b 79 	mr.     r24,r3                                 <== NOT EXECUTED
ffc23198:	41 81 ff a4 	bgt+    ffc2313c <rtems_rfs_dir_empty+0x60>    <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
ffc2319c:	7f 83 e3 78 	mr      r3,r28                                 
ffc231a0:	38 81 00 08 	addi    r4,r1,8                                
ffc231a4:	38 a0 00 00 	li      r5,0                                   
ffc231a8:	38 c0 00 00 	li      r6,0                                   
ffc231ac:	38 e1 00 64 	addi    r7,r1,100                              
ffc231b0:	4b ff d5 85 	bl      ffc20734 <rtems_rfs_block_map_seek>    
  if (rc > 0)                                                         
ffc231b4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc231b8:	41 81 02 10 	bgt-    ffc233c8 <rtems_rfs_dir_empty+0x2ec>   <== NEVER TAKEN
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc231bc:	39 20 00 00 	li      r9,0                                   
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc231c0:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc231c4:	91 21 00 5c 	stw     r9,92(r1)                              
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc231c8:	3b 20 00 00 	li      r25,0                                  
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
ffc231cc:	3f 40 ff c4 	lis     r26,-60                                
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc231d0:	99 41 00 58 	stb     r10,88(r1)                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc231d4:	63 39 ff ff 	ori     r25,r25,65535                          
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc231d8:	91 21 00 60 	stw     r9,96(r1)                              
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
ffc231dc:	3b 5a c4 60 	addi    r26,r26,-15264                         
  while (empty)                                                       
  {                                                                   
    uint8_t* entry;                                                   
    int      offset;                                                  
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc231e0:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc231e4:	7f 83 e3 78 	mr      r3,r28                                 
ffc231e8:	38 81 00 58 	addi    r4,r1,88                               
ffc231ec:	38 c0 00 01 	li      r6,1                                   
ffc231f0:	4b ff e2 5d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
    if (rc > 0)                                                       
ffc231f4:	7c 78 1b 79 	mr.     r24,r3                                 
ffc231f8:	41 81 01 18 	bgt-    ffc23310 <rtems_rfs_dir_empty+0x234>   <== NEVER TAKEN
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc231fc:	80 dc 00 08 	lwz     r6,8(r28)                              
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc23200:	81 21 00 60 	lwz     r9,96(r1)                              
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23204:	38 c6 ff f6 	addi    r6,r6,-10                              
ffc23208:	2f 86 00 00 	cmpwi   cr7,r6,0                               
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc2320c:	81 29 00 1c 	lwz     r9,28(r9)                              
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23210:	41 9e 01 90 	beq-    cr7,ffc233a0 <rtems_rfs_dir_empty+0x2c4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc23214:	8b e9 00 08 	lbz     r31,8(r9)                              
ffc23218:	89 49 00 09 	lbz     r10,9(r9)                              
ffc2321c:	57 ff 40 2e 	rlwinm  r31,r31,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23220:	8b c9 00 00 	lbz     r30,0(r9)                              
    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);                   
ffc23224:	7f ff 53 78 	or      r31,r31,r10                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23228:	88 e9 00 02 	lbz     r7,2(r9)                               
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc2322c:	7f 9f c8 00 	cmpw    cr7,r31,r25                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23230:	89 09 00 03 	lbz     r8,3(r9)                               
ffc23234:	57 de c0 0e 	rlwinm  r30,r30,24,0,7                         
ffc23238:	89 49 00 01 	lbz     r10,1(r9)                              
ffc2323c:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc23240:	7f de 3b 78 	or      r30,r30,r7                             
ffc23244:	7f de 43 78 	or      r30,r30,r8                             
ffc23248:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc2324c:	7f de 53 78 	or      r30,r30,r10                            
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc23250:	41 9e 01 50 	beq-    cr7,ffc233a0 <rtems_rfs_dir_empty+0x2c4><== NEVER TAKEN
ffc23254:	3b a0 00 00 	li      r29,0                                  
ffc23258:	48 00 00 74 	b       ffc232cc <rtems_rfs_dir_empty+0x1f0>   
      /*                                                              
       * 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] != '.')) &&               
ffc2325c:	2f 9f 00 0c 	cmpwi   cr7,r31,12                             
ffc23260:	40 9e 00 a8 	bne-    cr7,ffc23308 <rtems_rfs_dir_empty+0x22c>
          ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) ||             
ffc23264:	89 49 00 0a 	lbz     r10,10(r9)                             
ffc23268:	2f 8a 00 2e 	cmpwi   cr7,r10,46                             
ffc2326c:	40 9e 00 9c 	bne-    cr7,ffc23308 <rtems_rfs_dir_empty+0x22c><== NEVER TAKEN
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') ||                
ffc23270:	89 49 00 0b 	lbz     r10,11(r9)                             
ffc23274:	2f 8a 00 2e 	cmpwi   cr7,r10,46                             
ffc23278:	40 9e 00 90 	bne-    cr7,ffc23308 <rtems_rfs_dir_empty+0x22c><== NEVER TAKEN
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
ffc2327c:	7f bd fa 14 	add     r29,r29,r31                            
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23280:	7f 9d 30 40 	cmplw   cr7,r29,r6                             
      {                                                               
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
ffc23284:	7d 29 fa 14 	add     r9,r9,r31                              
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc23288:	40 9c 01 18 	bge-    cr7,ffc233a0 <rtems_rfs_dir_empty+0x2c4><== NEVER TAKEN
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
ffc2328c:	8b e9 00 08 	lbz     r31,8(r9)                              
ffc23290:	89 49 00 09 	lbz     r10,9(r9)                              
ffc23294:	57 ff 40 2e 	rlwinm  r31,r31,8,0,23                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc23298:	8b c9 00 00 	lbz     r30,0(r9)                              
    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);                   
ffc2329c:	7f ff 53 78 	or      r31,r31,r10                            
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc232a0:	88 e9 00 01 	lbz     r7,1(r9)                               
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc232a4:	7f 9f c8 00 	cmpw    cr7,r31,r25                            
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
ffc232a8:	89 09 00 03 	lbz     r8,3(r9)                               
ffc232ac:	57 de c0 0e 	rlwinm  r30,r30,24,0,7                         
ffc232b0:	89 49 00 02 	lbz     r10,2(r9)                              
ffc232b4:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc232b8:	7f de 3b 78 	or      r30,r30,r7                             
ffc232bc:	7f de 43 78 	or      r30,r30,r8                             
ffc232c0:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc232c4:	7f de 53 78 	or      r30,r30,r10                            
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
ffc232c8:	41 9e 00 d8 	beq-    cr7,ffc233a0 <rtems_rfs_dir_empty+0x2c4>
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc232cc:	2f 9f 00 0a 	cmpwi   cr7,r31,10                             
ffc232d0:	40 9d 00 a0 	ble-    cr7,ffc23370 <rtems_rfs_dir_empty+0x294><== NEVER TAKEN
ffc232d4:	81 5c 00 1c 	lwz     r10,28(r28)                            
ffc232d8:	7f 9f 50 40 	cmplw   cr7,r31,r10                            
ffc232dc:	40 9c 00 94 	bge-    cr7,ffc23370 <rtems_rfs_dir_empty+0x294><== NEVER TAKEN
ffc232e0:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc232e4:	41 9e 00 8c 	beq-    cr7,ffc23370 <rtems_rfs_dir_empty+0x294><== NEVER TAKEN
ffc232e8:	81 5c 00 14 	lwz     r10,20(r28)                            
ffc232ec:	7f 8a f0 40 	cmplw   cr7,r10,r30                            
ffc232f0:	41 9c 00 80 	blt-    cr7,ffc23370 <rtems_rfs_dir_empty+0x294><== NEVER TAKEN
                                                                      
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
ffc232f4:	2f 9f 00 0b 	cmpwi   cr7,r31,11                             
ffc232f8:	40 9e ff 64 	bne+    cr7,ffc2325c <rtems_rfs_dir_empty+0x180>
ffc232fc:	89 49 00 0a 	lbz     r10,10(r9)                             
ffc23300:	2f 8a 00 2e 	cmpwi   cr7,r10,46                             
ffc23304:	41 be ff 78 	beq-    cr7,ffc2327c <rtems_rfs_dir_empty+0x1a0><== ALWAYS TAKEN
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
ffc23308:	40 82 00 08 	bne-    ffc23310 <rtems_rfs_dir_empty+0x234>   <== NEVER TAKEN
    rc = ENOTEMPTY;                                                   
ffc2330c:	3b 00 00 5a 	li      r24,90                                 
 */                                                                   
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);                       
ffc23310:	38 81 00 58 	addi    r4,r1,88                               
ffc23314:	7f 83 e3 78 	mr      r3,r28                                 
ffc23318:	4b ff df 21 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc2331c:	39 20 00 00 	li      r9,0                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc23320:	7f 83 e3 78 	mr      r3,r28                                 
ffc23324:	91 21 00 5c 	stw     r9,92(r1)                              
ffc23328:	38 81 00 08 	addi    r4,r1,8                                
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);                       
  handle->dirty = false;                                              
ffc2332c:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23330:	91 21 00 60 	stw     r9,96(r1)                              
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);                       
  handle->dirty = false;                                              
ffc23334:	99 41 00 58 	stb     r10,88(r1)                             
ffc23338:	4b ff d0 45 	bl      ffc2037c <rtems_rfs_block_map_close>   
  return rc;                                                          
}                                                                     
ffc2333c:	7f 03 c3 78 	mr      r3,r24                                 
ffc23340:	80 01 00 8c 	lwz     r0,140(r1)                             
ffc23344:	83 01 00 68 	lwz     r24,104(r1)                            
ffc23348:	7c 08 03 a6 	mtlr    r0                                     
ffc2334c:	83 21 00 6c 	lwz     r25,108(r1)                            
ffc23350:	83 41 00 70 	lwz     r26,112(r1)                            
ffc23354:	83 61 00 74 	lwz     r27,116(r1)                            
ffc23358:	83 81 00 78 	lwz     r28,120(r1)                            
ffc2335c:	83 a1 00 7c 	lwz     r29,124(r1)                            
ffc23360:	83 c1 00 80 	lwz     r30,128(r1)                            
ffc23364:	83 e1 00 84 	lwz     r31,132(r1)                            
ffc23368:	38 21 00 88 	addi    r1,r1,136                              
ffc2336c:	4e 80 00 20 	blr                                            
      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))              
ffc23370:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc23374:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23378:	4b ff 49 b5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2337c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23380:	41 be 00 20 	beq+    cr7,ffc233a0 <rtems_rfs_dir_empty+0x2c4><== NOT EXECUTED
          printf ("rtems-rfs: dir-empty: "                            
ffc23384:	80 9b 00 08 	lwz     r4,8(r27)                              <== NOT EXECUTED
ffc23388:	7f 43 d3 78 	mr      r3,r26                                 <== NOT EXECUTED
ffc2338c:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc23390:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc23394:	7f a7 eb 78 	mr      r7,r29                                 <== NOT EXECUTED
ffc23398:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2339c:	48 00 66 41 	bl      ffc299dc <printf>                      <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
ffc233a0:	7f 83 e3 78 	mr      r3,r28                                 
ffc233a4:	38 81 00 08 	addi    r4,r1,8                                
ffc233a8:	38 a1 00 64 	addi    r5,r1,100                              
ffc233ac:	4b ff d4 4d 	bl      ffc207f8 <rtems_rfs_block_map_next_block>
      if (rc > 0)                                                     
ffc233b0:	7c 78 1b 79 	mr.     r24,r3                                 
ffc233b4:	40 81 fe 2c 	ble+    ffc231e0 <rtems_rfs_dir_empty+0x104>   <== NEVER TAKEN
      {                                                               
        if (rc == ENXIO)                                              
ffc233b8:	2f 98 00 06 	cmpwi   cr7,r24,6                              
ffc233bc:	40 9e ff 54 	bne+    cr7,ffc23310 <rtems_rfs_dir_empty+0x234><== NEVER TAKEN
ffc233c0:	3b 00 00 00 	li      r24,0                                  
ffc233c4:	4b ff ff 4c 	b       ffc23310 <rtems_rfs_dir_empty+0x234>   
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_block_map_close (fs, &map);                             
ffc233c8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc233cc:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc233d0:	4b ff cf ad 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc233d4:	4b ff fd 68 	b       ffc2313c <rtems_rfs_dir_empty+0x60>    <== NOT EXECUTED
                                                                      

ffc27be8 <rtems_rfs_dir_hash>: } 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)
ffc27be8:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc27bec:	94 21 ff e8 	stwu    r1,-24(r1)                             
  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;              
ffc27bf0:	3c e4 df df 	addis   r7,r4,-8225                            
ffc27bf4:	38 e7 16 9f 	addi    r7,r7,5791                             
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc27bf8:	93 81 00 08 	stw     r28,8(r1)                              
                                                                      
  } 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)                                               
ffc27bfc:	7c 69 1b 78 	mr      r9,r3                                  
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc27c00:	93 a1 00 0c 	stw     r29,12(r1)                             
                                                                      
  } 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)                                               
ffc27c04:	7c ea 3b 78 	mr      r10,r7                                 
ffc27c08:	7c e8 3b 78 	mr      r8,r7                                  
*/                                                                    
                                                                      
#define initval (20010928)                                            
uint32_t                                                              
rtems_rfs_dir_hash (const void *key, size_t length)                   
{                                                                     
ffc27c0c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc27c10:	93 e1 00 14 	stw     r31,20(r1)                             
                                                                      
  } 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)                                               
ffc27c14:	40 9d 00 f8 	ble-    cr7,ffc27d0c <rtems_rfs_dir_hash+0x124>
      b += k[4];                                                      
      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;                                       
ffc27c18:	8b 89 00 09 	lbz     r28,9(r9)                              
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
      length -= 12;                                                   
ffc27c1c:	38 84 ff f4 	addi    r4,r4,-12                              
      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;                                     
ffc27c20:	88 69 00 0a 	lbz     r3,10(r9)                              
                                                                      
  } 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)                                               
ffc27c24:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
ffc27c28:	89 69 00 01 	lbz     r11,1(r9)                              
      b += k[4];                                                      
      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;                                       
ffc27c2c:	57 9c 40 2e 	rlwinm  r28,r28,8,0,23                         
    /*--------------- 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;                                      
ffc27c30:	88 a9 00 02 	lbz     r5,2(r9)                               
      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;                                     
ffc27c34:	54 63 80 1e 	rlwinm  r3,r3,16,0,15                          
      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];                                                      
ffc27c38:	88 09 00 08 	lbz     r0,8(r9)                               
                                                                      
    /*--------------- 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;                                       
ffc27c3c:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
      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;                                     
ffc27c40:	8b a9 00 0b 	lbz     r29,11(r9)                             
      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];                                                      
ffc27c44:	7c 7c 1a 14 	add     r3,r28,r3                              
      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;                                       
ffc27c48:	8b e9 00 05 	lbz     r31,5(r9)                              
    /*--------------- 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;                                      
ffc27c4c:	54 a5 80 1e 	rlwinm  r5,r5,16,0,15                          
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
ffc27c50:	88 c9 00 06 	lbz     r6,6(r9)                               
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
ffc27c54:	7c 63 02 14 	add     r3,r3,r0                               
    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];                                                      
ffc27c58:	8b c9 00 00 	lbz     r30,0(r9)                              
ffc27c5c:	7c ab 2a 14 	add     r5,r11,r5                              
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
ffc27c60:	89 89 00 03 	lbz     r12,3(r9)                              
      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;                                     
ffc27c64:	57 bd c0 0e 	rlwinm  r29,r29,24,0,7                         
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
ffc27c68:	88 09 00 04 	lbz     r0,4(r9)                               
      b += ((uint32_t)k[5])<<8;                                       
ffc27c6c:	57 ff 40 2e 	rlwinm  r31,r31,8,0,23                         
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
ffc27c70:	89 69 00 07 	lbz     r11,7(r9)                              
      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;                                      
ffc27c74:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
ffc27c78:	7c 63 ea 14 	add     r3,r3,r29                              
                                                                      
    /*--------------- 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;                                       
ffc27c7c:	7c a5 f2 14 	add     r5,r5,r30                              
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
ffc27c80:	55 8c c0 0e 	rlwinm  r12,r12,24,0,7                         
      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;                                     
ffc27c84:	7c 63 3a 14 	add     r3,r3,r7                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
ffc27c88:	7c df 32 14 	add     r6,r31,r6                              
    /*--------------- 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;                                      
ffc27c8c:	7c a5 62 14 	add     r5,r5,r12                              
      a += ((uint32_t)k[3])<<24;                                      
ffc27c90:	7c a3 28 50 	subf    r5,r3,r5                               
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
ffc27c94:	55 67 c0 0e 	rlwinm  r7,r11,24,0,7                          
      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;                                       
ffc27c98:	7c c6 02 14 	add     r6,r6,r0                               
      b += ((uint32_t)k[6])<<16;                                      
ffc27c9c:	7c c6 3a 14 	add     r6,r6,r7                               
      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);                                                     
ffc27ca0:	7d 05 42 14 	add     r8,r5,r8                               
ffc27ca4:	54 67 20 3e 	rotlwi  r7,r3,4                                
      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;                                      
ffc27ca8:	7d 46 52 14 	add     r10,r6,r10                             
      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);                                                     
ffc27cac:	7d 08 3a 78 	xor     r8,r8,r7                               
ffc27cb0:	7c e8 50 50 	subf    r7,r8,r10                              
ffc27cb4:	55 06 30 3e 	rotlwi  r6,r8,6                                
ffc27cb8:	7c c6 3a 78 	xor     r6,r6,r7                               
ffc27cbc:	7c 63 52 14 	add     r3,r3,r10                              
ffc27cc0:	7d 46 18 50 	subf    r10,r6,r3                              
ffc27cc4:	54 c7 40 3e 	rotlwi  r7,r6,8                                
ffc27cc8:	7c 68 1a 14 	add     r3,r8,r3                               
ffc27ccc:	7c e7 52 78 	xor     r7,r7,r10                              
ffc27cd0:	7d 47 18 50 	subf    r10,r7,r3                              
ffc27cd4:	54 e8 80 3e 	rotlwi  r8,r7,16                               
ffc27cd8:	7d 08 52 78 	xor     r8,r8,r10                              
ffc27cdc:	7c c6 1a 14 	add     r6,r6,r3                               
ffc27ce0:	7d 48 30 50 	subf    r10,r8,r6                              
ffc27ce4:	55 05 98 3e 	rotlwi  r5,r8,19                               
ffc27ce8:	7c aa 52 78 	xor     r10,r5,r10                             
ffc27cec:	7c e7 32 14 	add     r7,r7,r6                               
ffc27cf0:	7d 08 3a 14 	add     r8,r8,r7                               
ffc27cf4:	55 43 20 3e 	rotlwi  r3,r10,4                               
ffc27cf8:	7c ea 38 50 	subf    r7,r10,r7                              
ffc27cfc:	7c 67 3a 78 	xor     r7,r3,r7                               
ffc27d00:	7d 4a 42 14 	add     r10,r10,r8                             
      length -= 12;                                                   
      k += 12;                                                        
ffc27d04:	39 29 00 0c 	addi    r9,r9,12                               
                                                                      
  } 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)                                               
ffc27d08:	41 9d ff 10 	bgt+    cr7,ffc27c18 <rtems_rfs_dir_hash+0x30> <== NEVER TAKEN
      length -= 12;                                                   
      k += 12;                                                        
    }                                                                 
                                                                      
    /*-------------------------------- last block: affect all 32 bits of (c) */
    switch(length)                   /* all the case statements fall through */
ffc27d0c:	2b 84 00 0c 	cmplwi  cr7,r4,12                              
ffc27d10:	41 9d 00 f8 	bgt-    cr7,ffc27e08 <rtems_rfs_dir_hash+0x220><== NEVER TAKEN
ffc27d14:	3c c0 ff c4 	lis     r6,-60                                 
ffc27d18:	38 c6 ce 6c 	addi    r6,r6,-12692                           
ffc27d1c:	54 84 10 3a 	rlwinm  r4,r4,2,0,29                           
ffc27d20:	7c a6 20 2e 	lwzx    r5,r6,r4                               
ffc27d24:	7c c5 32 14 	add     r6,r5,r6                               
ffc27d28:	7c c9 03 a6 	mtctr   r6                                     
ffc27d2c:	4e 80 04 20 	bctr                                           
    {                                                                 
      case 12: c+=((uint32_t)k[11])<<24;                              
ffc27d30:	88 c9 00 0b 	lbz     r6,11(r9)                              
ffc27d34:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc27d38:	7c e7 32 14 	add     r7,r7,r6                               
      case 11: c+=((uint32_t)k[10])<<16;                              
ffc27d3c:	88 c9 00 0a 	lbz     r6,10(r9)                              
ffc27d40:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc27d44:	7c e7 32 14 	add     r7,r7,r6                               
      case 10: c+=((uint32_t)k[9])<<8;                                
ffc27d48:	88 c9 00 09 	lbz     r6,9(r9)                               
ffc27d4c:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           
ffc27d50:	7c e7 32 14 	add     r7,r7,r6                               
      case 9 : c+=k[8];                                               
ffc27d54:	88 c9 00 08 	lbz     r6,8(r9)                               
ffc27d58:	7c e7 32 14 	add     r7,r7,r6                               
      case 8 : b+=((uint32_t)k[7])<<24;                               
ffc27d5c:	88 c9 00 07 	lbz     r6,7(r9)                               
ffc27d60:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc27d64:	7d 4a 32 14 	add     r10,r10,r6                             
      case 7 : b+=((uint32_t)k[6])<<16;                               
ffc27d68:	88 c9 00 06 	lbz     r6,6(r9)                               
ffc27d6c:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc27d70:	7d 4a 32 14 	add     r10,r10,r6                             
      case 6 : b+=((uint32_t)k[5])<<8;                                
ffc27d74:	88 c9 00 05 	lbz     r6,5(r9)                               
ffc27d78:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           
ffc27d7c:	7d 4a 32 14 	add     r10,r10,r6                             
      case 5 : b+=k[4];                                               
ffc27d80:	88 c9 00 04 	lbz     r6,4(r9)                               
ffc27d84:	7d 4a 32 14 	add     r10,r10,r6                             
      case 4 : a+=((uint32_t)k[3])<<24;                               
ffc27d88:	88 c9 00 03 	lbz     r6,3(r9)                               
ffc27d8c:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc27d90:	7d 08 32 14 	add     r8,r8,r6                               
      case 3 : a+=((uint32_t)k[2])<<16;                               
ffc27d94:	88 c9 00 02 	lbz     r6,2(r9)                               
ffc27d98:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc27d9c:	7d 08 32 14 	add     r8,r8,r6                               
      case 2 : a+=((uint32_t)k[1])<<8;                                
ffc27da0:	88 c9 00 01 	lbz     r6,1(r9)                               
ffc27da4:	54 c6 40 2e 	rlwinm  r6,r6,8,0,23                           
ffc27da8:	7d 08 32 14 	add     r8,r8,r6                               
      case 1 : a+=k[0];                                               
ffc27dac:	88 c9 00 00 	lbz     r6,0(r9)                               
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc27db0:	7c e7 52 78 	xor     r7,r7,r10                              
ffc27db4:	55 49 70 3e 	rotlwi  r9,r10,14                              
ffc27db8:	7d 29 38 50 	subf    r9,r9,r7                               
      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];                                               
ffc27dbc:	7d 08 32 14 	add     r8,r8,r6                               
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
ffc27dc0:	55 27 58 3e 	rotlwi  r7,r9,11                               
ffc27dc4:	7d 28 42 78 	xor     r8,r9,r8                               
ffc27dc8:	7d 07 40 50 	subf    r8,r7,r8                               
ffc27dcc:	55 07 c8 3e 	rotlwi  r7,r8,25                               
ffc27dd0:	7d 0a 52 78 	xor     r10,r8,r10                             
ffc27dd4:	7d 47 50 50 	subf    r10,r7,r10                             
ffc27dd8:	7d 49 4a 78 	xor     r9,r10,r9                              
ffc27ddc:	55 46 80 3e 	rotlwi  r6,r10,16                              
ffc27de0:	7d 26 48 50 	subf    r9,r6,r9                               
ffc27de4:	55 27 20 3e 	rotlwi  r7,r9,4                                
ffc27de8:	7d 28 42 78 	xor     r8,r9,r8                               
ffc27dec:	7d 07 40 50 	subf    r8,r7,r8                               
ffc27df0:	7d 0a 52 78 	xor     r10,r8,r10                             
ffc27df4:	55 08 70 3e 	rotlwi  r8,r8,14                               
ffc27df8:	7d 48 50 50 	subf    r10,r8,r10                             
ffc27dfc:	7d 47 4a 78 	xor     r7,r10,r9                              
ffc27e00:	55 4a c0 3e 	rotlwi  r10,r10,24                             
ffc27e04:	7c ea 38 50 	subf    r7,r10,r7                              
  return c;                                                           
}                                                                     
ffc27e08:	83 81 00 08 	lwz     r28,8(r1)                              
ffc27e0c:	7c e3 3b 78 	mr      r3,r7                                  
ffc27e10:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc27e14:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc27e18:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc27e1c:	38 21 00 18 	addi    r1,r1,24                               
ffc27e20:	4e 80 00 20 	blr                                            
                                                                      

ffc21d20 <rtems_rfs_dir_lookup_ino>: rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) {
ffc21d20:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc21d24:	7d 80 00 26 	mfcr    r12                                    
ffc21d28:	7c 08 02 a6 	mflr    r0                                     
ffc21d2c:	93 01 00 90 	stw     r24,144(r1)                            
ffc21d30:	7c 98 23 78 	mr      r24,r4                                 
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc21d34:	3c 80 04 00 	lis     r4,1024                                
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc21d38:	93 a1 00 a4 	stw     r29,164(r1)                            
ffc21d3c:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc21d40:	38 60 00 00 	li      r3,0                                   
                          rtems_rfs_inode_handle* inode,              
                          const char*             name,               
                          int                     length,             
                          rtems_rfs_ino*          ino,                
                          uint32_t*               offset)             
{                                                                     
ffc21d44:	92 81 00 80 	stw     r20,128(r1)                            
ffc21d48:	7d 14 43 78 	mr      r20,r8                                 
ffc21d4c:	92 c1 00 88 	stw     r22,136(r1)                            
ffc21d50:	7c b6 2b 78 	mr      r22,r5                                 
ffc21d54:	92 e1 00 8c 	stw     r23,140(r1)                            
ffc21d58:	7c d7 33 78 	mr      r23,r6                                 
ffc21d5c:	93 81 00 a0 	stw     r28,160(r1)                            
ffc21d60:	7c fc 3b 78 	mr      r28,r7                                 
ffc21d64:	90 01 00 b4 	stw     r0,180(r1)                             
ffc21d68:	92 01 00 70 	stw     r16,112(r1)                            
ffc21d6c:	92 21 00 74 	stw     r17,116(r1)                            
ffc21d70:	92 41 00 78 	stw     r18,120(r1)                            
ffc21d74:	92 61 00 7c 	stw     r19,124(r1)                            
ffc21d78:	92 a1 00 84 	stw     r21,132(r1)                            
ffc21d7c:	93 21 00 94 	stw     r25,148(r1)                            
ffc21d80:	93 41 00 98 	stw     r26,152(r1)                            
ffc21d84:	93 61 00 9c 	stw     r27,156(r1)                            
ffc21d88:	93 c1 00 a8 	stw     r30,168(r1)                            
ffc21d8c:	93 e1 00 ac 	stw     r31,172(r1)                            
ffc21d90:	91 81 00 6c 	stw     r12,108(r1)                            
  rtems_rfs_block_map     map;                                        
  rtems_rfs_buffer_handle entries;                                    
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))               
ffc21d94:	4b ff 5f 99 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21d98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21d9c:	40 9e 00 c4 	bne-    cr7,ffc21e60 <rtems_rfs_dir_lookup_ino+0x140><== NEVER TAKEN
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc21da0:	3b e0 00 00 	li      r31,0                                  
ffc21da4:	93 fc 00 00 	stw     r31,0(r28)                             
  *offset = 0;                                                        
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc21da8:	7f a3 eb 78 	mr      r3,r29                                 
ffc21dac:	7f 04 c3 78 	mr      r4,r24                                 
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
  *offset = 0;                                                        
ffc21db0:	93 f4 00 00 	stw     r31,0(r20)                             
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc21db4:	38 a1 00 08 	addi    r5,r1,8                                
ffc21db8:	4b ff e3 d9 	bl      ffc20190 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc21dbc:	7c 79 1b 79 	mr.     r25,r3                                 
ffc21dc0:	40 81 01 0c 	ble-    ffc21ecc <rtems_rfs_dir_lookup_ino+0x1ac><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
ffc21dc4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21dc8:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc21dcc:	4b ff 5f 61 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21dd0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21dd4:	40 9e 00 60 	bne-    cr7,ffc21e34 <rtems_rfs_dir_lookup_ino+0x114><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc21dd8:	80 01 00 b4 	lwz     r0,180(r1)                             
ffc21ddc:	7f 23 cb 78 	mr      r3,r25                                 
ffc21de0:	81 81 00 6c 	lwz     r12,108(r1)                            
ffc21de4:	7c 08 03 a6 	mtlr    r0                                     
ffc21de8:	82 01 00 70 	lwz     r16,112(r1)                            
ffc21dec:	82 21 00 74 	lwz     r17,116(r1)                            
ffc21df0:	7d 80 81 20 	mtcrf   8,r12                                  
ffc21df4:	82 41 00 78 	lwz     r18,120(r1)                            
ffc21df8:	82 61 00 7c 	lwz     r19,124(r1)                            
ffc21dfc:	82 81 00 80 	lwz     r20,128(r1)                            
ffc21e00:	82 a1 00 84 	lwz     r21,132(r1)                            
ffc21e04:	82 c1 00 88 	lwz     r22,136(r1)                            
ffc21e08:	82 e1 00 8c 	lwz     r23,140(r1)                            
ffc21e0c:	83 01 00 90 	lwz     r24,144(r1)                            
ffc21e10:	83 21 00 94 	lwz     r25,148(r1)                            
ffc21e14:	83 41 00 98 	lwz     r26,152(r1)                            
ffc21e18:	83 61 00 9c 	lwz     r27,156(r1)                            
ffc21e1c:	83 81 00 a0 	lwz     r28,160(r1)                            
ffc21e20:	83 a1 00 a4 	lwz     r29,164(r1)                            
ffc21e24:	83 c1 00 a8 	lwz     r30,168(r1)                            
ffc21e28:	83 e1 00 ac 	lwz     r31,172(r1)                            
ffc21e2c:	38 21 00 b0 	addi    r1,r1,176                              
ffc21e30:	4e 80 00 20 	blr                                            
                                                                      
  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",
ffc21e34:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc21e38:	83 f8 00 08 	lwz     r31,8(r24)                             <== NOT EXECUTED
ffc21e3c:	48 00 8d 1d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc21e40:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc21e44:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc21e48:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21e4c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc21e50:	38 63 be 1c 	addi    r3,r3,-16868                           <== NOT EXECUTED
ffc21e54:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21e58:	48 00 7b 85 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21e5c:	4b ff ff 7c 	b       ffc21dd8 <rtems_rfs_dir_lookup_ino+0xb8><== 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=",
ffc21e60:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc21e64:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21e68:	38 63 bd d8 	addi    r3,r3,-16936                           <== NOT EXECUTED
ffc21e6c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21e70:	48 00 7b 6d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
ffc21e74:	2f 97 00 00 	cmpwi   cr7,r23,0                              <== NOT EXECUTED
#define rtems_rfs_dir_entry_valid(_f, _l, _i) \                       
  (((_l) <= RTEMS_RFS_DIR_ENTRY_SIZE) || ((_l) >= rtems_rfs_fs_max_name (_f)) \
   || (_i < RTEMS_RFS_ROOT_INO) || (_i > rtems_rfs_fs_inodes (_f)))   
                                                                      
int                                                                   
rtems_rfs_dir_lookup_ino (rtems_rfs_file_system*  fs,                 
ffc21e78:	3b f6 ff ff 	addi    r31,r22,-1                             <== NOT EXECUTED
ffc21e7c:	7f df ba 14 	add     r30,r31,r23                            <== 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++)                                      
ffc21e80:	40 9d 00 14 	ble-    cr7,ffc21e94 <rtems_rfs_dir_lookup_ino+0x174><== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc21e84:	8c 7f 00 01 	lbzu    r3,1(r31)                              <== NOT EXECUTED
ffc21e88:	48 00 7d e1 	bl      ffc29c68 <putchar>                     <== 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++)                                      
ffc21e8c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
ffc21e90:	40 9e ff f4 	bne+    cr7,ffc21e84 <rtems_rfs_dir_lookup_ino+0x164><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
ffc21e94:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21e98:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc21e9c:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
    int c;                                                            
    printf ("rtems-rfs: dir-lookup-ino: lookup ino: root=%" PRId32 ", path=",
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
ffc21ea0:	38 63 be 10 	addi    r3,r3,-16880                           <== NOT EXECUTED
ffc21ea4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21ea8:	48 00 7b 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
ffc21eac:	93 fc 00 00 	stw     r31,0(r28)                             <== NOT EXECUTED
  *offset = 0;                                                        
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc21eb0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
  *offset = 0;                                                        
ffc21eb4:	93 f4 00 00 	stw     r31,0(r20)                             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
ffc21eb8:	7f 04 c3 78 	mr      r4,r24                                 <== NOT EXECUTED
ffc21ebc:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc21ec0:	4b ff e2 d1 	bl      ffc20190 <rtems_rfs_block_map_open>    <== NOT EXECUTED
  if (rc > 0)                                                         
ffc21ec4:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc21ec8:	41 81 fe fc 	bgt+    ffc21dc4 <rtems_rfs_dir_lookup_ino+0xa4><== NOT EXECUTED
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
ffc21ecc:	7e e4 bb 78 	mr      r4,r23                                 
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc21ed0:	9b e1 00 58 	stb     r31,88(r1)                             
ffc21ed4:	7e c3 b3 78 	mr      r3,r22                                 
  handle->bnum  = 0;                                                  
ffc21ed8:	93 e1 00 5c 	stw     r31,92(r1)                             
  handle->buffer = NULL;                                              
ffc21edc:	93 e1 00 60 	stw     r31,96(r1)                             
ffc21ee0:	48 00 5d 09 	bl      ffc27be8 <rtems_rfs_dir_hash>          
ffc21ee4:	7c 7a 1b 78 	mr      r26,r3                                 
                                                                      
    /*                                                                
     * 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);              
ffc21ee8:	38 81 00 08 	addi    r4,r1,8                                
ffc21eec:	7f a3 eb 78 	mr      r3,r29                                 
ffc21ef0:	38 a0 00 00 	li      r5,0                                   
ffc21ef4:	38 c0 00 00 	li      r6,0                                   
ffc21ef8:	38 e1 00 64 	addi    r7,r1,100                              
ffc21efc:	4b ff e8 39 	bl      ffc20734 <rtems_rfs_block_map_seek>    
    if (rc > 0)                                                       
ffc21f00:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc21f04:	7c 79 1b 78 	mr      r25,r3                                 
ffc21f08:	40 91 00 50 	ble-    cr4,ffc21f58 <rtems_rfs_dir_lookup_ino+0x238><== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc21f0c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc21f10:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc21f14:	4b ff 5e 19 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc21f18:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc21f1c:	40 9e 02 e0 	bne-    cr7,ffc221fc <rtems_rfs_dir_lookup_ino+0x4dc><== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
ffc21f20:	2f 99 00 06 	cmpwi   cr7,r25,6                              <== NOT EXECUTED
ffc21f24:	41 9e 02 fc 	beq-    cr7,ffc22220 <rtems_rfs_dir_lookup_ino+0x500><== 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);                       
ffc21f28:	38 81 00 58 	addi    r4,r1,88                               
ffc21f2c:	7f a3 eb 78 	mr      r3,r29                                 
ffc21f30:	4b ff f3 09 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc21f34:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc21f38:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc21f3c:	91 21 00 5c 	stw     r9,92(r1)                              
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
ffc21f40:	7f a3 eb 78 	mr      r3,r29                                 
ffc21f44:	38 81 00 08 	addi    r4,r1,8                                
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);                       
  handle->dirty = false;                                              
ffc21f48:	99 41 00 58 	stb     r10,88(r1)                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc21f4c:	91 21 00 60 	stw     r9,96(r1)                              
ffc21f50:	4b ff e4 2d 	bl      ffc2037c <rtems_rfs_block_map_close>   
ffc21f54:	4b ff fe 84 	b       ffc21dd8 <rtems_rfs_dir_lookup_ino+0xb8>
    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",
ffc21f58:	3e 20 ff c4 	lis     r17,-60                                
                                                                      
        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)                     
ffc21f5c:	3b 60 00 00 	li      r27,0                                  
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc21f60:	3e 40 ff c4 	lis     r18,-60                                
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
        if ((rc > 0) && (rc != ENXIO))                                
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc21f64:	3e 00 ff c4 	lis     r16,-60                                
    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",
ffc21f68:	3a 31 be 98 	addi    r17,r17,-16744                         
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
ffc21f6c:	3a 60 00 00 	li      r19,0                                  
                                                                      
        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)                     
ffc21f70:	63 7b ff ff 	ori     r27,r27,65535                          
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc21f74:	3a 52 bf 60 	addi    r18,r18,-16544                         
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
        if ((rc > 0) && (rc != ENXIO))                                
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc21f78:	3a 10 c0 08 	addi    r16,r16,-16376                         
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc21f7c:	40 92 02 74 	bne-    cr4,ffc221f0 <rtems_rfs_dir_lookup_ino+0x4d0><== NEVER TAKEN
ffc21f80:	81 21 00 64 	lwz     r9,100(r1)                             
ffc21f84:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc21f88:	41 9e 03 30 	beq-    cr7,ffc222b8 <rtems_rfs_dir_lookup_ino+0x598><== NEVER TAKEN
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc21f8c:	38 60 00 00 	li      r3,0                                   
ffc21f90:	3c 80 04 00 	lis     r4,1024                                
ffc21f94:	4b ff 5d 99 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21f98:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21f9c:	40 9e 02 38 	bne-    cr7,ffc221d4 <rtems_rfs_dir_lookup_ino+0x4b4><== NEVER TAKEN
        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);
ffc21fa0:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc21fa4:	7f a3 eb 78 	mr      r3,r29                                 
ffc21fa8:	38 81 00 58 	addi    r4,r1,88                               
ffc21fac:	38 c0 00 01 	li      r6,1                                   
ffc21fb0:	4b ff f4 9d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
      if (rc > 0)                                                     
ffc21fb4:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc21fb8:	7c 75 1b 78 	mr      r21,r3                                 
ffc21fbc:	41 91 02 b0 	bgt-    cr4,ffc2226c <rtems_rfs_dir_lookup_ino+0x54c><== NEVER TAKEN
                                                                      
      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))
ffc21fc0:	81 7d 00 08 	lwz     r11,8(r29)                             
      /*                                                              
       * Search the block to see if the name matches. A hash of 0xffff or 0x0
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
ffc21fc4:	81 21 00 60 	lwz     r9,96(r1)                              
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc21fc8:	2f 8b 00 0a 	cmpwi   cr7,r11,10                             
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
ffc21fcc:	92 61 00 1c 	stw     r19,28(r1)                             
      /*                                                              
       * Search the block to see if the name matches. A hash of 0xffff or 0x0
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
ffc21fd0:	83 e9 00 1c 	lwz     r31,28(r9)                             
                                                                      
      map.bpos.boff = 0;                                              
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
ffc21fd4:	40 be 00 24 	bne+    cr7,ffc21ff8 <rtems_rfs_dir_lookup_ino+0x2d8><== ALWAYS TAKEN
ffc21fd8:	48 00 01 08 	b       ffc220e0 <rtems_rfs_dir_lookup_ino+0x3c0><== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc21fdc:	81 21 00 1c 	lwz     r9,28(r1)                              
                                                                      
      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))
ffc21fe0:	39 4b ff f6 	addi    r10,r11,-10                            
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
ffc21fe4:	7f ff f2 14 	add     r31,r31,r30                            
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc21fe8:	7d 3e 4a 14 	add     r9,r30,r9                              
                                                                      
      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))
ffc21fec:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc21ff0:	91 21 00 1c 	stw     r9,28(r1)                              
                                                                      
      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))
ffc21ff4:	40 9d 00 ec 	ble-    cr7,ffc220e0 <rtems_rfs_dir_lookup_ino+0x3c0><== NEVER TAKEN
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc21ff8:	8b df 00 08 	lbz     r30,8(r31)                             
ffc21ffc:	89 5f 00 09 	lbz     r10,9(r31)                             
ffc22000:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22004:	88 1f 00 00 	lbz     r0,0(r31)                              
ffc22008:	89 3f 00 01 	lbz     r9,1(r31)                              
      {                                                               
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
ffc2200c:	7f de 53 78 	or      r30,r30,r10                            
      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);                    
ffc22010:	88 9f 00 04 	lbz     r4,4(r31)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc22014:	7f 9e d8 00 	cmpw    cr7,r30,r27                            
      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);                    
ffc22018:	89 1f 00 05 	lbz     r8,5(r31)                              
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc2201c:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           
ffc22020:	88 bf 00 03 	lbz     r5,3(r31)                              
ffc22024:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc22028:	88 ff 00 02 	lbz     r7,2(r31)                              
      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);                    
ffc2202c:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           
ffc22030:	88 df 00 07 	lbz     r6,7(r31)                              
ffc22034:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc22038:	89 5f 00 06 	lbz     r10,6(r31)                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc2203c:	7c 09 4b 78 	or      r9,r0,r9                               
      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);                    
ffc22040:	7c 88 43 78 	or      r8,r4,r8                               
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22044:	7d 29 2b 78 	or      r9,r9,r5                               
ffc22048:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
      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);                    
ffc2204c:	7d 08 33 78 	or      r8,r8,r6                               
ffc22050:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc22054:	7d 29 3b 78 	or      r9,r9,r7                               
      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);                    
ffc22058:	7d 0a 53 78 	or      r10,r8,r10                             
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
ffc2205c:	91 3c 00 00 	stw     r9,0(r28)                              
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
ffc22060:	41 9e 00 80 	beq-    cr7,ffc220e0 <rtems_rfs_dir_lookup_ino+0x3c0>
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
ffc22064:	2f 9e 00 0a 	cmpwi   cr7,r30,10                             
ffc22068:	40 9d 00 dc 	ble-    cr7,ffc22144 <rtems_rfs_dir_lookup_ino+0x424><== NEVER TAKEN
ffc2206c:	80 fd 00 1c 	lwz     r7,28(r29)                             
ffc22070:	7f 9e 38 40 	cmplw   cr7,r30,r7                             
ffc22074:	40 9c 00 d0 	bge-    cr7,ffc22144 <rtems_rfs_dir_lookup_ino+0x424><== NEVER TAKEN
ffc22078:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2207c:	41 9e 00 c8 	beq-    cr7,ffc22144 <rtems_rfs_dir_lookup_ino+0x424><== NEVER TAKEN
ffc22080:	81 1d 00 14 	lwz     r8,20(r29)                             
ffc22084:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc22088:	41 9d 00 bc 	bgt-    cr7,ffc22144 <rtems_rfs_dir_lookup_ino+0x424><== NEVER TAKEN
                    rtems_rfs_inode_ino (inode), elength, *ino, map.bpos.boff);
          rc = EIO;                                                   
          break;                                                      
        }                                                             
                                                                      
        if (ehash == hash)                                            
ffc2208c:	7f 8a d0 00 	cmpw    cr7,r10,r26                            
ffc22090:	40 9e ff 4c 	bne+    cr7,ffc21fdc <rtems_rfs_dir_lookup_ino+0x2bc>
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
ffc22094:	38 60 00 00 	li      r3,0                                   
ffc22098:	3c 80 08 00 	lis     r4,2048                                
ffc2209c:	4b ff 5c 91 	bl      ffc17d2c <rtems_rfs_trace>             
ffc220a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc220a4:	40 9e 00 e8 	bne-    cr7,ffc2218c <rtems_rfs_dir_lookup_ino+0x46c><== NEVER TAKEN
                    "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)
ffc220a8:	38 7f 00 0a 	addi    r3,r31,10                              
ffc220ac:	7e c4 b3 78 	mr      r4,r22                                 
ffc220b0:	7e e5 bb 78 	mr      r5,r23                                 
ffc220b4:	48 00 74 19 	bl      ffc294cc <memcmp>                      
ffc220b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc220bc:	41 9e 01 6c 	beq-    cr7,ffc22228 <rtems_rfs_dir_lookup_ino+0x508><== ALWAYS TAKEN
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc220c0:	81 21 00 1c 	lwz     r9,28(r1)                              <== NOT EXECUTED
        entry += elength;                                             
ffc220c4:	7f ff f2 14 	add     r31,r31,r30                            <== NOT EXECUTED
ffc220c8:	81 7d 00 08 	lwz     r11,8(r29)                             <== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc220cc:	7d 3e 4a 14 	add     r9,r30,r9                              <== 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))
ffc220d0:	39 4b ff f6 	addi    r10,r11,-10                            <== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
ffc220d4:	91 21 00 1c 	stw     r9,28(r1)                              <== 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))
ffc220d8:	7f 8a 48 40 	cmplw   cr7,r10,r9                             <== NOT EXECUTED
ffc220dc:	41 9d ff 1c 	bgt+    cr7,ffc21ff8 <rtems_rfs_dir_lookup_ino+0x2d8><== NOT EXECUTED
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
ffc220e0:	40 b2 00 7c 	bne+    cr4,ffc2215c <rtems_rfs_dir_lookup_ino+0x43c><== NEVER TAKEN
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
ffc220e4:	7f a3 eb 78 	mr      r3,r29                                 
ffc220e8:	38 81 00 08 	addi    r4,r1,8                                
ffc220ec:	38 a1 00 64 	addi    r5,r1,100                              
ffc220f0:	4b ff e7 09 	bl      ffc207f8 <rtems_rfs_block_map_next_block>
        if ((rc > 0) && (rc != ENXIO))                                
ffc220f4:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc220f8:	7c 79 1b 78 	mr      r25,r3                                 
ffc220fc:	40 b1 fe 80 	ble-    cr4,ffc21f7c <rtems_rfs_dir_lookup_ino+0x25c><== NEVER TAKEN
ffc22100:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc22104:	41 9e 00 e8 	beq-    cr7,ffc221ec <rtems_rfs_dir_lookup_ino+0x4cc><== ALWAYS TAKEN
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
ffc22108:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2210c:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc22110:	4b ff 5c 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22114:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22118:	41 9e fe 64 	beq+    cr7,ffc21f7c <rtems_rfs_dir_lookup_ino+0x25c><== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc2211c:	83 f8 00 08 	lwz     r31,8(r24)                             <== NOT EXECUTED
ffc22120:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc22124:	48 00 8a 35 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22128:	7f 25 cb 78 	mr      r5,r25                                 <== NOT EXECUTED
ffc2212c:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc22130:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc22134:	7e 03 83 78 	mr      r3,r16                                 <== NOT EXECUTED
ffc22138:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2213c:	48 00 78 a1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22140:	4b ff fe 3c 	b       ffc21f7c <rtems_rfs_dir_lookup_ino+0x25c><== NOT EXECUTED
        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))       
ffc22144:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22148:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc2214c:	4b ff 5b e1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22150:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22154:	40 9e 00 10 	bne-    cr7,ffc22164 <rtems_rfs_dir_lookup_ino+0x444><== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc22158:	3a a0 00 05 	li      r21,5                                  <== 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;                                                
ffc2215c:	7e b9 ab 78 	mr      r25,r21                                <== NOT EXECUTED
ffc22160:	4b ff fd c8 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== 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: "                     
ffc22164:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22168:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2216c:	80 dc 00 00 	lwz     r6,0(r28)                              <== NOT EXECUTED
ffc22170:	38 63 bf 14 	addi    r3,r3,-16620                           <== NOT EXECUTED
ffc22174:	80 e1 00 1c 	lwz     r7,28(r1)                              <== NOT EXECUTED
ffc22178:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc2217c:	3a a0 00 05 	li      r21,5                                  <== 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: "                     
ffc22180:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22184:	48 00 78 59 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22188:	4b ff ff d4 	b       ffc2215c <rtems_rfs_dir_lookup_ino+0x43c><== 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));        
ffc2218c:	88 ff 00 00 	lbz     r7,0(r31)                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc22190:	7e 43 93 78 	mr      r3,r18                                 <== 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));        
ffc22194:	89 1f 00 01 	lbz     r8,1(r31)                              <== NOT EXECUTED
ffc22198:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           <== NOT EXECUTED
ffc2219c:	89 5f 00 03 	lbz     r10,3(r31)                             <== NOT EXECUTED
ffc221a0:	89 3f 00 02 	lbz     r9,2(r31)                              <== NOT EXECUTED
ffc221a4:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          <== NOT EXECUTED
ffc221a8:	7c e8 43 78 	or      r8,r7,r8                               <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc221ac:	80 98 00 08 	lwz     r4,8(r24)                              <== 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));        
ffc221b0:	7d 08 53 78 	or      r8,r8,r10                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc221b4:	80 a1 00 18 	lwz     r5,24(r1)                              <== 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));        
ffc221b8:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
ffc221bc:	80 c1 00 1c 	lwz     r6,28(r1)                              <== NOT EXECUTED
ffc221c0:	7f c7 f3 78 	mr      r7,r30                                 <== NOT EXECUTED
ffc221c4:	7d 08 4b 78 	or      r8,r8,r9                               <== NOT EXECUTED
ffc221c8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc221cc:	48 00 78 11 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc221d0:	4b ff fe d8 	b       ffc220a8 <rtems_rfs_dir_lookup_ino+0x388><== 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",
ffc221d4:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc221d8:	7e 23 8b 78 	mr      r3,r17                                 <== NOT EXECUTED
ffc221dc:	80 a1 00 18 	lwz     r5,24(r1)                              <== NOT EXECUTED
ffc221e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc221e4:	48 00 77 f9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc221e8:	4b ff fd b8 	b       ffc21fa0 <rtems_rfs_dir_lookup_ino+0x280><== 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;                                                
ffc221ec:	3b 20 00 02 	li      r25,2                                  
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
ffc221f0:	7f 35 cb 78 	mr      r21,r25                                
            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;                                                
ffc221f4:	7e b9 ab 78 	mr      r25,r21                                
ffc221f8:	4b ff fd 30 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208>
     */                                                               
    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",
ffc221fc:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc22200:	48 00 89 59 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22204:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc22208:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2220c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22210:	38 63 be 5c 	addi    r3,r3,-16804                           <== NOT EXECUTED
ffc22214:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22218:	48 00 77 c5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2221c:	4b ff fd 04 	b       ffc21f20 <rtems_rfs_dir_lookup_ino+0x200><== NOT EXECUTED
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
ffc22220:	3b 20 00 02 	li      r25,2                                  <== NOT EXECUTED
ffc22224:	4b ff fd 04 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== 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);             
ffc22228:	7f a3 eb 78 	mr      r3,r29                                 
ffc2222c:	38 81 00 18 	addi    r4,r1,24                               
ffc22230:	4b ff de 31 	bl      ffc20060 <rtems_rfs_block_get_pos>     
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc22234:	38 60 00 00 	li      r3,0                                   
                    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);             
ffc22238:	90 94 00 00 	stw     r4,0(r20)                              
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
ffc2223c:	3c 80 10 00 	lis     r4,4096                                
ffc22240:	4b ff 5a ed 	bl      ffc17d2c <rtems_rfs_trace>             
ffc22244:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22248:	41 9e fc e0 	beq+    cr7,ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== ALWAYS TAKEN
              printf ("rtems-rfs: dir-lookup-ino: "                   
ffc2224c:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22250:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22254:	80 bc 00 00 	lwz     r5,0(r28)                              <== NOT EXECUTED
ffc22258:	38 63 bf c0 	addi    r3,r3,-16448                           <== NOT EXECUTED
ffc2225c:	80 d4 00 00 	lwz     r6,0(r20)                              <== NOT EXECUTED
ffc22260:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22264:	48 00 77 79 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22268:	4b ff fc c0 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== 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))         
ffc2226c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22270:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc22274:	4b ff 5a b9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc22278:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2227c:	41 9e fe e0 	beq+    cr7,ffc2215c <rtems_rfs_dir_lookup_ino+0x43c><== NOT EXECUTED
          printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n",
ffc22280:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc22284:	83 d8 00 08 	lwz     r30,8(r24)                             <== NOT EXECUTED
ffc22288:	83 e1 00 64 	lwz     r31,100(r1)                            <== NOT EXECUTED
ffc2228c:	48 00 88 cd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc22290:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc22294:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22298:	38 63 be d0 	addi    r3,r3,-16688                           <== NOT EXECUTED
ffc2229c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc222a0:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc222a4:	7e a6 ab 78 	mr      r6,r21                                 <== NOT EXECUTED
ffc222a8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc222ac:	48 00 77 31 	bl      ffc299dc <printf>                      <== 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;                                                
ffc222b0:	7e b9 ab 78 	mr      r25,r21                                <== NOT EXECUTED
ffc222b4:	4b ff fc 74 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== NOT EXECUTED
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
ffc222b8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc222bc:	3c 80 04 00 	lis     r4,1024                                <== NOT EXECUTED
ffc222c0:	4b ff 5a 6d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc222c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc222c8:	40 9e 00 0c 	bne-    cr7,ffc222d4 <rtems_rfs_dir_lookup_ino+0x5b4><== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
ffc222cc:	3b 20 00 05 	li      r25,5                                  <== NOT EXECUTED
ffc222d0:	4b ff fc 58 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== 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",
ffc222d4:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc222d8:	83 f8 00 08 	lwz     r31,8(r24)                             <== NOT EXECUTED
ffc222dc:	48 00 88 7d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc222e0:	38 a0 00 05 	li      r5,5                                   <== NOT EXECUTED
ffc222e4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc222e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc222ec:	38 63 c0 54 	addi    r3,r3,-16300                           <== NOT EXECUTED
ffc222f0:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc222f4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc222f8:	48 00 76 e5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
ffc222fc:	3b 20 00 05 	li      r25,5                                  <== NOT EXECUTED
ffc22300:	4b ff fc 28 	b       ffc21f28 <rtems_rfs_dir_lookup_ino+0x208><== NOT EXECUTED
                                                                      

ffc22cb0 <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) {
ffc22cb0:	94 21 ff 68 	stwu    r1,-152(r1)                            
ffc22cb4:	7c 08 02 a6 	mflr    r0                                     
ffc22cb8:	93 01 00 78 	stw     r24,120(r1)                            
ffc22cbc:	7c 98 23 78 	mr      r24,r4                                 
  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))                     
ffc22cc0:	3c 80 80 00 	lis     r4,-32768                              
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)                   
{                                                                     
ffc22cc4:	93 61 00 84 	stw     r27,132(r1)                            
ffc22cc8:	7c 7b 1b 78 	mr      r27,r3                                 
  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))                     
ffc22ccc:	38 60 00 00 	li      r3,0                                   
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)                   
{                                                                     
ffc22cd0:	92 c1 00 70 	stw     r22,112(r1)                            
ffc22cd4:	7c f6 3b 78 	mr      r22,r7                                 
ffc22cd8:	93 41 00 80 	stw     r26,128(r1)                            
ffc22cdc:	7d 1a 43 78 	mr      r26,r8                                 
ffc22ce0:	93 c1 00 90 	stw     r30,144(r1)                            
ffc22ce4:	7c be 2b 78 	mr      r30,r5                                 
ffc22ce8:	93 e1 00 94 	stw     r31,148(r1)                            
ffc22cec:	7c df 33 78 	mr      r31,r6                                 
ffc22cf0:	90 01 00 9c 	stw     r0,156(r1)                             
ffc22cf4:	92 81 00 68 	stw     r20,104(r1)                            
ffc22cf8:	92 a1 00 6c 	stw     r21,108(r1)                            
ffc22cfc:	92 e1 00 74 	stw     r23,116(r1)                            
ffc22d00:	93 21 00 7c 	stw     r25,124(r1)                            
ffc22d04:	93 81 00 88 	stw     r28,136(r1)                            
ffc22d08:	93 a1 00 8c 	stw     r29,140(r1)                            
  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))                     
ffc22d0c:	4b ff 50 21 	bl      ffc17d2c <rtems_rfs_trace>             
ffc22d10:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22d14:	40 9e 00 cc 	bne-    cr7,ffc22de0 <rtems_rfs_dir_read+0x130><== NEVER TAKEN
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
ffc22d18:	39 20 00 00 	li      r9,0                                   
ffc22d1c:	91 3a 00 00 	stw     r9,0(r26)                              
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
ffc22d20:	7f 63 db 78 	mr      r3,r27                                 
ffc22d24:	7f 04 c3 78 	mr      r4,r24                                 
ffc22d28:	38 a1 00 08 	addi    r5,r1,8                                
ffc22d2c:	4b ff d4 65 	bl      ffc20190 <rtems_rfs_block_map_open>    
  if (rc > 0)                                                         
ffc22d30:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc22d34:	40 81 00 48 	ble-    ffc22d7c <rtems_rfs_dir_read+0xcc>     <== ALWAYS TAKEN
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
ffc22d38:	80 01 00 9c 	lwz     r0,156(r1)                             
ffc22d3c:	7f a3 eb 78 	mr      r3,r29                                 
ffc22d40:	82 81 00 68 	lwz     r20,104(r1)                            
ffc22d44:	7c 08 03 a6 	mtlr    r0                                     
ffc22d48:	82 a1 00 6c 	lwz     r21,108(r1)                            
ffc22d4c:	82 c1 00 70 	lwz     r22,112(r1)                            
ffc22d50:	82 e1 00 74 	lwz     r23,116(r1)                            
ffc22d54:	83 01 00 78 	lwz     r24,120(r1)                            
ffc22d58:	83 21 00 7c 	lwz     r25,124(r1)                            
ffc22d5c:	83 41 00 80 	lwz     r26,128(r1)                            
ffc22d60:	83 61 00 84 	lwz     r27,132(r1)                            
ffc22d64:	83 81 00 88 	lwz     r28,136(r1)                            
ffc22d68:	83 a1 00 8c 	lwz     r29,140(r1)                            
ffc22d6c:	83 c1 00 90 	lwz     r30,144(r1)                            
ffc22d70:	83 e1 00 94 	lwz     r31,148(r1)                            
ffc22d74:	38 21 00 98 	addi    r1,r1,152                              
ffc22d78:	4e 80 00 20 	blr                                            
  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))
ffc22d7c:	83 bb 00 08 	lwz     r29,8(r27)                             
ffc22d80:	3b 80 00 00 	li      r28,0                                  
ffc22d84:	7f c3 f3 78 	mr      r3,r30                                 
ffc22d88:	7f e4 fb 78 	mr      r4,r31                                 
ffc22d8c:	7f 85 e3 78 	mr      r5,r28                                 
ffc22d90:	7f a6 eb 78 	mr      r6,r29                                 
ffc22d94:	48 01 41 41 	bl      ffc36ed4 <__moddi3>                    
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
ffc22d98:	7d 64 e8 10 	subfc   r11,r4,r29                             
ffc22d9c:	7d 43 e1 10 	subfe   r10,r3,r28                             
ffc22da0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc22da4:	40 9d 00 5c 	ble-    cr7,ffc22e00 <rtems_rfs_dir_read+0x150><== ALWAYS TAKEN
        (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);           
ffc22da8:	7f 63 db 78 	mr      r3,r27                                 
ffc22dac:	38 81 00 08 	addi    r4,r1,8                                
ffc22db0:	7f c5 f3 78 	mr      r5,r30                                 
ffc22db4:	7f e6 fb 78 	mr      r6,r31                                 
ffc22db8:	38 e1 00 64 	addi    r7,r1,100                              
ffc22dbc:	4b ff d9 79 	bl      ffc20734 <rtems_rfs_block_map_seek>    
  if (rc > 0)                                                         
ffc22dc0:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc22dc4:	40 81 00 94 	ble-    ffc22e58 <rtems_rfs_dir_read+0x1a8>    <== ALWAYS TAKEN
  {                                                                   
    if (rc == ENXIO)                                                  
ffc22dc8:	2f 9d 00 06 	cmpwi   cr7,r29,6                              <== NOT EXECUTED
ffc22dcc:	41 9e 00 78 	beq-    cr7,ffc22e44 <rtems_rfs_dir_read+0x194><== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
ffc22dd0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22dd4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc22dd8:	4b ff d5 a5 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc22ddc:	4b ff ff 5c 	b       ffc22d38 <rtems_rfs_dir_read+0x88>     <== 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",
ffc22de0:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22de4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22de8:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc22dec:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc22df0:	38 63 c3 60 	addi    r3,r3,-15520                           <== NOT EXECUTED
ffc22df4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22df8:	48 00 6b e5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc22dfc:	4b ff ff 1c 	b       ffc22d18 <rtems_rfs_dir_read+0x68>     <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
ffc22e00:	40 9e 00 0c 	bne-    cr7,ffc22e0c <rtems_rfs_dir_read+0x15c><== NEVER TAKEN
ffc22e04:	2b 8b 00 0a 	cmplwi  cr7,r11,10                             
ffc22e08:	41 bd ff a0 	bgt-    cr7,ffc22da8 <rtems_rfs_dir_read+0xf8> <== ALWAYS TAKEN
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
ffc22e0c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc22e10:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc22e14:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc22e18:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc22e1c:	48 01 3c 95 	bl      ffc36ab0 <__divdi3>                    <== NOT EXECUTED
ffc22e20:	31 64 00 01 	addic   r11,r4,1                               <== NOT EXECUTED
ffc22e24:	7d 43 01 94 	addze   r10,r3                                 <== NOT EXECUTED
ffc22e28:	7d 1c 59 d6 	mullw   r8,r28,r11                             <== NOT EXECUTED
ffc22e2c:	7d 2a e9 d6 	mullw   r9,r10,r29                             <== NOT EXECUTED
ffc22e30:	7f dd 58 16 	mulhwu  r30,r29,r11                            <== NOT EXECUTED
ffc22e34:	7d 28 4a 14 	add     r9,r8,r9                               <== NOT EXECUTED
ffc22e38:	7f fd 59 d6 	mullw   r31,r29,r11                            <== NOT EXECUTED
ffc22e3c:	7f c9 f2 14 	add     r30,r9,r30                             <== NOT EXECUTED
ffc22e40:	4b ff ff 68 	b       ffc22da8 <rtems_rfs_dir_read+0xf8>     <== NOT EXECUTED
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
  if (rc > 0)                                                         
  {                                                                   
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
ffc22e44:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22e48:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
  if (rc > 0)                                                         
  {                                                                   
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
ffc22e4c:	3b a0 00 02 	li      r29,2                                  <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
ffc22e50:	4b ff d5 2d 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
ffc22e54:	4b ff fe e4 	b       ffc22d38 <rtems_rfs_dir_read+0x88>     <== NOT EXECUTED
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22e58:	39 20 00 00 	li      r9,0                                   
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc22e5c:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc22e60:	91 21 00 5c 	stw     r9,92(r1)                              
    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)                         
ffc22e64:	3a a0 00 00 	li      r21,0                                  
    }                                                                 
                                                                      
    *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",
ffc22e68:	3e 80 ff c4 	lis     r20,-60                                
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc22e6c:	99 41 00 58 	stb     r10,88(r1)                             
    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)                         
ffc22e70:	62 b5 ff ff 	ori     r21,r21,65535                          
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22e74:	91 21 00 60 	stw     r9,96(r1)                              
    }                                                                 
                                                                      
    *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",
ffc22e78:	3a 94 c4 08 	addi    r20,r20,-15352                         
    uint8_t*      entry;                                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
ffc22e7c:	80 a1 00 64 	lwz     r5,100(r1)                             
ffc22e80:	38 81 00 58 	addi    r4,r1,88                               
ffc22e84:	38 c0 00 01 	li      r6,1                                   
ffc22e88:	7f 63 db 78 	mr      r3,r27                                 
ffc22e8c:	4b ff e5 c1 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc22e90:	3c 80 80 00 	lis     r4,-32768                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
ffc22e94:	7c 7d 1b 79 	mr.     r29,r3                                 
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc22e98:	38 60 00 00 	li      r3,0                                   
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
ffc22e9c:	41 81 00 c0 	bgt-    ffc22f5c <rtems_rfs_dir_read+0x2ac>    <== NEVER TAKEN
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc22ea0:	81 21 00 60 	lwz     r9,96(r1)                              
    entry += map.bpos.boff;                                           
ffc22ea4:	83 21 00 1c 	lwz     r25,28(r1)                             
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
ffc22ea8:	81 29 00 1c 	lwz     r9,28(r9)                              
    entry += map.bpos.boff;                                           
ffc22eac:	7f 89 ca 14 	add     r28,r9,r25                             
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc22eb0:	7c e9 c8 ae 	lbzx    r7,r9,r25                              
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc22eb4:	8a fc 00 08 	lbz     r23,8(r28)                             
ffc22eb8:	89 5c 00 09 	lbz     r10,9(r28)                             
ffc22ebc:	56 f7 40 2e 	rlwinm  r23,r23,8,0,23                         
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc22ec0:	89 1c 00 01 	lbz     r8,1(r28)                              
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
ffc22ec4:	7e f7 53 78 	or      r23,r23,r10                            
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc22ec8:	89 3c 00 02 	lbz     r9,2(r28)                              
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc22ecc:	7f 97 a8 00 	cmpw    cr7,r23,r21                            
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc22ed0:	89 5c 00 03 	lbz     r10,3(r28)                             
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
ffc22ed4:	40 9e 00 b8 	bne-    cr7,ffc22f8c <rtems_rfs_dir_read+0x2dc>
        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;          
ffc22ed8:	81 5b 00 08 	lwz     r10,8(r27)                             
ffc22edc:	81 3a 00 00 	lwz     r9,0(r26)                              
ffc22ee0:	7f 39 50 50 	subf    r25,r25,r10                            
ffc22ee4:	7d 29 ca 14 	add     r9,r9,r25                              
ffc22ee8:	91 3a 00 00 	stw     r9,0(r26)                              
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
ffc22eec:	4b ff 4e 41 	bl      ffc17d2c <rtems_rfs_trace>             
ffc22ef0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc22ef4:	40 9e 00 2c 	bne-    cr7,ffc22f20 <rtems_rfs_dir_read+0x270><== NEVER TAKEN
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc22ef8:	7f 63 db 78 	mr      r3,r27                                 
ffc22efc:	38 81 00 08 	addi    r4,r1,8                                
ffc22f00:	38 a1 00 64 	addi    r5,r1,100                              
ffc22f04:	4b ff d8 f5 	bl      ffc207f8 <rtems_rfs_block_map_next_block>
    if (rc == ENXIO)                                                  
ffc22f08:	2f 83 00 06 	cmpwi   cr7,r3,6                               
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc22f0c:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
ffc22f10:	2f 03 00 00 	cmpwi   cr6,r3,0                               
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
ffc22f14:	41 9e 00 44 	beq-    cr7,ffc22f58 <rtems_rfs_dir_read+0x2a8><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
ffc22f18:	41 9a ff 64 	beq+    cr6,ffc22e7c <rtems_rfs_dir_read+0x1cc><== NOT EXECUTED
ffc22f1c:	48 00 00 40 	b       ffc22f5c <rtems_rfs_dir_read+0x2ac>    <== 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",
ffc22f20:	80 fa 00 00 	lwz     r7,0(r26)                              <== NOT EXECUTED
ffc22f24:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc22f28:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc22f2c:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc22f30:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc22f34:	48 00 6a a9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc22f38:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc22f3c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc22f40:	38 a1 00 64 	addi    r5,r1,100                              <== NOT EXECUTED
ffc22f44:	4b ff d8 b5 	bl      ffc207f8 <rtems_rfs_block_map_next_block><== NOT EXECUTED
    if (rc == ENXIO)                                                  
ffc22f48:	2f 83 00 06 	cmpwi   cr7,r3,6                               <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
ffc22f4c:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
ffc22f50:	2f 03 00 00 	cmpwi   cr6,r3,0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
    if (rc == ENXIO)                                                  
ffc22f54:	40 9e ff c4 	bne+    cr7,ffc22f18 <rtems_rfs_dir_read+0x268><== NOT EXECUTED
      rc = ENOENT;                                                    
ffc22f58:	3b a0 00 02 	li      r29,2                                  
 */                                                                   
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);                       
ffc22f5c:	38 81 00 58 	addi    r4,r1,88                               
ffc22f60:	7f 63 db 78 	mr      r3,r27                                 
ffc22f64:	4b ff e2 d5 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc22f68:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc22f6c:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc22f70:	91 21 00 5c 	stw     r9,92(r1)                              
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
ffc22f74:	7f 63 db 78 	mr      r3,r27                                 
ffc22f78:	38 81 00 08 	addi    r4,r1,8                                
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);                       
  handle->dirty = false;                                              
ffc22f7c:	99 41 00 58 	stb     r10,88(r1)                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc22f80:	91 21 00 60 	stw     r9,96(r1)                              
ffc22f84:	4b ff d3 f9 	bl      ffc2037c <rtems_rfs_block_map_close>   
ffc22f88:	4b ff fd b0 	b       ffc22d38 <rtems_rfs_dir_read+0x88>     
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22f8c:	2f 97 00 0a 	cmpwi   cr7,r23,10                             
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
ffc22f90:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc22f94:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc22f98:	7c e8 43 78 	or      r8,r7,r8                               
ffc22f9c:	7d 0a 53 78 	or      r10,r8,r10                             
ffc22fa0:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc22fa4:	7d 55 4b 78 	or      r21,r10,r9                             
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
ffc22fa8:	40 9d 00 24 	ble-    cr7,ffc22fcc <rtems_rfs_dir_read+0x31c><== NEVER TAKEN
ffc22fac:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc22fb0:	7f 97 48 40 	cmplw   cr7,r23,r9                             
ffc22fb4:	40 9c 00 18 	bge-    cr7,ffc22fcc <rtems_rfs_dir_read+0x31c><== NEVER TAKEN
ffc22fb8:	2f 95 00 00 	cmpwi   cr7,r21,0                              
ffc22fbc:	41 9e 00 10 	beq-    cr7,ffc22fcc <rtems_rfs_dir_read+0x31c><== NEVER TAKEN
ffc22fc0:	81 3b 00 14 	lwz     r9,20(r27)                             
ffc22fc4:	7f 95 48 40 	cmplw   cr7,r21,r9                             
ffc22fc8:	40 9d 00 40 	ble-    cr7,ffc23008 <rtems_rfs_dir_read+0x358><== ALWAYS TAKEN
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
ffc22fcc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc22fd0:	3c 80 80 00 	lis     r4,-32768                              <== NOT EXECUTED
ffc22fd4:	4b ff 4d 59 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
                  "bad length or ino for ino %" PRIu32 ": %u/%" PRId32 " @ %04" PRIx32 "\n",
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
ffc22fd8:	3b a0 00 05 	li      r29,5                                  <== NOT EXECUTED
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
ffc22fdc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc22fe0:	41 9e ff 7c 	beq+    cr7,ffc22f5c <rtems_rfs_dir_read+0x2ac><== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
ffc22fe4:	80 98 00 08 	lwz     r4,8(r24)                              <== NOT EXECUTED
ffc22fe8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc22fec:	80 e1 00 1c 	lwz     r7,28(r1)                              <== NOT EXECUTED
ffc22ff0:	7e e5 bb 78 	mr      r5,r23                                 <== NOT EXECUTED
ffc22ff4:	7e a6 ab 78 	mr      r6,r21                                 <== NOT EXECUTED
ffc22ff8:	38 63 c3 8c 	addi    r3,r3,-15476                           <== NOT EXECUTED
ffc22ffc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23000:	48 00 69 dd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc23004:	4b ff ff 58 	b       ffc22f5c <rtems_rfs_dir_read+0x2ac>    <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
ffc23008:	7e c3 b3 78 	mr      r3,r22                                 
ffc2300c:	38 80 00 00 	li      r4,0                                   
ffc23010:	38 a0 01 18 	li      r5,280                                 
ffc23014:	48 00 67 6d 	bl      ffc29780 <memset>                      
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc23018:	81 3a 00 00 	lwz     r9,0(r26)                              
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
ffc2301c:	39 40 01 18 	li      r10,280                                
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc23020:	93 d6 00 08 	stw     r30,8(r22)                             
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc23024:	7d 37 4a 14 	add     r9,r23,r9                              
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
ffc23028:	b1 56 00 10 	sth     r10,16(r22)                            
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
ffc2302c:	93 f6 00 0c 	stw     r31,12(r22)                            
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
ffc23030:	91 3a 00 00 	stw     r9,0(r26)                              
                                                                      
      remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength);
ffc23034:	81 5b 00 08 	lwz     r10,8(r27)                             
ffc23038:	7d 59 50 50 	subf    r10,r25,r10                            
ffc2303c:	7d 57 50 50 	subf    r10,r23,r10                            
                                                                      
      if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE)                      
ffc23040:	2f 8a 00 0a 	cmpwi   cr7,r10,10                             
ffc23044:	41 9d 00 0c 	bgt-    cr7,ffc23050 <rtems_rfs_dir_read+0x3a0><== ALWAYS TAKEN
        *length += remaining;                                         
ffc23048:	7d 2a 4a 14 	add     r9,r10,r9                              <== NOT EXECUTED
ffc2304c:	91 3a 00 00 	stw     r9,0(r26)                              <== NOT EXECUTED
                                                                      
      elength -= RTEMS_RFS_DIR_ENTRY_SIZE;                            
ffc23050:	3a f7 ff f6 	addi    r23,r23,-10                            
ffc23054:	2f 97 00 ff 	cmpwi   cr7,r23,255                            
ffc23058:	40 9d 00 08 	ble-    cr7,ffc23060 <rtems_rfs_dir_read+0x3b0><== ALWAYS TAKEN
ffc2305c:	3a e0 00 ff 	li      r23,255                                <== NOT EXECUTED
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
ffc23060:	3b f6 00 14 	addi    r31,r22,20                             
ffc23064:	38 9c 00 0a 	addi    r4,r28,10                              
ffc23068:	7e e5 bb 78 	mr      r5,r23                                 
ffc2306c:	7f e3 fb 78 	mr      r3,r31                                 
ffc23070:	48 00 64 e1 	bl      ffc29550 <memcpy>                      
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc23074:	88 fc 00 00 	lbz     r7,0(r28)                              
ffc23078:	89 1c 00 01 	lbz     r8,1(r28)                              
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc2307c:	38 60 00 00 	li      r3,0                                   
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc23080:	89 5c 00 03 	lbz     r10,3(r28)                             
ffc23084:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc23088:	89 3c 00 02 	lbz     r9,2(r28)                              
ffc2308c:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc23090:	7c e8 43 78 	or      r8,r7,r8                               
      dirent->d_namlen = elength;                                     
ffc23094:	b2 f6 00 12 	sth     r23,18(r22)                            
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
ffc23098:	7d 0a 53 78 	or      r10,r8,r10                             
ffc2309c:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc230a0:	7d 49 4b 78 	or      r9,r10,r9                              
ffc230a4:	91 36 00 00 	stw     r9,0(r22)                              
      dirent->d_namlen = elength;                                     
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
ffc230a8:	3c 80 80 00 	lis     r4,-32768                              
ffc230ac:	4b ff 4c 81 	bl      ffc17d2c <rtems_rfs_trace>             
ffc230b0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc230b4:	41 9e fe a8 	beq+    cr7,ffc22f5c <rtems_rfs_dir_read+0x2ac><== ALWAYS TAKEN
        printf ("rtems-rfs: dir-read: found off:%" PRIooff_t " ino:%ld name=%s\n",
ffc230b8:	80 b6 00 08 	lwz     r5,8(r22)                              <== NOT EXECUTED
ffc230bc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc230c0:	80 d6 00 0c 	lwz     r6,12(r22)                             <== NOT EXECUTED
ffc230c4:	7f e8 fb 78 	mr      r8,r31                                 <== NOT EXECUTED
ffc230c8:	80 f6 00 00 	lwz     r7,0(r22)                              <== NOT EXECUTED
ffc230cc:	38 63 c3 d0 	addi    r3,r3,-15408                           <== NOT EXECUTED
ffc230d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc230d4:	48 00 69 09 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc230d8:	4b ff fe 84 	b       ffc22f5c <rtems_rfs_dir_read+0x2ac>    <== NOT EXECUTED
                                                                      

ffc2377c <rtems_rfs_file_close>: } int rtems_rfs_file_close (rtems_rfs_file_system* fs, rtems_rfs_file_handle* handle) {
ffc2377c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc23780:	7d 80 00 26 	mfcr    r12                                    
ffc23784:	7c 08 02 a6 	mflr    r0                                     
ffc23788:	93 a1 00 14 	stw     r29,20(r1)                             
ffc2378c:	7c 7d 1b 78 	mr      r29,r3                                 
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc23790:	38 60 00 10 	li      r3,16                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_close (rtems_rfs_file_system* fs,                      
                      rtems_rfs_file_handle* handle)                  
{                                                                     
ffc23794:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc23798:	7c 9f 23 78 	mr      r31,r4                                 
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc2379c:	38 80 00 00 	li      r4,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_close (rtems_rfs_file_system* fs,                      
                      rtems_rfs_file_handle* handle)                  
{                                                                     
ffc237a0:	90 01 00 24 	stw     r0,36(r1)                              
ffc237a4:	93 61 00 0c 	stw     r27,12(r1)                             
ffc237a8:	93 81 00 10 	stw     r28,16(r1)                             
ffc237ac:	93 c1 00 18 	stw     r30,24(r1)                             
ffc237b0:	91 81 00 08 	stw     r12,8(r1)                              
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
ffc237b4:	4b ff 45 79 	bl      ffc17d2c <rtems_rfs_trace>             
ffc237b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc237bc:	40 9e 02 5c 	bne-    cr7,ffc23a18 <rtems_rfs_file_close+0x29c><== NEVER TAKEN
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
ffc237c0:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc237c4:	81 24 00 08 	lwz     r9,8(r4)                               
ffc237c8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc237cc:	40 9d 00 10 	ble-    cr7,ffc237dc <rtems_rfs_file_close+0x60><== NEVER TAKEN
    handle->shared->references--;                                     
ffc237d0:	39 29 ff ff 	addi    r9,r9,-1                               
ffc237d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc237d8:	91 24 00 08 	stw     r9,8(r4)                               
                                                                      
  if (handle->shared->references == 0)                                
ffc237dc:	40 9e 01 e0 	bne-    cr7,ffc239bc <rtems_rfs_file_close+0x240><== NEVER TAKEN
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
ffc237e0:	81 24 00 18 	lwz     r9,24(r4)                              
ffc237e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc237e8:	41 9e 03 08 	beq-    cr7,ffc23af0 <rtems_rfs_file_close+0x374><== ALWAYS TAKEN
    if (rrc == 0)                                                     
    {                                                                 
      /*                                                              
       * @todo This could be clever and only update if different.     
       */                                                             
      rtems_rfs_inode_set_atime (&handle->shared->inode,              
ffc237ec:	81 44 00 8c 	lwz     r10,140(r4)                            
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);                      
ffc237f0:	39 00 00 01 	li      r8,1                                   
 */                                                                   
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);                  
ffc237f4:	55 47 46 3e 	rlwinm  r7,r10,8,24,31                         
ffc237f8:	98 e9 00 10 	stb     r7,16(r9)                              
ffc237fc:	55 46 84 3e 	rlwinm  r6,r10,16,16,31                        
ffc23800:	55 47 c2 3e 	rlwinm  r7,r10,24,8,31                         
ffc23804:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23808:	98 c9 00 11 	stb     r6,17(r9)                              
ffc2380c:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23810:	98 e9 00 12 	stb     r7,18(r9)                              
ffc23814:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23818:	99 49 00 13 	stb     r10,19(r9)                             
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
ffc2381c:	81 5f 00 1c 	lwz     r10,28(r31)                            
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23820:	99 04 00 1c 	stb     r8,28(r4)                              
ffc23824:	81 2a 00 90 	lwz     r9,144(r10)                            
 */                                                                   
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);                  
ffc23828:	80 ea 00 18 	lwz     r7,24(r10)                             
ffc2382c:	55 26 46 3e 	rlwinm  r6,r9,8,24,31                          
ffc23830:	98 c7 00 14 	stb     r6,20(r7)                              
ffc23834:	55 25 84 3e 	rlwinm  r5,r9,16,16,31                         
ffc23838:	55 26 c2 3e 	rlwinm  r6,r9,24,8,31                          
ffc2383c:	80 ea 00 18 	lwz     r7,24(r10)                             
ffc23840:	98 a7 00 15 	stb     r5,21(r7)                              
ffc23844:	80 ea 00 18 	lwz     r7,24(r10)                             
ffc23848:	98 c7 00 16 	stb     r6,22(r7)                              
ffc2384c:	80 ea 00 18 	lwz     r7,24(r10)                             
ffc23850:	99 27 00 17 	stb     r9,23(r7)                              
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
ffc23854:	81 3f 00 1c 	lwz     r9,28(r31)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23858:	99 0a 00 1c 	stb     r8,28(r10)                             
ffc2385c:	81 49 00 94 	lwz     r10,148(r9)                            
 */                                                                   
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);                  
ffc23860:	80 e9 00 18 	lwz     r7,24(r9)                              
ffc23864:	55 46 46 3e 	rlwinm  r6,r10,8,24,31                         
ffc23868:	98 c7 00 18 	stb     r6,24(r7)                              
ffc2386c:	55 45 84 3e 	rlwinm  r5,r10,16,16,31                        
ffc23870:	55 46 c2 3e 	rlwinm  r6,r10,24,8,31                         
ffc23874:	80 e9 00 18 	lwz     r7,24(r9)                              
ffc23878:	98 a7 00 19 	stb     r5,25(r7)                              
ffc2387c:	80 e9 00 18 	lwz     r7,24(r9)                              
ffc23880:	98 c7 00 1a 	stb     r6,26(r7)                              
ffc23884:	80 e9 00 18 	lwz     r7,24(r9)                              
ffc23888:	99 47 00 1b 	stb     r10,27(r7)                             
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
ffc2388c:	80 9f 00 1c 	lwz     r4,28(r31)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc23890:	99 09 00 1c 	stb     r8,28(r9)                              
ffc23894:	81 44 00 3c 	lwz     r10,60(r4)                             
ffc23898:	81 24 00 84 	lwz     r9,132(r4)                             
ffc2389c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc238a0:	81 44 00 88 	lwz     r10,136(r4)                            
ffc238a4:	41 9e 02 34 	beq-    cr7,ffc23ad8 <rtems_rfs_file_close+0x35c><== ALWAYS TAKEN
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);                       
  map->dirty = true;                                                  
ffc238a8:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size (rtems_rfs_block_map*  map,              
                              rtems_rfs_block_size* size)             
{                                                                     
  rtems_rfs_block_copy_size (&map->size, size);                       
ffc238ac:	91 24 00 3c 	stw     r9,60(r4)                              <== NOT EXECUTED
ffc238b0:	2e 1e 00 00 	cmpwi   cr4,r30,0                              <== NOT EXECUTED
  map->dirty = true;                                                  
ffc238b4:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size (rtems_rfs_block_map*  map,              
                              rtems_rfs_block_size* size)             
{                                                                     
  rtems_rfs_block_copy_size (&map->size, size);                       
ffc238b8:	91 44 00 40 	stw     r10,64(r4)                             <== NOT EXECUTED
  map->dirty = true;                                                  
ffc238bc:	99 24 00 34 	stb     r9,52(r4)                              <== 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);        
ffc238c0:	7f a3 eb 78 	mr      r3,r29                                 
ffc238c4:	38 84 00 34 	addi    r4,r4,52                               
ffc238c8:	4b ff ca b5 	bl      ffc2037c <rtems_rfs_block_map_close>   
    if (rc > 0)                                                       
ffc238cc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc238d0:	40 81 00 1c 	ble-    ffc238ec <rtems_rfs_file_close+0x170>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc238d4:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc238d8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc238dc:	4b ff 44 51 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc238e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc238e4:	40 9e 01 c0 	bne-    cr7,ffc23aa4 <rtems_rfs_file_close+0x328><== 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)                                                   
ffc238e8:	41 92 01 7c 	beq-    cr4,ffc23a64 <rtems_rfs_file_close+0x2e8><== NOT EXECUTED
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
ffc238ec:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc238f0:	7f a3 eb 78 	mr      r3,r29                                 
ffc238f4:	38 84 00 0c 	addi    r4,r4,12                               
ffc238f8:	4b ff 26 7d 	bl      ffc15f74 <rtems_rfs_inode_close>       
    if (rc > 0)                                                       
ffc238fc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23900:	40 81 00 1c 	ble-    ffc2391c <rtems_rfs_file_close+0x1a0>  <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
ffc23904:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc23908:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc2390c:	4b ff 44 21 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc23910:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23914:	40 9e 01 5c 	bne-    cr7,ffc23a70 <rtems_rfs_file_close+0x2f4><== 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)                                                   
ffc23918:	41 92 01 1c 	beq-    cr4,ffc23a34 <rtems_rfs_file_close+0x2b8><== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc2391c:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc23920:	4b ff 9d e1 	bl      ffc1d700 <_Chain_Extract>              
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
ffc23924:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc23928:	4b fe 69 d5 	bl      ffc0a2fc <free>                        
 */                                                                   
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);                       
ffc2392c:	7f a3 eb 78 	mr      r3,r29                                 
ffc23930:	38 9f 00 04 	addi    r4,r31,4                               
ffc23934:	4b ff d9 05 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23938:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc2393c:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc23940:	91 3f 00 08 	stw     r9,8(r31)                              
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);                       
  handle->dirty = false;                                              
ffc23944:	99 5f 00 04 	stb     r10,4(r31)                             
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc23948:	91 3f 00 0c 	stw     r9,12(r31)                             
                                                                      
  rc = rtems_rfs_buffer_handle_close (fs, &handle->buffer);           
  if ((rrc == 0) && (rc > 0))                                         
    rrc = rc;                                                         
                                                                      
  if (rrc > 0)                                                        
ffc2394c:	40 91 00 94 	ble-    cr4,ffc239e0 <rtems_rfs_file_close+0x264><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
ffc23950:	38 60 00 10 	li      r3,16                                  <== NOT EXECUTED
ffc23954:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23958:	4b ff 43 d5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2395c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23960:	41 be 00 80 	beq+    cr7,ffc239e0 <rtems_rfs_file_close+0x264><== NOT EXECUTED
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
ffc23964:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23968:	48 00 71 f1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc2396c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc23970:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23974:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23978:	38 63 c6 28 	addi    r3,r3,-14808                           <== NOT EXECUTED
ffc2397c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23980:	48 00 60 5d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  free (handle);                                                      
ffc23984:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23988:	4b fe 69 75 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
                                                                      
  return rrc;                                                         
}                                                                     
ffc2398c:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc23990:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc23994:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23998:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2399c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc239a0:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc239a4:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc239a8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc239ac:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc239b0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc239b4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc239b8:	4e 80 00 20 	blr                                            <== 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);                       
ffc239bc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc239c0:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc239c4:	4b ff d8 75 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc239c8:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc239cc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc239d0:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
                      rtems_rfs_file_handle* handle)                  
{                                                                     
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
ffc239d4:	3b c0 00 00 	li      r30,0                                  <== 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);                       
  handle->dirty = false;                                              
ffc239d8:	99 5f 00 04 	stb     r10,4(r31)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc239dc:	91 3f 00 0c 	stw     r9,12(r31)                             <== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
  }                                                                   
                                                                      
  free (handle);                                                      
ffc239e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc239e4:	4b fe 69 19 	bl      ffc0a2fc <free>                        
                                                                      
  return rrc;                                                         
}                                                                     
ffc239e8:	80 01 00 24 	lwz     r0,36(r1)                              
ffc239ec:	81 81 00 08 	lwz     r12,8(r1)                              
ffc239f0:	7f c3 f3 78 	mr      r3,r30                                 
ffc239f4:	7c 08 03 a6 	mtlr    r0                                     
ffc239f8:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc239fc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc23a00:	7d 80 81 20 	mtcrf   8,r12                                  
ffc23a04:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc23a08:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc23a0c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc23a10:	38 21 00 20 	addi    r1,r1,32                               
ffc23a14:	4e 80 00 20 	blr                                            
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
            handle->shared->inode.ino);                               
ffc23a18:	81 3f 00 1c 	lwz     r9,28(r31)                             <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
ffc23a1c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23a20:	38 63 c5 88 	addi    r3,r3,-14968                           <== NOT EXECUTED
ffc23a24:	80 89 00 14 	lwz     r4,20(r9)                              <== NOT EXECUTED
ffc23a28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23a2c:	48 00 5f b1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc23a30:	4b ff fd 90 	b       ffc237c0 <rtems_rfs_file_close+0x44>   <== NOT EXECUTED
ffc23a34:	80 7f 00 1c 	lwz     r3,28(r31)                             <== NOT EXECUTED
ffc23a38:	4b ff 9c c9 	bl      ffc1d700 <_Chain_Extract>              <== NOT EXECUTED
      if (rrc == 0)                                                   
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
ffc23a3c:	80 7f 00 1c 	lwz     r3,28(r31)                             <== NOT EXECUTED
ffc23a40:	4b fe 68 bd 	bl      ffc0a2fc <free>                        <== 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);                       
ffc23a44:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc23a48:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc23a4c:	4b ff d7 ed 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc23a50:	9b df 00 04 	stb     r30,4(r31)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc23a54:	93 df 00 08 	stw     r30,8(r31)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc23a58:	93 df 00 0c 	stw     r30,12(r31)                            <== NOT EXECUTED
ffc23a5c:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
ffc23a60:	4b ff fe f0 	b       ffc23950 <rtems_rfs_file_close+0x1d4>  <== NOT EXECUTED
ffc23a64:	7f 9e e3 78 	mr      r30,r28                                <== NOT EXECUTED
ffc23a68:	2e 1c 00 00 	cmpwi   cr4,r28,0                              <== NOT EXECUTED
ffc23a6c:	4b ff fe 80 	b       ffc238ec <rtems_rfs_file_close+0x170>  <== 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",
                handle->shared->inode.ino, rc, strerror (rc));        
ffc23a70:	81 3f 00 1c 	lwz     r9,28(r31)                             <== 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",
ffc23a74:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23a78:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc23a7c:	48 00 70 dd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc23a80:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc23a84:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23a88:	38 63 c5 ec 	addi    r3,r3,-14868                           <== NOT EXECUTED
ffc23a8c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23a90:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc23a94:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23a98:	48 00 5f 45 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc23a9c:	41 b2 ff 98 	beq-    cr4,ffc23a34 <rtems_rfs_file_close+0x2b8><== NOT EXECUTED
ffc23aa0:	4b ff fe 7c 	b       ffc2391c <rtems_rfs_file_close+0x1a0>  <== 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",
                handle->shared->inode.ino, rc, strerror (rc));        
ffc23aa4:	81 3f 00 1c 	lwz     r9,28(r31)                             <== 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",
ffc23aa8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc23aac:	83 69 00 14 	lwz     r27,20(r9)                             <== NOT EXECUTED
ffc23ab0:	48 00 70 a9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc23ab4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc23ab8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23abc:	38 63 c5 b0 	addi    r3,r3,-14928                           <== NOT EXECUTED
ffc23ac0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23ac4:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc23ac8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23acc:	48 00 5f 11 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
ffc23ad0:	40 b2 fe 1c 	bne-    cr4,ffc238ec <rtems_rfs_file_close+0x170><== NOT EXECUTED
ffc23ad4:	4b ff ff 90 	b       ffc23a64 <rtems_rfs_file_close+0x2e8>  <== 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,         
ffc23ad8:	81 04 00 40 	lwz     r8,64(r4)                              
ffc23adc:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc23ae0:	40 9e fd c8 	bne+    cr7,ffc238a8 <rtems_rfs_file_close+0x12c><== NEVER TAKEN
ffc23ae4:	3b c0 00 00 	li      r30,0                                  
ffc23ae8:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc23aec:	4b ff fd d4 	b       ffc238c0 <rtems_rfs_file_close+0x144>  
    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);        
ffc23af0:	38 84 00 0c 	addi    r4,r4,12                               
ffc23af4:	7f a3 eb 78 	mr      r3,r29                                 
ffc23af8:	4b ff 21 2d 	bl      ffc15c24 <rtems_rfs_inode_load>        
ffc23afc:	80 9f 00 1c 	lwz     r4,28(r31)                             
                                                                      
    if (rrc == 0)                                                     
ffc23b00:	2e 03 00 00 	cmpwi   cr4,r3,0                               
ffc23b04:	7c 7e 1b 78 	mr      r30,r3                                 
ffc23b08:	40 92 fd b8 	bne+    cr4,ffc238c0 <rtems_rfs_file_close+0x144><== NEVER TAKEN
ffc23b0c:	81 24 00 18 	lwz     r9,24(r4)                              
ffc23b10:	4b ff fc dc 	b       ffc237ec <rtems_rfs_file_close+0x70>   
                                                                      

ffc24590 <rtems_rfs_file_get_shared>:
ffc24590:	81 23 00 74 	lwz     r9,116(r3)                             
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 ));            
ffc24594:	38 63 00 78 	addi    r3,r3,120                              
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))               
ffc24598:	7f 89 18 00 	cmpw    cr7,r9,r3                              
ffc2459c:	40 be 00 14 	bne+    cr7,ffc245b0 <rtems_rfs_file_get_shared+0x20>
ffc245a0:	48 00 00 24 	b       ffc245c4 <rtems_rfs_file_get_shared+0x34>
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc245a4:	81 29 00 00 	lwz     r9,0(r9)                               <== NOT EXECUTED
rtems_rfs_file_get_shared (rtems_rfs_file_system* fs,                 
                           rtems_rfs_ino          ino)                
{                                                                     
  rtems_chain_node* node;                                             
  node = rtems_chain_first (&fs->file_shares);                        
  while (!rtems_chain_is_tail (&fs->file_shares, node))               
ffc245a8:	7f 89 18 00 	cmpw    cr7,r9,r3                              <== NOT EXECUTED
ffc245ac:	41 9e 00 18 	beq-    cr7,ffc245c4 <rtems_rfs_file_get_shared+0x34><== NOT EXECUTED
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc245b0:	81 49 00 14 	lwz     r10,20(r9)                             
ffc245b4:	7f 8a 20 00 	cmpw    cr7,r10,r4                             
ffc245b8:	40 9e ff ec 	bne+    cr7,ffc245a4 <rtems_rfs_file_get_shared+0x14><== NEVER TAKEN
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc245bc:	7d 23 4b 78 	mr      r3,r9                                  
ffc245c0:	4e 80 00 20 	blr                                            
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
ffc245c4:	38 60 00 00 	li      r3,0                                   
ffc245c8:	4e 80 00 20 	blr                                            
                                                                      

ffc23d6c <rtems_rfs_file_io_end>: int rtems_rfs_file_io_end (rtems_rfs_file_handle* handle, size_t size, bool read) {
ffc23d6c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc23d70:	7d 80 00 26 	mfcr    r12                                    
ffc23d74:	7c 08 02 a6 	mflr    r0                                     
ffc23d78:	93 a1 00 14 	stw     r29,20(r1)                             
ffc23d7c:	7c 9d 23 78 	mr      r29,r4                                 
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23d80:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc23d84:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc23d88:	7c 7f 1b 78 	mr      r31,r3                                 
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23d8c:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_end (rtems_rfs_file_handle* handle,                 
                       size_t                 size,                   
                       bool                   read)                   
{                                                                     
ffc23d90:	93 c1 00 18 	stw     r30,24(r1)                             
ffc23d94:	7c be 2b 78 	mr      r30,r5                                 
ffc23d98:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc23d9c:	90 01 00 24 	stw     r0,36(r1)                              
ffc23da0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc23da4:	93 81 00 10 	stw     r28,16(r1)                             
ffc23da8:	91 81 00 08 	stw     r12,8(r1)                              
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23dac:	4b ff 3f 81 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23db0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23db4:	41 9e 00 24 	beq-    cr7,ffc23dd8 <rtems_rfs_file_io_end+0x6c><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
ffc23db8:	40 92 00 b0 	bne-    cr4,ffc23e68 <rtems_rfs_file_io_end+0xfc><== NOT EXECUTED
ffc23dbc:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc23dc0:	38 84 c6 50 	addi    r4,r4,-14768                           <== NOT EXECUTED
ffc23dc4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23dc8:	38 63 c7 0c 	addi    r3,r3,-14580                           <== NOT EXECUTED
ffc23dcc:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc23dd0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23dd4:	48 00 5c 09 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
ffc23dd8:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc23ddc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc23de0:	41 9e 00 94 	beq-    cr7,ffc23e74 <rtems_rfs_file_io_end+0x108><== NEVER TAKEN
  {                                                                   
    if (!read)                                                        
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc23de4:	81 3f 00 1c 	lwz     r9,28(r31)                             
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
  {                                                                   
    if (!read)                                                        
ffc23de8:	40 92 02 3c 	bne-    cr4,ffc24024 <rtems_rfs_file_io_end+0x2b8>
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
ffc23dec:	39 40 00 01 	li      r10,1                                  
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc23df0:	80 69 00 98 	lwz     r3,152(r9)                             
            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));   
ffc23df4:	99 5f 00 04 	stb     r10,4(r31)                             
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc23df8:	38 9f 00 04 	addi    r4,r31,4                               
ffc23dfc:	4b ff d4 3d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
ffc23e00:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc23e04:	40 81 00 74 	ble-    ffc23e78 <rtems_rfs_file_io_end+0x10c> <== ALWAYS TAKEN
    {                                                                 
      printf (                                                        
ffc23e08:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc23e0c:	3b ff c6 50 	addi    r31,r31,-14768                         <== NOT EXECUTED
ffc23e10:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc23e14:	48 00 6d 45 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc23e18:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc23e1c:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc23e20:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23e24:	38 63 c7 34 	addi    r3,r3,-14540                           <== NOT EXECUTED
ffc23e28:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc23e2c:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc23e30:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23e34:	48 00 5b a9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc23e38:	80 01 00 24 	lwz     r0,36(r1)                              
ffc23e3c:	7f c3 f3 78 	mr      r3,r30                                 
ffc23e40:	81 81 00 08 	lwz     r12,8(r1)                              
ffc23e44:	7c 08 03 a6 	mtlr    r0                                     
ffc23e48:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc23e4c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc23e50:	7d 83 81 20 	mtcrf   56,r12                                 
ffc23e54:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc23e58:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc23e5c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc23e60:	38 21 00 20 	addi    r1,r1,32                               
ffc23e64:	4e 80 00 20 	blr                                            
  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",               
ffc23e68:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc23e6c:	38 84 b0 dc 	addi    r4,r4,-20260                           <== NOT EXECUTED
ffc23e70:	4b ff ff 54 	b       ffc23dc4 <rtems_rfs_file_io_end+0x58>  <== NOT EXECUTED
                       bool                   read)                   
{                                                                     
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
ffc23e74:	3b c0 00 00 	li      r30,0                                  <== 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)))           
ffc23e78:	81 3f 00 1c 	lwz     r9,28(r31)                             
   * 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;                                          
ffc23e7c:	81 1f 00 14 	lwz     r8,20(r31)                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc23e80:	81 49 00 98 	lwz     r10,152(r9)                            
   * 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;                                          
ffc23e84:	7f bd 42 14 	add     r29,r29,r8                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
ffc23e88:	81 4a 00 08 	lwz     r10,8(r10)                             
   * 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;                                          
ffc23e8c:	93 bf 00 14 	stw     r29,20(r31)                            
                                                                      
  if (handle->bpos.boff >=                                            
ffc23e90:	7f 9d 50 40 	cmplw   cr7,r29,r10                            
ffc23e94:	41 9c 00 18 	blt-    cr7,ffc23eac <rtems_rfs_file_io_end+0x140>
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
ffc23e98:	81 1f 00 10 	lwz     r8,16(r31)                             
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc23e9c:	7f aa e8 50 	subf    r29,r10,r29                            
ffc23ea0:	93 bf 00 14 	stw     r29,20(r31)                            
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
ffc23ea4:	39 08 00 01 	addi    r8,r8,1                                
ffc23ea8:	91 1f 00 10 	stw     r8,16(r31)                             
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc23eac:	40 92 00 30 	bne-    cr4,ffc23edc <rtems_rfs_file_io_end+0x170>
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc23eb0:	81 5f 00 10 	lwz     r10,16(r31)                            
ffc23eb4:	81 09 00 3c 	lwz     r8,60(r9)                              
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
ffc23eb8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc23ebc:	41 9e 00 0c 	beq-    cr7,ffc23ec8 <rtems_rfs_file_io_end+0x15c>
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc23ec0:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc23ec4:	41 9e 00 a8 	beq-    cr7,ffc23f6c <rtems_rfs_file_io_end+0x200><== NEVER TAKEN
ffc23ec8:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc23ecc:	40 9c 00 a0 	bge-    cr7,ffc23f6c <rtems_rfs_file_io_end+0x200>
ffc23ed0:	39 08 ff ff 	addi    r8,r8,-1                               
ffc23ed4:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc23ed8:	41 9e 01 6c 	beq-    cr7,ffc24044 <rtems_rfs_file_io_end+0x2d8>
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc23edc:	81 3f 00 00 	lwz     r9,0(r31)                              
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc23ee0:	3b 80 00 00 	li      r28,0                                  
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc23ee4:	55 29 07 fe 	clrlwi  r9,r9,31                               
ffc23ee8:	69 3b 00 01 	xori    r27,r9,1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
  length = rtems_rfs_file_update_length (handle) && length;           
ffc23eec:	3b a0 00 00 	li      r29,0                                  
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23ef0:	38 60 00 20 	li      r3,32                                  
ffc23ef4:	38 80 00 00 	li      r4,0                                   
ffc23ef8:	4b ff 3e 35 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23efc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23f00:	40 9e 00 a0 	bne-    cr7,ffc23fa0 <rtems_rfs_file_io_end+0x234><== NEVER TAKEN
ffc23f04:	2d 9b 00 00 	cmpwi   cr3,r27,0                              
ffc23f08:	2d 1d 00 00 	cmpwi   cr2,r29,0                              
    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)                                                 
ffc23f0c:	40 8e 00 ec 	bne-    cr3,ffc23ff8 <rtems_rfs_file_io_end+0x28c><== ALWAYS TAKEN
ffc23f10:	2f 9c 00 00 	cmpwi   cr7,r28,0                              <== NOT EXECUTED
ffc23f14:	41 9e 00 10 	beq-    cr7,ffc23f24 <rtems_rfs_file_io_end+0x1b8><== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
ffc23f18:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc23f1c:	48 00 9e 35 	bl      ffc2dd50 <time>                        <== NOT EXECUTED
    if (read && atime)                                                
ffc23f20:	41 92 00 f8 	beq-    cr4,ffc24018 <rtems_rfs_file_io_end+0x2ac><== NOT EXECUTED
      handle->shared->atime = now;                                    
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
ffc23f24:	41 aa ff 14 	beq-    cr2,ffc23e38 <rtems_rfs_file_io_end+0xcc>
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc23f28:	80 01 00 24 	lwz     r0,36(r1)                              
ffc23f2c:	7f c3 f3 78 	mr      r3,r30                                 
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
ffc23f30:	81 3f 00 1c 	lwz     r9,28(r31)                             
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc23f34:	7c 08 03 a6 	mtlr    r0                                     
ffc23f38:	81 81 00 08 	lwz     r12,8(r1)                              
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
ffc23f3c:	81 09 00 3c 	lwz     r8,60(r9)                              
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
ffc23f40:	81 49 00 40 	lwz     r10,64(r9)                             
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc23f44:	7d 83 81 20 	mtcrf   56,r12                                 
ffc23f48:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc23f4c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc23f50:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc23f54:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc23f58:	83 e1 00 1c 	lwz     r31,28(r1)                             
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
ffc23f5c:	91 09 00 84 	stw     r8,132(r9)                             
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
ffc23f60:	91 49 00 88 	stw     r10,136(r9)                            
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc23f64:	38 21 00 20 	addi    r1,r1,32                               
ffc23f68:	4e 80 00 20 	blr                                            
ffc23f6c:	81 5f 00 14 	lwz     r10,20(r31)                            
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc23f70:	83 9f 00 00 	lwz     r28,0(r31)                             
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
  length = rtems_rfs_file_update_length (handle) && length;           
ffc23f74:	3b a0 00 01 	li      r29,1                                  
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc23f78:	91 49 00 40 	stw     r10,64(r9)                             
  map->dirty = true;                                                  
ffc23f7c:	39 40 00 01 	li      r10,1                                  
ffc23f80:	73 88 00 04 	andi.   r8,r28,4                               
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc23f84:	57 9b 07 fe 	clrlwi  r27,r28,31                             
ffc23f88:	99 49 00 34 	stb     r10,52(r9)                             
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc23f8c:	6b 9c 00 02 	xori    r28,r28,2                              
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
ffc23f90:	6b 7b 00 01 	xori    r27,r27,1                              
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
ffc23f94:	57 9c ff fe 	rlwinm  r28,r28,31,31,31                       
  length = rtems_rfs_file_update_length (handle) && length;           
ffc23f98:	41 a2 ff 58 	beq-    ffc23ef0 <rtems_rfs_file_io_end+0x184> <== ALWAYS TAKEN
ffc23f9c:	4b ff ff 50 	b       ffc23eec <rtems_rfs_file_io_end+0x180> <== NOT EXECUTED
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
ffc23fa0:	2d 9b 00 00 	cmpwi   cr3,r27,0                              <== NOT EXECUTED
ffc23fa4:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc23fa8:	30 db ff ff 	addic   r6,r27,-1                              <== NOT EXECUTED
ffc23fac:	7c c6 31 10 	subfe   r6,r6,r6                               <== NOT EXECUTED
ffc23fb0:	80 bf 00 14 	lwz     r5,20(r31)                             <== NOT EXECUTED
ffc23fb4:	30 fc ff ff 	addic   r7,r28,-1                              <== NOT EXECUTED
ffc23fb8:	7c e7 39 10 	subfe   r7,r7,r7                               <== NOT EXECUTED
ffc23fbc:	31 1d ff ff 	addic   r8,r29,-1                              <== NOT EXECUTED
ffc23fc0:	7d 08 41 10 	subfe   r8,r8,r8                               <== NOT EXECUTED
ffc23fc4:	39 20 ff ec 	li      r9,-20                                 <== NOT EXECUTED
ffc23fc8:	7c c6 48 38 	and     r6,r6,r9                               <== NOT EXECUTED
ffc23fcc:	54 e7 00 34 	rlwinm  r7,r7,0,0,26                           <== NOT EXECUTED
ffc23fd0:	55 08 07 f4 	rlwinm  r8,r8,0,31,26                          <== NOT EXECUTED
ffc23fd4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23fd8:	38 63 c7 78 	addi    r3,r3,-14472                           <== NOT EXECUTED
ffc23fdc:	38 c6 00 41 	addi    r6,r6,65                               <== NOT EXECUTED
ffc23fe0:	38 e7 00 4d 	addi    r7,r7,77                               <== NOT EXECUTED
ffc23fe4:	39 08 00 4c 	addi    r8,r8,76                               <== NOT EXECUTED
ffc23fe8:	2d 1d 00 00 	cmpwi   cr2,r29,0                              <== NOT EXECUTED
ffc23fec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23ff0:	48 00 59 ed 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            handle->bpos.bno, handle->bpos.boff,                      
            atime ? 'A' : '-', mtime ? 'M' : '-', length ? 'L' : '-');
                                                                      
  if (atime || mtime)                                                 
ffc23ff4:	41 8e ff 1c 	beq+    cr3,ffc23f10 <rtems_rfs_file_io_end+0x1a4><== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
ffc23ff8:	38 60 00 00 	li      r3,0                                   
ffc23ffc:	48 00 9d 55 	bl      ffc2dd50 <time>                        
    if (read && atime)                                                
ffc24000:	41 92 00 10 	beq-    cr4,ffc24010 <rtems_rfs_file_io_end+0x2a4>
      handle->shared->atime = now;                                    
ffc24004:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc24008:	90 69 00 8c 	stw     r3,140(r9)                             
ffc2400c:	4b ff ff 18 	b       ffc23f24 <rtems_rfs_file_io_end+0x1b8> 
    if (!read && mtime)                                               
ffc24010:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc24014:	41 be ff 10 	beq-    cr7,ffc23f24 <rtems_rfs_file_io_end+0x1b8>
      handle->shared->mtime = now;                                    
ffc24018:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc2401c:	90 69 00 90 	stw     r3,144(r9)                             
ffc24020:	4b ff ff 04 	b       ffc23f24 <rtems_rfs_file_io_end+0x1b8> 
                                                                      
  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), 
ffc24024:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24028:	38 9f 00 04 	addi    r4,r31,4                               
ffc2402c:	4b ff d2 0d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
ffc24030:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24034:	40 a1 fe 44 	ble-    ffc23e78 <rtems_rfs_file_io_end+0x10c> <== ALWAYS TAKEN
    {                                                                 
      printf (                                                        
ffc24038:	3f e0 ff c4 	lis     r31,-60                                <== NOT EXECUTED
ffc2403c:	3b ff b0 dc 	addi    r31,r31,-20260                         <== NOT EXECUTED
ffc24040:	4b ff fd d0 	b       ffc23e10 <rtems_rfs_file_io_end+0xa4>  <== NOT EXECUTED
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
ffc24044:	81 5f 00 14 	lwz     r10,20(r31)                            
ffc24048:	81 09 00 40 	lwz     r8,64(r9)                              
ffc2404c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc24050:	40 bd fe 8c 	ble-    cr7,ffc23edc <rtems_rfs_file_io_end+0x170>
ffc24054:	4b ff ff 1c 	b       ffc23f70 <rtems_rfs_file_io_end+0x204> 
                                                                      

ffc24058 <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))
ffc24058:	81 23 00 0c 	lwz     r9,12(r3)                              
ffc2405c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc24060:	41 9e 00 14 	beq-    cr7,ffc24074 <rtems_rfs_file_io_release+0x1c><== ALWAYS TAKEN
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
ffc24064:	81 23 00 1c 	lwz     r9,28(r3)                              <== NOT EXECUTED
ffc24068:	38 83 00 04 	addi    r4,r3,4                                <== NOT EXECUTED
ffc2406c:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc24070:	4b ff d1 c8 	b       ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                          rtems_rfs_file_buffer (handle));
  return rc;                                                          
}                                                                     
ffc24074:	38 60 00 00 	li      r3,0                                   
ffc24078:	4e 80 00 20 	blr                                            
                                                                      

ffc23b14 <rtems_rfs_file_io_start>: int rtems_rfs_file_io_start (rtems_rfs_file_handle* handle, size_t* available, bool read) {
ffc23b14:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc23b18:	7d 80 00 26 	mfcr    r12                                    
ffc23b1c:	7c 08 02 a6 	mflr    r0                                     
ffc23b20:	93 a1 00 24 	stw     r29,36(r1)                             
ffc23b24:	7c 9d 23 78 	mr      r29,r4                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23b28:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc23b2c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc23b30:	7c 7f 1b 78 	mr      r31,r3                                 
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23b34:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_io_start (rtems_rfs_file_handle* handle,               
                         size_t*                available,            
                         bool                   read)                 
{                                                                     
ffc23b38:	93 c1 00 28 	stw     r30,40(r1)                             
ffc23b3c:	7c be 2b 78 	mr      r30,r5                                 
ffc23b40:	2e 1e 00 00 	cmpwi   cr4,r30,0                              
ffc23b44:	90 01 00 34 	stw     r0,52(r1)                              
ffc23b48:	93 61 00 1c 	stw     r27,28(r1)                             
ffc23b4c:	93 81 00 20 	stw     r28,32(r1)                             
ffc23b50:	91 81 00 18 	stw     r12,24(r1)                             
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23b54:	4b ff 41 d9 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23b58:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23b5c:	41 9e 00 28 	beq-    cr7,ffc23b84 <rtems_rfs_file_io_start+0x70><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
ffc23b60:	40 92 00 d4 	bne-    cr4,ffc23c34 <rtems_rfs_file_io_start+0x120><== NOT EXECUTED
ffc23b64:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc23b68:	38 84 c6 50 	addi    r4,r4,-14768                           <== NOT EXECUTED
ffc23b6c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23b70:	80 bf 00 10 	lwz     r5,16(r31)                             <== NOT EXECUTED
ffc23b74:	80 df 00 14 	lwz     r6,20(r31)                             <== NOT EXECUTED
ffc23b78:	38 63 c6 58 	addi    r3,r3,-14760                           <== NOT EXECUTED
ffc23b7c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23b80:	48 00 5e 5d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            read ? "read" : "write",  handle->bpos.bno, handle->bpos.boff);
                                                                      
  if (!rtems_rfs_buffer_handle_has_block (&handle->buffer))           
ffc23b84:	83 7f 00 0c 	lwz     r27,12(r31)                            
ffc23b88:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc23b8c:	41 9e 00 c4 	beq-    cr7,ffc23c50 <rtems_rfs_file_io_start+0x13c>
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc23b90:	81 3f 00 1c 	lwz     r9,28(r31)                             
                                          block, request_read);       
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
ffc23b94:	40 92 00 78 	bne-    cr4,ffc23c0c <rtems_rfs_file_io_start+0xf8>
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
      && 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));      
ffc23b98:	81 29 00 98 	lwz     r9,152(r9)                             
ffc23b9c:	83 c9 00 08 	lwz     r30,8(r9)                              
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
ffc23ba0:	81 3f 00 14 	lwz     r9,20(r31)                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc23ba4:	38 60 00 20 	li      r3,32                                  
ffc23ba8:	38 80 00 00 	li      r4,0                                   
      && 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);           
ffc23bac:	7d 29 f0 50 	subf    r9,r9,r30                              
ffc23bb0:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
            *available, size);                                        
                                                                      
  return 0;                                                           
ffc23bb4:	3b 80 00 00 	li      r28,0                                  
  else                                                                
    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))                      
ffc23bb8:	4b ff 41 75 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23bbc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23bc0:	41 be 00 1c 	beq+    cr7,ffc23bdc <rtems_rfs_file_io_start+0xc8><== ALWAYS TAKEN
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
ffc23bc4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23bc8:	80 9d 00 00 	lwz     r4,0(r29)                              <== NOT EXECUTED
ffc23bcc:	38 63 c6 dc 	addi    r3,r3,-14628                           <== NOT EXECUTED
ffc23bd0:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc23bd4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23bd8:	48 00 5e 05 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc23bdc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc23be0:	7f 83 e3 78 	mr      r3,r28                                 
ffc23be4:	81 81 00 18 	lwz     r12,24(r1)                             
ffc23be8:	7c 08 03 a6 	mtlr    r0                                     
ffc23bec:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc23bf0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc23bf4:	7d 80 81 20 	mtcrf   8,r12                                  
ffc23bf8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc23bfc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc23c00:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc23c04:	38 21 00 30 	addi    r1,r1,48                               
ffc23c08:	4e 80 00 20 	blr                                            
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc23c0c:	81 49 00 44 	lwz     r10,68(r9)                             
ffc23c10:	81 09 00 3c 	lwz     r8,60(r9)                              
ffc23c14:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc23c18:	40 9e 00 28 	bne-    cr7,ffc23c40 <rtems_rfs_file_io_start+0x12c>
ffc23c1c:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc23c20:	40 9e 00 20 	bne-    cr7,ffc23c40 <rtems_rfs_file_io_start+0x12c><== ALWAYS TAKEN
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
ffc23c24:	83 c9 00 40 	lwz     r30,64(r9)                             
ffc23c28:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc23c2c:	40 be ff 74 	bne-    cr7,ffc23ba0 <rtems_rfs_file_io_start+0x8c>
ffc23c30:	4b ff ff 68 	b       ffc23b98 <rtems_rfs_file_io_start+0x84>
                         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",
ffc23c34:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc23c38:	38 84 b0 dc 	addi    r4,r4,-20260                           <== NOT EXECUTED
ffc23c3c:	4b ff ff 30 	b       ffc23b6c <rtems_rfs_file_io_start+0x58><== NOT EXECUTED
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
ffc23c40:	39 08 ff ff 	addi    r8,r8,-1                               
ffc23c44:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc23c48:	40 9e ff 50 	bne+    cr7,ffc23b98 <rtems_rfs_file_io_start+0x84>
ffc23c4c:	4b ff ff d8 	b       ffc23c24 <rtems_rfs_file_io_start+0x110>
    bool                   request_read;                              
    int                    rc;                                        
                                                                      
    request_read = read;                                              
                                                                      
    rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),        
ffc23c50:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc23c54:	38 bf 00 10 	addi    r5,r31,16                              
ffc23c58:	38 c1 00 08 	addi    r6,r1,8                                
ffc23c5c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc23c60:	38 84 00 34 	addi    r4,r4,52                               
ffc23c64:	4b ff c9 29 	bl      ffc2058c <rtems_rfs_block_map_find>    
                                   rtems_rfs_file_map (handle),       
                                   rtems_rfs_file_bpos (handle),      
                                   &block);                           
    if (rc > 0)                                                       
ffc23c68:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23c6c:	40 81 00 1c 	ble-    ffc23c88 <rtems_rfs_file_io_start+0x174>
    {                                                                 
      /*                                                              
       * Has the read reached the EOF ?                               
       */                                                             
      if (read && (rc == ENXIO))                                      
ffc23c70:	2f 9c 00 06 	cmpwi   cr7,r28,6                              
ffc23c74:	41 92 00 9c 	beq-    cr4,ffc23d10 <rtems_rfs_file_io_start+0x1fc><== ALWAYS TAKEN
ffc23c78:	40 9e ff 64 	bne+    cr7,ffc23bdc <rtems_rfs_file_io_start+0xc8><== NOT EXECUTED
      {                                                               
        *available = 0;                                               
ffc23c7c:	93 7d 00 00 	stw     r27,0(r29)                             <== NOT EXECUTED
        return 0;                                                     
ffc23c80:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc23c84:	4b ff ff 58 	b       ffc23bdc <rtems_rfs_file_io_start+0xc8><== 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 &&                                                    
ffc23c88:	40 92 00 2c 	bne-    cr4,ffc23cb4 <rtems_rfs_file_io_start+0x1a0>
ffc23c8c:	81 3f 00 14 	lwz     r9,20(r31)                             
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
ffc23c90:	3b c0 00 01 	li      r30,1                                  
      /*                                                              
       * 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 &&                                                    
ffc23c94:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc23c98:	40 9e 00 1c 	bne-    cr7,ffc23cb4 <rtems_rfs_file_io_start+0x1a0>
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc23c9c:	81 3f 00 1c 	lwz     r9,28(r31)                             
       * 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) ||                    
ffc23ca0:	81 5d 00 00 	lwz     r10,0(r29)                             
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
ffc23ca4:	81 29 00 98 	lwz     r9,152(r9)                             
       * 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) ||                    
ffc23ca8:	81 29 00 08 	lwz     r9,8(r9)                               
ffc23cac:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc23cb0:	40 9c 00 98 	bge-    cr7,ffc23d48 <rtems_rfs_file_io_start+0x234><== NEVER TAKEN
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
ffc23cb4:	38 60 00 20 	li      r3,32                                  
ffc23cb8:	38 80 00 00 	li      r4,0                                   
ffc23cbc:	4b ff 40 71 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23cc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23cc4:	41 9e 00 28 	beq-    cr7,ffc23cec <rtems_rfs_file_io_start+0x1d8><== ALWAYS TAKEN
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
ffc23cc8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc23ccc:	80 81 00 08 	lwz     r4,8(r1)                               <== NOT EXECUTED
ffc23cd0:	41 9e 00 80 	beq-    cr7,ffc23d50 <rtems_rfs_file_io_start+0x23c><== NOT EXECUTED
ffc23cd4:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc23cd8:	38 a5 ab 28 	addi    r5,r5,-21720                           <== NOT EXECUTED
ffc23cdc:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23ce0:	38 63 c6 a4 	addi    r3,r3,-14684                           <== NOT EXECUTED
ffc23ce4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23ce8:	48 00 5c f5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              block, request_read ? "yes" : "no");                    
                                                                      
    rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle), 
ffc23cec:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc23cf0:	38 9f 00 04 	addi    r4,r31,4                               
ffc23cf4:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc23cf8:	7f c6 f3 78 	mr      r6,r30                                 
ffc23cfc:	80 69 00 98 	lwz     r3,152(r9)                             
ffc23d00:	4b ff d7 4d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
                                          rtems_rfs_file_buffer (handle),
                                          block, request_read);       
    if (rc > 0)                                                       
ffc23d04:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23d08:	41 81 fe d4 	bgt+    ffc23bdc <rtems_rfs_file_io_start+0xc8><== NEVER TAKEN
ffc23d0c:	4b ff fe 84 	b       ffc23b90 <rtems_rfs_file_io_start+0x7c>
      {                                                               
        *available = 0;                                               
        return 0;                                                     
      }                                                               
                                                                      
      if (rc != ENXIO)                                                
ffc23d10:	40 9e fe cc 	bne+    cr7,ffc23bdc <rtems_rfs_file_io_start+0xc8><== NEVER TAKEN
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
ffc23d14:	38 60 00 20 	li      r3,32                                  
ffc23d18:	38 80 00 00 	li      r4,0                                   
ffc23d1c:	4b ff 40 11 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23d20:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23d24:	40 9e 00 38 	bne-    cr7,ffc23d5c <rtems_rfs_file_io_start+0x248><== NEVER TAKEN
        printf ("rtems-rfs: file-io: start: grow\n");                 
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
ffc23d28:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc23d2c:	38 a0 00 01 	li      r5,1                                   
ffc23d30:	38 c1 00 08 	addi    r6,r1,8                                
ffc23d34:	80 64 00 98 	lwz     r3,152(r4)                             
ffc23d38:	38 84 00 34 	addi    r4,r4,52                               
ffc23d3c:	4b ff ca fd 	bl      ffc20838 <rtems_rfs_block_map_grow>    
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
ffc23d40:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc23d44:	41 81 fe 98 	bgt+    ffc23bdc <rtems_rfs_file_io_start+0xc8>
        return rc;                                                    
                                                                      
      request_read = false;                                           
ffc23d48:	3b c0 00 00 	li      r30,0                                  
ffc23d4c:	4b ff ff 68 	b       ffc23cb4 <rtems_rfs_file_io_start+0x1a0>
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
ffc23d50:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc23d54:	38 a5 b0 60 	addi    r5,r5,-20384                           <== NOT EXECUTED
ffc23d58:	4b ff ff 84 	b       ffc23cdc <rtems_rfs_file_io_start+0x1c8><== NOT EXECUTED
                                                                      
      if (rc != ENXIO)                                                
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
        printf ("rtems-rfs: file-io: start: grow\n");                 
ffc23d5c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23d60:	38 63 c6 84 	addi    r3,r3,-14716                           <== NOT EXECUTED
ffc23d64:	48 00 5f e1 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc23d68:	4b ff ff c0 	b       ffc23d28 <rtems_rfs_file_io_start+0x214><== NOT EXECUTED
                                                                      

ffc233d8 <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) {
ffc233d8:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc233dc:	7c 08 02 a6 	mflr    r0                                     
ffc233e0:	93 21 00 0c 	stw     r25,12(r1)                             
ffc233e4:	7c 79 1b 78 	mr      r25,r3                                 
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc233e8:	38 60 00 08 	li      r3,8                                   
int                                                                   
rtems_rfs_file_open (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_ino           ino,                     
                     int                     oflag,                   
                     rtems_rfs_file_handle** file)                    
{                                                                     
ffc233ec:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc233f0:	7c 9d 23 78 	mr      r29,r4                                 
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc233f4:	38 80 00 00 	li      r4,0                                   
int                                                                   
rtems_rfs_file_open (rtems_rfs_file_system*  fs,                      
                     rtems_rfs_ino           ino,                     
                     int                     oflag,                   
                     rtems_rfs_file_handle** file)                    
{                                                                     
ffc233f8:	93 01 00 08 	stw     r24,8(r1)                              
ffc233fc:	7c b8 2b 78 	mr      r24,r5                                 
ffc23400:	93 41 00 10 	stw     r26,16(r1)                             
ffc23404:	7c da 33 78 	mr      r26,r6                                 
ffc23408:	90 01 00 2c 	stw     r0,44(r1)                              
ffc2340c:	93 61 00 14 	stw     r27,20(r1)                             
ffc23410:	93 81 00 18 	stw     r28,24(r1)                             
ffc23414:	93 c1 00 20 	stw     r30,32(r1)                             
ffc23418:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
ffc2341c:	4b ff 49 11 	bl      ffc17d2c <rtems_rfs_trace>             
ffc23420:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23424:	40 9e 00 d4 	bne-    cr7,ffc234f8 <rtems_rfs_file_open+0x120><== NEVER TAKEN
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
                                                                      
  *file = NULL;                                                       
ffc23428:	3b 80 00 00 	li      r28,0                                  
ffc2342c:	93 9a 00 00 	stw     r28,0(r26)                             
  /*                                                                  
   * 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));                   
ffc23430:	38 60 00 20 	li      r3,32                                  
  if (!handle)                                                        
    return ENOMEM;                                                    
ffc23434:	3b 60 00 0c 	li      r27,12                                 
  /*                                                                  
   * 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));                   
ffc23438:	4b fe 76 5d 	bl      ffc0aa94 <malloc>                      
  if (!handle)                                                        
ffc2343c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc23440:	41 82 00 84 	beq-    ffc234c4 <rtems_rfs_file_open+0xec>    <== NEVER TAKEN
    return ENOMEM;                                                    
                                                                      
  memset (handle, 0, sizeof (rtems_rfs_file_handle));                 
ffc23444:	93 9e 00 04 	stw     r28,4(r30)                             
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 ));            
ffc23448:	39 59 00 78 	addi    r10,r25,120                            
ffc2344c:	93 9e 00 00 	stw     r28,0(r30)                             
ffc23450:	93 9e 00 10 	stw     r28,16(r30)                            
ffc23454:	93 9e 00 14 	stw     r28,20(r30)                            
ffc23458:	93 9e 00 18 	stw     r28,24(r30)                            
ffc2345c:	93 9e 00 1c 	stw     r28,28(r30)                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
ffc23460:	83 f9 00 74 	lwz     r31,116(r25)                           
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc23464:	9b 9e 00 04 	stb     r28,4(r30)                             
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))               
ffc23468:	7f 9f 50 00 	cmpw    cr7,r31,r10                            
  handle->bnum  = 0;                                                  
ffc2346c:	93 9e 00 08 	stw     r28,8(r30)                             
  handle->buffer = NULL;                                              
ffc23470:	93 9e 00 0c 	stw     r28,12(r30)                            
ffc23474:	40 be 00 14 	bne+    cr7,ffc23488 <rtems_rfs_file_open+0xb0><== NEVER TAKEN
ffc23478:	48 00 00 98 	b       ffc23510 <rtems_rfs_file_open+0x138>   
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc2347c:	83 ff 00 00 	lwz     r31,0(r31)                             <== NOT EXECUTED
rtems_rfs_file_get_shared (rtems_rfs_file_system* fs,                 
                           rtems_rfs_ino          ino)                
{                                                                     
  rtems_chain_node* node;                                             
  node = rtems_chain_first (&fs->file_shares);                        
  while (!rtems_chain_is_tail (&fs->file_shares, node))               
ffc23480:	7f 9f 50 00 	cmpw    cr7,r31,r10                            <== NOT EXECUTED
ffc23484:	41 9e 00 8c 	beq-    cr7,ffc23510 <rtems_rfs_file_open+0x138><== NOT EXECUTED
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
ffc23488:	81 3f 00 14 	lwz     r9,20(r31)                             <== NOT EXECUTED
ffc2348c:	7f 9d 48 00 	cmpw    cr7,r29,r9                             <== NOT EXECUTED
ffc23490:	40 9e ff ec 	bne+    cr7,ffc2347c <rtems_rfs_file_open+0xa4><== NOT EXECUTED
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
ffc23494:	81 3f 00 08 	lwz     r9,8(r31)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc23498:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc2349c:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
ffc234a0:	39 29 00 01 	addi    r9,r9,1                                <== NOT EXECUTED
ffc234a4:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc234a8:	4b ff 48 85 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc234ac:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc234b0:	40 9e 01 04 	bne-    cr7,ffc235b4 <rtems_rfs_file_open+0x1dc><== 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;                                             
ffc234b4:	93 1e 00 00 	stw     r24,0(r30)                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
ffc234b8:	3b 60 00 00 	li      r27,0                                  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
  }                                                                   
                                                                      
  handle->flags  = oflag;                                             
  handle->shared = shared;                                            
ffc234bc:	93 fe 00 1c 	stw     r31,28(r30)                            
                                                                      
  *file = handle;                                                     
ffc234c0:	93 da 00 00 	stw     r30,0(r26)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc234c4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc234c8:	7f 63 db 78 	mr      r3,r27                                 
ffc234cc:	83 01 00 08 	lwz     r24,8(r1)                              
ffc234d0:	7c 08 03 a6 	mtlr    r0                                     
ffc234d4:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc234d8:	83 41 00 10 	lwz     r26,16(r1)                             
ffc234dc:	83 61 00 14 	lwz     r27,20(r1)                             
ffc234e0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc234e4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc234e8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc234ec:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc234f0:	38 21 00 28 	addi    r1,r1,40                               
ffc234f4:	4e 80 00 20 	blr                                            
  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);          
ffc234f8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc234fc:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc23500:	38 63 c4 a4 	addi    r3,r3,-15196                           <== NOT EXECUTED
ffc23504:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23508:	48 00 64 d5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2350c:	4b ff ff 1c 	b       ffc23428 <rtems_rfs_file_open+0x50>    <== 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));                 
ffc23510:	38 60 00 9c 	li      r3,156                                 
ffc23514:	4b fe 75 81 	bl      ffc0aa94 <malloc>                      
    if (!shared)                                                      
ffc23518:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc2351c:	41 82 01 1c 	beq-    ffc23638 <rtems_rfs_file_open+0x260>   <== NEVER TAKEN
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
ffc23520:	38 80 00 00 	li      r4,0                                   
ffc23524:	38 a0 00 9c 	li      r5,156                                 
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc23528:	3b 9f 00 0c 	addi    r28,r31,12                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
ffc2352c:	48 00 62 55 	bl      ffc29780 <memset>                      
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
ffc23530:	7f 23 cb 78 	mr      r3,r25                                 
ffc23534:	7f a4 eb 78 	mr      r4,r29                                 
ffc23538:	7f 85 e3 78 	mr      r5,r28                                 
ffc2353c:	38 c0 00 01 	li      r6,1                                   
ffc23540:	4b ff 27 b9 	bl      ffc15cf8 <rtems_rfs_inode_open>        
    if (rc > 0)                                                       
ffc23544:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc23548:	40 81 00 94 	ble-    ffc235dc <rtems_rfs_file_open+0x204>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc2354c:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc23550:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc23554:	4b ff 47 d9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc23558:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2355c:	41 be 00 24 	beq+    cr7,ffc23580 <rtems_rfs_file_open+0x1a8><== NOT EXECUTED
        printf ("rtems-rfs: file-open: inode open failed: %d: %s\n",  
ffc23560:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc23564:	48 00 75 f5 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc23568:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc2356c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23570:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23574:	38 63 c4 ec 	addi    r3,r3,-15124                           <== NOT EXECUTED
ffc23578:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2357c:	48 00 64 61 	bl      ffc299dc <printf>                      <== 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);                                                  
ffc23580:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc23584:	4b fe 6d 79 	bl      ffc0a2fc <free>                        <== 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);                       
ffc23588:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc2358c:	38 9e 00 04 	addi    r4,r30,4                               <== NOT EXECUTED
ffc23590:	4b ff dc a9 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc23594:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc23598:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc2359c:	91 3e 00 08 	stw     r9,8(r30)                              <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
ffc235a0:	7f c3 f3 78 	mr      r3,r30                                 <== 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);                       
  handle->dirty = false;                                              
ffc235a4:	99 5e 00 04 	stb     r10,4(r30)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc235a8:	91 3e 00 0c 	stw     r9,12(r30)                             <== NOT EXECUTED
ffc235ac:	4b fe 6d 51 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      return rc;                                                      
ffc235b0:	4b ff ff 14 	b       ffc234c4 <rtems_rfs_file_open+0xec>    <== 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); 
ffc235b4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc235b8:	38 63 c4 c4 	addi    r3,r3,-15164                           <== NOT EXECUTED
ffc235bc:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc235c0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc235c4:	48 00 64 19 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  handle->flags  = oflag;                                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
ffc235c8:	3b 60 00 00 	li      r27,0                                  <== 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;                                             
ffc235cc:	93 1e 00 00 	stw     r24,0(r30)                             <== NOT EXECUTED
  handle->shared = shared;                                            
ffc235d0:	93 fe 00 1c 	stw     r31,28(r30)                            <== NOT EXECUTED
                                                                      
  *file = handle;                                                     
ffc235d4:	93 da 00 00 	stw     r30,0(r26)                             <== NOT EXECUTED
ffc235d8:	4b ff fe ec 	b       ffc234c4 <rtems_rfs_file_open+0xec>    <== 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); 
ffc235dc:	7f 23 cb 78 	mr      r3,r25                                 
ffc235e0:	7f 84 e3 78 	mr      r4,r28                                 
ffc235e4:	38 bf 00 34 	addi    r5,r31,52                              
ffc235e8:	4b ff cb a9 	bl      ffc20190 <rtems_rfs_block_map_open>    
    if (rc > 0)                                                       
ffc235ec:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc235f0:	40 81 00 70 	ble-    ffc23660 <rtems_rfs_file_open+0x288>   <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
ffc235f4:	38 60 00 08 	li      r3,8                                   <== NOT EXECUTED
ffc235f8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc235fc:	4b ff 47 31 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc23600:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc23604:	41 be 00 24 	beq+    cr7,ffc23628 <rtems_rfs_file_open+0x250><== NOT EXECUTED
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
ffc23608:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc2360c:	48 00 75 4d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc23610:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc23614:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc23618:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2361c:	38 63 c5 20 	addi    r3,r3,-15072                           <== NOT EXECUTED
ffc23620:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23624:	48 00 63 b9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
ffc23628:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc2362c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc23630:	4b ff 29 45 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc23634:	4b ff ff 4c 	b       ffc23580 <rtems_rfs_file_open+0x1a8>   <== 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);                       
ffc23638:	38 9e 00 04 	addi    r4,r30,4                               <== NOT EXECUTED
ffc2363c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc23640:	4b ff db f9 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc23644:	9b fe 00 04 	stb     r31,4(r30)                             <== NOT EXECUTED
     */                                                               
    shared = malloc (sizeof (rtems_rfs_file_shared));                 
    if (!shared)                                                      
    {                                                                 
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
ffc23648:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc2364c:	93 fe 00 08 	stw     r31,8(r30)                             <== NOT EXECUTED
      return ENOMEM;                                                  
ffc23650:	3b 60 00 0c 	li      r27,12                                 <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc23654:	93 fe 00 0c 	stw     r31,12(r30)                            <== NOT EXECUTED
     */                                                               
    shared = malloc (sizeof (rtems_rfs_file_shared));                 
    if (!shared)                                                      
    {                                                                 
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
ffc23658:	4b fe 6c a5 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      return ENOMEM;                                                  
ffc2365c:	4b ff fe 68 	b       ffc234c4 <rtems_rfs_file_open+0xec>    <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc23660:	39 40 00 01 	li      r10,1                                  
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
ffc23664:	81 3f 00 18 	lwz     r9,24(r31)                             
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
ffc23668:	91 5f 00 08 	stw     r10,8(r31)                             
ffc2366c:	38 79 00 74 	addi    r3,r25,116                             
ffc23670:	7f e4 fb 78 	mr      r4,r31                                 
 * @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);             
ffc23674:	88 c9 00 0c 	lbz     r6,12(r9)                              
ffc23678:	88 e9 00 0d 	lbz     r7,13(r9)                              
ffc2367c:	89 09 00 0f 	lbz     r8,15(r9)                              
ffc23680:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc23684:	89 49 00 0e 	lbz     r10,14(r9)                             
ffc23688:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc2368c:	7c c7 3b 78 	or      r7,r6,r7                               
ffc23690:	7c e8 43 78 	or      r8,r7,r8                               
ffc23694:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc23698:	7d 0a 53 78 	or      r10,r8,r10                             
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
ffc2369c:	91 5f 00 84 	stw     r10,132(r31)                           
 * @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);            
ffc236a0:	89 09 00 0a 	lbz     r8,10(r9)                              
ffc236a4:	89 49 00 0b 	lbz     r10,11(r9)                             
ffc236a8:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
ffc236ac:	7d 0a 53 78 	or      r10,r8,r10                             
ffc236b0:	91 5f 00 88 	stw     r10,136(r31)                           
 * @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);                   
ffc236b4:	88 c9 00 10 	lbz     r6,16(r9)                              
ffc236b8:	88 e9 00 11 	lbz     r7,17(r9)                              
ffc236bc:	89 09 00 13 	lbz     r8,19(r9)                              
ffc236c0:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc236c4:	89 49 00 12 	lbz     r10,18(r9)                             
ffc236c8:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc236cc:	7c c7 3b 78 	or      r7,r6,r7                               
ffc236d0:	7c e8 43 78 	or      r8,r7,r8                               
ffc236d4:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc236d8:	7d 0a 53 78 	or      r10,r8,r10                             
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
ffc236dc:	91 5f 00 8c 	stw     r10,140(r31)                           
 * @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);                   
ffc236e0:	88 c9 00 14 	lbz     r6,20(r9)                              
ffc236e4:	88 e9 00 15 	lbz     r7,21(r9)                              
ffc236e8:	89 09 00 17 	lbz     r8,23(r9)                              
ffc236ec:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc236f0:	89 49 00 16 	lbz     r10,22(r9)                             
ffc236f4:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc236f8:	7c c7 3b 78 	or      r7,r6,r7                               
ffc236fc:	7c e8 43 78 	or      r8,r7,r8                               
ffc23700:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc23704:	7d 0a 53 78 	or      r10,r8,r10                             
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
ffc23708:	91 5f 00 90 	stw     r10,144(r31)                           
 * @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);                   
ffc2370c:	88 e9 00 18 	lbz     r7,24(r9)                              
ffc23710:	89 09 00 19 	lbz     r8,25(r9)                              
ffc23714:	89 49 00 1b 	lbz     r10,27(r9)                             
ffc23718:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc2371c:	89 29 00 1a 	lbz     r9,26(r9)                              
ffc23720:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc23724:	7c e8 43 78 	or      r8,r7,r8                               
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
    shared->fs = fs;                                                  
ffc23728:	93 3f 00 98 	stw     r25,152(r31)                           
ffc2372c:	7d 0a 53 78 	or      r10,r8,r10                             
ffc23730:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc23734:	7d 49 4b 78 	or      r9,r10,r9                              
    shared->references = 1;                                           
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
ffc23738:	91 3f 00 94 	stw     r9,148(r31)                            
ffc2373c:	4b fe d3 dd 	bl      ffc10b18 <_Chain_Append>               
    shared->fs = fs;                                                  
                                                                      
    rtems_chain_append (&fs->file_shares, &shared->link);             
                                                                      
    rtems_rfs_inode_unload (fs, &shared->inode, false);               
ffc23740:	7f 84 e3 78 	mr      r4,r28                                 
ffc23744:	38 a0 00 00 	li      r5,0                                   
ffc23748:	7f 23 cb 78 	mr      r3,r25                                 
ffc2374c:	4b ff 26 cd 	bl      ffc15e18 <rtems_rfs_inode_unload>      
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
ffc23750:	38 60 00 08 	li      r3,8                                   
ffc23754:	38 80 00 00 	li      r4,0                                   
ffc23758:	4b ff 45 d5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2375c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc23760:	41 9e fd 54 	beq+    cr7,ffc234b4 <rtems_rfs_file_open+0xdc><== ALWAYS TAKEN
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
ffc23764:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc23768:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc2376c:	38 63 c5 58 	addi    r3,r3,-15016                           <== NOT EXECUTED
ffc23770:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc23774:	48 00 62 69 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc23778:	4b ff fd 3c 	b       ffc234b4 <rtems_rfs_file_open+0xdc>    <== NOT EXECUTED
                                                                      

ffc2407c <rtems_rfs_file_seek>: int rtems_rfs_file_seek (rtems_rfs_file_handle* handle, rtems_rfs_pos pos, rtems_rfs_pos* new_pos) {
ffc2407c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc24080:	7c 08 02 a6 	mflr    r0                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24084:	38 80 00 00 	li      r4,0                                   
                                                                      
int                                                                   
rtems_rfs_file_seek (rtems_rfs_file_handle* handle,                   
                     rtems_rfs_pos          pos,                      
                     rtems_rfs_pos*         new_pos)                  
{                                                                     
ffc24088:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc2408c:	7c 7f 1b 78 	mr      r31,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc24090:	38 60 00 20 	li      r3,32                                  
                                                                      
int                                                                   
rtems_rfs_file_seek (rtems_rfs_file_handle* handle,                   
                     rtems_rfs_pos          pos,                      
                     rtems_rfs_pos*         new_pos)                  
{                                                                     
ffc24094:	93 81 00 20 	stw     r28,32(r1)                             
ffc24098:	7c fc 3b 78 	mr      r28,r7                                 
ffc2409c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc240a0:	7c dd 33 78 	mr      r29,r6                                 
ffc240a4:	93 c1 00 28 	stw     r30,40(r1)                             
ffc240a8:	7c be 2b 78 	mr      r30,r5                                 
ffc240ac:	90 01 00 34 	stw     r0,52(r1)                              
ffc240b0:	93 61 00 1c 	stw     r27,28(r1)                             
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
ffc240b4:	4b ff 3c 79 	bl      ffc17d2c <rtems_rfs_trace>             
ffc240b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc240bc:	40 9e 00 d8 	bne-    cr7,ffc24194 <rtems_rfs_file_seek+0x118><== NEVER TAKEN
   *     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),
ffc240c0:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc240c4:	80 64 00 98 	lwz     r3,152(r4)                             
ffc240c8:	38 84 00 84 	addi    r4,r4,132                              
ffc240cc:	4b ff c0 61 	bl      ffc2012c <rtems_rfs_block_get_size>    
ffc240d0:	7f 9e 18 40 	cmplw   cr7,r30,r3                             
ffc240d4:	41 9d 00 80 	bgt-    cr7,ffc24154 <rtems_rfs_file_seek+0xd8><== NEVER TAKEN
ffc240d8:	7f 9e 18 00 	cmpw    cr7,r30,r3                             
ffc240dc:	41 9e 00 70 	beq-    cr7,ffc2414c <rtems_rfs_file_seek+0xd0><== ALWAYS TAKEN
                                            handle->shared))          
  {                                                                   
    rtems_rfs_file_set_bpos (handle, pos);                            
ffc240e0:	81 3f 00 1c 	lwz     r9,28(r31)                             
ffc240e4:	3b 7f 00 10 	addi    r27,r31,16                             
ffc240e8:	7f c5 f3 78 	mr      r5,r30                                 
ffc240ec:	80 69 00 98 	lwz     r3,152(r9)                             
ffc240f0:	7f a6 eb 78 	mr      r6,r29                                 
ffc240f4:	7f 67 db 78 	mr      r7,r27                                 
ffc240f8:	4b ff be ed 	bl      ffc1ffe4 <rtems_rfs_block_get_bpos>    
    /*                                                                
     * 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))          
ffc240fc:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc24100:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc24104:	41 9e 00 60 	beq-    cr7,ffc24164 <rtems_rfs_file_seek+0xe8>
    {                                                                 
      rtems_rfs_buffer_block block;                                   
      int                    rc;                                      
                                                                      
      rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),      
ffc24108:	80 9f 00 1c 	lwz     r4,28(r31)                             
ffc2410c:	7f 65 db 78 	mr      r5,r27                                 
ffc24110:	38 c1 00 08 	addi    r6,r1,8                                
ffc24114:	80 64 00 98 	lwz     r3,152(r4)                             
ffc24118:	38 84 00 34 	addi    r4,r4,52                               
ffc2411c:	4b ff c4 71 	bl      ffc2058c <rtems_rfs_block_map_find>    
                                     rtems_rfs_file_map (handle),     
                                     rtems_rfs_file_bpos (handle),    
                                     &block);                         
      if (rc > 0)                                                     
ffc24120:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24124:	40 81 00 8c 	ble-    ffc241b0 <rtems_rfs_file_seek+0x134>   <== ALWAYS TAKEN
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
ffc24128:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc2412c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc24130:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc24134:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc24138:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc2413c:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc24140:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc24144:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc24148:	4e 80 00 20 	blr                                            <== 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),
ffc2414c:	7f 9d 20 40 	cmplw   cr7,r29,r4                             
ffc24150:	40 bd ff 90 	ble-    cr7,ffc240e0 <rtems_rfs_file_seek+0x64>
  {                                                                   
    /*                                                                
     * 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);                      
ffc24154:	7f e3 fb 78 	mr      r3,r31                                 
ffc24158:	4b ff ff 01 	bl      ffc24058 <rtems_rfs_file_io_release>   
    if (rc > 0)                                                       
ffc2415c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24160:	41 81 ff c8 	bgt+    ffc24128 <rtems_rfs_file_seek+0xac>    <== NEVER TAKEN
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
ffc24164:	80 01 00 34 	lwz     r0,52(r1)                              
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
ffc24168:	38 60 00 00 	li      r3,0                                   
    int rc = rtems_rfs_file_io_release (handle);                      
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
ffc2416c:	93 dc 00 00 	stw     r30,0(r28)                             
  return 0;                                                           
}                                                                     
ffc24170:	7c 08 03 a6 	mtlr    r0                                     
    int rc = rtems_rfs_file_io_release (handle);                      
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
ffc24174:	93 bc 00 04 	stw     r29,4(r28)                             
  return 0;                                                           
}                                                                     
ffc24178:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc2417c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc24180:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc24184:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc24188:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc2418c:	38 21 00 30 	addi    r1,r1,48                               
ffc24190:	4e 80 00 20 	blr                                            
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);          
ffc24194:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24198:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc2419c:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc241a0:	38 63 c7 ac 	addi    r3,r3,-14420                           <== NOT EXECUTED
ffc241a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc241a8:	48 00 58 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc241ac:	4b ff ff 14 	b       ffc240c0 <rtems_rfs_file_seek+0x44>    <== 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)           
ffc241b0:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc241b4:	81 21 00 08 	lwz     r9,8(r1)                               
ffc241b8:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc241bc:	41 be ff a8 	beq-    cr7,ffc24164 <rtems_rfs_file_seek+0xe8><== ALWAYS TAKEN
      {                                                               
        rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc241c0:	81 3f 00 1c 	lwz     r9,28(r31)                             <== NOT EXECUTED
ffc241c4:	38 9f 00 04 	addi    r4,r31,4                               <== NOT EXECUTED
ffc241c8:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc241cc:	4b ff d0 6d 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                              rtems_rfs_file_buffer (handle));
        if (rc > 0)                                                   
ffc241d0:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc241d4:	41 81 ff 54 	bgt+    ffc24128 <rtems_rfs_file_seek+0xac>    <== NOT EXECUTED
ffc241d8:	4b ff ff 8c 	b       ffc24164 <rtems_rfs_file_seek+0xe8>    <== NOT EXECUTED
                                                                      

ffc241dc <rtems_rfs_file_set_size>: } int rtems_rfs_file_set_size (rtems_rfs_file_handle* handle, rtems_rfs_pos new_size) {
ffc241dc:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc241e0:	7c 08 02 a6 	mflr    r0                                     
  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))                      
ffc241e4:	38 80 00 00 	li      r4,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc241e8:	90 01 00 54 	stw     r0,84(r1)                              
ffc241ec:	93 61 00 3c 	stw     r27,60(r1)                             
ffc241f0:	7c 7b 1b 78 	mr      r27,r3                                 
  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))                      
ffc241f4:	38 60 00 20 	li      r3,32                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc241f8:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc241fc:	93 41 00 38 	stw     r26,56(r1)                             
ffc24200:	93 c1 00 48 	stw     r30,72(r1)                             
ffc24204:	7c be 2b 78 	mr      r30,r5                                 
ffc24208:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc2420c:	7c df 33 78 	mr      r31,r6                                 
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc24210:	83 5b 00 1c 	lwz     r26,28(r27)                            
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc24214:	92 41 00 18 	stw     r18,24(r1)                             
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
ffc24218:	3a fa 00 34 	addi    r23,r26,52                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
ffc2421c:	92 61 00 1c 	stw     r19,28(r1)                             
ffc24220:	92 81 00 20 	stw     r20,32(r1)                             
ffc24224:	92 a1 00 24 	stw     r21,36(r1)                             
ffc24228:	92 c1 00 28 	stw     r22,40(r1)                             
ffc2422c:	93 01 00 30 	stw     r24,48(r1)                             
ffc24230:	93 21 00 34 	stw     r25,52(r1)                             
ffc24234:	93 81 00 40 	stw     r28,64(r1)                             
ffc24238:	93 a1 00 44 	stw     r29,68(r1)                             
  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))                      
ffc2423c:	4b ff 3a f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc24240:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24244:	40 9e 02 68 	bne-    cr7,ffc244ac <rtems_rfs_file_set_size+0x2d0><== NEVER TAKEN
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
                                                                      
  size = rtems_rfs_file_size (handle);                                
ffc24248:	80 9b 00 1c 	lwz     r4,28(r27)                             
ffc2424c:	80 64 00 98 	lwz     r3,152(r4)                             
ffc24250:	38 84 00 84 	addi    r4,r4,132                              
ffc24254:	4b ff be d9 	bl      ffc2012c <rtems_rfs_block_get_size>    
  /*                                                                  
   * 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)                                               
ffc24258:	7f 9e 18 00 	cmpw    cr7,r30,r3                             
ffc2425c:	41 9e 02 80 	beq-    cr7,ffc244dc <rtems_rfs_file_set_size+0x300><== ALWAYS TAKEN
  {                                                                   
    /*                                                                
     * Short cut for the common truncate on open call.                
     */                                                               
    if (new_size == 0)                                                
ffc24260:	7f c9 fb 79 	or.     r9,r30,r31                             <== NOT EXECUTED
ffc24264:	41 82 02 88 	beq-    ffc244ec <rtems_rfs_file_set_size+0x310><== NOT EXECUTED
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
ffc24268:	7f 1e 18 40 	cmplw   cr6,r30,r3                             
ffc2426c:	40 99 01 4c 	ble-    cr6,ffc243b8 <rtems_rfs_file_set_size+0x1dc><== ALWAYS TAKEN
        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));
ffc24270:	82 5b 00 1c 	lwz     r18,28(r27)                            
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
ffc24274:	7f e4 f8 10 	subfc   r31,r4,r31                             
ffc24278:	7f c3 f1 10 	subfe   r30,r3,r30                             
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc2427c:	7f ca fb 79 	or.     r10,r30,r31                            
        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));
ffc24280:	81 32 00 98 	lwz     r9,152(r18)                            
ffc24284:	7e 56 93 78 	mr      r22,r18                                
ffc24288:	83 29 00 08 	lwz     r25,8(r9)                              
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc2428c:	3a 60 00 00 	li      r19,0                                  
          /*                                                          
           * 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);
ffc24290:	3b 00 00 00 	li      r24,0                                  
ffc24294:	3a 80 00 01 	li      r20,1                                  
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
ffc24298:	3a bb 00 04 	addi    r21,r27,4                              
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc2429c:	40 a2 00 98 	bne+    ffc24334 <rtems_rfs_file_set_size+0x158><== ALWAYS TAKEN
ffc242a0:	48 00 02 68 	b       ffc24508 <rtems_rfs_file_set_size+0x32c><== NOT EXECUTED
                                           map, 1, &block);           
            if (rc > 0)                                               
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
ffc242a4:	7f 8a f8 40 	cmplw   cr7,r10,r31                            
ffc242a8:	40 9d 01 04 	ble-    cr7,ffc243ac <rtems_rfs_file_set_size+0x1d0>
          {                                                           
            length = count + bpos.boff;                               
ffc242ac:	7f 29 fa 14 	add     r25,r9,r31                             
ffc242b0:	9a 9a 00 34 	stb     r20,52(r26)                            
            read_block = true;                                        
ffc242b4:	3a 60 00 01 	li      r19,1                                  
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc242b8:	93 3a 00 40 	stw     r25,64(r26)                            
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
ffc242bc:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc242c0:	7e a4 ab 78 	mr      r4,r21                                 
ffc242c4:	80 a1 00 14 	lwz     r5,20(r1)                              
ffc242c8:	7e 66 9b 78 	mr      r6,r19                                 
ffc242cc:	80 69 00 98 	lwz     r3,152(r9)                             
ffc242d0:	4b ff d1 7d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
                                                rtems_rfs_file_buffer (handle),
                                                block, read_block);   
          if (rc > 0)                                                 
ffc242d4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc242d8:	41 81 01 8c 	bgt-    ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
ffc242dc:	81 5b 00 0c 	lwz     r10,12(r27)                            
          memset (dst + bpos.boff, 0, length - bpos.boff);            
ffc242e0:	38 80 00 00 	li      r4,0                                   
ffc242e4:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc242e8:	80 6a 00 1c 	lwz     r3,28(r10)                             
ffc242ec:	7c a9 c8 50 	subf    r5,r9,r25                              
ffc242f0:	7c 63 4a 14 	add     r3,r3,r9                               
ffc242f4:	48 00 54 8d 	bl      ffc29780 <memset>                      
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc242f8:	81 3b 00 1c 	lwz     r9,28(r27)                             
            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));
ffc242fc:	9a 9b 00 04 	stb     r20,4(r27)                             
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
ffc24300:	7e a4 ab 78 	mr      r4,r21                                 
ffc24304:	80 69 00 98 	lwz     r3,152(r9)                             
ffc24308:	4b ff cf 31 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
                                                rtems_rfs_file_buffer (handle));
          if (rc > 0)                                                 
ffc2430c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24310:	41 81 01 54 	bgt-    ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
            return rc;                                                
                                                                      
          count -= length - bpos.boff;                                
ffc24314:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc24318:	3b 80 00 00 	li      r28,0                                  
ffc2431c:	7f a9 c8 50 	subf    r29,r9,r25                             
ffc24320:	7f fd f8 10 	subfc   r31,r29,r31                            
ffc24324:	7f dc f1 10 	subfe   r30,r28,r30                            
                                                                      
        count = new_size - size;                                      
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
        read_block = false;                                           
                                                                      
        while (count)                                                 
ffc24328:	7f c9 fb 79 	or.     r9,r30,r31                             
ffc2432c:	41 82 01 d8 	beq-    ffc24504 <rtems_rfs_file_set_size+0x328>
ffc24330:	82 db 00 1c 	lwz     r22,28(r27)                            
          /*                                                          
           * 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);
ffc24334:	81 3a 00 40 	lwz     r9,64(r26)                             
ffc24338:	81 5a 00 3c 	lwz     r10,60(r26)                            
ffc2433c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc24340:	91 21 00 0c 	stw     r9,12(r1)                              
ffc24344:	91 41 00 08 	stw     r10,8(r1)                              
ffc24348:	93 01 00 10 	stw     r24,16(r1)                             
ffc2434c:	41 9e 00 0c 	beq-    cr7,ffc24358 <rtems_rfs_file_set_size+0x17c>
ffc24350:	39 4a ff ff 	addi    r10,r10,-1                             
ffc24354:	91 41 00 08 	stw     r10,8(r1)                              
          rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),  
ffc24358:	80 76 00 98 	lwz     r3,152(r22)                            
ffc2435c:	7e e4 bb 78 	mr      r4,r23                                 
ffc24360:	38 a1 00 08 	addi    r5,r1,8                                
ffc24364:	38 c1 00 14 	addi    r6,r1,20                               
ffc24368:	4b ff c2 25 	bl      ffc2058c <rtems_rfs_block_map_find>    
                                         map, &bpos, &block);         
          if (rc > 0)                                                 
ffc2436c:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24370:	40 81 00 2c 	ble-    ffc2439c <rtems_rfs_file_set_size+0x1c0>
          {                                                           
            /*                                                        
             * Have we reached the EOF ?                              
             */                                                       
            if (rc != ENXIO)                                          
ffc24374:	2f 83 00 06 	cmpwi   cr7,r3,6                               
ffc24378:	40 9e 00 ec 	bne-    cr7,ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
              return rc;                                              
                                                                      
            rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),
ffc2437c:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc24380:	7e e4 bb 78 	mr      r4,r23                                 
ffc24384:	38 a0 00 01 	li      r5,1                                   
ffc24388:	80 69 00 98 	lwz     r3,152(r9)                             
ffc2438c:	38 c1 00 14 	addi    r6,r1,20                               
ffc24390:	4b ff c4 a9 	bl      ffc20838 <rtems_rfs_block_map_grow>    
                                           map, 1, &block);           
            if (rc > 0)                                               
ffc24394:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24398:	41 81 00 cc 	bgt-    ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
ffc2439c:	7f 98 f0 00 	cmpw    cr7,r24,r30                            
ffc243a0:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc243a4:	7d 49 c8 50 	subf    r10,r9,r25                             
ffc243a8:	41 be fe fc 	beq-    cr7,ffc242a4 <rtems_rfs_file_set_size+0xc8><== ALWAYS TAKEN
ffc243ac:	93 1a 00 40 	stw     r24,64(r26)                            
  map->dirty = true;                                                  
ffc243b0:	9a 9a 00 34 	stb     r20,52(r26)                            
ffc243b4:	4b ff ff 08 	b       ffc242bc <rtems_rfs_file_set_size+0xe0>
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
ffc243b8:	41 9e 01 80 	beq-    cr7,ffc24538 <rtems_rfs_file_set_size+0x35c><== ALWAYS TAKEN
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
ffc243bc:	82 db 00 1c 	lwz     r22,28(r27)                            
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc243c0:	38 a0 00 00 	li      r5,0                                   
ffc243c4:	30 9f ff ff 	addic   r4,r31,-1                              
ffc243c8:	7c 7e 01 d4 	addme   r3,r30                                 
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
ffc243cc:	83 ba 00 3c 	lwz     r29,60(r26)                            
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
ffc243d0:	83 36 00 98 	lwz     r25,152(r22)                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
ffc243d4:	83 99 00 08 	lwz     r28,8(r25)                             
ffc243d8:	7f 86 e3 78 	mr      r6,r28                                 
ffc243dc:	48 01 2e 99 	bl      ffc37274 <__udivdi3>                   
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
                                                                      
        offset =                                                      
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
ffc243e0:	7f c3 f3 78 	mr      r3,r30                                 
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
ffc243e4:	7c 84 20 f8 	not     r4,r4                                  
ffc243e8:	7f 04 ea 14 	add     r24,r4,r29                             
          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));
ffc243ec:	38 a0 00 00 	li      r5,0                                   
ffc243f0:	7f e4 fb 78 	mr      r4,r31                                 
ffc243f4:	7f 86 e3 78 	mr      r6,r28                                 
ffc243f8:	48 01 32 75 	bl      ffc3766c <__umoddi3>                   
                                                                      
        if (blocks)                                                   
ffc243fc:	2f 98 00 00 	cmpwi   cr7,r24,0                              
          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));
ffc24400:	7c 9f 23 78 	mr      r31,r4                                 
                                                                      
        if (blocks)                                                   
ffc24404:	40 9e 01 68 	bne-    cr7,ffc2456c <rtems_rfs_file_set_size+0x390>
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
ffc24408:	93 fa 00 40 	stw     r31,64(r26)                            
  map->dirty = true;                                                  
ffc2440c:	39 40 00 01 	li      r10,1                                  
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
ffc24410:	81 3b 00 10 	lwz     r9,16(r27)                             
ffc24414:	99 5a 00 34 	stb     r10,52(r26)                            
ffc24418:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2441c:	41 9e 01 28 	beq-    cr7,ffc24544 <rtems_rfs_file_set_size+0x368>
ffc24420:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc24424:	40 9e 01 20 	bne-    cr7,ffc24544 <rtems_rfs_file_set_size+0x368><== ALWAYS TAKEN
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
ffc24428:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc2442c:	93 bb 00 10 	stw     r29,16(r27)                            
ffc24430:	39 20 00 00 	li      r9,0                                   
ffc24434:	93 fb 00 14 	stw     r31,20(r27)                            
ffc24438:	91 3b 00 18 	stw     r9,24(r27)                             
ffc2443c:	41 9e 00 0c 	beq-    cr7,ffc24448 <rtems_rfs_file_set_size+0x26c><== NEVER TAKEN
ffc24440:	39 3d ff ff 	addi    r9,r29,-1                              
ffc24444:	91 3b 00 10 	stw     r9,16(r27)                             
ffc24448:	7e d2 b3 78 	mr      r18,r22                                
    }                                                                 
                                                                      
    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))                         
ffc2444c:	81 3b 00 00 	lwz     r9,0(r27)                              
          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);    
ffc24450:	93 b2 00 84 	stw     r29,132(r18)                           
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
ffc24454:	71 2a 00 02 	andi.   r10,r9,2                               
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
ffc24458:	93 f2 00 88 	stw     r31,136(r18)                           
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
ffc2445c:	41 82 00 c8 	beq-    ffc24524 <rtems_rfs_file_set_size+0x348><== ALWAYS TAKEN
      handle->shared->mtime = time (NULL);                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc24460:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc24464:	80 01 00 54 	lwz     r0,84(r1)                              
ffc24468:	82 41 00 18 	lwz     r18,24(r1)                             
ffc2446c:	7c 08 03 a6 	mtlr    r0                                     
ffc24470:	82 61 00 1c 	lwz     r19,28(r1)                             
ffc24474:	82 81 00 20 	lwz     r20,32(r1)                             
ffc24478:	82 a1 00 24 	lwz     r21,36(r1)                             
ffc2447c:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc24480:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc24484:	83 01 00 30 	lwz     r24,48(r1)                             
ffc24488:	83 21 00 34 	lwz     r25,52(r1)                             
ffc2448c:	83 41 00 38 	lwz     r26,56(r1)                             
ffc24490:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc24494:	83 81 00 40 	lwz     r28,64(r1)                             
ffc24498:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc2449c:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc244a0:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc244a4:	38 21 00 50 	addi    r1,r1,80                               
ffc244a8:	4e 80 00 20 	blr                                            
  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);
ffc244ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc244b0:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc244b4:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc244b8:	38 63 c7 cc 	addi    r3,r3,-14388                           <== NOT EXECUTED
ffc244bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc244c0:	48 00 55 1d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  size = rtems_rfs_file_size (handle);                                
ffc244c4:	80 9b 00 1c 	lwz     r4,28(r27)                             <== NOT EXECUTED
ffc244c8:	80 64 00 98 	lwz     r3,152(r4)                             <== NOT EXECUTED
ffc244cc:	38 84 00 84 	addi    r4,r4,132                              <== NOT EXECUTED
ffc244d0:	4b ff bc 5d 	bl      ffc2012c <rtems_rfs_block_get_size>    <== 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)                                               
ffc244d4:	7f 9e 18 00 	cmpw    cr7,r30,r3                             <== NOT EXECUTED
ffc244d8:	40 9e fd 88 	bne+    cr7,ffc24260 <rtems_rfs_file_set_size+0x84><== NOT EXECUTED
ffc244dc:	7f 1f 20 00 	cmpw    cr6,r31,r4                             
ffc244e0:	41 ba ff 80 	beq-    cr6,ffc24460 <rtems_rfs_file_set_size+0x284>
  {                                                                   
    /*                                                                
     * Short cut for the common truncate on open call.                
     */                                                               
    if (new_size == 0)                                                
ffc244e4:	7f c9 fb 79 	or.     r9,r30,r31                             
ffc244e8:	40 82 fd 80 	bne+    ffc24268 <rtems_rfs_file_set_size+0x8c>
    {                                                                 
      rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
ffc244ec:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc244f0:	7e e4 bb 78 	mr      r4,r23                                 
ffc244f4:	80 69 00 98 	lwz     r3,152(r9)                             
ffc244f8:	4b ff ca e1 	bl      ffc20fd8 <rtems_rfs_block_map_free_all>
      if (rc > 0)                                                     
ffc244fc:	2c 03 00 00 	cmpwi   r3,0                                   
ffc24500:	41 81 ff 64 	bgt+    ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
ffc24504:	82 5b 00 1c 	lwz     r18,28(r27)                            
    }                                                                 
                                                                      
    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))                         
ffc24508:	81 3b 00 00 	lwz     r9,0(r27)                              
ffc2450c:	83 ba 00 3c 	lwz     r29,60(r26)                            
ffc24510:	71 2a 00 02 	andi.   r10,r9,2                               
ffc24514:	83 fa 00 40 	lwz     r31,64(r26)                            
          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);    
ffc24518:	93 b2 00 84 	stw     r29,132(r18)                           
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
ffc2451c:	93 f2 00 88 	stw     r31,136(r18)                           
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
ffc24520:	40 82 ff 40 	bne+    ffc24460 <rtems_rfs_file_set_size+0x284><== NEVER TAKEN
      handle->shared->mtime = time (NULL);                            
ffc24524:	38 60 00 00 	li      r3,0                                   
ffc24528:	48 00 98 29 	bl      ffc2dd50 <time>                        
ffc2452c:	90 72 00 90 	stw     r3,144(r18)                            
  }                                                                   
                                                                      
  return 0;                                                           
ffc24530:	38 60 00 00 	li      r3,0                                   
ffc24534:	4b ff ff 30 	b       ffc24464 <rtems_rfs_file_set_size+0x288>
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
ffc24538:	7f 9f 20 40 	cmplw   cr7,r31,r4                             
ffc2453c:	40 bd fe 80 	ble-    cr7,ffc243bc <rtems_rfs_file_set_size+0x1e0>
ffc24540:	4b ff fd 30 	b       ffc24270 <rtems_rfs_file_set_size+0x94>
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
ffc24544:	7f 89 e8 40 	cmplw   cr7,r9,r29                             
ffc24548:	40 bc fe e0 	bge-    cr7,ffc24428 <rtems_rfs_file_set_size+0x24c><== NEVER TAKEN
ffc2454c:	39 5d ff ff 	addi    r10,r29,-1                             
ffc24550:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc24554:	40 9e fe f4 	bne+    cr7,ffc24448 <rtems_rfs_file_set_size+0x26c><== NEVER TAKEN
ffc24558:	81 3b 00 14 	lwz     r9,20(r27)                             
ffc2455c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc24560:	41 bc fe c8 	blt-    cr7,ffc24428 <rtems_rfs_file_set_size+0x24c>
ffc24564:	7e d2 b3 78 	mr      r18,r22                                
ffc24568:	4b ff fe e4 	b       ffc2444c <rtems_rfs_file_set_size+0x270>
          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),
ffc2456c:	7f 23 cb 78 	mr      r3,r25                                 
ffc24570:	38 96 00 34 	addi    r4,r22,52                              
ffc24574:	7f 05 c3 78 	mr      r5,r24                                 
ffc24578:	4b ff c6 e5 	bl      ffc20c5c <rtems_rfs_block_map_shrink>  
                                           rtems_rfs_file_map (handle),
                                           blocks);                   
          if (rc > 0)                                                 
ffc2457c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24580:	41 9d fe e4 	bgt+    cr7,ffc24464 <rtems_rfs_file_set_size+0x288><== NEVER TAKEN
ffc24584:	83 ba 00 3c 	lwz     r29,60(r26)                            
ffc24588:	82 db 00 1c 	lwz     r22,28(r27)                            
ffc2458c:	4b ff fe 7c 	b       ffc24408 <rtems_rfs_file_set_size+0x22c>
                                                                      

ffc14328 <rtems_rfs_format>: return rc; } int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config) {
ffc14328:	94 21 fe d8 	stwu    r1,-296(r1)                            
ffc1432c:	7c 08 02 a6 	mflr    r0                                     
ffc14330:	7d 80 00 26 	mfcr    r12                                    
ffc14334:	90 01 01 2c 	stw     r0,300(r1)                             
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc14338:	89 24 00 15 	lbz     r9,21(r4)                              
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc1433c:	92 e1 01 04 	stw     r23,260(r1)                            
ffc14340:	7c 77 1b 78 	mr      r23,r3                                 
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc14344:	2f 89 00 00 	cmpwi   cr7,r9,0                               
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
{                                                                     
ffc14348:	93 81 01 18 	stw     r28,280(r1)                            
ffc1434c:	7c 9c 23 78 	mr      r28,r4                                 
ffc14350:	92 21 00 ec 	stw     r17,236(r1)                            
ffc14354:	92 41 00 f0 	stw     r18,240(r1)                            
ffc14358:	92 61 00 f4 	stw     r19,244(r1)                            
ffc1435c:	92 81 00 f8 	stw     r20,248(r1)                            
ffc14360:	92 a1 00 fc 	stw     r21,252(r1)                            
ffc14364:	92 c1 01 00 	stw     r22,256(r1)                            
ffc14368:	93 01 01 08 	stw     r24,264(r1)                            
ffc1436c:	93 21 01 0c 	stw     r25,268(r1)                            
ffc14370:	93 41 01 10 	stw     r26,272(r1)                            
ffc14374:	93 61 01 14 	stw     r27,276(r1)                            
ffc14378:	93 a1 01 1c 	stw     r29,284(r1)                            
ffc1437c:	93 c1 01 20 	stw     r30,288(r1)                            
ffc14380:	93 e1 01 24 	stw     r31,292(r1)                            
ffc14384:	91 81 00 e8 	stw     r12,232(r1)                            
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
ffc14388:	40 9e 02 50 	bne-    cr7,ffc145d8 <rtems_rfs_format+0x2b0>  <== NEVER TAKEN
    printf ("rtems-rfs: format: %s\n", name);                         
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
ffc1438c:	38 80 00 00 	li      r4,0                                   
ffc14390:	38 a0 00 84 	li      r5,132                                 
ffc14394:	38 61 00 08 	addi    r3,r1,8                                
ffc14398:	48 01 53 e9 	bl      ffc29780 <memset>                      
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc1439c:	7c 27 0b 78 	mr      r7,r1                                  
ffc143a0:	38 c1 00 50 	addi    r6,r1,80                               
ffc143a4:	7c 28 0b 78 	mr      r8,r1                                  
ffc143a8:	94 c7 00 4c 	stwu    r6,76(r7)                              
ffc143ac:	38 c1 00 60 	addi    r6,r1,96                               
ffc143b0:	7c 2a 0b 78 	mr      r10,r1                                 
ffc143b4:	94 c8 00 5c 	stwu    r6,92(r8)                              
ffc143b8:	38 c1 00 70 	addi    r6,r1,112                              
ffc143bc:	7c 29 0b 78 	mr      r9,r1                                  
ffc143c0:	94 ca 00 6c 	stwu    r6,108(r10)                            
ffc143c4:	38 c1 00 80 	addi    r6,r1,128                              
ffc143c8:	94 c9 00 7c 	stwu    r6,124(r9)                             
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc143cc:	7e e3 bb 78 	mr      r3,r23                                 
ffc143d0:	38 81 00 08 	addi    r4,r1,8                                
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc143d4:	91 21 00 84 	stw     r9,132(r1)                             
  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;                
ffc143d8:	39 20 00 05 	li      r9,5                                   
ffc143dc:	91 21 00 48 	stw     r9,72(r1)                              
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
ffc143e0:	39 20 00 02 	li      r9,2                                   
ffc143e4:	90 e1 00 54 	stw     r7,84(r1)                              
ffc143e8:	91 01 00 64 	stw     r8,100(r1)                             
ffc143ec:	91 41 00 74 	stw     r10,116(r1)                            
ffc143f0:	91 21 00 08 	stw     r9,8(r1)                               
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
ffc143f4:	48 00 d3 6d 	bl      ffc21760 <rtems_rfs_buffer_open>       
  if (rc > 0)                                                         
ffc143f8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc143fc:	41 81 0b 18 	bgt-    ffc14f14 <rtems_rfs_format+0xbec>      <== NEVER TAKEN
  }                                                                   
                                                                      
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
ffc14400:	81 21 00 18 	lwz     r9,24(r1)                              
ffc14404:	80 a9 00 20 	lwz     r5,32(r9)                              
ffc14408:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1440c:	41 9e 0b 2c 	beq-    cr7,ffc14f38 <rtems_rfs_format+0xc10>  <== NEVER TAKEN
                                                                      
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
ffc14410:	80 9c 00 00 	lwz     r4,0(r28)                              
  if (!fs->block_size)                                                
ffc14414:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
ffc14418:	90 81 00 10 	stw     r4,16(r1)                              
  if (!fs->block_size)                                                
ffc1441c:	41 9e 03 7c 	beq-    cr7,ffc14798 <rtems_rfs_format+0x470>  
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
ffc14420:	7d 24 2b 96 	divwu   r9,r4,r5                               
ffc14424:	7d 29 29 d6 	mullw   r9,r9,r5                               
ffc14428:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc1442c:	40 9e 03 bc 	bne-    cr7,ffc147e8 <rtems_rfs_format+0x4c0>  <== NEVER TAKEN
    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;                            
ffc14430:	81 3c 00 04 	lwz     r9,4(r28)                              
  {                                                                   
    /*                                                                
     * 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);  
ffc14434:	54 84 18 38 	rlwinm  r4,r4,3,0,28                           
            fs->block_size, rtems_rfs_fs_media_block_size (fs));      
    return false;                                                     
  }                                                                   
                                                                      
  fs->group_blocks = config->group_blocks;                            
  if (!fs->group_blocks)                                              
ffc14438:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    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;                            
ffc1443c:	91 21 00 30 	stw     r9,48(r1)                              
  if (!fs->group_blocks)                                              
ffc14440:	40 9e 01 80 	bne-    cr7,ffc145c0 <rtems_rfs_format+0x298>  <== NEVER TAKEN
  {                                                                   
    /*                                                                
     * 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);  
ffc14444:	90 81 00 30 	stw     r4,48(r1)                              
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
ffc14448:	38 61 00 08 	addi    r3,r1,8                                
ffc1444c:	48 01 01 9d 	bl      ffc245e8 <rtems_rfs_fs_media_size>     
ffc14450:	83 e1 00 10 	lwz     r31,16(r1)                             
ffc14454:	38 a0 00 00 	li      r5,0                                   
ffc14458:	7f e6 fb 78 	mr      r6,r31                                 
ffc1445c:	48 02 2e 19 	bl      ffc37274 <__udivdi3>                   
 * 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));  
ffc14460:	57 ea 18 38 	rlwinm  r10,r31,3,0,28                         
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc14464:	2f 84 00 00 	cmpwi   cr7,r4,0                               
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
ffc14468:	90 81 00 0c 	stw     r4,12(r1)                              
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
ffc1446c:	39 20 00 01 	li      r9,1                                   
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc14470:	41 9e 00 10 	beq-    cr7,ffc14480 <rtems_rfs_format+0x158>  <== NEVER TAKEN
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14474:	39 24 ff ff 	addi    r9,r4,-1                               
ffc14478:	7d 29 53 96 	divwu   r9,r9,r10                              
ffc1447c:	39 29 00 01 	addi    r9,r9,1                                
   * 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;                            
ffc14480:	81 1c 00 08 	lwz     r8,8(r28)                              
  /*                                                                  
   * The bits per block sets the upper limit for the number of blocks in a
   * group. The disk will be divided into groups which are the number of bits
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
ffc14484:	91 21 00 2c 	stw     r9,44(r1)                              
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
  if (!fs->group_inodes)                                              
ffc14488:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc1448c:	41 9e 04 f8 	beq-    cr7,ffc14984 <rtems_rfs_format+0x65c>  <== ALWAYS TAKEN
ffc14490:	3d 20 24 92 	lis     r9,9362                                <== NOT EXECUTED
ffc14494:	57 e7 e8 fe 	rlwinm  r7,r31,29,3,31                         <== NOT EXECUTED
ffc14498:	61 29 49 25 	ori     r9,r9,18725                            <== NOT EXECUTED
ffc1449c:	7d 27 48 16 	mulhwu  r9,r7,r9                               <== 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;
ffc144a0:	91 21 00 38 	stw     r9,56(r1)                              <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc144a4:	38 e8 ff ff 	addi    r7,r8,-1                               
ffc144a8:	7c e7 4b 96 	divwu   r7,r7,r9                               
ffc144ac:	38 e7 00 01 	addi    r7,r7,1                                
   * 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;
ffc144b0:	7d 27 49 d6 	mullw   r9,r7,r9                               
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc144b4:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc144b8:	41 9c 04 b4 	blt-    cr7,ffc1496c <rtems_rfs_format+0x644>  <== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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 =                                                  
ffc144bc:	91 21 00 34 	stw     r9,52(r1)                              
                            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;                      
ffc144c0:	81 3c 00 10 	lwz     r9,16(r28)                             
  if (!fs->max_name_length)                                           
ffc144c4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc144c8:	40 9e 04 b4 	bne-    cr7,ffc1497c <rtems_rfs_format+0x654>  <== NEVER TAKEN
  {                                                                   
    fs->max_name_length = 512;                                        
ffc144cc:	39 20 02 00 	li      r9,512                                 
ffc144d0:	91 21 00 24 	stw     r9,36(r1)                              
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
ffc144d4:	89 3c 00 15 	lbz     r9,21(r28)                             
ffc144d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc144dc:	40 9e 03 20 	bne-    cr7,ffc147fc <rtems_rfs_format+0x4d4>  <== NEVER TAKEN
    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));
ffc144e0:	7f e4 fb 78 	mr      r4,r31                                 
ffc144e4:	38 61 00 08 	addi    r3,r1,8                                
ffc144e8:	48 00 d5 e1 	bl      ffc21ac8 <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc144ec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc144f0:	41 81 08 f4 	bgt-    ffc14de4 <rtems_rfs_format+0xabc>      <== NEVER TAKEN
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc144f4:	3b c0 00 00 	li      r30,0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc144f8:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc144fc:	93 c1 00 d0 	stw     r30,208(r1)                            
    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);       
ffc14500:	38 61 00 08 	addi    r3,r1,8                                
ffc14504:	38 81 00 cc 	addi    r4,r1,204                              
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc14508:	99 21 00 cc 	stb     r9,204(r1)                             
ffc1450c:	38 a0 00 00 	li      r5,0                                   
ffc14510:	38 c0 00 00 	li      r6,0                                   
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14514:	93 c1 00 d4 	stw     r30,212(r1)                            
ffc14518:	48 00 cf 35 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc1451c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14520:	40 81 00 d0 	ble-    ffc145f0 <rtems_rfs_format+0x2c8>      <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc14524:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14528:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc1452c:	48 00 cd 0d 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
ffc14530:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
  handle->dirty = false;                                              
ffc14534:	9b c1 00 cc 	stb     r30,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14538:	93 c1 00 d0 	stw     r30,208(r1)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1453c:	93 c1 00 d4 	stw     r30,212(r1)                            <== NOT EXECUTED
ffc14540:	48 01 66 19 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14544:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14548:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1454c:	38 63 a4 14 	addi    r3,r3,-23532                           <== NOT EXECUTED
ffc14550:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc14554:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14558:	48 01 54 85 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
ffc1455c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14560:	38 63 a9 18 	addi    r3,r3,-22248                           <== NOT EXECUTED
ffc14564:	48 01 57 e1 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
    return -1;                                                        
ffc14568:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1456c:	80 01 01 2c 	lwz     r0,300(r1)                             
ffc14570:	81 81 00 e8 	lwz     r12,232(r1)                            
ffc14574:	7c 08 03 a6 	mtlr    r0                                     
ffc14578:	82 21 00 ec 	lwz     r17,236(r1)                            
ffc1457c:	82 41 00 f0 	lwz     r18,240(r1)                            
ffc14580:	7d 80 81 20 	mtcrf   8,r12                                  
ffc14584:	82 61 00 f4 	lwz     r19,244(r1)                            
ffc14588:	82 81 00 f8 	lwz     r20,248(r1)                            
ffc1458c:	82 a1 00 fc 	lwz     r21,252(r1)                            
ffc14590:	82 c1 01 00 	lwz     r22,256(r1)                            
ffc14594:	82 e1 01 04 	lwz     r23,260(r1)                            
ffc14598:	83 01 01 08 	lwz     r24,264(r1)                            
ffc1459c:	83 21 01 0c 	lwz     r25,268(r1)                            
ffc145a0:	83 41 01 10 	lwz     r26,272(r1)                            
ffc145a4:	83 61 01 14 	lwz     r27,276(r1)                            
ffc145a8:	83 81 01 18 	lwz     r28,280(r1)                            
ffc145ac:	83 a1 01 1c 	lwz     r29,284(r1)                            
ffc145b0:	83 c1 01 20 	lwz     r30,288(r1)                            
ffc145b4:	83 e1 01 24 	lwz     r31,292(r1)                            
ffc145b8:	38 21 01 28 	addi    r1,r1,296                              
ffc145bc:	4e 80 00 20 	blr                                            
     * block.                                                         
     */                                                               
    fs->group_blocks = rtems_rfs_bitmap_numof_bits (fs->block_size);  
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
ffc145c0:	7f 89 20 40 	cmplw   cr7,r9,r4                              <== NOT EXECUTED
ffc145c4:	40 bd fe 84 	ble-    cr7,ffc14448 <rtems_rfs_format+0x120>  <== NOT EXECUTED
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
ffc145c8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc145cc:	38 63 a1 d8 	addi    r3,r3,-24104                           <== NOT EXECUTED
ffc145d0:	48 01 57 75 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc145d4:	4b ff ff 94 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
    printf ("rtems-rfs: format: %s\n", name);                         
ffc145d8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc145dc:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc145e0:	38 63 a1 28 	addi    r3,r3,-24280                           <== NOT EXECUTED
ffc145e4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc145e8:	48 01 53 f5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc145ec:	4b ff fd a0 	b       ffc1438c <rtems_rfs_format+0x64>       <== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc145f0:	81 21 00 d4 	lwz     r9,212(r1)                             
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
ffc145f4:	38 80 00 ff 	li      r4,255                                 
ffc145f8:	80 a1 00 10 	lwz     r5,16(r1)                              
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc145fc:	83 e9 00 1c 	lwz     r31,28(r9)                             
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
ffc14600:	7f e3 fb 78 	mr      r3,r31                                 
ffc14604:	48 01 51 7d 	bl      ffc29780 <memset>                      
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
ffc14608:	39 20 00 28 	li      r9,40                                  
ffc1460c:	99 3f 00 00 	stb     r9,0(r31)                              
ffc14610:	39 20 00 09 	li      r9,9                                   
ffc14614:	39 40 00 01 	li      r10,1                                  
ffc14618:	99 3f 00 01 	stb     r9,1(r31)                              
ffc1461c:	39 20 00 20 	li      r9,32                                  
  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);                 
ffc14620:	38 61 00 08 	addi    r3,r1,8                                
                                                                      
#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);           
ffc14624:	99 5f 00 03 	stb     r10,3(r31)                             
  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);                 
ffc14628:	38 81 00 cc 	addi    r4,r1,204                              
                                                                      
#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);           
ffc1462c:	99 3f 00 02 	stb     r9,2(r31)                              
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
ffc14630:	9b df 00 04 	stb     r30,4(r31)                             
ffc14634:	9b df 00 05 	stb     r30,5(r31)                             
ffc14638:	9b df 00 06 	stb     r30,6(r31)                             
ffc1463c:	9b df 00 07 	stb     r30,7(r31)                             
  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));
ffc14640:	89 01 00 10 	lbz     r8,16(r1)                              
                                                                      
  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));    
ffc14644:	81 21 00 0c 	lwz     r9,12(r1)                              
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc14648:	99 1f 00 08 	stb     r8,8(r31)                              
                                                                      
  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));    
ffc1464c:	55 28 46 3e 	rlwinm  r8,r9,8,24,31                          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc14650:	a0 e1 00 10 	lhz     r7,16(r1)                              
                                                                      
  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));    
ffc14654:	55 26 84 3e 	rlwinm  r6,r9,16,16,31                         
ffc14658:	99 1f 00 0c 	stb     r8,12(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc1465c:	98 ff 00 09 	stb     r7,9(r31)                              
                                                                      
  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));    
ffc14660:	55 27 c2 3e 	rlwinm  r7,r9,24,8,31                          
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc14664:	81 01 00 10 	lwz     r8,16(r1)                              
                                                                      
  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));    
ffc14668:	99 3f 00 0f 	stb     r9,15(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc1466c:	55 08 c2 3e 	rlwinm  r8,r8,24,8,31                          
ffc14670:	99 1f 00 0a 	stb     r8,10(r31)                             
ffc14674:	81 21 00 10 	lwz     r9,16(r1)                              
                                                                      
  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));    
ffc14678:	98 df 00 0d 	stb     r6,13(r31)                             
ffc1467c:	98 ff 00 0e 	stb     r7,14(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
ffc14680:	99 3f 00 0b 	stb     r9,11(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
ffc14684:	89 21 00 20 	lbz     r9,32(r1)                              
ffc14688:	99 3f 00 10 	stb     r9,16(r31)                             
ffc1468c:	a1 21 00 20 	lhz     r9,32(r1)                              
ffc14690:	99 3f 00 11 	stb     r9,17(r31)                             
ffc14694:	81 21 00 20 	lwz     r9,32(r1)                              
ffc14698:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1469c:	99 3f 00 12 	stb     r9,18(r31)                             
ffc146a0:	81 21 00 20 	lwz     r9,32(r1)                              
ffc146a4:	99 3f 00 13 	stb     r9,19(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
ffc146a8:	89 21 00 24 	lbz     r9,36(r1)                              
ffc146ac:	99 3f 00 14 	stb     r9,20(r31)                             
ffc146b0:	a1 21 00 24 	lhz     r9,36(r1)                              
ffc146b4:	99 3f 00 15 	stb     r9,21(r31)                             
ffc146b8:	81 21 00 24 	lwz     r9,36(r1)                              
ffc146bc:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc146c0:	99 3f 00 16 	stb     r9,22(r31)                             
ffc146c4:	81 21 00 24 	lwz     r9,36(r1)                              
ffc146c8:	99 3f 00 17 	stb     r9,23(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
ffc146cc:	89 21 00 2c 	lbz     r9,44(r1)                              
ffc146d0:	99 3f 00 18 	stb     r9,24(r31)                             
ffc146d4:	a1 21 00 2c 	lhz     r9,44(r1)                              
ffc146d8:	99 3f 00 19 	stb     r9,25(r31)                             
ffc146dc:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc146e0:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc146e4:	99 3f 00 1a 	stb     r9,26(r31)                             
ffc146e8:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc146ec:	99 3f 00 1b 	stb     r9,27(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
ffc146f0:	89 21 00 30 	lbz     r9,48(r1)                              
ffc146f4:	99 3f 00 1c 	stb     r9,28(r31)                             
ffc146f8:	a1 21 00 30 	lhz     r9,48(r1)                              
ffc146fc:	99 3f 00 1d 	stb     r9,29(r31)                             
ffc14700:	81 21 00 30 	lwz     r9,48(r1)                              
ffc14704:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc14708:	99 3f 00 1e 	stb     r9,30(r31)                             
ffc1470c:	81 21 00 30 	lwz     r9,48(r1)                              
ffc14710:	99 3f 00 1f 	stb     r9,31(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
ffc14714:	89 21 00 34 	lbz     r9,52(r1)                              
ffc14718:	99 3f 00 20 	stb     r9,32(r31)                             
ffc1471c:	a1 21 00 34 	lhz     r9,52(r1)                              
ffc14720:	99 3f 00 21 	stb     r9,33(r31)                             
ffc14724:	81 21 00 34 	lwz     r9,52(r1)                              
ffc14728:	55 29 c2 3e 	rlwinm  r9,r9,24,8,31                          
ffc1472c:	99 3f 00 22 	stb     r9,34(r31)                             
ffc14730:	81 21 00 34 	lwz     r9,52(r1)                              
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc14734:	9b df 00 24 	stb     r30,36(r31)                            
  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);      
ffc14738:	99 3f 00 23 	stb     r9,35(r31)                             
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
ffc1473c:	39 20 00 38 	li      r9,56                                  
ffc14740:	9b df 00 25 	stb     r30,37(r31)                            
ffc14744:	9b df 00 26 	stb     r30,38(r31)                            
ffc14748:	99 3f 00 27 	stb     r9,39(r31)                             
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
ffc1474c:	99 41 00 cc 	stb     r10,204(r1)                            
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
ffc14750:	48 00 ca e9 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  if (rc > 0)                                                         
ffc14754:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14758:	40 81 03 48 	ble-    ffc14aa0 <rtems_rfs_format+0x778>      <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc1475c:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14760:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14764:	48 00 ca d5 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("rtems-rfs: write-superblock: buffer release failed: %d: %s\n",
ffc14768:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
  handle->dirty = false;                                              
ffc1476c:	9b c1 00 cc 	stb     r30,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14770:	93 c1 00 d0 	stw     r30,208(r1)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc14774:	93 c1 00 d4 	stw     r30,212(r1)                            <== NOT EXECUTED
ffc14778:	48 01 63 e1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc1477c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14780:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14784:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc14788:	38 63 a4 4c 	addi    r3,r3,-23476                           <== NOT EXECUTED
ffc1478c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14790:	48 01 52 4d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14794:	4b ff fd c8 	b       ffc1455c <rtems_rfs_format+0x234>      <== 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);               
ffc14798:	38 61 00 08 	addi    r3,r1,8                                
ffc1479c:	48 00 fe 4d 	bl      ffc245e8 <rtems_rfs_fs_media_size>     
                                                                      
    if (total_size >= GIGS (1))                                       
ffc147a0:	2c 03 00 00 	cmpwi   r3,0                                   
ffc147a4:	40 82 02 38 	bne-    ffc149dc <rtems_rfs_format+0x6b4>      <== NEVER TAKEN
ffc147a8:	3d 20 00 0f 	lis     r9,15                                  
ffc147ac:	61 29 ff ff 	ori     r9,r9,65535                            
ffc147b0:	7f 84 48 40 	cmplw   cr7,r4,r9                              
ffc147b4:	41 9d 02 28 	bgt-    cr7,ffc149dc <rtems_rfs_format+0x6b4>  <== NEVER TAKEN
ffc147b8:	80 81 00 10 	lwz     r4,16(r1)                              
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
ffc147bc:	2b 84 01 ff 	cmplwi  cr7,r4,511                             
ffc147c0:	41 9d 02 68 	bgt-    cr7,ffc14a28 <rtems_rfs_format+0x700>  <== NEVER TAKEN
      fs->block_size = 512;                                           
ffc147c4:	39 20 02 00 	li      r9,512                                 
ffc147c8:	91 21 00 10 	stw     r9,16(r1)                              
ffc147cc:	38 80 02 00 	li      r4,512                                 
ffc147d0:	81 21 00 18 	lwz     r9,24(r1)                              
ffc147d4:	80 a9 00 20 	lwz     r5,32(r9)                              
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
ffc147d8:	7d 24 2b 96 	divwu   r9,r4,r5                               
ffc147dc:	7d 29 29 d6 	mullw   r9,r9,r5                               
ffc147e0:	7f 84 48 00 	cmpw    cr7,r4,r9                              
ffc147e4:	41 9e fc 4c 	beq+    cr7,ffc14430 <rtems_rfs_format+0x108>  <== ALWAYS TAKEN
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
ffc147e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc147ec:	38 63 a1 98 	addi    r3,r3,-24168                           <== NOT EXECUTED
ffc147f0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc147f4:	48 01 51 e9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc147f8:	4b ff fd 70 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
ffc147fc:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14800:	48 00 fd e9 	bl      ffc245e8 <rtems_rfs_fs_media_size>     <== NOT EXECUTED
ffc14804:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14808:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1480c:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc14810:	38 63 a2 08 	addi    r3,r3,-24056                           <== NOT EXECUTED
ffc14814:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14818:	48 01 51 c5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
            rtems_rfs_fs_media_blocks (&fs));                         
ffc1481c:	81 21 00 18 	lwz     r9,24(r1)                              <== 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",        
ffc14820:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14824:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc14828:	38 63 a2 30 	addi    r3,r3,-24016                           <== NOT EXECUTED
ffc1482c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14830:	48 01 51 ad 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (&fs));                         
    printf ("rtems-rfs: format: media block size = %" PRIu32 "\n",    
            rtems_rfs_fs_media_block_size (&fs));                     
ffc14834:	81 21 00 18 	lwz     r9,24(r1)                              <== 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",    
ffc14838:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1483c:	80 89 00 20 	lwz     r4,32(r9)                              <== NOT EXECUTED
ffc14840:	38 63 a2 58 	addi    r3,r3,-23976                           <== NOT EXECUTED
ffc14844:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14848:	48 01 51 95 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    printf ("rtems-rfs: format: size = %" PRIu64 "\n",                
ffc1484c:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14850:	48 00 fd 7d 	bl      ffc245cc <rtems_rfs_fs_size>           <== NOT EXECUTED
ffc14854:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14858:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1485c:	7c 86 23 78 	mr      r6,r4                                  <== NOT EXECUTED
ffc14860:	38 63 a2 84 	addi    r3,r3,-23932                           <== NOT EXECUTED
ffc14864:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14868:	48 01 51 75 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
ffc1486c:	80 81 00 0c 	lwz     r4,12(r1)                              <== NOT EXECUTED
ffc14870:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14874:	38 63 a2 a4 	addi    r3,r3,-23900                           <== NOT EXECUTED
ffc14878:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1487c:	48 01 51 61 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
ffc14880:	80 81 00 10 	lwz     r4,16(r1)                              <== NOT EXECUTED
ffc14884:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14888:	38 63 a2 c8 	addi    r3,r3,-23864                           <== NOT EXECUTED
ffc1488c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14890:	48 01 51 4d 	bl      ffc299dc <printf>                      <== 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));  
ffc14894:	80 81 00 10 	lwz     r4,16(r1)                              <== 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",               
ffc14898:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1489c:	54 84 18 38 	rlwinm  r4,r4,3,0,28                           <== NOT EXECUTED
ffc148a0:	38 63 a2 f0 	addi    r3,r3,-23824                           <== NOT EXECUTED
ffc148a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc148a8:	48 01 51 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
ffc148ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc148b0:	38 80 00 38 	li      r4,56                                  <== NOT EXECUTED
ffc148b4:	38 63 a3 18 	addi    r3,r3,-23784                           <== NOT EXECUTED
ffc148b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc148bc:	48 01 51 21 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
            fs.group_inodes * fs.group_count,                         
ffc148c0:	81 21 00 34 	lwz     r9,52(r1)                              <== 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",            
ffc148c4:	80 81 00 2c 	lwz     r4,44(r1)                              <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc148c8:	39 40 07 d0 	li      r10,2000                               <== 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,
ffc148cc:	1c e9 00 38 	mulli   r7,r9,56                               <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
ffc148d0:	81 01 00 10 	lwz     r8,16(r1)                              <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc148d4:	2f 87 00 00 	cmpwi   cr7,r7,0                               <== 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",            
ffc148d8:	7c 89 21 d6 	mullw   r4,r9,r4                               <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc148dc:	40 9e 01 6c 	bne-    cr7,ffc14a48 <rtems_rfs_format+0x720>  <== 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))
ffc148e0:	81 21 00 0c 	lwz     r9,12(r1)                              <== 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));  
ffc148e4:	55 08 18 38 	rlwinm  r8,r8,3,0,28                           <== 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))
ffc148e8:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
ffc148ec:	7f 88 48 40 	cmplw   cr7,r8,r9                              <== NOT EXECUTED
ffc148f0:	40 9d 02 9c 	ble-    cr7,ffc14b8c <rtems_rfs_format+0x864>  <== NOT EXECUTED
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
ffc148f4:	7d 2a 4b d6 	divw    r9,r10,r9                              <== 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",            
ffc148f8:	3c a0 66 66 	lis     r5,26214                               <== NOT EXECUTED
ffc148fc:	60 a5 66 67 	ori     r5,r5,26215                            <== NOT EXECUTED
ffc14900:	7c a9 28 96 	mulhw   r5,r9,r5                               <== NOT EXECUTED
ffc14904:	7d 2a fe 70 	srawi   r10,r9,31                              <== NOT EXECUTED
ffc14908:	7c a5 16 70 	srawi   r5,r5,2                                <== NOT EXECUTED
ffc1490c:	7c aa 28 50 	subf    r5,r10,r5                              <== NOT EXECUTED
ffc14910:	1c c5 00 0a 	mulli   r6,r5,10                               <== NOT EXECUTED
ffc14914:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14918:	7c c6 48 50 	subf    r6,r6,r9                               <== NOT EXECUTED
ffc1491c:	38 63 a3 40 	addi    r3,r3,-23744                           <== NOT EXECUTED
ffc14920:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14924:	48 01 50 b9 	bl      ffc299dc <printf>                      <== 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);      
ffc14928:	80 81 00 2c 	lwz     r4,44(r1)                              <== NOT EXECUTED
ffc1492c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14930:	38 63 a3 6c 	addi    r3,r3,-23700                           <== NOT EXECUTED
ffc14934:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14938:	48 01 50 a5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
ffc1493c:	80 81 00 30 	lwz     r4,48(r1)                              <== NOT EXECUTED
ffc14940:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14944:	38 63 a3 8c 	addi    r3,r3,-23668                           <== NOT EXECUTED
ffc14948:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1494c:	48 01 50 91 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
ffc14950:	80 81 00 34 	lwz     r4,52(r1)                              <== NOT EXECUTED
ffc14954:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14958:	38 63 a3 b4 	addi    r3,r3,-23628                           <== NOT EXECUTED
ffc1495c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14960:	48 01 50 7d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14964:	83 e1 00 10 	lwz     r31,16(r1)                             <== NOT EXECUTED
ffc14968:	4b ff fb 78 	b       ffc144e0 <rtems_rfs_format+0x1b8>      <== 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;                      
ffc1496c:	81 3c 00 10 	lwz     r9,16(r28)                             <== NOT EXECUTED
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
                            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);  
ffc14970:	91 41 00 34 	stw     r10,52(r1)                             <== NOT EXECUTED
                                                                      
  fs->max_name_length = config->max_name_length;                      
  if (!fs->max_name_length)                                           
ffc14974:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc14978:	41 9e fb 54 	beq+    cr7,ffc144cc <rtems_rfs_format+0x1a4>  <== 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;                      
ffc1497c:	91 21 00 24 	stw     r9,36(r1)                              <== NOT EXECUTED
ffc14980:	4b ff fb 54 	b       ffc144d4 <rtems_rfs_format+0x1ac>      <== 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)                                       
ffc14984:	80 fc 00 0c 	lwz     r7,12(r28)                             
ffc14988:	39 00 00 01 	li      r8,1                                   
ffc1498c:	2f 87 00 00 	cmpwi   cr7,r7,0                               
ffc14990:	41 9e 00 08 	beq-    cr7,ffc14998 <rtems_rfs_format+0x670>  <== ALWAYS TAKEN
ffc14994:	7c e8 3b 78 	mr      r8,r7                                  <== NOT EXECUTED
static int                                                            
rtems_rfs_inodes_from_percent (rtems_rfs_file_system* fs,             
                               int                    percentage)     
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
ffc14998:	38 84 ff ff 	addi    r4,r4,-1                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
ffc1499c:	7d 08 21 d6 	mullw   r8,r8,r4                               
ffc149a0:	3c e0 51 eb 	lis     r7,20971                               
ffc149a4:	60 e7 85 1f 	ori     r7,r7,34079                            
ffc149a8:	7c e8 38 16 	mulhwu  r7,r8,r7                               
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc149ac:	39 00 00 01 	li      r8,1                                   
ffc149b0:	54 e6 d9 7f 	rlwinm. r6,r7,27,5,31                          
ffc149b4:	40 82 00 bc 	bne-    ffc14a70 <rtems_rfs_format+0x748>      
{                                                                     
  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);
ffc149b8:	3d 20 24 92 	lis     r9,9362                                
ffc149bc:	57 e7 e8 fe 	rlwinm  r7,r31,29,3,31                         
ffc149c0:	61 29 49 25 	ori     r9,r9,18725                            
ffc149c4:	7d 27 48 16 	mulhwu  r9,r7,r9                               
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc149c8:	38 e0 00 01 	li      r7,1                                   
ffc149cc:	7d 08 49 d7 	mullw.  r8,r8,r9                               
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc149d0:	91 21 00 38 	stw     r9,56(r1)                              
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc149d4:	41 82 fa dc 	beq+    ffc144b0 <rtems_rfs_format+0x188>      <== NEVER TAKEN
ffc149d8:	4b ff fa cc 	b       ffc144a4 <rtems_rfs_format+0x17c>      
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
ffc149dc:	3d 24 00 10 	addis   r9,r4,16                               <== NOT EXECUTED
ffc149e0:	7c 84 48 10 	subfc   r4,r4,r9                               <== NOT EXECUTED
ffc149e4:	7c 84 21 10 	subfe   r4,r4,r4                               <== NOT EXECUTED
ffc149e8:	7c 84 18 50 	subf    r4,r4,r3                               <== NOT EXECUTED
ffc149ec:	55 29 65 3e 	rlwinm  r9,r9,12,20,31                         <== NOT EXECUTED
ffc149f0:	54 88 60 26 	rlwinm  r8,r4,12,0,19                          <== NOT EXECUTED
ffc149f4:	7d 08 4b 78 	or      r8,r8,r9                               <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc149f8:	39 20 00 1f 	li      r9,31                                  <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
ffc149fc:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc14a00:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc14a04:	48 00 00 08 	b       ffc14a0c <rtems_rfs_format+0x6e4>      <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc14a08:	42 40 04 b8 	bdz-    ffc14ec0 <rtems_rfs_format+0xb98>      <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
ffc14a0c:	7d 44 48 30 	slw     r4,r10,r9                              <== NOT EXECUTED
ffc14a10:	7c 87 40 39 	and.    r7,r4,r8                               <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc14a14:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
ffc14a18:	41 82 ff f0 	beq+    ffc14a08 <rtems_rfs_format+0x6e0>      <== NOT EXECUTED
          break;                                                      
      fs->block_size = 1 << b;                                        
ffc14a1c:	90 81 00 10 	stw     r4,16(r1)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
ffc14a20:	2b 84 01 ff 	cmplwi  cr7,r4,511                             <== NOT EXECUTED
ffc14a24:	40 bd fd a0 	ble-    cr7,ffc147c4 <rtems_rfs_format+0x49c>  <== NOT EXECUTED
      fs->block_size = 512;                                           
                                                                      
    if (fs->block_size > (4 * 1024))                                  
ffc14a28:	2b 84 10 00 	cmplwi  cr7,r4,4096                            <== NOT EXECUTED
ffc14a2c:	40 9d 00 10 	ble-    cr7,ffc14a3c <rtems_rfs_format+0x714>  <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
ffc14a30:	39 20 10 00 	li      r9,4096                                <== NOT EXECUTED
ffc14a34:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
ffc14a38:	38 80 10 00 	li      r4,4096                                <== NOT EXECUTED
ffc14a3c:	81 21 00 18 	lwz     r9,24(r1)                              <== NOT EXECUTED
ffc14a40:	80 a9 00 20 	lwz     r5,32(r9)                              <== NOT EXECUTED
ffc14a44:	4b ff f9 dc 	b       ffc14420 <rtems_rfs_format+0xf8>       <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14a48:	39 47 ff ff 	addi    r10,r7,-1                              <== 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))
ffc14a4c:	81 21 00 0c 	lwz     r9,12(r1)                              <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14a50:	7d 4a 43 96 	divwu   r10,r10,r8                             <== 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))
ffc14a54:	39 29 ff ff 	addi    r9,r9,-1                               <== 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));  
ffc14a58:	55 08 18 38 	rlwinm  r8,r8,3,0,28                           <== 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))
ffc14a5c:	7f 88 48 40 	cmplw   cr7,r8,r9                              <== NOT EXECUTED
ffc14a60:	39 4a 00 02 	addi    r10,r10,2                              <== NOT EXECUTED
ffc14a64:	1d 4a 03 e8 	mulli   r10,r10,1000                           <== NOT EXECUTED
ffc14a68:	41 9d fe 8c 	bgt+    cr7,ffc148f4 <rtems_rfs_format+0x5cc>  <== NOT EXECUTED
ffc14a6c:	48 00 01 20 	b       ffc14b8c <rtems_rfs_format+0x864>      <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14a70:	38 c6 ff ff 	addi    r6,r6,-1                               
ffc14a74:	7d 26 4b 96 	divwu   r9,r6,r9                               
ffc14a78:	39 09 00 01 	addi    r8,r9,1                                
{                                                                     
  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);
ffc14a7c:	3d 20 24 92 	lis     r9,9362                                
ffc14a80:	57 e7 e8 fe 	rlwinm  r7,r31,29,3,31                         
ffc14a84:	61 29 49 25 	ori     r9,r9,18725                            
ffc14a88:	7d 27 48 16 	mulhwu  r9,r7,r9                               
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc14a8c:	38 e0 00 01 	li      r7,1                                   
ffc14a90:	7d 08 49 d7 	mullw.  r8,r8,r9                               
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
ffc14a94:	91 21 00 38 	stw     r9,56(r1)                              
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc14a98:	41 82 fa 18 	beq+    ffc144b0 <rtems_rfs_format+0x188>      <== NEVER TAKEN
ffc14a9c:	4b ff fa 08 	b       ffc144a4 <rtems_rfs_format+0x17c>      
 */                                                                   
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);                       
ffc14aa0:	38 61 00 08 	addi    r3,r1,8                                
ffc14aa4:	38 81 00 cc 	addi    r4,r1,204                              
ffc14aa8:	48 00 c7 91 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc14aac:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc14ab0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14ab4:	40 9d 04 fc 	ble-    cr7,ffc14fb0 <rtems_rfs_format+0xc88>  <== NEVER TAKEN
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14ab8:	81 41 00 0c 	lwz     r10,12(r1)                             
    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,                           
ffc14abc:	8b 3c 00 14 	lbz     r25,20(r28)                            
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14ac0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
    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,                           
ffc14ac4:	89 3c 00 15 	lbz     r9,21(r28)                             
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc14ac8:	83 c1 00 30 	lwz     r30,48(r1)                             
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14acc:	41 9e 04 dc 	beq-    cr7,ffc14fa8 <rtems_rfs_format+0xc80>  <== NEVER TAKEN
   */                                                                 
  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",
ffc14ad0:	3e 80 ff c4 	lis     r20,-60                                
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc14ad4:	3e c0 ff c4 	lis     r22,-60                                
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc14ad8:	3e 40 ff c4 	lis     r18,-60                                
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14adc:	3b a0 00 01 	li      r29,1                                  
ffc14ae0:	3b 40 00 00 	li      r26,0                                  
ffc14ae4:	3b 60 00 00 	li      r27,0                                  
   */                                                                 
  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",
ffc14ae8:	3a 94 a4 c4 	addi    r20,r20,-23356                         
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc14aec:	3a a0 00 00 	li      r21,0                                  
  handle->bnum  = 0;                                                  
ffc14af0:	3b 00 00 00 	li      r24,0                                  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc14af4:	3a d6 a4 fc 	addi    r22,r22,-23300                         
    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);                              
ffc14af8:	3a 60 00 01 	li      r19,1                                  
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc14afc:	3a 52 a5 e4 	addi    r18,r18,-23068                         
  /*                                                                  
   * 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))           
ffc14b00:	7d 1d f2 14 	add     r8,r29,r30                             
ffc14b04:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc14b08:	40 9d 00 08 	ble-    cr7,ffc14b10 <rtems_rfs_format+0x7e8>  <== NEVER TAKEN
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
ffc14b0c:	7f dd 50 50 	subf    r30,r29,r10                            
                                                                      
  if (verbose)                                                        
ffc14b10:	2e 09 00 00 	cmpwi   cr4,r9,0                               
ffc14b14:	40 92 00 f4 	bne-    cr4,ffc14c08 <rtems_rfs_format+0x8e0>  <== NEVER TAKEN
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc14b18:	99 21 00 cc 	stb     r9,204(r1)                             
  handle->bnum  = 0;                                                  
ffc14b1c:	91 21 00 d0 	stw     r9,208(r1)                             
  handle->buffer = NULL;                                              
ffc14b20:	91 21 00 d4 	stw     r9,212(r1)                             
    printf (", blocks");                                              
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
ffc14b24:	38 61 00 b4 	addi    r3,r1,180                              
ffc14b28:	38 81 00 08 	addi    r4,r1,8                                
ffc14b2c:	38 a1 00 cc 	addi    r5,r1,204                              
ffc14b30:	7f c6 f3 78 	mr      r6,r30                                 
ffc14b34:	7f a7 eb 78 	mr      r7,r29                                 
ffc14b38:	48 00 b0 35 	bl      ffc1fb6c <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc14b3c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14b40:	40 81 00 54 	ble-    ffc14b94 <rtems_rfs_format+0x86c>      <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc14b44:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14b48:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14b4c:	48 00 c6 ed 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14b50:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14b54:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14b58:	91 21 00 d0 	stw     r9,208(r1)                             <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
ffc14b5c:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14b60:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14b64:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14b68:	48 01 5f f1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14b6c:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14b70:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14b74:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14b78:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14b7c:	38 63 a5 08 	addi    r3,r3,-23288                           <== NOT EXECUTED
ffc14b80:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14b84:	48 01 4e 59 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14b88:	4b ff f9 e0 	b       ffc14568 <rtems_rfs_format+0x240>      <== 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));  
ffc14b8c:	7d 09 43 78 	mr      r9,r8                                  <== NOT EXECUTED
ffc14b90:	4b ff fd 64 	b       ffc148f4 <rtems_rfs_format+0x5cc>      <== 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));
ffc14b94:	81 21 00 d4 	lwz     r9,212(r1)                             
ffc14b98:	38 80 00 ff 	li      r4,255                                 
ffc14b9c:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc14ba0:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc14ba4:	48 01 4b dd 	bl      ffc29780 <memset>                      
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc14ba8:	38 61 00 b4 	addi    r3,r1,180                              
ffc14bac:	48 00 ac 8d 	bl      ffc1f838 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc14bb0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14bb4:	40 81 00 88 	ble-    ffc14c3c <rtems_rfs_format+0x914>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc14bb8:	38 61 00 b4 	addi    r3,r1,180                              <== NOT EXECUTED
ffc14bbc:	48 00 b0 21 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      <== 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);                       
ffc14bc0:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14bc4:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14bc8:	48 00 c6 71 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14bcc:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14bd0:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14bd4:	91 21 00 d0 	stw     r9,208(r1)                             <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: block bitmap clear all failed: %d: %s\n",
ffc14bd8:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14bdc:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14be0:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14be4:	48 01 5f 75 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14be8:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14bec:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14bf0:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14bf4:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14bf8:	38 63 a5 50 	addi    r3,r3,-23216                           <== NOT EXECUTED
ffc14bfc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14c00:	48 01 4d dd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14c04:	4b ff f9 64 	b       ffc14568 <rtems_rfs_format+0x240>      <== 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",
ffc14c08:	7e 83 a3 78 	mr      r3,r20                                 <== NOT EXECUTED
ffc14c0c:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14c10:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc14c14:	7f c6 f3 78 	mr      r6,r30                                 <== NOT EXECUTED
ffc14c18:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14c1c:	48 01 4d c1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
ffc14c20:	7e c3 b3 78 	mr      r3,r22                                 <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc14c24:	9a a1 00 cc 	stb     r21,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14c28:	93 01 00 d0 	stw     r24,208(r1)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc14c2c:	93 01 00 d4 	stw     r24,212(r1)                            <== NOT EXECUTED
ffc14c30:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14c34:	48 01 4d a9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14c38:	4b ff fe ec 	b       ffc14b24 <rtems_rfs_format+0x7fc>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Forced allocation of the block bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
ffc14c3c:	38 80 00 00 	li      r4,0                                   
ffc14c40:	38 61 00 b4 	addi    r3,r1,180                              
ffc14c44:	48 00 a9 01 	bl      ffc1f544 <rtems_rfs_bitmap_map_set>    
                                                                      
  /*                                                                  
   * Forced allocation of the inode bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
ffc14c48:	38 61 00 b4 	addi    r3,r1,180                              
ffc14c4c:	38 80 00 01 	li      r4,1                                   
ffc14c50:	48 00 a8 f5 	bl      ffc1f544 <rtems_rfs_bitmap_map_set>    
                                                                      
  /*                                                                  
   * Determine the number of inodes blocks in the group.              
   */                                                                 
  blocks = rtems_rfs_rup_quotient (fs->group_inodes, fs->inodes_per_block);
ffc14c54:	81 21 00 34 	lwz     r9,52(r1)                              
ffc14c58:	81 41 00 38 	lwz     r10,56(r1)                             
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
ffc14c5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14c60:	40 9e 00 a4 	bne-    cr7,ffc14d04 <rtems_rfs_format+0x9dc>  <== ALWAYS TAKEN
    return 1;                                                         
ffc14c64:	3a 20 00 01 	li      r17,1                                  <== NOT EXECUTED
ffc14c68:	3b e0 00 00 	li      r31,0                                  
                                                                      
  /*                                                                  
   * 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);
ffc14c6c:	38 9f 00 02 	addi    r4,r31,2                               
ffc14c70:	38 61 00 b4 	addi    r3,r1,180                              
  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++)                                        
ffc14c74:	3b ff 00 01 	addi    r31,r31,1                              
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
ffc14c78:	48 00 a8 cd 	bl      ffc1f544 <rtems_rfs_bitmap_map_set>    
  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++)                                        
ffc14c7c:	7f 9f 88 00 	cmpw    cr7,r31,r17                            
ffc14c80:	41 9c ff ec 	blt+    cr7,ffc14c6c <rtems_rfs_format+0x944>  
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
                                                                      
  /*                                                                  
   * Close the block bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc14c84:	38 61 00 b4 	addi    r3,r1,180                              
ffc14c88:	48 00 af 55 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc14c8c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14c90:	41 81 00 88 	bgt-    ffc14d18 <rtems_rfs_format+0x9f0>      <== NEVER TAKEN
    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);                              
ffc14c94:	9a 61 00 cc 	stb     r19,204(r1)                            
                                                                      
  if (verbose)                                                        
ffc14c98:	40 92 01 3c 	bne-    cr4,ffc14dd4 <rtems_rfs_format+0xaac>  <== NEVER TAKEN
    printf (", inodes");                                              
                                                                      
  /*                                                                  
   * Open the inode bitmap using the old buffer. Should release any changes.
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
ffc14c9c:	38 61 00 b4 	addi    r3,r1,180                              
ffc14ca0:	38 81 00 08 	addi    r4,r1,8                                
ffc14ca4:	38 a1 00 cc 	addi    r5,r1,204                              
ffc14ca8:	7f c6 f3 78 	mr      r6,r30                                 
ffc14cac:	38 fa 00 02 	addi    r7,r26,2                               
ffc14cb0:	48 00 ae bd 	bl      ffc1fb6c <rtems_rfs_bitmap_open>       
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc14cb4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14cb8:	40 81 00 a8 	ble-    ffc14d60 <rtems_rfs_format+0xa38>      <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc14cbc:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14cc0:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14cc4:	48 00 c5 75 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14cc8:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14ccc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14cd0:	91 21 00 d0 	stw     r9,208(r1)                             <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
ffc14cd4:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14cd8:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14cdc:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14ce0:	48 01 5e 79 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14ce4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14ce8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14cec:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14cf0:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14cf4:	38 63 a5 f0 	addi    r3,r3,-23056                           <== NOT EXECUTED
ffc14cf8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14cfc:	48 01 4c e1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14d00:	4b ff f8 68 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14d04:	3a 29 ff ff 	addi    r17,r9,-1                              
ffc14d08:	7e 31 53 96 	divwu   r17,r17,r10                            
  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++)                                        
ffc14d0c:	36 31 00 01 	addic.  r17,r17,1                              
ffc14d10:	41 81 ff 58 	bgt+    ffc14c68 <rtems_rfs_format+0x940>      <== ALWAYS TAKEN
ffc14d14:	4b ff ff 70 	b       ffc14c84 <rtems_rfs_format+0x95c>      <== 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);                       
ffc14d18:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14d1c:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14d20:	48 00 c5 19 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14d24:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14d28:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14d2c:	91 21 00 d0 	stw     r9,208(r1)                             <== 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",
ffc14d30:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14d34:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14d38:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14d3c:	48 01 5e 1d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14d40:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14d44:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14d48:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14d4c:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14d50:	38 63 a5 9c 	addi    r3,r3,-23140                           <== NOT EXECUTED
ffc14d54:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14d58:	48 01 4c 85 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14d5c:	4b ff f8 0c 	b       ffc14568 <rtems_rfs_format+0x240>      <== 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));
ffc14d60:	81 21 00 d4 	lwz     r9,212(r1)                             
ffc14d64:	38 80 00 00 	li      r4,0                                   
ffc14d68:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc14d6c:	80 69 00 1c 	lwz     r3,28(r9)                              
ffc14d70:	48 01 4a 11 	bl      ffc29780 <memset>                      
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
ffc14d74:	38 61 00 b4 	addi    r3,r1,180                              
ffc14d78:	48 00 aa c1 	bl      ffc1f838 <rtems_rfs_bitmap_map_clear_all>
  if (rc > 0)                                                         
ffc14d7c:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc14d80:	38 61 00 b4 	addi    r3,r1,180                              
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
  if (rc > 0)                                                         
ffc14d84:	40 81 00 84 	ble-    ffc14e08 <rtems_rfs_format+0xae0>      <== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
ffc14d88:	48 00 ae 55 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      <== 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);                       
ffc14d8c:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14d90:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14d94:	48 00 c4 a5 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14d98:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14d9c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14da0:	91 21 00 d0 	stw     r9,208(r1)                             <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: inode bitmap" \     
ffc14da4:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14da8:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14dac:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14db0:	48 01 5d a9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14db4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14db8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14dbc:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14dc0:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14dc4:	38 63 a6 38 	addi    r3,r3,-22984                           <== NOT EXECUTED
ffc14dc8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14dcc:	48 01 4c 11 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14dd0:	4b ff f7 98 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
ffc14dd4:	7e 43 93 78 	mr      r3,r18                                 <== NOT EXECUTED
ffc14dd8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14ddc:	48 01 4c 01 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14de0:	4b ff fe bc 	b       ffc14c9c <rtems_rfs_format+0x974>      <== 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", 
ffc14de4:	48 01 5d 75 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14de8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc14dec:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14df0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14df4:	38 63 a3 dc 	addi    r3,r3,-23588                           <== NOT EXECUTED
ffc14df8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14dfc:	48 01 4b e1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc14e00:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc14e04:	4b ff f7 68 	b       ffc1456c <rtems_rfs_format+0x244>      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Close the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
ffc14e08:	48 00 ad d5 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc14e0c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14e10:	41 81 00 bc 	bgt-    ffc14ecc <rtems_rfs_format+0xba4>      <== NEVER TAKEN
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc14e14:	2f 99 00 00 	cmpwi   cr7,r25,0                              
    printf ("\nrtems-rfs: write-group: group %3d: close inode" \      
            " bitmap failed: %d: %s\n", group, rc, strerror (rc));    
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
ffc14e18:	9a 61 00 cc 	stb     r19,204(r1)                            
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
ffc14e1c:	41 9e 01 38 	beq-    cr7,ffc14f54 <rtems_rfs_format+0xc2c>  <== ALWAYS TAKEN
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc14e20:	2f 91 00 00 	cmpwi   cr7,r17,0                              <== NOT EXECUTED
ffc14e24:	40 9d 01 30 	ble-    cr7,ffc14f54 <rtems_rfs_format+0xc2c>  <== NOT EXECUTED
ffc14e28:	3b bd 00 02 	addi    r29,r29,2                              <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
ffc14e2c:	7e 31 ea 14 	add     r17,r17,r29                            <== NOT EXECUTED
ffc14e30:	48 00 00 24 	b       ffc14e54 <rtems_rfs_format+0xb2c>      <== 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));
ffc14e34:	81 21 00 d4 	lwz     r9,212(r1)                             <== NOT EXECUTED
ffc14e38:	3b bd 00 01 	addi    r29,r29,1                              <== NOT EXECUTED
ffc14e3c:	80 a1 00 10 	lwz     r5,16(r1)                              <== NOT EXECUTED
ffc14e40:	80 69 00 1c 	lwz     r3,28(r9)                              <== NOT EXECUTED
ffc14e44:	48 01 49 3d 	bl      ffc29780 <memset>                      <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc14e48:	7f 9d 88 00 	cmpw    cr7,r29,r17                            <== 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));
                                                                      
      rtems_rfs_buffer_mark_dirty (&handle);                          
ffc14e4c:	9a 61 00 cc 	stb     r19,204(r1)                            <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
ffc14e50:	41 9e 01 04 	beq-    cr7,ffc14f54 <rtems_rfs_format+0xc2c>  <== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
ffc14e54:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14e58:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc14e5c:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc14e60:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14e64:	48 00 c5 e9 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== 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));
ffc14e68:	38 80 00 ff 	li      r4,255                                 <== 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)                                                     
ffc14e6c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc14e70:	40 81 ff c4 	ble+    ffc14e34 <rtems_rfs_format+0xb0c>      <== 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);                       
ffc14e74:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14e78:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14e7c:	48 00 c3 bd 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14e80:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14e84:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14e88:	91 21 00 d0 	stw     r9,208(r1)                             <== NOT EXECUTED
      {                                                               
        rtems_rfs_buffer_handle_close (fs, &handle);                  
        printf ("\nrtems-rfs: write-group: group %3d: block %" PRId32 " request failed: %d: %s\n",
ffc14e8c:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14e90:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14e94:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14e98:	48 01 5c c1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14e9c:	7c 67 1b 78 	mr      r7,r3                                  <== NOT EXECUTED
ffc14ea0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14ea4:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14ea8:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc14eac:	7f e6 fb 78 	mr      r6,r31                                 <== NOT EXECUTED
ffc14eb0:	38 63 a6 cc 	addi    r3,r3,-22836                           <== NOT EXECUTED
ffc14eb4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14eb8:	48 01 4b 25 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14ebc:	4b ff f6 ac 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
                                                                      
    if (total_size >= GIGS (1))                                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
ffc14ec0:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
ffc14ec4:	90 81 00 10 	stw     r4,16(r1)                              <== NOT EXECUTED
ffc14ec8:	4b ff fb 58 	b       ffc14a20 <rtems_rfs_format+0x6f8>      <== 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);                       
ffc14ecc:	38 81 00 cc 	addi    r4,r1,204                              <== NOT EXECUTED
ffc14ed0:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
ffc14ed4:	48 00 c3 65 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc14ed8:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc14edc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc14ee0:	91 21 00 d0 	stw     r9,208(r1)                             <== 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" \      
ffc14ee4:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                       
  handle->dirty = false;                                              
ffc14ee8:	99 41 00 cc 	stb     r10,204(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc14eec:	91 21 00 d4 	stw     r9,212(r1)                             <== NOT EXECUTED
ffc14ef0:	48 01 5c 69 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14ef4:	7c 66 1b 78 	mr      r6,r3                                  <== NOT EXECUTED
ffc14ef8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14efc:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14f00:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc14f04:	38 63 a6 84 	addi    r3,r3,-22908                           <== NOT EXECUTED
ffc14f08:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14f0c:	48 01 4a d1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14f10:	4b ff f6 58 	b       ffc14568 <rtems_rfs_format+0x240>      <== 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",        
ffc14f14:	48 01 5c 45 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc14f18:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc14f1c:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc14f20:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14f24:	38 63 a1 40 	addi    r3,r3,-24256                           <== NOT EXECUTED
ffc14f28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14f2c:	48 01 4a b1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc14f30:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc14f34:	4b ff f6 38 	b       ffc1456c <rtems_rfs_format+0x244>      <== NOT EXECUTED
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
ffc14f38:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14f3c:	38 63 a1 70 	addi    r3,r3,-24208                           <== NOT EXECUTED
ffc14f40:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc14f44:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14f48:	48 01 4a 95 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    return -1;                                                        
ffc14f4c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc14f50:	4b ff f6 1c 	b       ffc1456c <rtems_rfs_format+0x244>      <== 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);                       
ffc14f54:	38 61 00 08 	addi    r3,r1,8                                
ffc14f58:	38 81 00 cc 	addi    r4,r1,204                              
ffc14f5c:	48 00 c2 dd 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
ffc14f60:	81 21 00 2c 	lwz     r9,44(r1)                              
ffc14f64:	3b 7b 00 01 	addi    r27,r27,1                              
ffc14f68:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc14f6c:	40 9d 00 44 	ble-    cr7,ffc14fb0 <rtems_rfs_format+0xc88>  <== ALWAYS TAKEN
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc14f70:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14f74:	81 41 00 0c 	lwz     r10,12(r1)                             <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc14f78:	7f 5b f1 d6 	mullw   r26,r27,r30                            <== 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,                           
ffc14f7c:	8b 3c 00 14 	lbz     r25,20(r28)                            <== NOT EXECUTED
ffc14f80:	89 3c 00 15 	lbz     r9,21(r28)                             <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
ffc14f84:	3b ba 00 01 	addi    r29,r26,1                              <== NOT EXECUTED
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14f88:	7f 9d 50 40 	cmplw   cr7,r29,r10                            <== NOT EXECUTED
ffc14f8c:	40 9d fb 74 	ble+    cr7,ffc14b00 <rtems_rfs_format+0x7d8>  <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
ffc14f90:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc14f94:	7f 64 db 78 	mr      r4,r27                                 <== NOT EXECUTED
ffc14f98:	38 63 a4 88 	addi    r3,r3,-23416                           <== NOT EXECUTED
ffc14f9c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc14fa0:	48 01 4a 3d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc14fa4:	4b ff f5 c4 	b       ffc14568 <rtems_rfs_format+0x240>      <== NOT EXECUTED
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
ffc14fa8:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc14fac:	4b ff ff e4 	b       ffc14f90 <rtems_rfs_format+0xc68>      <== 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)                                                
ffc14fb0:	89 3c 00 15 	lbz     r9,21(r28)                             
ffc14fb4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14fb8:	41 be 00 0c 	beq+    cr7,ffc14fc4 <rtems_rfs_format+0xc9c>  <== ALWAYS TAKEN
    printf ("\n");                                                    
ffc14fbc:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
ffc14fc0:	48 01 4c a9 	bl      ffc29c68 <putchar>                     <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
ffc14fc4:	38 61 00 08 	addi    r3,r1,8                                
ffc14fc8:	48 00 cc 55 	bl      ffc21c1c <rtems_rfs_buffer_close>      
  if (rc > 0)                                                         
ffc14fcc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc14fd0:	41 81 01 08 	bgt-    ffc150d8 <rtems_rfs_format+0xdb0>      <== NEVER TAKEN
  int                    rc;                                          
                                                                      
  /*                                                                  
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL,                                 
ffc14fd4:	7e e3 bb 78 	mr      r3,r23                                 
ffc14fd8:	38 80 00 00 	li      r4,0                                   
ffc14fdc:	38 a0 00 06 	li      r5,6                                   
ffc14fe0:	38 c0 00 00 	li      r6,0                                   
ffc14fe4:	38 e1 00 dc 	addi    r7,r1,220                              
ffc14fe8:	48 00 f6 21 	bl      ffc24608 <rtems_rfs_fs_open>           
                          RTEMS_RFS_FS_FORCE_OPEN | RTEMS_RFS_FS_NO_LOCAL_CACHE,
                          0, &fs);                                    
  if (rc < 0)                                                         
ffc14fec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc14ff0:	41 9c 01 d4 	blt-    cr7,ffc151c4 <rtems_rfs_format+0xe9c>  <== NEVER TAKEN
    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);          
ffc14ff4:	80 61 00 dc 	lwz     r3,220(r1)                             
ffc14ff8:	38 80 00 01 	li      r4,1                                   
ffc14ffc:	38 a1 00 d8 	addi    r5,r1,216                              
ffc15000:	48 00 0b dd 	bl      ffc15bdc <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc15004:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc15008:	41 81 00 30 	bgt-    ffc15038 <rtems_rfs_format+0xd10>      <== NEVER TAKEN
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  if (ino != RTEMS_RFS_ROOT_INO)                                      
ffc1500c:	80 81 00 d8 	lwz     r4,216(r1)                             
ffc15010:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc15014:	41 9e 00 70 	beq-    cr7,ffc15084 <rtems_rfs_format+0xd5c>  <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
ffc15018:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1501c:	38 63 a7 ac 	addi    r3,r3,-22612                           <== NOT EXECUTED
ffc15020:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15024:	48 01 49 b9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc15028:	80 61 00 dc 	lwz     r3,220(r1)                             <== NOT EXECUTED
ffc1502c:	48 00 fe e9 	bl      ffc24f14 <rtems_rfs_fs_close>          <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc15030:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15034:	4b ff f5 38 	b       ffc1456c <rtems_rfs_format+0x244>      <== 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",   
ffc15038:	48 01 5b 21 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc1503c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15040:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc15044:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15048:	38 63 a7 78 	addi    r3,r3,-22664                           <== NOT EXECUTED
ffc1504c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15050:	48 01 49 8d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
ffc15054:	80 61 00 dc 	lwz     r3,220(r1)                             <== NOT EXECUTED
ffc15058:	48 00 fe bd 	bl      ffc24f14 <rtems_rfs_fs_close>          <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
ffc1505c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc15060:	48 01 5a f9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15064:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15068:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1506c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15070:	38 63 a8 e4 	addi    r3,r3,-22300                           <== NOT EXECUTED
ffc15074:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15078:	48 01 49 65 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc1507c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc15080:	4b ff f4 ec 	b       ffc1456c <rtems_rfs_format+0x244>      <== 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);                  
ffc15084:	80 61 00 dc 	lwz     r3,220(r1)                             
ffc15088:	38 80 00 01 	li      r4,1                                   
ffc1508c:	38 a1 00 8c 	addi    r5,r1,140                              
ffc15090:	38 c0 00 01 	li      r6,1                                   
ffc15094:	48 00 0c 65 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc15098:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1509c:	40 81 00 60 	ble-    ffc150fc <rtems_rfs_format+0xdd4>      <== ALWAYS TAKEN
  {                                                                   
    printf ("rtems-rfs: format: inode open failed: %d: %s\n",         
ffc150a0:	48 01 5a b9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc150a4:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc150a8:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc150ac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc150b0:	38 63 a7 e4 	addi    r3,r3,-22556                           <== NOT EXECUTED
ffc150b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc150b8:	48 01 49 25 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
ffc150bc:	80 61 00 dc 	lwz     r3,220(r1)                             <== NOT EXECUTED
ffc150c0:	80 a1 00 d8 	lwz     r5,216(r1)                             <== NOT EXECUTED
ffc150c4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc150c8:	48 00 07 d1 	bl      ffc15898 <rtems_rfs_group_bitmap_free> <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
ffc150cc:	80 61 00 dc 	lwz     r3,220(r1)                             <== NOT EXECUTED
ffc150d0:	48 00 fe 45 	bl      ffc24f14 <rtems_rfs_fs_close>          <== NOT EXECUTED
ffc150d4:	4b ff ff 88 	b       ffc1505c <rtems_rfs_format+0xd34>      <== NOT EXECUTED
    printf ("\n");                                                    
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: buffer close failed: %d: %s\n",       
ffc150d8:	48 01 5a 81 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc150dc:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc150e0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc150e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc150e8:	38 63 a7 14 	addi    r3,r3,-22764                           <== NOT EXECUTED
ffc150ec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc150f0:	48 01 48 ed 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
ffc150f4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc150f8:	4b ff f4 74 	b       ffc1456c <rtems_rfs_format+0x244>      <== NOT EXECUTED
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, 0,                         
ffc150fc:	38 61 00 8c 	addi    r3,r1,140                              
ffc15100:	38 80 00 00 	li      r4,0                                   
ffc15104:	38 a0 41 c9 	li      r5,16841                               
ffc15108:	38 c0 00 00 	li      r6,0                                   
ffc1510c:	38 e0 00 00 	li      r7,0                                   
ffc15110:	48 00 11 21 	bl      ffc16230 <rtems_rfs_inode_initialise>  
                                   (RTEMS_RFS_S_IFDIR | RTEMS_RFS_S_IRWXU |
                                    RTEMS_RFS_S_IXGRP | RTEMS_RFS_S_IXOTH),
                                   0, 0);                             
  if (rc > 0)                                                         
ffc15114:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc15118:	40 81 00 20 	ble-    ffc15138 <rtems_rfs_format+0xe10>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode initialise failed: %d: %s\n",   
ffc1511c:	48 01 5a 3d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15120:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15124:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc15128:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1512c:	38 63 a8 14 	addi    r3,r3,-22508                           <== NOT EXECUTED
ffc15130:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15134:	48 01 48 a9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, ino);             
ffc15138:	80 61 00 dc 	lwz     r3,220(r1)                             
ffc1513c:	3c a0 ff c4 	lis     r5,-60                                 
ffc15140:	80 e1 00 d8 	lwz     r7,216(r1)                             
ffc15144:	38 81 00 8c 	addi    r4,r1,140                              
ffc15148:	38 a5 86 90 	addi    r5,r5,-31088                           
ffc1514c:	38 c0 00 01 	li      r6,1                                   
ffc15150:	48 00 d1 b5 	bl      ffc22304 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc15154:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc15158:	40 81 00 20 	ble-    ffc15178 <rtems_rfs_format+0xe50>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: directory add failed: %d: %s\n",      
ffc1515c:	48 01 59 fd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15160:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15164:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc15168:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1516c:	38 63 a8 48 	addi    r3,r3,-22456                           <== NOT EXECUTED
ffc15170:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15174:	48 01 48 69 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc15178:	80 61 00 dc 	lwz     r3,220(r1)                             
ffc1517c:	38 81 00 8c 	addi    r4,r1,140                              
ffc15180:	48 00 0d f5 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc15184:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc15188:	40 81 00 20 	ble-    ffc151a8 <rtems_rfs_format+0xe80>      <== ALWAYS TAKEN
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
ffc1518c:	48 01 59 cd 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15190:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15194:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc15198:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1519c:	38 63 a8 7c 	addi    r3,r3,-22404                           <== NOT EXECUTED
ffc151a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc151a4:	48 01 48 39 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
ffc151a8:	80 61 00 dc 	lwz     r3,220(r1)                             
ffc151ac:	48 00 fd 69 	bl      ffc24f14 <rtems_rfs_fs_close>          
  if (rc < 0)                                                         
ffc151b0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc151b4:	41 80 00 44 	blt-    ffc151f8 <rtems_rfs_format+0xed0>      <== NEVER TAKEN
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
ffc151b8:	40 a2 fe a4 	bne-    ffc1505c <rtems_rfs_format+0xd34>      <== NEVER TAKEN
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc151bc:	38 60 00 00 	li      r3,0                                   
ffc151c0:	4b ff f3 ac 	b       ffc1456c <rtems_rfs_format+0x244>      
                          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));                                 
ffc151c4:	48 01 2d 79 	bl      ffc27f3c <__errno>                     <== 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",   
ffc151c8:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc151cc:	48 01 2d 71 	bl      ffc27f3c <__errno>                     <== 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",   
ffc151d0:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc151d4:	48 01 59 85 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc151d8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc151dc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc151e0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc151e4:	38 63 a7 44 	addi    r3,r3,-22716                           <== NOT EXECUTED
ffc151e8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc151ec:	48 01 47 f1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc151f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc151f4:	4b ff f3 78 	b       ffc1456c <rtems_rfs_format+0x244>      <== 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));                                 
ffc151f8:	48 01 2d 45 	bl      ffc27f3c <__errno>                     <== 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",  
ffc151fc:	83 e3 00 00 	lwz     r31,0(r3)                              <== NOT EXECUTED
            errno, strerror (errno));                                 
ffc15200:	48 01 2d 3d 	bl      ffc27f3c <__errno>                     <== 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",  
ffc15204:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc15208:	48 01 59 51 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc1520c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15210:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc15214:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15218:	38 63 a8 ac 	addi    r3,r3,-22356                           <== NOT EXECUTED
ffc1521c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15220:	48 01 47 bd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc15224:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15228:	4b ff f3 44 	b       ffc1456c <rtems_rfs_format+0x244>      <== NOT EXECUTED
                                                                      

ffc24f14 <rtems_rfs_fs_close>: return 0; } int rtems_rfs_fs_close (rtems_rfs_file_system* fs) {
ffc24f14:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc24f18:	7c 08 02 a6 	mflr    r0                                     
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc24f1c:	38 80 00 02 	li      r4,2                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc24f20:	93 e1 00 14 	stw     r31,20(r1)                             
ffc24f24:	7c 7f 1b 78 	mr      r31,r3                                 
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc24f28:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
ffc24f2c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc24f30:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc24f34:	93 c1 00 10 	stw     r30,16(r1)                             
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
ffc24f38:	4b ff 2d f5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc24f3c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24f40:	40 9e 00 6c 	bne-    cr7,ffc24fac <rtems_rfs_fs_close+0x98> <== NEVER TAKEN
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
ffc24f44:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc24f48:	3b a0 00 00 	li      r29,0                                  
ffc24f4c:	3b c0 00 00 	li      r30,0                                  
ffc24f50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc24f54:	40 9d 00 28 	ble-    cr7,ffc24f7c <rtems_rfs_fs_close+0x68> <== NEVER TAKEN
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
ffc24f58:	80 9f 00 20 	lwz     r4,32(r31)                             
ffc24f5c:	7f e3 fb 78 	mr      r3,r31                                 
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
ffc24f60:	3b de 00 01 	addi    r30,r30,1                              
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
ffc24f64:	7c 84 ea 14 	add     r4,r4,r29                              
ffc24f68:	4b ff 05 8d 	bl      ffc154f4 <rtems_rfs_group_close>       
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
ffc24f6c:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc24f70:	3b bd 00 50 	addi    r29,r29,80                             
ffc24f74:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc24f78:	41 9d ff e0 	bgt+    cr7,ffc24f58 <rtems_rfs_fs_close+0x44> <== NEVER TAKEN
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
                                                                      
  rtems_rfs_buffer_close (fs);                                        
ffc24f7c:	7f e3 fb 78 	mr      r3,r31                                 
ffc24f80:	4b ff cc 9d 	bl      ffc21c1c <rtems_rfs_buffer_close>      
                                                                      
  free (fs);                                                          
ffc24f84:	7f e3 fb 78 	mr      r3,r31                                 
ffc24f88:	4b fe 53 75 	bl      ffc0a2fc <free>                        
  return 0;                                                           
}                                                                     
ffc24f8c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc24f90:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc24f94:	38 60 00 00 	li      r3,0                                   
ffc24f98:	7c 08 03 a6 	mtlr    r0                                     
ffc24f9c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc24fa0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc24fa4:	38 21 00 18 	addi    r1,r1,24                               
ffc24fa8:	4e 80 00 20 	blr                                            
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
ffc24fac:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24fb0:	38 63 cb 1c 	addi    r3,r3,-13540                           <== NOT EXECUTED
ffc24fb4:	48 00 4d 91 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc24fb8:	4b ff ff 8c 	b       ffc24f44 <rtems_rfs_fs_close+0x30>     <== NOT EXECUTED
                                                                      

ffc24608 <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) {
ffc24608:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc2460c:	7c 08 02 a6 	mflr    r0                                     
ffc24610:	93 41 00 48 	stw     r26,72(r1)                             
ffc24614:	7c 9a 23 78 	mr      r26,r4                                 
#endif                                                                
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24618:	38 80 00 01 	li      r4,1                                   
rtems_rfs_fs_open (const char*             name,                      
                   void*                   user,                      
                   uint32_t                flags,                     
                   uint32_t                max_held_buffers,          
                   rtems_rfs_file_system** fs)                        
{                                                                     
ffc2461c:	93 a1 00 54 	stw     r29,84(r1)                             
ffc24620:	7c 7d 1b 78 	mr      r29,r3                                 
#endif                                                                
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24624:	38 60 00 00 	li      r3,0                                   
rtems_rfs_fs_open (const char*             name,                      
                   void*                   user,                      
                   uint32_t                flags,                     
                   uint32_t                max_held_buffers,          
                   rtems_rfs_file_system** fs)                        
{                                                                     
ffc24628:	93 61 00 4c 	stw     r27,76(r1)                             
ffc2462c:	7c db 33 78 	mr      r27,r6                                 
ffc24630:	93 81 00 50 	stw     r28,80(r1)                             
ffc24634:	7c bc 2b 78 	mr      r28,r5                                 
ffc24638:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc2463c:	7c ff 3b 78 	mr      r31,r7                                 
ffc24640:	90 01 00 64 	stw     r0,100(r1)                             
ffc24644:	93 c1 00 58 	stw     r30,88(r1)                             
#endif                                                                
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
ffc24648:	4b ff 36 e5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2464c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc24650:	40 9e 02 1c 	bne-    cr7,ffc2486c <rtems_rfs_fs_open+0x264> <== NEVER TAKEN
    printf ("rtems-rfs: open: %s\n", name);                           
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
ffc24654:	38 60 00 84 	li      r3,132                                 
ffc24658:	4b fe 64 3d 	bl      ffc0aa94 <malloc>                      
  if (!*fs)                                                           
ffc2465c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
    printf ("rtems-rfs: open: %s\n", name);                           
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
ffc24660:	90 7f 00 00 	stw     r3,0(r31)                              
  if (!*fs)                                                           
ffc24664:	41 9e 05 c8 	beq-    cr7,ffc24c2c <rtems_rfs_fs_open+0x624> <== NEVER TAKEN
      printf ("rtems-rfs: open: no memory for file system data\n");   
    errno = ENOMEM;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
ffc24668:	38 80 00 00 	li      r4,0                                   
ffc2466c:	38 a0 00 84 	li      r5,132                                 
ffc24670:	48 00 51 11 	bl      ffc29780 <memset>                      
                                                                      
  (*fs)->user = user;                                                 
ffc24674:	81 3f 00 00 	lwz     r9,0(r31)                              
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc24678:	3b c0 00 00 	li      r30,0                                  
ffc2467c:	93 49 00 80 	stw     r26,128(r9)                            
#endif                                                                
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc24680:	7f a3 eb 78 	mr      r3,r29                                 
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
                                                                      
  (*fs)->user = user;                                                 
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
ffc24684:	81 3f 00 00 	lwz     r9,0(r31)                              
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 );                        
ffc24688:	39 09 00 44 	addi    r8,r9,68                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc2468c:	93 c9 00 48 	stw     r30,72(r9)                             
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 );                        
ffc24690:	39 49 00 48 	addi    r10,r9,72                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc24694:	91 09 00 4c 	stw     r8,76(r9)                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc24698:	91 49 00 44 	stw     r10,68(r9)                             
  rtems_chain_initialize_empty (&(*fs)->release);                     
ffc2469c:	81 3f 00 00 	lwz     r9,0(r31)                              
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 );                        
ffc246a0:	39 09 00 54 	addi    r8,r9,84                               
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc246a4:	93 c9 00 58 	stw     r30,88(r9)                             
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 );                        
ffc246a8:	39 49 00 58 	addi    r10,r9,88                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc246ac:	91 09 00 5c 	stw     r8,92(r9)                              
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc246b0:	91 49 00 54 	stw     r10,84(r9)                             
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
ffc246b4:	81 3f 00 00 	lwz     r9,0(r31)                              
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 );                        
ffc246b8:	39 09 00 64 	addi    r8,r9,100                              
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc246bc:	93 c9 00 68 	stw     r30,104(r9)                            
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 );                        
ffc246c0:	39 49 00 68 	addi    r10,r9,104                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc246c4:	91 09 00 6c 	stw     r8,108(r9)                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
ffc246c8:	91 49 00 64 	stw     r10,100(r9)                            
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
ffc246cc:	81 3f 00 00 	lwz     r9,0(r31)                              
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 );                        
ffc246d0:	39 49 00 74 	addi    r10,r9,116                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
ffc246d4:	93 c9 00 78 	stw     r30,120(r9)                            
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 );                        
ffc246d8:	39 09 00 78 	addi    r8,r9,120                              
                                                                      
  head->next = tail;                                                  
ffc246dc:	91 09 00 74 	stw     r8,116(r9)                             
  head->previous = NULL;                                              
  tail->previous = head;                                              
ffc246e0:	91 49 00 7c 	stw     r10,124(r9)                            
                                                                      
  (*fs)->max_held_buffers = max_held_buffers;                         
ffc246e4:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc246e8:	93 69 00 40 	stw     r27,64(r9)                             
#endif                                                                
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc246ec:	7d 24 4b 78 	mr      r4,r9                                  
  rtems_chain_initialize_empty (&(*fs)->release);                     
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
                                                                      
  (*fs)->max_held_buffers = max_held_buffers;                         
  (*fs)->buffers_count = 0;                                           
ffc246f0:	93 c9 00 50 	stw     r30,80(r9)                             
  (*fs)->release_count = 0;                                           
ffc246f4:	93 c9 00 60 	stw     r30,96(r9)                             
  (*fs)->release_modified_count = 0;                                  
ffc246f8:	93 c9 00 70 	stw     r30,112(r9)                            
  (*fs)->flags = flags;                                               
ffc246fc:	93 89 00 00 	stw     r28,0(r9)                              
#endif                                                                
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
ffc24700:	4b ff d0 61 	bl      ffc21760 <rtems_rfs_buffer_open>       
  if (rc > 0)                                                         
ffc24704:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc24708:	41 81 02 a4 	bgt-    ffc249ac <rtems_rfs_fs_open+0x3a4>     <== NEVER TAKEN
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
ffc2470c:	83 bf 00 00 	lwz     r29,0(r31)                             
      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);        
ffc24710:	38 81 00 30 	addi    r4,r1,48                               
ffc24714:	38 a0 00 00 	li      r5,0                                   
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc24718:	9b c1 00 30 	stb     r30,48(r1)                             
ffc2471c:	7f a3 eb 78 	mr      r3,r29                                 
ffc24720:	38 c0 00 01 	li      r6,1                                   
  handle->bnum  = 0;                                                  
ffc24724:	93 c1 00 34 	stw     r30,52(r1)                             
  handle->buffer = NULL;                                              
ffc24728:	93 c1 00 38 	stw     r30,56(r1)                             
ffc2472c:	4b ff cd 21 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
  if (rc > 0)                                                         
ffc24730:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24734:	40 81 00 90 	ble-    ffc247c4 <rtems_rfs_fs_open+0x1bc>     <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24738:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2473c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24740:	4b ff 35 ed 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24744:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24748:	41 be 00 24 	beq+    cr7,ffc2476c <rtems_rfs_fs_open+0x164> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
ffc2474c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24750:	48 00 64 09 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24754:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24758:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2475c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24760:	38 63 c8 6c 	addi    r3,r3,-14228                           <== NOT EXECUTED
ffc24764:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24768:	48 00 52 75 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc2476c:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24770:	4b ff d4 ad 	bl      ffc21c1c <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc24774:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24778:	4b fe 5b 85 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc2477c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24780:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24784:	4b ff 35 a9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24788:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2478c:	40 9e 00 bc 	bne-    cr7,ffc24848 <rtems_rfs_fs_open+0x240> <== 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;                                                       
ffc24790:	48 00 37 ad 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc24794:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
    return -1;                                                        
ffc24798:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc2479c:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
ffc247a0:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc247a4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc247a8:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc247ac:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc247b0:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc247b4:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc247b8:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc247bc:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc247c0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
ffc247c4:	81 21 00 38 	lwz     r9,56(r1)                              
ffc247c8:	83 c9 00 1c 	lwz     r30,28(r9)                             
                                                                      
#define read_sb(_o) rtems_rfs_read_u32 (sb + (_o))                    
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_MAGIC) != RTEMS_RFS_SB_MAGIC)      
ffc247cc:	88 fe 00 00 	lbz     r7,0(r30)                              
ffc247d0:	89 5e 00 01 	lbz     r10,1(r30)                             
ffc247d4:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc247d8:	89 1e 00 03 	lbz     r8,3(r30)                              
ffc247dc:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc247e0:	89 3e 00 02 	lbz     r9,2(r30)                              
ffc247e4:	7c ea 53 78 	or      r10,r7,r10                             
ffc247e8:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc247ec:	7d 4a 43 78 	or      r10,r10,r8                             
ffc247f0:	7d 4a 4b 78 	or      r10,r10,r9                             
ffc247f4:	6d 49 28 09 	xoris   r9,r10,10249                           
ffc247f8:	2f 89 20 01 	cmpwi   cr7,r9,8193                            
ffc247fc:	41 9e 00 a8 	beq-    cr7,ffc248a4 <rtems_rfs_fs_open+0x29c> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24800:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24804:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24808:	4b ff 35 25 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2480c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24810:	40 9e 00 74 	bne-    cr7,ffc24884 <rtems_rfs_fs_open+0x27c> <== 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);                       
ffc24814:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc24818:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc2481c:	4b ff ca 1d 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
ffc24820:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc24824:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24828:	4b ff d3 f5 	bl      ffc21c1c <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc2482c:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24830:	4b fe 5a cd 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24834:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24838:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc2483c:	4b ff 34 f1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24840:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24844:	41 9e ff 4c 	beq+    cr7,ffc24790 <rtems_rfs_fs_open+0x188> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
ffc24848:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2484c:	48 00 63 0d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24850:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24854:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24858:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2485c:	38 63 ca 60 	addi    r3,r3,-13728                           <== NOT EXECUTED
ffc24860:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24864:	48 00 51 79 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24868:	4b ff ff 28 	b       ffc24790 <rtems_rfs_fs_open+0x188>     <== 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);                           
ffc2486c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24870:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc24874:	38 63 c7 f4 	addi    r3,r3,-14348                           <== NOT EXECUTED
ffc24878:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2487c:	48 00 51 61 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24880:	4b ff fd d4 	b       ffc24654 <rtems_rfs_fs_open+0x4c>      <== 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");
ffc24884:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24888:	38 63 c8 a0 	addi    r3,r3,-14176                           <== NOT EXECUTED
ffc2488c:	48 00 54 b9 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc24890:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc24894:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc24898:	4b ff c9 a1 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: inode size mismatch: fs:%" PRId32 " target:%" PRId32 "\n",
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
ffc2489c:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
ffc248a0:	4b ff ff 84 	b       ffc24824 <rtems_rfs_fs_open+0x21c>     <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
ffc248a4:	88 fe 00 0c 	lbz     r7,12(r30)                             
ffc248a8:	89 5e 00 0d 	lbz     r10,13(r30)                            
ffc248ac:	89 1e 00 0f 	lbz     r8,15(r30)                             
ffc248b0:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc248b4:	89 3e 00 0e 	lbz     r9,14(r30)                             
ffc248b8:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc248bc:	7c ea 53 78 	or      r10,r7,r10                             
ffc248c0:	7d 4a 43 78 	or      r10,r10,r8                             
ffc248c4:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc248c8:	7d 4a 4b 78 	or      r10,r10,r9                             
}                                                                     
                                                                      
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
ffc248cc:	81 3d 00 10 	lwz     r9,16(r29)                             
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
ffc248d0:	91 5d 00 04 	stw     r10,4(r29)                             
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
ffc248d4:	88 be 00 08 	lbz     r5,8(r30)                              
ffc248d8:	88 fe 00 09 	lbz     r7,9(r30)                              
ffc248dc:	88 de 00 0b 	lbz     r6,11(r30)                             
ffc248e0:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc248e4:	89 1e 00 0a 	lbz     r8,10(r30)                             
ffc248e8:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
ffc248ec:	7c a7 3b 78 	or      r7,r5,r7                               
                                                                      
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);
ffc248f0:	80 a9 00 20 	lwz     r5,32(r9)                              
    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);          
ffc248f4:	7c e7 33 78 	or      r7,r7,r6                               
}                                                                     
                                                                      
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
ffc248f8:	80 c9 00 1c 	lwz     r6,28(r9)                              
    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);          
ffc248fc:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc24900:	7c e7 43 78 	or      r7,r7,r8                               
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;                                         
ffc24904:	7d 07 50 16 	mulhwu  r8,r7,r10                              
    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);          
ffc24908:	90 fd 00 08 	stw     r7,8(r29)                              
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;                                         
ffc2490c:	7d 27 51 d6 	mullw   r9,r7,r10                              
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;                             
ffc24910:	7d 45 30 16 	mulhwu  r10,r5,r6                              
ffc24914:	7d 65 31 d6 	mullw   r11,r5,r6                              
  }                                                                   
                                                                      
  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))           
ffc24918:	7f 88 50 40 	cmplw   cr7,r8,r10                             
ffc2491c:	41 9d 01 08 	bgt-    cr7,ffc24a24 <rtems_rfs_fs_open+0x41c> <== NEVER TAKEN
ffc24920:	7f 88 50 00 	cmpw    cr7,r8,r10                             
ffc24924:	41 9e 00 f8 	beq-    cr7,ffc24a1c <rtems_rfs_fs_open+0x414> <== ALWAYS TAKEN
              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)
ffc24928:	88 de 00 24 	lbz     r6,36(r30)                             
ffc2492c:	89 3e 00 25 	lbz     r9,37(r30)                             
ffc24930:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc24934:	89 1e 00 27 	lbz     r8,39(r30)                             
ffc24938:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc2493c:	89 5e 00 26 	lbz     r10,38(r30)                            
ffc24940:	7c c9 4b 78 	or      r9,r6,r9                               
ffc24944:	7d 29 43 78 	or      r9,r9,r8                               
ffc24948:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc2494c:	7d 29 53 78 	or      r9,r9,r10                              
ffc24950:	2f 89 00 38 	cmpwi   cr7,r9,56                              
ffc24954:	41 9e 00 f4 	beq-    cr7,ffc24a48 <rtems_rfs_fs_open+0x440> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24958:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2495c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24960:	4b ff 33 cd 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24964:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24968:	41 9e fe ac 	beq+    cr7,ffc24814 <rtems_rfs_fs_open+0x20c> <== 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);
ffc2496c:	88 9e 00 04 	lbz     r4,4(r30)                              <== 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",
ffc24970:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc24974:	89 1e 00 05 	lbz     r8,5(r30)                              <== 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",
ffc24978:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
ffc2497c:	89 5e 00 07 	lbz     r10,7(r30)                             <== NOT EXECUTED
ffc24980:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           <== NOT EXECUTED
ffc24984:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          <== NOT EXECUTED
ffc24988:	89 3e 00 06 	lbz     r9,6(r30)                              <== NOT EXECUTED
ffc2498c:	7c 84 43 78 	or      r4,r4,r8                               <== NOT EXECUTED
ffc24990:	7c 84 53 78 	or      r4,r4,r10                              <== NOT EXECUTED
ffc24994:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           <== 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",
ffc24998:	7c 84 4b 78 	or      r4,r4,r9                               <== NOT EXECUTED
ffc2499c:	38 63 c9 1c 	addi    r3,r3,-14052                           <== NOT EXECUTED
ffc249a0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc249a4:	48 00 50 39 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc249a8:	4b ff fe 6c 	b       ffc24814 <rtems_rfs_fs_open+0x20c>     <== NOT EXECUTED
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
  if (rc > 0)                                                         
  {                                                                   
    free (*fs);                                                       
ffc249ac:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc249b0:	4b fe 59 4d 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc249b4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc249b8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc249bc:	4b ff 33 71 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc249c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc249c4:	41 be 00 24 	beq+    cr7,ffc249e8 <rtems_rfs_fs_open+0x3e0> <== NOT EXECUTED
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
ffc249c8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc249cc:	48 00 61 8d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc249d0:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc249d4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc249d8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc249dc:	38 63 c8 3c 	addi    r3,r3,-14276                           <== NOT EXECUTED
ffc249e0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc249e4:	48 00 4f f9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
ffc249e8:	48 00 35 55 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc249ec:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
  {                                                                   
    free (*fs);                                                       
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
              rc, strerror (rc));                                     
    errno = rc;                                                       
ffc249f0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
    return -1;                                                        
ffc249f4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
  return 0;                                                           
}                                                                     
ffc249f8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc249fc:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc24a00:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc24a04:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc24a08:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc24a0c:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc24a10:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc24a14:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc24a18:	4e 80 00 20 	blr                                            <== 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))           
ffc24a1c:	7f 89 58 40 	cmplw   cr7,r9,r11                             
ffc24a20:	40 bd ff 08 	ble-    cr7,ffc24928 <rtems_rfs_fs_open+0x320> <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24a24:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24a28:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24a2c:	4b ff 33 01 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24a30:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24a34:	41 9e fd e0 	beq+    cr7,ffc24814 <rtems_rfs_fs_open+0x20c> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block/size count\n");
ffc24a38:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24a3c:	38 63 c8 dc 	addi    r3,r3,-14116                           <== NOT EXECUTED
ffc24a40:	48 00 53 05 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc24a44:	4b ff fd d0 	b       ffc24814 <rtems_rfs_fs_open+0x20c>     <== 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);     
ffc24a48:	88 de 00 10 	lbz     r6,16(r30)                             
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
      rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs)))     
ffc24a4c:	54 e3 18 38 	rlwinm  r3,r7,3,0,28                           
              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);     
ffc24a50:	89 5e 00 11 	lbz     r10,17(r30)                            
ffc24a54:	89 1e 00 13 	lbz     r8,19(r30)                             
ffc24a58:	54 c6 c0 0e 	rlwinm  r6,r6,24,0,7                           
ffc24a5c:	89 3e 00 12 	lbz     r9,18(r30)                             
ffc24a60:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc24a64:	7c ca 53 78 	or      r10,r6,r10                             
ffc24a68:	7d 4a 43 78 	or      r10,r10,r8                             
ffc24a6c:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
ffc24a70:	7d 49 4b 78 	or      r9,r10,r9                              
ffc24a74:	91 3d 00 18 	stw     r9,24(r29)                             
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
ffc24a78:	54 e9 f0 be 	rlwinm  r9,r7,30,2,31                          
  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;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc24a7c:	54 e7 e8 fe 	rlwinm  r7,r7,29,3,31                          
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->bad_blocks      = read_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS);     
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
ffc24a80:	88 be 00 14 	lbz     r5,20(r30)                             
ffc24a84:	89 1e 00 15 	lbz     r8,21(r30)                             
ffc24a88:	88 de 00 17 	lbz     r6,23(r30)                             
ffc24a8c:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc24a90:	89 5e 00 16 	lbz     r10,22(r30)                            
ffc24a94:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc24a98:	7c a8 43 78 	or      r8,r5,r8                               
ffc24a9c:	7d 08 33 78 	or      r8,r8,r6                               
ffc24aa0:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc24aa4:	7d 0a 53 78 	or      r10,r8,r10                             
ffc24aa8:	91 5d 00 1c 	stw     r10,28(r29)                            
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
ffc24aac:	88 be 00 18 	lbz     r5,24(r30)                             
ffc24ab0:	89 1e 00 19 	lbz     r8,25(r30)                             
ffc24ab4:	88 de 00 1b 	lbz     r6,27(r30)                             
ffc24ab8:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc24abc:	89 5e 00 1a 	lbz     r10,26(r30)                            
ffc24ac0:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc24ac4:	7c a8 43 78 	or      r8,r5,r8                               
ffc24ac8:	7d 08 33 78 	or      r8,r8,r6                               
ffc24acc:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc24ad0:	7d 08 53 78 	or      r8,r8,r10                              
ffc24ad4:	91 1d 00 24 	stw     r8,36(r29)                             
    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;
ffc24ad8:	7c a9 49 d6 	mullw   r5,r9,r9                               
  }                                                                   
                                                                      
  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);   
ffc24adc:	89 7e 00 1c 	lbz     r11,28(r30)                            
ffc24ae0:	88 de 00 1d 	lbz     r6,29(r30)                             
ffc24ae4:	88 9e 00 1f 	lbz     r4,31(r30)                             
ffc24ae8:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         
ffc24aec:	89 5e 00 1e 	lbz     r10,30(r30)                            
ffc24af0:	54 c6 80 1e 	rlwinm  r6,r6,16,0,15                          
ffc24af4:	7d 66 33 78 	or      r6,r11,r6                              
ffc24af8:	7c c6 23 78 	or      r6,r6,r4                               
ffc24afc:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc24b00:	7c c6 53 78 	or      r6,r6,r10                              
ffc24b04:	90 dd 00 28 	stw     r6,40(r29)                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc24b08:	7f 86 18 40 	cmplw   cr7,r6,r3                              
ffc24b0c:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  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);   
ffc24b10:	88 1e 00 20 	lbz     r0,32(r30)                             
ffc24b14:	88 9e 00 21 	lbz     r4,33(r30)                             
ffc24b18:	89 7e 00 23 	lbz     r11,35(r30)                            
ffc24b1c:	54 00 c0 0e 	rlwinm  r0,r0,24,0,7                           
ffc24b20:	89 5e 00 22 	lbz     r10,34(r30)                            
ffc24b24:	54 84 80 1e 	rlwinm  r4,r4,16,0,15                          
ffc24b28:	7c 04 23 78 	or      r4,r0,r4                               
                                                                      
  fs->blocks_per_block =                                              
ffc24b2c:	91 3d 00 34 	stw     r9,52(r29)                             
                                                                      
  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);   
ffc24b30:	7c 84 5b 78 	or      r4,r4,r11                              
ffc24b34:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc24b38:	7c 8a 53 78 	or      r10,r4,r10                             
  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;                    
ffc24b3c:	7d 0a 41 d6 	mullw   r8,r10,r8                              
                                                                      
  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);   
ffc24b40:	91 5d 00 2c 	stw     r10,44(r29)                            
  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;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc24b44:	3d 40 24 92 	lis     r10,9362                               
ffc24b48:	61 4a 49 25 	ori     r10,r10,18725                          
  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;                    
ffc24b4c:	91 1d 00 14 	stw     r8,20(r29)                             
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc24b50:	7c e7 50 16 	mulhwu  r7,r7,r10                              
                                                                      
  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;                    
ffc24b54:	1d 29 00 05 	mulli   r9,r9,5                                
  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;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
ffc24b58:	90 fd 00 30 	stw     r7,48(r29)                             
    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;
ffc24b5c:	1d 45 00 05 	mulli   r10,r5,5                               
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
ffc24b60:	91 3d 00 38 	stw     r9,56(r29)                             
ffc24b64:	38 81 00 30 	addi    r4,r1,48                               
    fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;                    
  fs->block_map_doubly_blocks =                                       
ffc24b68:	91 5d 00 3c 	stw     r10,60(r29)                            
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
ffc24b6c:	40 9d 00 44 	ble-    cr7,ffc24bb0 <rtems_rfs_fs_open+0x5a8> <== ALWAYS TAKEN
ffc24b70:	4b ff c6 c9 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc24b74:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc24b78:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc24b7c:	91 21 00 34 	stw     r9,52(r1)                              <== 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))                       
ffc24b80:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24b84:	38 80 00 01 	li      r4,1                                   <== 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);                       
  handle->dirty = false;                                              
ffc24b88:	99 41 00 30 	stb     r10,48(r1)                             <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
    return EIO;                                                       
ffc24b8c:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc24b90:	91 21 00 38 	stw     r9,56(r1)                              <== NOT EXECUTED
                                                                      
  if (fs->group_blocks >                                              
      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))                       
ffc24b94:	4b ff 31 99 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24b98:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24b9c:	41 9e fb d0 	beq+    cr7,ffc2476c <rtems_rfs_fs_open+0x164> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
ffc24ba0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24ba4:	38 63 c9 60 	addi    r3,r3,-13984                           <== NOT EXECUTED
ffc24ba8:	48 00 51 9d 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc24bac:	4b ff fb c0 	b       ffc2476c <rtems_rfs_fs_open+0x164>     <== 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);                       
ffc24bb0:	4b ff c6 89 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  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));
ffc24bb4:	80 9d 00 08 	lwz     r4,8(r29)                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc24bb8:	3b 80 00 00 	li      r28,0                                  
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);                       
  handle->dirty = false;                                              
ffc24bbc:	39 20 00 00 	li      r9,0                                   
  handle->bnum  = 0;                                                  
ffc24bc0:	93 81 00 34 	stw     r28,52(r1)                             
ffc24bc4:	7f a3 eb 78 	mr      r3,r29                                 
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);                       
  handle->dirty = false;                                              
ffc24bc8:	99 21 00 30 	stb     r9,48(r1)                              
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc24bcc:	93 81 00 38 	stw     r28,56(r1)                             
ffc24bd0:	4b ff ce f9 	bl      ffc21ac8 <rtems_rfs_buffer_setblksize> 
  if (rc > 0)                                                         
ffc24bd4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24bd8:	40 81 00 88 	ble-    ffc24c60 <rtems_rfs_fs_open+0x658>     <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc24bdc:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc24be0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc24be4:	4b ff c6 55 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24be8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24bec:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
  handle->dirty = false;                                              
ffc24bf0:	9b 81 00 30 	stb     r28,48(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc24bf4:	93 81 00 34 	stw     r28,52(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc24bf8:	93 81 00 38 	stw     r28,56(r1)                             <== NOT EXECUTED
ffc24bfc:	4b ff 31 31 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24c00:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24c04:	41 9e fb 68 	beq+    cr7,ffc2476c <rtems_rfs_fs_open+0x164> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
ffc24c08:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24c0c:	48 00 5f 4d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24c10:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24c14:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24c18:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24c1c:	38 63 c9 a4 	addi    r3,r3,-13916                           <== NOT EXECUTED
ffc24c20:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24c24:	48 00 4d b9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24c28:	4b ff fb 44 	b       ffc2476c <rtems_rfs_fs_open+0x164>     <== 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))                       
ffc24c2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24c30:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24c34:	4b ff 30 f9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24c38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24c3c:	41 be 00 10 	beq+    cr7,ffc24c4c <rtems_rfs_fs_open+0x644> <== NOT EXECUTED
      printf ("rtems-rfs: open: no memory for file system data\n");   
ffc24c40:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24c44:	38 63 c8 0c 	addi    r3,r3,-14324                           <== NOT EXECUTED
ffc24c48:	48 00 50 fd 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
    errno = ENOMEM;                                                   
ffc24c4c:	48 00 32 f1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc24c50:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc24c54:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
    return -1;                                                        
ffc24c58:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc24c5c:	4b ff fb 40 	b       ffc2479c <rtems_rfs_fs_open+0x194>     <== 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));    
ffc24c60:	83 9d 00 24 	lwz     r28,36(r29)                            
ffc24c64:	38 80 00 50 	li      r4,80                                  
ffc24c68:	7f 83 e3 78 	mr      r3,r28                                 
ffc24c6c:	4b fe 54 ad 	bl      ffc0a118 <calloc>                      
                                                                      
  if (!fs->groups)                                                    
ffc24c70:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      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));    
ffc24c74:	90 7d 00 20 	stw     r3,32(r29)                             
ffc24c78:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  if (!fs->groups)                                                    
ffc24c7c:	41 9e 02 58 	beq-    cr7,ffc24ed4 <rtems_rfs_fs_open+0x8cc> <== NEVER TAKEN
  /*                                                                  
   * 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++)                   
ffc24c80:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc24c84:	3b 60 00 00 	li      r27,0                                  
ffc24c88:	3b 80 00 00 	li      r28,0                                  
ffc24c8c:	41 bd 00 18 	bgt+    cr7,ffc24ca4 <rtems_rfs_fs_open+0x69c> <== ALWAYS TAKEN
ffc24c90:	48 00 00 c8 	b       ffc24d58 <rtems_rfs_fs_open+0x750>     <== NOT EXECUTED
ffc24c94:	81 3d 00 24 	lwz     r9,36(r29)                             
ffc24c98:	3b 9c 00 01 	addi    r28,r28,1                              
ffc24c9c:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc24ca0:	40 9c 00 b8 	bge-    cr7,ffc24d58 <rtems_rfs_fs_open+0x750> <== ALWAYS TAKEN
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
ffc24ca4:	80 bd 00 28 	lwz     r5,40(r29)                             
   * 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,                                    
ffc24ca8:	7f a3 eb 78 	mr      r3,r29                                 
ffc24cac:	80 fd 00 20 	lwz     r7,32(r29)                             
                               rtems_rfs_fs_block (fs, group, 0),     
ffc24cb0:	7c 9c 29 d6 	mullw   r4,r28,r5                              
   * 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,                                    
ffc24cb4:	80 dd 00 2c 	lwz     r6,44(r29)                             
ffc24cb8:	7c e7 da 14 	add     r7,r7,r27                              
ffc24cbc:	38 84 00 01 	addi    r4,r4,1                                
ffc24cc0:	4b ff 05 6d 	bl      ffc1522c <rtems_rfs_group_open>        
ffc24cc4:	3b 7b 00 50 	addi    r27,r27,80                             
                               rtems_rfs_fs_block (fs, group, 0),     
                               fs->group_blocks,                      
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
ffc24cc8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24ccc:	40 81 ff c8 	ble+    ffc24c94 <rtems_rfs_fs_open+0x68c>     <== ALWAYS TAKEN
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc24cd0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              <== NOT EXECUTED
ffc24cd4:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc24cd8:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc24cdc:	41 9e 00 24 	beq-    cr7,ffc24d00 <rtems_rfs_fs_open+0x6f8> <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
ffc24ce0:	80 9d 00 20 	lwz     r4,32(r29)                             <== NOT EXECUTED
ffc24ce4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc24ce8:	3b 7b 00 01 	addi    r27,r27,1                              <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
ffc24cec:	7c 84 d2 14 	add     r4,r4,r26                              <== NOT EXECUTED
ffc24cf0:	4b ff 08 05 	bl      ffc154f4 <rtems_rfs_group_close>       <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
ffc24cf4:	7f 9b e0 00 	cmpw    cr7,r27,r28                            <== NOT EXECUTED
ffc24cf8:	3b 5a 00 50 	addi    r26,r26,80                             <== NOT EXECUTED
ffc24cfc:	40 9e ff e4 	bne+    cr7,ffc24ce0 <rtems_rfs_fs_open+0x6d8> <== 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);                       
ffc24d00:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc24d04:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc24d08:	4b ff c5 31 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc24d0c:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc24d10:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc24d14:	91 21 00 34 	stw     r9,52(r1)                              <== 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))                     
ffc24d18:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24d1c:	38 80 00 01 	li      r4,1                                   <== 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);                       
  handle->dirty = false;                                              
ffc24d20:	99 41 00 30 	stb     r10,48(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc24d24:	91 21 00 38 	stw     r9,56(r1)                              <== NOT EXECUTED
ffc24d28:	4b ff 30 05 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24d2c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24d30:	41 9e fa 3c 	beq+    cr7,ffc2476c <rtems_rfs_fs_open+0x164> <== NOT EXECUTED
        printf ("rtems-rfs: read-superblock: no memory for group table%d: %s\n",
ffc24d34:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24d38:	48 00 5e 21 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24d3c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24d40:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24d44:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24d48:	38 63 ca 20 	addi    r3,r3,-13792                           <== NOT EXECUTED
ffc24d4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24d50:	48 00 4c 8d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24d54:	4b ff fa 18 	b       ffc2476c <rtems_rfs_fs_open+0x164>     <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
ffc24d58:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc24d5c:	38 80 00 01 	li      r4,1                                   
ffc24d60:	38 a1 00 08 	addi    r5,r1,8                                
ffc24d64:	38 c0 00 01 	li      r6,1                                   
ffc24d68:	4b ff 0f 91 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc24d6c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24d70:	41 81 01 1c 	bgt-    ffc24e8c <rtems_rfs_fs_open+0x884>     <== NEVER TAKEN
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  if (((*fs)->flags & RTEMS_RFS_FS_FORCE_OPEN) == 0)                  
ffc24d74:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc24d78:	81 23 00 00 	lwz     r9,0(r3)                               
ffc24d7c:	71 2a 00 04 	andi.   r10,r9,4                               
ffc24d80:	40 82 00 30 	bne-    ffc24db0 <rtems_rfs_fs_open+0x7a8>     
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
ffc24d84:	81 21 00 14 	lwz     r9,20(r1)                              
 * @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);                    
ffc24d88:	89 09 00 02 	lbz     r8,2(r9)                               
ffc24d8c:	89 49 00 03 	lbz     r10,3(r9)                              
ffc24d90:	55 09 40 2e 	rlwinm  r9,r8,8,0,23                           
ffc24d94:	7d 29 53 78 	or      r9,r9,r10                              
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
ffc24d98:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc24d9c:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc24da0:	41 9e 00 a0 	beq-    cr7,ffc24e40 <rtems_rfs_fs_open+0x838> <== NEVER TAKEN
ffc24da4:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
ffc24da8:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc24dac:	40 9e 00 94 	bne-    cr7,ffc24e40 <rtems_rfs_fs_open+0x838> <== NEVER TAKEN
      errno = EIO;                                                    
      return -1;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
ffc24db0:	38 81 00 08 	addi    r4,r1,8                                
ffc24db4:	4b ff 11 c1 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc24db8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc24dbc:	41 81 00 3c 	bgt-    ffc24df8 <rtems_rfs_fs_open+0x7f0>     <== NEVER TAKEN
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
ffc24dc0:	48 00 31 7d 	bl      ffc27f3c <__errno>                     
  return 0;                                                           
}                                                                     
ffc24dc4:	80 01 00 64 	lwz     r0,100(r1)                             
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
ffc24dc8:	39 20 00 00 	li      r9,0                                   
  return 0;                                                           
}                                                                     
ffc24dcc:	83 41 00 48 	lwz     r26,72(r1)                             
ffc24dd0:	7c 08 03 a6 	mtlr    r0                                     
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
ffc24dd4:	91 23 00 00 	stw     r9,0(r3)                               
  return 0;                                                           
ffc24dd8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc24ddc:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc24de0:	83 81 00 50 	lwz     r28,80(r1)                             
ffc24de4:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc24de8:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc24dec:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc24df0:	38 21 00 60 	addi    r1,r1,96                               
ffc24df4:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc24df8:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24dfc:	4b ff ce 21 	bl      ffc21c1c <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc24e00:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e04:	4b fe 54 f9 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24e08:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24e0c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24e10:	4b ff 2f 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24e14:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24e18:	41 9e f9 78 	beq+    cr7,ffc24790 <rtems_rfs_fs_open+0x188> <== NOT EXECUTED
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
ffc24e1c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24e20:	48 00 5d 39 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24e24:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24e28:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24e2c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24e30:	38 63 ca ec 	addi    r3,r3,-13588                           <== NOT EXECUTED
ffc24e34:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24e38:	48 00 4b a5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24e3c:	4b ff f9 54 	b       ffc24790 <rtems_rfs_fs_open+0x188>     <== NOT EXECUTED
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
    {                                                                 
      rtems_rfs_inode_close (*fs, &inode);                            
ffc24e40:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc24e44:	4b ff 11 31 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
      rtems_rfs_buffer_close (*fs);                                   
ffc24e48:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e4c:	4b ff cd d1 	bl      ffc21c1c <rtems_rfs_buffer_close>      <== NOT EXECUTED
      free (*fs);                                                     
ffc24e50:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e54:	4b fe 54 a9 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
ffc24e58:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24e5c:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24e60:	4b ff 2e cd 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24e64:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24e68:	41 be 00 10 	beq+    cr7,ffc24e78 <rtems_rfs_fs_open+0x870> <== NOT EXECUTED
        printf ("rtems-rfs: open: invalid root inode mode\n");        
ffc24e6c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24e70:	38 63 ca c0 	addi    r3,r3,-13632                           <== NOT EXECUTED
ffc24e74:	48 00 4e d1 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
      errno = EIO;                                                    
ffc24e78:	48 00 30 c5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc24e7c:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc24e80:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
      return -1;                                                      
ffc24e84:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc24e88:	4b ff f9 14 	b       ffc2479c <rtems_rfs_fs_open+0x194>     <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
ffc24e8c:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e90:	4b ff cd 8d 	bl      ffc21c1c <rtems_rfs_buffer_close>      <== NOT EXECUTED
    free (*fs);                                                       
ffc24e94:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc24e98:	4b fe 54 65 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
ffc24e9c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24ea0:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
ffc24ea4:	4b ff 2e 89 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24ea8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc24eac:	41 9e f8 e4 	beq+    cr7,ffc24790 <rtems_rfs_fs_open+0x188> <== NOT EXECUTED
      printf ("rtems-rfs: open: reading root inode: %d: %s\n",        
ffc24eb0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc24eb4:	48 00 5c a5 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc24eb8:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc24ebc:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc24ec0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24ec4:	38 63 ca 90 	addi    r3,r3,-13680                           <== NOT EXECUTED
ffc24ec8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc24ecc:	48 00 4b 11 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc24ed0:	4b ff f8 c0 	b       ffc24790 <rtems_rfs_fs_open+0x188>     <== 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);                       
ffc24ed4:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc24ed8:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc24edc:	4b ff c3 5d 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== 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))                       
ffc24ee0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc24ee4:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
  handle->dirty = false;                                              
ffc24ee8:	9b c1 00 30 	stb     r30,48(r1)                             <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc24eec:	93 c1 00 34 	stw     r30,52(r1)                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc24ef0:	93 c1 00 38 	stw     r30,56(r1)                             <== NOT EXECUTED
ffc24ef4:	4b ff 2e 39 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc24ef8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
    return ENOMEM;                                                    
ffc24efc:	3b c0 00 0c 	li      r30,12                                 <== 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))                       
ffc24f00:	41 9e f8 6c 	beq+    cr7,ffc2476c <rtems_rfs_fs_open+0x164> <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
ffc24f04:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc24f08:	38 63 c9 e8 	addi    r3,r3,-13848                           <== NOT EXECUTED
ffc24f0c:	48 00 4e 39 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc24f10:	4b ff f8 5c 	b       ffc2476c <rtems_rfs_fs_open+0x164>     <== NOT EXECUTED
                                                                      

ffc245cc <rtems_rfs_fs_size>: #include <rtems/rfs/rtems-rfs-trace.h> uint64_t rtems_rfs_fs_size (rtems_rfs_file_system* fs) { uint64_t blocks = rtems_rfs_fs_blocks (fs);
ffc245cc:	81 23 00 04 	lwz     r9,4(r3)                               <== NOT EXECUTED
  uint64_t block_size = rtems_rfs_fs_block_size (fs);                 
ffc245d0:	81 03 00 08 	lwz     r8,8(r3)                               <== NOT EXECUTED
  return blocks * block_size;                                         
ffc245d4:	7d 48 48 16 	mulhwu  r10,r8,r9                              <== NOT EXECUTED
ffc245d8:	7d 68 49 d6 	mullw   r11,r8,r9                              <== NOT EXECUTED
}                                                                     
ffc245dc:	7d 43 53 78 	mr      r3,r10                                 <== NOT EXECUTED
ffc245e0:	7d 64 5b 78 	mr      r4,r11                                 <== NOT EXECUTED
ffc245e4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1560c <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) {
ffc1560c:	7d 80 00 26 	mfcr    r12                                    
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc15610:	2e 05 00 00 	cmpwi   cr4,r5,0                               
int                                                                   
rtems_rfs_group_bitmap_alloc (rtems_rfs_file_system* fs,              
                              rtems_rfs_bitmap_bit   goal,            
                              bool                   inode,           
                              rtems_rfs_bitmap_bit*  result)          
{                                                                     
ffc15614:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc15618:	7c 08 02 a6 	mflr    r0                                     
ffc1561c:	92 c1 00 28 	stw     r22,40(r1)                             
ffc15620:	7c d6 33 78 	mr      r22,r6                                 
ffc15624:	93 81 00 40 	stw     r28,64(r1)                             
ffc15628:	7c 7c 1b 78 	mr      r28,r3                                 
ffc1562c:	90 01 00 54 	stw     r0,84(r1)                              
ffc15630:	92 81 00 20 	stw     r20,32(r1)                             
ffc15634:	92 a1 00 24 	stw     r21,36(r1)                             
ffc15638:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc1563c:	93 01 00 30 	stw     r24,48(r1)                             
ffc15640:	93 21 00 34 	stw     r25,52(r1)                             
ffc15644:	93 41 00 38 	stw     r26,56(r1)                             
ffc15648:	93 61 00 3c 	stw     r27,60(r1)                             
ffc1564c:	93 a1 00 44 	stw     r29,68(r1)                             
ffc15650:	93 c1 00 48 	stw     r30,72(r1)                             
ffc15654:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc15658:	91 81 00 1c 	stw     r12,28(r1)                             
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
ffc1565c:	41 92 01 94 	beq-    cr4,ffc157f0 <rtems_rfs_group_bitmap_alloc+0x1e4>
  {                                                                   
    size = fs->group_inodes;                                          
ffc15660:	82 e3 00 2c 	lwz     r23,44(r3)                             
    goal -= RTEMS_RFS_ROOT_INO;                                       
ffc15664:	38 84 ff ff 	addi    r4,r4,-1                               
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
ffc15668:	7f 44 bb 96 	divwu   r26,r4,r23                             
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc1566c:	7d 3a b9 d6 	mullw   r9,r26,r23                             
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc15670:	7c 38 0b 78 	mr      r24,r1                                 
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc15674:	7c 89 20 50 	subf    r4,r9,r4                               
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc15678:	39 20 00 00 	li      r9,0                                   
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
ffc1567c:	90 81 00 08 	stw     r4,8(r1)                               
                                                                      
    /*                                                                
     * 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);                       
ffc15680:	7f 5f d3 78 	mr      r31,r26                                
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc15684:	9d 38 00 0c 	stbu    r9,12(r24)                             
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
  direction = 1;                                                      
ffc15688:	3b c0 00 01 	li      r30,1                                  
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
ffc1568c:	3b 60 00 01 	li      r27,1                                  
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
ffc15690:	3b a0 00 00 	li      r29,0                                  
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc15694:	3b 20 00 00 	li      r25,0                                  
    /*                                                                
     * 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))                    
ffc15698:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1569c:	41 9c 00 94 	blt-    cr7,ffc15730 <rtems_rfs_group_bitmap_alloc+0x124><== NEVER TAKEN
ffc156a0:	81 3c 00 24 	lwz     r9,36(r28)                             
ffc156a4:	7f 89 f8 00 	cmpw    cr7,r9,r31                             
ffc156a8:	40 9d 00 88 	ble-    cr7,ffc15730 <rtems_rfs_group_bitmap_alloc+0x124>
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc156ac:	1e 9f 00 50 	mulli   r20,r31,80                             
ffc156b0:	82 bc 00 20 	lwz     r21,32(r28)                            
ffc156b4:	7e b5 a2 14 	add     r21,r21,r20                            
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
ffc156b8:	41 92 01 28 	beq-    cr4,ffc157e0 <rtems_rfs_group_bitmap_alloc+0x1d4>
      bitmap = &fs->groups[group].inode_bitmap;                       
ffc156bc:	3a b5 00 2c 	addi    r21,r21,44                             
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
                                                                      
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
ffc156c0:	80 81 00 08 	lwz     r4,8(r1)                               
ffc156c4:	7e a3 ab 78 	mr      r3,r21                                 
ffc156c8:	7f 05 c3 78 	mr      r5,r24                                 
ffc156cc:	38 c1 00 08 	addi    r6,r1,8                                
ffc156d0:	48 00 a2 4d 	bl      ffc1f91c <rtems_rfs_bitmap_map_alloc>  
    if (rc > 0)                                                       
ffc156d4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc156d8:	41 81 00 c0 	bgt-    ffc15798 <rtems_rfs_group_bitmap_alloc+0x18c><== NEVER TAKEN
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
ffc156dc:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc156e0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc156e4:	41 82 01 14 	beq-    ffc157f8 <rtems_rfs_group_bitmap_alloc+0x1ec><== ALWAYS TAKEN
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
ffc156e8:	89 21 00 0c 	lbz     r9,12(r1)                              
ffc156ec:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc156f0:	40 9e 01 20 	bne-    cr7,ffc15810 <rtems_rfs_group_bitmap_alloc+0x204>
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
    }                                                                 
                                                                      
    if (updown)                                                       
ffc156f4:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc156f8:	41 9e 00 10 	beq-    cr7,ffc15708 <rtems_rfs_group_bitmap_alloc+0xfc><== NEVER TAKEN
      direction = direction > 0 ? -1 : 1;                             
ffc156fc:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc15700:	40 9d 01 08 	ble-    cr7,ffc15808 <rtems_rfs_group_bitmap_alloc+0x1fc><== NEVER TAKEN
ffc15704:	3b c0 ff ff 	li      r30,-1                                 
     * We can start at any location and we move out from that point in each
     * direction. The offset grows until we find a free bit or we hit an end.
     */                                                               
    group = group_start + (direction * offset);                       
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc15708:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc1570c:	9b 21 00 0c 	stb     r25,12(r1)                             
    }                                                                 
                                                                      
    if (updown)                                                       
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
ffc15710:	3b bd 00 01 	addi    r29,r29,1                              
                                                                      
    /*                                                                
     * We can start at any location and we move out from that point in each
     * direction. The offset grows until we find a free bit or we hit an end.
     */                                                               
    group = group_start + (direction * offset);                       
ffc15714:	7f fe e9 d6 	mullw   r31,r30,r29                            
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc15718:	39 20 00 00 	li      r9,0                                   
                                                                      
    /*                                                                
     * 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);                       
ffc1571c:	7f ff d2 14 	add     r31,r31,r26                            
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
ffc15720:	40 9d 00 48 	ble-    cr7,ffc15768 <rtems_rfs_group_bitmap_alloc+0x15c><== ALWAYS TAKEN
ffc15724:	91 21 00 08 	stw     r9,8(r1)                               
    /*                                                                
     * 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))                    
ffc15728:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc1572c:	40 9c ff 74 	bge+    cr7,ffc156a0 <rtems_rfs_group_bitmap_alloc+0x94>
    {                                                                 
      if (!updown)                                                    
ffc15730:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc15734:	41 9e 00 40 	beq-    cr7,ffc15774 <rtems_rfs_group_bitmap_alloc+0x168>
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc15738:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc1573c:	40 9d 00 ac 	ble-    cr7,ffc157e8 <rtems_rfs_group_bitmap_alloc+0x1dc><== ALWAYS TAKEN
ffc15740:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
    /*                                                                
     * 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)                                                       
ffc15744:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
ffc15748:	9b 21 00 0c 	stb     r25,12(r1)                             
                                                                      
    /*                                                                
     * 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);                       
ffc1574c:	7f fe e9 d6 	mullw   r31,r30,r29                            
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
ffc15750:	3b 60 00 00 	li      r27,0                                  
                                                                      
    /*                                                                
     * 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);                       
ffc15754:	7f ff d2 14 	add     r31,r31,r26                            
    if (offset)                                                       
ffc15758:	41 9e ff 40 	beq+    cr7,ffc15698 <rtems_rfs_group_bitmap_alloc+0x8c><== NEVER TAKEN
      bit = direction > 0 ? 0 : size - 1;                             
ffc1575c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc15760:	39 20 00 00 	li      r9,0                                   
ffc15764:	41 9d ff c0 	bgt+    cr7,ffc15724 <rtems_rfs_group_bitmap_alloc+0x118><== ALWAYS TAKEN
ffc15768:	39 37 ff ff 	addi    r9,r23,-1                              
ffc1576c:	91 21 00 08 	stw     r9,8(r1)                               
ffc15770:	4b ff ff b8 	b       ffc15728 <rtems_rfs_group_bitmap_alloc+0x11c>
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc15774:	38 60 00 00 	li      r3,0                                   
ffc15778:	3c 80 00 02 	lis     r4,2                                   
ffc1577c:	48 00 25 b1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15780:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15784:	41 be 00 10 	beq+    cr7,ffc15794 <rtems_rfs_group_bitmap_alloc+0x188><== ALWAYS TAKEN
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
ffc15788:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1578c:	38 63 aa 9c 	addi    r3,r3,-21860                           <== NOT EXECUTED
ffc15790:	48 01 45 b5 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
                                                                      
  return ENOSPC;                                                      
ffc15794:	38 60 00 1c 	li      r3,28                                  
}                                                                     
ffc15798:	80 01 00 54 	lwz     r0,84(r1)                              
ffc1579c:	81 81 00 1c 	lwz     r12,28(r1)                             
ffc157a0:	7c 08 03 a6 	mtlr    r0                                     
ffc157a4:	82 81 00 20 	lwz     r20,32(r1)                             
ffc157a8:	82 a1 00 24 	lwz     r21,36(r1)                             
ffc157ac:	7d 80 81 20 	mtcrf   8,r12                                  
ffc157b0:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc157b4:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc157b8:	83 01 00 30 	lwz     r24,48(r1)                             
ffc157bc:	83 21 00 34 	lwz     r25,52(r1)                             
ffc157c0:	83 41 00 38 	lwz     r26,56(r1)                             
ffc157c4:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc157c8:	83 81 00 40 	lwz     r28,64(r1)                             
ffc157cc:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc157d0:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc157d4:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc157d8:	38 21 00 50 	addi    r1,r1,80                               
ffc157dc:	4e 80 00 20 	blr                                            
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
ffc157e0:	3a b5 00 08 	addi    r21,r21,8                              
ffc157e4:	4b ff fe dc 	b       ffc156c0 <rtems_rfs_group_bitmap_alloc+0xb4>
     */                                                               
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
ffc157e8:	3b c0 00 01 	li      r30,1                                  
ffc157ec:	4b ff ff 58 	b       ffc15744 <rtems_rfs_group_bitmap_alloc+0x138>
  {                                                                   
    size = fs->group_inodes;                                          
    goal -= RTEMS_RFS_ROOT_INO;                                       
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
ffc157f0:	82 e3 00 28 	lwz     r23,40(r3)                             
ffc157f4:	4b ff fe 74 	b       ffc15668 <rtems_rfs_group_bitmap_alloc+0x5c>
    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);                   
ffc157f8:	80 95 00 00 	lwz     r4,0(r21)                              
ffc157fc:	7f 83 e3 78 	mr      r3,r28                                 
ffc15800:	48 00 ba 39 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
ffc15804:	4b ff fe e4 	b       ffc156e8 <rtems_rfs_group_bitmap_alloc+0xdc>
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
    }                                                                 
                                                                      
    if (updown)                                                       
      direction = direction > 0 ? -1 : 1;                             
ffc15808:	3b c0 00 01 	li      r30,1                                  <== NOT EXECUTED
ffc1580c:	4b ff fe fc 	b       ffc15708 <rtems_rfs_group_bitmap_alloc+0xfc><== NOT EXECUTED
    if (rtems_rfs_fs_release_bitmaps (fs))                            
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
ffc15810:	40 92 00 50 	bne-    cr4,ffc15860 <rtems_rfs_group_bitmap_alloc+0x254>
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
ffc15814:	81 3c 00 20 	lwz     r9,32(r28)                             
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc15818:	38 60 00 00 	li      r3,0                                   
ffc1581c:	3c 80 00 02 	lis     r4,2                                   
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
ffc15820:	7d 49 a0 2e 	lwzx    r10,r9,r20                             
ffc15824:	81 21 00 08 	lwz     r9,8(r1)                               
ffc15828:	7d 29 52 14 	add     r9,r9,r10                              
ffc1582c:	91 36 00 00 	stw     r9,0(r22)                              
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc15830:	48 00 24 fd 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15834:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15838:	41 9e 00 20 	beq-    cr7,ffc15858 <rtems_rfs_group_bitmap_alloc+0x24c><== ALWAYS TAKEN
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
ffc1583c:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc15840:	38 84 aa 60 	addi    r4,r4,-21920                           <== NOT EXECUTED
ffc15844:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15848:	80 b6 00 00 	lwz     r5,0(r22)                              <== NOT EXECUTED
ffc1584c:	38 63 aa 68 	addi    r3,r3,-21912                           <== NOT EXECUTED
ffc15850:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15854:	48 01 41 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
ffc15858:	38 60 00 00 	li      r3,0                                   
ffc1585c:	4b ff ff 3c 	b       ffc15798 <rtems_rfs_group_bitmap_alloc+0x18c>
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
ffc15860:	81 3c 00 2c 	lwz     r9,44(r28)                             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc15864:	38 60 00 00 	li      r3,0                                   
ffc15868:	3c 80 00 02 	lis     r4,2                                   
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
ffc1586c:	7f ff 49 d6 	mullw   r31,r31,r9                             
ffc15870:	81 21 00 08 	lwz     r9,8(r1)                               
ffc15874:	39 29 00 01 	addi    r9,r9,1                                
ffc15878:	7d 29 fa 14 	add     r9,r9,r31                              
ffc1587c:	91 36 00 00 	stw     r9,0(r22)                              
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
ffc15880:	48 00 24 ad 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15884:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15888:	41 be ff d0 	beq-    cr7,ffc15858 <rtems_rfs_group_bitmap_alloc+0x24c><== ALWAYS TAKEN
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
ffc1588c:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc15890:	38 84 aa 58 	addi    r4,r4,-21928                           <== NOT EXECUTED
ffc15894:	4b ff ff b0 	b       ffc15844 <rtems_rfs_group_bitmap_alloc+0x238><== NOT EXECUTED
                                                                      

ffc15898 <rtems_rfs_group_bitmap_free>: int rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no) {
ffc15898:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1589c:	7d 80 00 26 	mfcr    r12                                    
ffc158a0:	7c 08 02 a6 	mflr    r0                                     
ffc158a4:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc158a8:	7c 9d 23 78 	mr      r29,r4                                 
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc158ac:	3c 80 00 02 	lis     r4,2                                   
                                                                      
int                                                                   
rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs,               
                             bool                   inode,            
                             rtems_rfs_bitmap_bit   no)               
{                                                                     
ffc158b0:	93 e1 00 14 	stw     r31,20(r1)                             
ffc158b4:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc158b8:	38 60 00 00 	li      r3,0                                   
                                                                      
int                                                                   
rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs,               
                             bool                   inode,            
                             rtems_rfs_bitmap_bit   no)               
{                                                                     
ffc158bc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc158c0:	7c be 2b 78 	mr      r30,r5                                 
ffc158c4:	2e 1d 00 00 	cmpwi   cr4,r29,0                              
ffc158c8:	90 01 00 1c 	stw     r0,28(r1)                              
ffc158cc:	91 81 00 08 	stw     r12,8(r1)                              
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc158d0:	48 00 24 5d 	bl      ffc17d2c <rtems_rfs_trace>             
ffc158d4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc158d8:	41 9e 00 24 	beq-    cr7,ffc158fc <rtems_rfs_group_bitmap_free+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
ffc158dc:	40 92 00 ec 	bne-    cr4,ffc159c8 <rtems_rfs_group_bitmap_free+0x130><== NOT EXECUTED
ffc158e0:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc158e4:	38 84 aa 60 	addi    r4,r4,-21920                           <== NOT EXECUTED
ffc158e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc158ec:	38 63 aa d0 	addi    r3,r3,-21808                           <== NOT EXECUTED
ffc158f0:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc158f4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc158f8:	48 01 40 e5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc158fc:	41 92 00 68 	beq-    cr4,ffc15964 <rtems_rfs_group_bitmap_free+0xcc>
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
ffc15900:	81 3f 00 2c 	lwz     r9,44(r31)                             
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
ffc15904:	39 5e ff ff 	addi    r10,r30,-1                             
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc15908:	80 ff 00 20 	lwz     r7,32(r31)                             
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc1590c:	7d 0a 4b 96 	divwu   r8,r10,r9                              
ffc15910:	7c 88 49 d6 	mullw   r4,r8,r9                               
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc15914:	1d 08 00 50 	mulli   r8,r8,80                               
ffc15918:	7c e7 42 14 	add     r7,r7,r8                               
ffc1591c:	3b c7 00 2c 	addi    r30,r7,44                              
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15920:	7c 84 50 50 	subf    r4,r4,r10                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc15924:	7f c3 f3 78 	mr      r3,r30                                 
ffc15928:	48 00 9c d9 	bl      ffc1f600 <rtems_rfs_bitmap_map_clear>  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc1592c:	80 9e 00 00 	lwz     r4,0(r30)                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc15930:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc15934:	7f e3 fb 78 	mr      r3,r31                                 
ffc15938:	48 00 b9 01 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
                                                                      
  return rc;                                                          
}                                                                     
ffc1593c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc15940:	81 81 00 08 	lwz     r12,8(r1)                              
ffc15944:	7f a3 eb 78 	mr      r3,r29                                 
ffc15948:	7c 08 03 a6 	mtlr    r0                                     
ffc1594c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc15950:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc15954:	7d 80 81 20 	mtcrf   8,r12                                  
ffc15958:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc1595c:	38 21 00 18 	addi    r1,r1,24                               
ffc15960:	4e 80 00 20 	blr                                            
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
ffc15964:	81 3f 00 28 	lwz     r9,40(r31)                             
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
ffc15968:	39 5e ff ff 	addi    r10,r30,-1                             
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc1596c:	80 ff 00 20 	lwz     r7,32(r31)                             
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15970:	7d 0a 4b 96 	divwu   r8,r10,r9                              
ffc15974:	7c 88 49 d6 	mullw   r4,r8,r9                               
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc15978:	1d 08 00 50 	mulli   r8,r8,80                               
ffc1597c:	7c e7 42 14 	add     r7,r7,r8                               
ffc15980:	3b c7 00 08 	addi    r30,r7,8                               
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15984:	7c 84 50 50 	subf    r4,r4,r10                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc15988:	7f c3 f3 78 	mr      r3,r30                                 
ffc1598c:	48 00 9c 75 	bl      ffc1f600 <rtems_rfs_bitmap_map_clear>  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc15990:	80 9e 00 00 	lwz     r4,0(r30)                              
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
ffc15994:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc15998:	7f e3 fb 78 	mr      r3,r31                                 
ffc1599c:	48 00 b8 9d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
                                                                      
  return rc;                                                          
}                                                                     
ffc159a0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc159a4:	81 81 00 08 	lwz     r12,8(r1)                              
ffc159a8:	7f a3 eb 78 	mr      r3,r29                                 
ffc159ac:	7c 08 03 a6 	mtlr    r0                                     
ffc159b0:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc159b4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc159b8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc159bc:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc159c0:	38 21 00 18 	addi    r1,r1,24                               
ffc159c4:	4e 80 00 20 	blr                                            
  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",   
ffc159c8:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc159cc:	38 84 aa 58 	addi    r4,r4,-21928                           <== NOT EXECUTED
ffc159d0:	4b ff ff 18 	b       ffc158e8 <rtems_rfs_group_bitmap_free+0x50><== NOT EXECUTED
                                                                      

ffc159d4 <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) {
ffc159d4:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc159d8:	7d 80 00 26 	mfcr    r12                                    <== NOT EXECUTED
ffc159dc:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc159e0:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
ffc159e4:	7c 9d 23 78 	mr      r29,r4                                 <== NOT EXECUTED
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc159e8:	3c 80 00 02 	lis     r4,2                                   <== NOT EXECUTED
int                                                                   
rtems_rfs_group_bitmap_test (rtems_rfs_file_system* fs,               
                             bool                   inode,            
                             rtems_rfs_bitmap_bit   no,               
                             bool*                  state)            
{                                                                     
ffc159ec:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
ffc159f0:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc159f4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
int                                                                   
rtems_rfs_group_bitmap_test (rtems_rfs_file_system* fs,               
                             bool                   inode,            
                             rtems_rfs_bitmap_bit   no,               
                             bool*                  state)            
{                                                                     
ffc159f8:	93 81 00 10 	stw     r28,16(r1)                             <== NOT EXECUTED
ffc159fc:	7c dc 33 78 	mr      r28,r6                                 <== NOT EXECUTED
ffc15a00:	2e 1d 00 00 	cmpwi   cr4,r29,0                              <== NOT EXECUTED
ffc15a04:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc15a08:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
ffc15a0c:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
ffc15a10:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc15a14:	91 81 00 08 	stw     r12,8(r1)                              <== NOT EXECUTED
  unsigned int              group;                                    
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
ffc15a18:	48 00 23 15 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc15a1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15a20:	41 9e 00 24 	beq-    cr7,ffc15a44 <rtems_rfs_group_bitmap_test+0x70><== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
ffc15a24:	40 92 00 e8 	bne-    cr4,ffc15b0c <rtems_rfs_group_bitmap_test+0x138><== NOT EXECUTED
ffc15a28:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc15a2c:	38 84 aa 60 	addi    r4,r4,-21920                           <== NOT EXECUTED
ffc15a30:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15a34:	38 63 aa fc 	addi    r3,r3,-21764                           <== NOT EXECUTED
ffc15a38:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc15a3c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15a40:	48 01 3f 9d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
ffc15a44:	41 92 00 4c 	beq-    cr4,ffc15a90 <rtems_rfs_group_bitmap_test+0xbc><== NOT EXECUTED
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
ffc15a48:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
        return EINVAL;                                                
ffc15a4c:	3b a0 00 16 	li      r29,22                                 <== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
ffc15a50:	40 9d 00 10 	ble-    cr7,ffc15a60 <rtems_rfs_group_bitmap_test+0x8c><== NOT EXECUTED
ffc15a54:	81 3e 00 14 	lwz     r9,20(r30)                             <== NOT EXECUTED
ffc15a58:	7f 9f 48 40 	cmplw   cr7,r31,r9                             <== NOT EXECUTED
ffc15a5c:	40 9d 00 bc 	ble-    cr7,ffc15b18 <rtems_rfs_group_bitmap_test+0x144><== NOT EXECUTED
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
                                                                      
  return rc;                                                          
}                                                                     
ffc15a60:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc15a64:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc15a68:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc15a6c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15a70:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc15a74:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc15a78:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc15a7c:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc15a80:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc15a84:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc15a88:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc15a8c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
ffc15a90:	81 3e 00 04 	lwz     r9,4(r30)                              <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
        return EINVAL;                                                
ffc15a94:	3b a0 00 16 	li      r29,22                                 <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
ffc15a98:	7f 9f 48 40 	cmplw   cr7,r31,r9                             <== NOT EXECUTED
ffc15a9c:	40 9c ff c4 	bge+    cr7,ffc15a60 <rtems_rfs_group_bitmap_test+0x8c><== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
ffc15aa0:	80 9e 00 28 	lwz     r4,40(r30)                             <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc15aa4:	81 5e 00 20 	lwz     r10,32(r30)                            <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15aa8:	7d 3f 23 96 	divwu   r9,r31,r4                              <== NOT EXECUTED
ffc15aac:	7c 89 21 d6 	mullw   r4,r9,r4                               <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc15ab0:	1f 69 00 50 	mulli   r27,r9,80                              <== NOT EXECUTED
ffc15ab4:	7f 6a da 14 	add     r27,r10,r27                            <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15ab8:	7c 84 f8 50 	subf    r4,r4,r31                              <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
ffc15abc:	3b 7b 00 08 	addi    r27,r27,8                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
ffc15ac0:	7f 85 e3 78 	mr      r5,r28                                 <== NOT EXECUTED
ffc15ac4:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc15ac8:	48 00 9c 01 	bl      ffc1f6c8 <rtems_rfs_bitmap_map_test>   <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc15acc:	80 9b 00 00 	lwz     r4,0(r27)                              <== 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);                
ffc15ad0:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
ffc15ad4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15ad8:	48 00 b7 61 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
ffc15adc:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc15ae0:	81 81 00 08 	lwz     r12,8(r1)                              <== NOT EXECUTED
ffc15ae4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc15ae8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15aec:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc15af0:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc15af4:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc15af8:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc15afc:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc15b00:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc15b04:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc15b08:	4e 80 00 20 	blr                                            <== 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",   
ffc15b0c:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
ffc15b10:	38 84 aa 58 	addi    r4,r4,-21928                           <== NOT EXECUTED
ffc15b14:	4b ff ff 1c 	b       ffc15a30 <rtems_rfs_group_bitmap_test+0x5c><== NOT EXECUTED
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
ffc15b18:	81 3e 00 2c 	lwz     r9,44(r30)                             <== NOT EXECUTED
                                                                      
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
ffc15b1c:	3b ff ff ff 	addi    r31,r31,-1                             <== NOT EXECUTED
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc15b20:	81 1e 00 20 	lwz     r8,32(r30)                             <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15b24:	7d 5f 4b 96 	divwu   r10,r31,r9                             <== NOT EXECUTED
ffc15b28:	7c 8a 49 d6 	mullw   r4,r10,r9                              <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc15b2c:	1f 6a 00 50 	mulli   r27,r10,80                             <== NOT EXECUTED
ffc15b30:	7f 68 da 14 	add     r27,r8,r27                             <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
ffc15b34:	7c 84 f8 50 	subf    r4,r4,r31                              <== NOT EXECUTED
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
ffc15b38:	3b 7b 00 2c 	addi    r27,r27,44                             <== NOT EXECUTED
ffc15b3c:	4b ff ff 84 	b       ffc15ac0 <rtems_rfs_group_bitmap_test+0xec><== NOT EXECUTED
                                                                      

ffc154f4 <rtems_rfs_group_close>: return 0; } int rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group) {
ffc154f4:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc154f8:	7c 08 02 a6 	mflr    r0                                     
ffc154fc:	93 c1 00 10 	stw     r30,16(r1)                             
ffc15500:	7c 7e 1b 78 	mr      r30,r3                                 
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc15504:	38 60 00 00 	li      r3,0                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group)
{                                                                     
ffc15508:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1550c:	7c 9f 23 78 	mr      r31,r4                                 
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc15510:	3c 80 00 01 	lis     r4,1                                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group)
{                                                                     
ffc15514:	90 01 00 1c 	stw     r0,28(r1)                              
ffc15518:	93 81 00 08 	stw     r28,8(r1)                              
ffc1551c:	93 a1 00 0c 	stw     r29,12(r1)                             
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
ffc15520:	48 00 28 0d 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15524:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15528:	40 9e 00 84 	bne-    cr7,ffc155ac <rtems_rfs_group_close+0xb8><== NEVER TAKEN
  /*                                                                  
   * 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);                 
ffc1552c:	38 7f 00 2c 	addi    r3,r31,44                              
ffc15530:	48 00 a6 ad 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      
 */                                                                   
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);                       
ffc15534:	38 9f 00 44 	addi    r4,r31,68                              
ffc15538:	7c 7c 1b 78 	mr      r28,r3                                 
ffc1553c:	7f c3 f3 78 	mr      r3,r30                                 
ffc15540:	48 00 bc f9 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc15544:	39 20 00 00 	li      r9,0                                   
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);                       
  handle->dirty = false;                                              
ffc15548:	39 40 00 00 	li      r10,0                                  
  handle->bnum  = 0;                                                  
ffc1554c:	91 3f 00 48 	stw     r9,72(r31)                             
  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);                 
ffc15550:	38 7f 00 08 	addi    r3,r31,8                               
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);                       
  handle->dirty = false;                                              
ffc15554:	99 5f 00 44 	stb     r10,68(r31)                            
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc15558:	91 3f 00 4c 	stw     r9,76(r31)                             
ffc1555c:	48 00 a6 81 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      
  if (rc > 0)                                                         
ffc15560:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc15564:	40 81 00 98 	ble-    ffc155fc <rtems_rfs_group_close+0x108> <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc15568:	7f c3 f3 78 	mr      r3,r30                                 
ffc1556c:	38 9f 00 20 	addi    r4,r31,32                              
ffc15570:	48 00 bc c9 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
  rc = rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
                                                                      
  return result;                                                      
}                                                                     
ffc15574:	80 01 00 1c 	lwz     r0,28(r1)                              
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc15578:	39 20 00 00 	li      r9,0                                   
ffc1557c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc15580:	7c 08 03 a6 	mtlr    r0                                     
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);                       
  handle->dirty = false;                                              
ffc15584:	39 40 00 00 	li      r10,0                                  
ffc15588:	99 5f 00 20 	stb     r10,32(r31)                            
ffc1558c:	7f a3 eb 78 	mr      r3,r29                                 
  handle->bnum  = 0;                                                  
ffc15590:	91 3f 00 24 	stw     r9,36(r31)                             
  handle->buffer = NULL;                                              
ffc15594:	91 3f 00 28 	stw     r9,40(r31)                             
ffc15598:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1559c:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc155a0:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc155a4:	38 21 00 18 	addi    r1,r1,24                               
ffc155a8:	4e 80 00 20 	blr                                            
{                                                                     
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
    printf ("rtems-rfs: group-close: base=%" PRId32 "\n", group->base);
ffc155ac:	80 9f 00 00 	lwz     r4,0(r31)                              <== NOT EXECUTED
ffc155b0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc155b4:	38 63 aa 34 	addi    r3,r3,-21964                           <== NOT EXECUTED
ffc155b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc155bc:	48 01 44 21 	bl      ffc299dc <printf>                      <== 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);                 
ffc155c0:	38 7f 00 2c 	addi    r3,r31,44                              <== NOT EXECUTED
ffc155c4:	48 00 a6 19 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      <== 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);                       
ffc155c8:	38 9f 00 44 	addi    r4,r31,68                              <== NOT EXECUTED
ffc155cc:	7c 7c 1b 78 	mr      r28,r3                                 <== NOT EXECUTED
ffc155d0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc155d4:	48 00 bc 65 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc155d8:	39 20 00 00 	li      r9,0                                   <== 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);                       
  handle->dirty = false;                                              
ffc155dc:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc155e0:	91 3f 00 48 	stw     r9,72(r31)                             <== NOT EXECUTED
  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);                 
ffc155e4:	38 7f 00 08 	addi    r3,r31,8                               <== 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);                       
  handle->dirty = false;                                              
ffc155e8:	99 5f 00 44 	stb     r10,68(r31)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc155ec:	91 3f 00 4c 	stw     r9,76(r31)                             <== NOT EXECUTED
ffc155f0:	48 00 a5 ed 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      <== NOT EXECUTED
  if (rc > 0)                                                         
ffc155f4:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc155f8:	41 81 ff 70 	bgt+    ffc15568 <rtems_rfs_group_close+0x74>  <== NOT EXECUTED
ffc155fc:	7f 9d e0 f8 	not     r29,r28                                
ffc15600:	7f bd fe 70 	srawi   r29,r29,31                             
ffc15604:	7f 9d e8 38 	and     r29,r28,r29                            
ffc15608:	4b ff ff 60 	b       ffc15568 <rtems_rfs_group_close+0x74>  
                                                                      

ffc1522c <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) {
ffc1522c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc15230:	7c 08 02 a6 	mflr    r0                                     
ffc15234:	90 01 00 2c 	stw     r0,44(r1)                              
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc15238:	81 23 00 04 	lwz     r9,4(r3)                               
rtems_rfs_group_open (rtems_rfs_file_system* fs,                      
                      rtems_rfs_buffer_block base,                    
                      size_t                 size,                    
                      size_t                 inodes,                  
                      rtems_rfs_group*       group)                   
{                                                                     
ffc1523c:	93 61 00 14 	stw     r27,20(r1)                             
ffc15240:	7c 7b 1b 78 	mr      r27,r3                                 
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc15244:	7f 89 20 40 	cmplw   cr7,r9,r4                              
rtems_rfs_group_open (rtems_rfs_file_system* fs,                      
                      rtems_rfs_buffer_block base,                    
                      size_t                 size,                    
                      size_t                 inodes,                  
                      rtems_rfs_group*       group)                   
{                                                                     
ffc15248:	93 81 00 18 	stw     r28,24(r1)                             
ffc1524c:	7c 9c 23 78 	mr      r28,r4                                 
ffc15250:	93 01 00 08 	stw     r24,8(r1)                              
ffc15254:	93 21 00 0c 	stw     r25,12(r1)                             
ffc15258:	93 41 00 10 	stw     r26,16(r1)                             
ffc1525c:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc15260:	93 c1 00 20 	stw     r30,32(r1)                             
ffc15264:	93 e1 00 24 	stw     r31,36(r1)                             
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
ffc15268:	40 9d 01 78 	ble-    cr7,ffc153e0 <rtems_rfs_group_open+0x1b4><== NEVER TAKEN
      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))                      
ffc1526c:	7d 45 22 14 	add     r10,r5,r4                              
ffc15270:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc15274:	7c be 2b 78 	mr      r30,r5                                 
ffc15278:	7c ff 3b 78 	mr      r31,r7                                 
ffc1527c:	41 9d 00 08 	bgt-    cr7,ffc15284 <rtems_rfs_group_open+0x58><== NEVER TAKEN
    size = rtems_rfs_fs_blocks (fs) - base;                           
ffc15280:	7f c4 48 50 	subf    r30,r4,r9                              
ffc15284:	7f 9e 30 40 	cmplw   cr7,r30,r6                             
ffc15288:	7f d8 f3 78 	mr      r24,r30                                
ffc1528c:	41 9d 00 c4 	bgt-    cr7,ffc15350 <rtems_rfs_group_open+0x124><== ALWAYS TAKEN
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
ffc15290:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc15294:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15298:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
ffc1529c:	48 00 2a 91 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc152a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc152a4:	40 9e 00 c8 	bne-    cr7,ffc1536c <rtems_rfs_group_open+0x140><== NOT EXECUTED
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc152a8:	3b a0 00 00 	li      r29,0                                  
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
  group->size = size;                                                 
ffc152ac:	93 df 00 04 	stw     r30,4(r31)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc152b0:	39 20 00 00 	li      r9,0                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
ffc152b4:	93 9f 00 00 	stw     r28,0(r31)                             
      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,               
ffc152b8:	3b 3f 00 08 	addi    r25,r31,8                              
ffc152bc:	3b 5f 00 20 	addi    r26,r31,32                             
ffc152c0:	99 3f 00 20 	stb     r9,32(r31)                             
ffc152c4:	7f c6 f3 78 	mr      r6,r30                                 
ffc152c8:	7f 23 cb 78 	mr      r3,r25                                 
  handle->bnum  = 0;                                                  
ffc152cc:	93 bf 00 24 	stw     r29,36(r31)                            
ffc152d0:	7f 64 db 78 	mr      r4,r27                                 
ffc152d4:	7f 45 d3 78 	mr      r5,r26                                 
  handle->buffer = NULL;                                              
ffc152d8:	93 bf 00 28 	stw     r29,40(r31)                            
ffc152dc:	7f 87 e3 78 	mr      r7,r28                                 
ffc152e0:	48 00 a8 8d 	bl      ffc1fb6c <rtems_rfs_bitmap_open>       
                              &group->block_bitmap_buffer, size,      
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc152e4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc152e8:	40 81 01 38 	ble-    ffc15420 <rtems_rfs_group_open+0x1f4>  <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc152ec:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc152f0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc152f4:	48 00 bf 45 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc152f8:	9b bf 00 20 	stb     r29,32(r31)                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc152fc:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc15300:	93 bf 00 24 	stw     r29,36(r31)                            <== NOT EXECUTED
ffc15304:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15308:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1530c:	93 bf 00 28 	stw     r29,40(r31)                            <== NOT EXECUTED
ffc15310:	48 00 2a 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc15314:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15318:	40 9e 00 74 	bne-    cr7,ffc1538c <rtems_rfs_group_open+0x160><== NOT EXECUTED
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1531c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc15320:	7f c3 f3 78 	mr      r3,r30                                 
ffc15324:	83 01 00 08 	lwz     r24,8(r1)                              
ffc15328:	7c 08 03 a6 	mtlr    r0                                     
ffc1532c:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc15330:	83 41 00 10 	lwz     r26,16(r1)                             
ffc15334:	83 61 00 14 	lwz     r27,20(r1)                             
ffc15338:	83 81 00 18 	lwz     r28,24(r1)                             
ffc1533c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc15340:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc15344:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc15348:	38 21 00 28 	addi    r1,r1,40                               
ffc1534c:	4e 80 00 20 	blr                                            
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
ffc15350:	38 80 00 00 	li      r4,0                                   
ffc15354:	38 60 00 00 	li      r3,0                                   
ffc15358:	60 84 80 00 	ori     r4,r4,32768                            
ffc1535c:	7c d8 33 78 	mr      r24,r6                                 
ffc15360:	48 00 29 cd 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15364:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15368:	41 9e ff 40 	beq+    cr7,ffc152a8 <rtems_rfs_group_open+0x7c><== ALWAYS TAKEN
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
ffc1536c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15370:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc15374:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc15378:	7f 06 c3 78 	mr      r6,r24                                 <== NOT EXECUTED
ffc1537c:	38 63 a9 84 	addi    r3,r3,-22140                           <== NOT EXECUTED
ffc15380:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15384:	48 01 46 59 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc15388:	4b ff ff 20 	b       ffc152a8 <rtems_rfs_group_open+0x7c>   <== 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",
ffc1538c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc15390:	48 01 57 c9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15394:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc15398:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1539c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc153a0:	38 63 a9 bc 	addi    r3,r3,-22084                           <== NOT EXECUTED
ffc153a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc153a8:	48 01 46 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc153ac:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
ffc153b0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc153b4:	83 01 00 08 	lwz     r24,8(r1)                              <== NOT EXECUTED
ffc153b8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc153bc:	83 21 00 0c 	lwz     r25,12(r1)                             <== NOT EXECUTED
ffc153c0:	83 41 00 10 	lwz     r26,16(r1)                             <== NOT EXECUTED
ffc153c4:	83 61 00 14 	lwz     r27,20(r1)                             <== NOT EXECUTED
ffc153c8:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc153cc:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc153d0:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc153d4:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc153d8:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc153dc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc153e0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc153e4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc153e8:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
ffc153ec:	48 00 29 41 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
              EIO, strerror (EIO));                                   
    return EIO;                                                       
ffc153f0:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc153f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc153f8:	41 9e ff 24 	beq+    cr7,ffc1531c <rtems_rfs_group_open+0xf0><== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
ffc153fc:	38 60 00 05 	li      r3,5                                   <== NOT EXECUTED
ffc15400:	48 01 57 59 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc15404:	38 80 00 05 	li      r4,5                                   <== NOT EXECUTED
ffc15408:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc1540c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15410:	38 63 a9 44 	addi    r3,r3,-22204                           <== NOT EXECUTED
ffc15414:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15418:	48 01 45 c5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc1541c:	4b ff ff 00 	b       ffc1531c <rtems_rfs_group_open+0xf0>   <== 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,               
ffc15420:	80 ff 00 00 	lwz     r7,0(r31)                              
ffc15424:	3b 9f 00 44 	addi    r28,r31,68                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc15428:	9b bf 00 44 	stb     r29,68(r31)                            
ffc1542c:	38 7f 00 2c 	addi    r3,r31,44                              
ffc15430:	7f 64 db 78 	mr      r4,r27                                 
  handle->bnum  = 0;                                                  
ffc15434:	93 bf 00 48 	stw     r29,72(r31)                            
ffc15438:	7f 85 e3 78 	mr      r5,r28                                 
ffc1543c:	7f 06 c3 78 	mr      r6,r24                                 
  handle->buffer = NULL;                                              
ffc15440:	93 bf 00 4c 	stw     r29,76(r31)                            
ffc15444:	38 e7 00 01 	addi    r7,r7,1                                
ffc15448:	48 00 a7 25 	bl      ffc1fb6c <rtems_rfs_bitmap_open>       
                              &group->inode_bitmap_buffer, inodes,    
                              group->base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
ffc1544c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc15450:	40 81 00 78 	ble-    ffc154c8 <rtems_rfs_group_open+0x29c>  <== ALWAYS TAKEN
 */                                                                   
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);                       
ffc15454:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc15458:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1545c:	48 00 bd dd 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc15460:	9b bf 00 44 	stb     r29,68(r31)                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->inode_bitmap_buffer);  
    rtems_rfs_bitmap_close (&group->block_bitmap);                    
ffc15464:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc15468:	93 bf 00 48 	stw     r29,72(r31)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc1546c:	93 bf 00 4c 	stw     r29,76(r31)                            <== NOT EXECUTED
ffc15470:	48 00 a7 6d 	bl      ffc1fbdc <rtems_rfs_bitmap_close>      <== 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);                       
ffc15474:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc15478:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc1547c:	48 00 bd bd 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
  handle->dirty = false;                                              
ffc15480:	9b bf 00 20 	stb     r29,32(r31)                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
ffc15484:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc15488:	93 bf 00 24 	stw     r29,36(r31)                            <== NOT EXECUTED
ffc1548c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15490:	60 84 80 00 	ori     r4,r4,32768                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc15494:	93 bf 00 28 	stw     r29,40(r31)                            <== NOT EXECUTED
ffc15498:	48 00 28 95 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc1549c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc154a0:	41 9e fe 7c 	beq+    cr7,ffc1531c <rtems_rfs_group_open+0xf0><== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
ffc154a4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc154a8:	48 01 56 b1 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc154ac:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc154b0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc154b4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc154b8:	38 63 a9 f8 	addi    r3,r3,-22024                           <== NOT EXECUTED
ffc154bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc154c0:	48 01 45 1d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc154c4:	4b ff fe 58 	b       ffc1531c <rtems_rfs_group_open+0xf0>   <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
ffc154c8:	81 3b 00 00 	lwz     r9,0(r27)                              
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
ffc154cc:	3b c0 00 00 	li      r30,0                                  
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
ffc154d0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc154d4:	40 82 fe 48 	bne+    ffc1531c <rtems_rfs_group_open+0xf0>   <== NEVER TAKEN
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
ffc154d8:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc154dc:	7f 63 db 78 	mr      r3,r27                                 
ffc154e0:	48 00 bd 59 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
ffc154e4:	80 9f 00 2c 	lwz     r4,44(r31)                             
ffc154e8:	7f 63 db 78 	mr      r3,r27                                 
ffc154ec:	48 00 bd 4d 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
ffc154f0:	4b ff fe 2c 	b       ffc1531c <rtems_rfs_group_open+0xf0>   
                                                                      

ffc15b40 <rtems_rfs_group_usage>: size_t* blocks, size_t* inodes) { int g; *blocks = 0;
ffc15b40:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc15b44:	91 24 00 00 	stw     r9,0(r4)                               <== NOT EXECUTED
  *inodes = 0;                                                        
ffc15b48:	91 25 00 00 	stw     r9,0(r5)                               <== NOT EXECUTED
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc15b4c:	81 23 00 24 	lwz     r9,36(r3)                              <== NOT EXECUTED
ffc15b50:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc15b54:	40 9d 00 50 	ble-    cr7,ffc15ba4 <rtems_rfs_group_usage+0x64><== NOT EXECUTED
ffc15b58:	81 23 00 20 	lwz     r9,32(r3)                              <== NOT EXECUTED
ffc15b5c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc15b60:	80 c9 00 14 	lwz     r6,20(r9)                              <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc15b64:	39 4a 00 01 	addi    r10,r10,1                              <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc15b68:	80 e4 00 00 	lwz     r7,0(r4)                               <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
ffc15b6c:	81 09 00 18 	lwz     r8,24(r9)                              <== NOT EXECUTED
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
ffc15b70:	7c e6 3a 14 	add     r7,r6,r7                               <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
ffc15b74:	7d 08 38 50 	subf    r8,r8,r7                               <== NOT EXECUTED
ffc15b78:	91 04 00 00 	stw     r8,0(r4)                               <== 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) -              
ffc15b7c:	80 c9 00 38 	lwz     r6,56(r9)                              <== NOT EXECUTED
ffc15b80:	80 e5 00 00 	lwz     r7,0(r5)                               <== 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 +=                                                        
ffc15b84:	81 09 00 3c 	lwz     r8,60(r9)                              <== NOT EXECUTED
ffc15b88:	39 29 00 50 	addi    r9,r9,80                               <== NOT EXECUTED
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
ffc15b8c:	7c e6 3a 14 	add     r7,r6,r7                               <== 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 +=                                                        
ffc15b90:	7d 08 38 50 	subf    r8,r8,r7                               <== NOT EXECUTED
ffc15b94:	91 05 00 00 	stw     r8,0(r5)                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
ffc15b98:	81 03 00 24 	lwz     r8,36(r3)                              <== NOT EXECUTED
ffc15b9c:	7f 88 50 00 	cmpw    cr7,r8,r10                             <== NOT EXECUTED
ffc15ba0:	41 9d ff c0 	bgt+    cr7,ffc15b60 <rtems_rfs_group_usage+0x20><== 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))                             
ffc15ba4:	81 43 00 04 	lwz     r10,4(r3)                              <== NOT EXECUTED
ffc15ba8:	81 24 00 00 	lwz     r9,0(r4)                               <== NOT EXECUTED
ffc15bac:	7f 89 50 40 	cmplw   cr7,r9,r10                             <== NOT EXECUTED
ffc15bb0:	40 9d 00 08 	ble-    cr7,ffc15bb8 <rtems_rfs_group_usage+0x78><== NOT EXECUTED
ffc15bb4:	7d 49 53 78 	mr      r9,r10                                 <== NOT EXECUTED
ffc15bb8:	91 24 00 00 	stw     r9,0(r4)                               <== NOT EXECUTED
    *blocks = rtems_rfs_fs_blocks (fs);                               
  if (*inodes > rtems_rfs_fs_inodes (fs))                             
ffc15bbc:	81 43 00 14 	lwz     r10,20(r3)                             <== NOT EXECUTED
ffc15bc0:	81 25 00 00 	lwz     r9,0(r5)                               <== NOT EXECUTED
ffc15bc4:	7f 89 50 40 	cmplw   cr7,r9,r10                             <== NOT EXECUTED
ffc15bc8:	40 9d 00 08 	ble-    cr7,ffc15bd0 <rtems_rfs_group_usage+0x90><== NOT EXECUTED
ffc15bcc:	7d 49 53 78 	mr      r9,r10                                 <== NOT EXECUTED
ffc15bd0:	91 25 00 00 	stw     r9,0(r5)                               <== NOT EXECUTED
    *inodes = rtems_rfs_fs_inodes (fs);                               
                                                                      
  return 0;                                                           
}                                                                     
ffc15bd4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15bd8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc15f74 <rtems_rfs_inode_close>: } int rtems_rfs_inode_close (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc15f74:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc15f78:	7c 08 02 a6 	mflr    r0                                     
ffc15f7c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc15f80:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc15f84:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_close (rtems_rfs_file_system*  fs,                    
                       rtems_rfs_inode_handle* handle)                
{                                                                     
ffc15f88:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc15f8c:	7c 9f 23 78 	mr      r31,r4                                 
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc15f90:	3c 80 00 08 	lis     r4,8                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_close (rtems_rfs_file_system*  fs,                    
                       rtems_rfs_inode_handle* handle)                
{                                                                     
ffc15f94:	90 01 00 14 	stw     r0,20(r1)                              
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
ffc15f98:	48 00 1d 95 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15f9c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15fa0:	40 9e 00 64 	bne-    cr7,ffc16004 <rtems_rfs_inode_close+0x90><== NEVER TAKEN
    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
ffc15fa4:	7f c3 f3 78 	mr      r3,r30                                 
ffc15fa8:	7f e4 fb 78 	mr      r4,r31                                 
ffc15fac:	38 a0 00 01 	li      r5,1                                   
ffc15fb0:	4b ff fe 69 	bl      ffc15e18 <rtems_rfs_inode_unload>      
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
ffc15fb4:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc15fb8:	40 82 00 28 	bne-    ffc15fe0 <rtems_rfs_inode_close+0x6c>  <== NEVER TAKEN
ffc15fbc:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc15fc0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15fc4:	40 9d 00 1c 	ble-    cr7,ffc15fe0 <rtems_rfs_inode_close+0x6c><== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
ffc15fc8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc15fcc:	3c 80 00 08 	lis     r4,8                                   <== NOT EXECUTED
ffc15fd0:	48 00 1d 5d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
ffc15fd4:	3b c0 00 05 	li      r30,5                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
ffc15fd8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc15fdc:	40 9e 00 40 	bne-    cr7,ffc1601c <rtems_rfs_inode_close+0xa8><== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
  return rc;                                                          
}                                                                     
ffc15fe0:	80 01 00 14 	lwz     r0,20(r1)                              
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc15fe4:	39 20 00 00 	li      r9,0                                   
ffc15fe8:	91 3f 00 08 	stw     r9,8(r31)                              
  return rc;                                                          
}                                                                     
ffc15fec:	7f c3 f3 78 	mr      r3,r30                                 
ffc15ff0:	7c 08 03 a6 	mtlr    r0                                     
ffc15ff4:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc15ff8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc15ffc:	38 21 00 10 	addi    r1,r1,16                               
ffc16000:	4e 80 00 20 	blr                                            
                       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);
ffc16004:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc16008:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1600c:	38 63 ab bc 	addi    r3,r3,-21572                           <== NOT EXECUTED
ffc16010:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16014:	48 01 39 c9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc16018:	4b ff ff 8c 	b       ffc15fa4 <rtems_rfs_inode_close+0x30>  <== NOT EXECUTED
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
                                                                      
  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",       
ffc1601c:	80 9f 00 24 	lwz     r4,36(r31)                             <== NOT EXECUTED
ffc16020:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16024:	38 63 ab e0 	addi    r3,r3,-21536                           <== NOT EXECUTED
ffc16028:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1602c:	48 01 39 b1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
  return rc;                                                          
}                                                                     
ffc16030:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc16034:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc16038:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
ffc1603c:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
  return rc;                                                          
}                                                                     
ffc16040:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc16044:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc16048:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc1604c:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc16050:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc16390 <rtems_rfs_inode_create>: uint16_t mode, uint16_t links, uid_t uid, gid_t gid, rtems_rfs_ino* ino) {
ffc16390:	94 21 ff 78 	stwu    r1,-136(r1)                            
ffc16394:	7d 80 00 26 	mfcr    r12                                    
ffc16398:	7c 08 02 a6 	mflr    r0                                     
ffc1639c:	93 21 00 6c 	stw     r25,108(r1)                            
ffc163a0:	7c 79 1b 78 	mr      r25,r3                                 
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc163a4:	38 60 00 00 	li      r3,0                                   
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc163a8:	93 41 00 70 	stw     r26,112(r1)                            
ffc163ac:	7c 9a 23 78 	mr      r26,r4                                 
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc163b0:	3c 80 00 40 	lis     r4,64                                  
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc163b4:	92 c1 00 60 	stw     r22,96(r1)                             
ffc163b8:	7d 16 43 78 	mr      r22,r8                                 
ffc163bc:	92 e1 00 64 	stw     r23,100(r1)                            
ffc163c0:	7d 37 4b 78 	mr      r23,r9                                 
ffc163c4:	93 01 00 68 	stw     r24,104(r1)                            
ffc163c8:	7d 58 53 78 	mr      r24,r10                                
ffc163cc:	93 61 00 74 	stw     r27,116(r1)                            
ffc163d0:	7c fb 3b 78 	mr      r27,r7                                 
ffc163d4:	93 81 00 78 	stw     r28,120(r1)                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
ffc163d8:	57 7c 04 26 	rlwinm  r28,r27,0,16,19                        
ffc163dc:	2e 1c 60 00 	cmpwi   cr4,r28,24576                          
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
ffc163e0:	93 a1 00 7c 	stw     r29,124(r1)                            
ffc163e4:	7c bd 2b 78 	mr      r29,r5                                 
ffc163e8:	93 c1 00 80 	stw     r30,128(r1)                            
ffc163ec:	7c de 33 78 	mr      r30,r6                                 
ffc163f0:	90 01 00 8c 	stw     r0,140(r1)                             
ffc163f4:	92 a1 00 5c 	stw     r21,92(r1)                             
ffc163f8:	93 e1 00 84 	stw     r31,132(r1)                            
ffc163fc:	91 81 00 58 	stw     r12,88(r1)                             
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
ffc16400:	48 00 19 2d 	bl      ffc17d2c <rtems_rfs_trace>             
ffc16404:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16408:	41 9e 00 94 	beq-    cr7,ffc1649c <rtems_rfs_inode_create+0x10c><== ALWAYS TAKEN
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
ffc1640c:	2f 9c 40 00 	cmpwi   cr7,r28,16384                          <== NOT EXECUTED
ffc16410:	41 9e 01 58 	beq-    cr7,ffc16568 <rtems_rfs_inode_create+0x1d8><== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
ffc16414:	2f 9c 20 00 	cmpwi   cr7,r28,8192                           <== NOT EXECUTED
ffc16418:	41 9e 01 6c 	beq-    cr7,ffc16584 <rtems_rfs_inode_create+0x1f4><== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
ffc1641c:	2e 1c 60 00 	cmpwi   cr4,r28,24576                          <== NOT EXECUTED
ffc16420:	41 92 01 58 	beq-    cr4,ffc16578 <rtems_rfs_inode_create+0x1e8><== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
ffc16424:	6f 89 ff ff 	xoris   r9,r28,65535                           <== NOT EXECUTED
ffc16428:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          <== NOT EXECUTED
ffc1642c:	41 9e 01 68 	beq-    cr7,ffc16594 <rtems_rfs_inode_create+0x204><== NOT EXECUTED
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
ffc16430:	6f 89 ff ff 	xoris   r9,r28,65535                           <== NOT EXECUTED
ffc16434:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          <== NOT EXECUTED
ffc16438:	41 9e 01 68 	beq-    cr7,ffc165a0 <rtems_rfs_inode_create+0x210><== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
ffc1643c:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc16440:	3a b5 ac 48 	addi    r21,r21,-21432                         <== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
ffc16444:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16448:	38 63 ac 58 	addi    r3,r3,-21416                           <== NOT EXECUTED
ffc1644c:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc16450:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16454:	48 01 35 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc16458:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc1645c:	39 60 00 00 	li      r11,0                                  <== NOT EXECUTED
ffc16460:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
ffc16464:	41 9e 00 1c 	beq-    cr7,ffc16480 <rtems_rfs_inode_create+0xf0><== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc16468:	7c 7d 58 ae 	lbzx    r3,r29,r11                             <== 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++)                                      
ffc1646c:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc16470:	48 01 37 f9 	bl      ffc29c68 <putchar>                     <== 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++)                                      
ffc16474:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
ffc16478:	7f eb fb 78 	mr      r11,r31                                <== NOT EXECUTED
ffc1647c:	40 9e ff ec 	bne+    cr7,ffc16468 <rtems_rfs_inode_create+0xd8><== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" type:%s mode:%04x (%03o)\n", type, mode, mode & ((1 << 10) - 1));
ffc16480:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc16484:	38 63 ac 84 	addi    r3,r3,-21372                           <== NOT EXECUTED
ffc16488:	7e a4 ab 78 	mr      r4,r21                                 <== NOT EXECUTED
ffc1648c:	7f 65 db 78 	mr      r5,r27                                 <== NOT EXECUTED
ffc16490:	57 66 05 be 	clrlwi  r6,r27,22                              <== NOT EXECUTED
ffc16494:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc16498:	48 01 35 45 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
ffc1649c:	41 92 00 80 	beq-    cr4,ffc1651c <rtems_rfs_inode_create+0x18c><== NEVER TAKEN
ffc164a0:	2b 9c 60 00 	cmplwi  cr7,r28,24576                          
ffc164a4:	40 9d 00 68 	ble-    cr7,ffc1650c <rtems_rfs_inode_create+0x17c>
ffc164a8:	6f 89 ff ff 	xoris   r9,r28,65535                           
ffc164ac:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
ffc164b0:	41 9e 00 6c 	beq-    cr7,ffc1651c <rtems_rfs_inode_create+0x18c>
ffc164b4:	6f 89 ff ff 	xoris   r9,r28,65535                           
ffc164b8:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          
ffc164bc:	41 9e 00 60 	beq-    cr7,ffc1651c <rtems_rfs_inode_create+0x18c><== ALWAYS TAKEN
    case RTEMS_RFS_S_IFBLK:                                           
    case RTEMS_RFS_S_IFREG:                                           
    case RTEMS_RFS_S_IFLNK:                                           
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
ffc164c0:	3b e0 00 16 	li      r31,22                                 <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc164c4:	80 01 00 8c 	lwz     r0,140(r1)                             
ffc164c8:	7f e3 fb 78 	mr      r3,r31                                 
ffc164cc:	81 81 00 58 	lwz     r12,88(r1)                             
ffc164d0:	7c 08 03 a6 	mtlr    r0                                     
ffc164d4:	82 a1 00 5c 	lwz     r21,92(r1)                             
ffc164d8:	82 c1 00 60 	lwz     r22,96(r1)                             
ffc164dc:	7d 80 81 20 	mtcrf   8,r12                                  
ffc164e0:	82 e1 00 64 	lwz     r23,100(r1)                            
ffc164e4:	83 01 00 68 	lwz     r24,104(r1)                            
ffc164e8:	83 21 00 6c 	lwz     r25,108(r1)                            
ffc164ec:	83 41 00 70 	lwz     r26,112(r1)                            
ffc164f0:	83 61 00 74 	lwz     r27,116(r1)                            
ffc164f4:	83 81 00 78 	lwz     r28,120(r1)                            
ffc164f8:	83 a1 00 7c 	lwz     r29,124(r1)                            
ffc164fc:	83 c1 00 80 	lwz     r30,128(r1)                            
ffc16500:	83 e1 00 84 	lwz     r31,132(r1)                            
ffc16504:	38 21 00 88 	addi    r1,r1,136                              
ffc16508:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
ffc1650c:	2f 9c 20 00 	cmpwi   cr7,r28,8192                           
ffc16510:	41 9e 00 0c 	beq-    cr7,ffc1651c <rtems_rfs_inode_create+0x18c><== NEVER TAKEN
ffc16514:	2f 9c 40 00 	cmpwi   cr7,r28,16384                          
ffc16518:	40 9e ff a8 	bne+    cr7,ffc164c0 <rtems_rfs_inode_create+0x130><== NEVER TAKEN
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, parent, ino);                       
ffc1651c:	80 a1 00 90 	lwz     r5,144(r1)                             
ffc16520:	7f 23 cb 78 	mr      r3,r25                                 
ffc16524:	7f 44 d3 78 	mr      r4,r26                                 
ffc16528:	4b ff f6 b5 	bl      ffc15bdc <rtems_rfs_inode_alloc>       
  if (rc > 0)                                                         
ffc1652c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16530:	41 81 ff 94 	bgt+    ffc164c4 <rtems_rfs_inode_create+0x134>
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, *ino, &inode, true);                 
ffc16534:	81 21 00 90 	lwz     r9,144(r1)                             
ffc16538:	7f 23 cb 78 	mr      r3,r25                                 
ffc1653c:	38 a1 00 08 	addi    r5,r1,8                                
ffc16540:	80 89 00 00 	lwz     r4,0(r9)                               
ffc16544:	38 c0 00 01 	li      r6,1                                   
ffc16548:	4b ff f7 b1 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc1654c:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16550:	40 81 00 5c 	ble-    ffc165ac <rtems_rfs_inode_create+0x21c><== ALWAYS TAKEN
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
ffc16554:	81 21 00 90 	lwz     r9,144(r1)                             <== NOT EXECUTED
ffc16558:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc1655c:	80 89 00 00 	lwz     r4,0(r9)                               <== NOT EXECUTED
ffc16560:	4b ff f6 b9 	bl      ffc15c18 <rtems_rfs_inode_free>        <== NOT EXECUTED
ffc16564:	4b ff ff 60 	b       ffc164c4 <rtems_rfs_inode_create+0x134><== 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";                                                   
ffc16568:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc1656c:	3a b5 ac 3c 	addi    r21,r21,-21444                         <== NOT EXECUTED
ffc16570:	2e 1c 60 00 	cmpwi   cr4,r28,24576                          <== NOT EXECUTED
ffc16574:	4b ff fe d0 	b       ffc16444 <rtems_rfs_inode_create+0xb4> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
ffc16578:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc1657c:	3a b5 aa 60 	addi    r21,r21,-21920                         <== NOT EXECUTED
ffc16580:	4b ff fe c4 	b       ffc16444 <rtems_rfs_inode_create+0xb4> <== 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";                                                  
ffc16584:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc16588:	3a b5 ac 40 	addi    r21,r21,-21440                         <== NOT EXECUTED
ffc1658c:	2e 1c 60 00 	cmpwi   cr4,r28,24576                          <== NOT EXECUTED
ffc16590:	4b ff fe b4 	b       ffc16444 <rtems_rfs_inode_create+0xb4> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
ffc16594:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc16598:	3a b5 bb 2c 	addi    r21,r21,-17620                         <== NOT EXECUTED
ffc1659c:	4b ff fe a8 	b       ffc16444 <rtems_rfs_inode_create+0xb4> <== NOT EXECUTED
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
ffc165a0:	3e a0 ff c4 	lis     r21,-60                                <== NOT EXECUTED
ffc165a4:	3a b5 ac 50 	addi    r21,r21,-21424                         <== NOT EXECUTED
ffc165a8:	4b ff fe 9c 	b       ffc16444 <rtems_rfs_inode_create+0xb4> <== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
ffc165ac:	38 61 00 08 	addi    r3,r1,8                                
ffc165b0:	7e c4 b3 78 	mr      r4,r22                                 
ffc165b4:	7f 65 db 78 	mr      r5,r27                                 
ffc165b8:	7e e6 bb 78 	mr      r6,r23                                 
ffc165bc:	7f 07 c3 78 	mr      r7,r24                                 
ffc165c0:	4b ff fc 71 	bl      ffc16230 <rtems_rfs_inode_initialise>  
  if (rc > 0)                                                         
ffc165c4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc165c8:	41 81 00 44 	bgt-    ffc1660c <rtems_rfs_inode_create+0x27c><== NEVER TAKEN
  /*                                                                  
   * 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))                                       
ffc165cc:	2e 1c 40 00 	cmpwi   cr4,r28,16384                          
ffc165d0:	41 92 00 b4 	beq-    cr4,ffc16684 <rtems_rfs_inode_create+0x2f4>
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc165d4:	7f 23 cb 78 	mr      r3,r25                                 
ffc165d8:	7f 44 d3 78 	mr      r4,r26                                 
ffc165dc:	38 a1 00 30 	addi    r5,r1,48                               
ffc165e0:	38 c0 00 01 	li      r6,1                                   
ffc165e4:	4b ff f7 15 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc165e8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc165ec:	40 81 00 40 	ble-    ffc1662c <rtems_rfs_inode_create+0x29c><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc165f0:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc165f4:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc165f8:	4b ff fa 5d 	bl      ffc16054 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc165fc:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc16600:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc16604:	4b ff f9 71 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc16608:	4b ff fe bc 	b       ffc164c4 <rtems_rfs_inode_create+0x134><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc1660c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc16610:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc16614:	4b ff f9 61 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
ffc16618:	81 21 00 90 	lwz     r9,144(r1)                             <== NOT EXECUTED
ffc1661c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc16620:	80 89 00 00 	lwz     r4,0(r9)                               <== NOT EXECUTED
ffc16624:	4b ff f5 f5 	bl      ffc15c18 <rtems_rfs_inode_free>        <== NOT EXECUTED
ffc16628:	4b ff fe 9c 	b       ffc164c4 <rtems_rfs_inode_create+0x134><== 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);
ffc1662c:	81 21 00 90 	lwz     r9,144(r1)                             
ffc16630:	7f 23 cb 78 	mr      r3,r25                                 
ffc16634:	38 81 00 30 	addi    r4,r1,48                               
ffc16638:	80 e9 00 00 	lwz     r7,0(r9)                               
ffc1663c:	7f a5 eb 78 	mr      r5,r29                                 
ffc16640:	7f c6 f3 78 	mr      r6,r30                                 
ffc16644:	48 00 bc c1 	bl      ffc22304 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc16648:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1664c:	41 81 00 90 	bgt-    ffc166dc <rtems_rfs_inode_create+0x34c><== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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))                                       
ffc16650:	41 92 00 c8 	beq-    cr4,ffc16718 <rtems_rfs_inode_create+0x388>
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
ffc16654:	38 81 00 30 	addi    r4,r1,48                               
ffc16658:	7f 23 cb 78 	mr      r3,r25                                 
ffc1665c:	4b ff f9 19 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc16660:	38 81 00 08 	addi    r4,r1,8                                
  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);                     
  if (rc > 0)                                                         
ffc16664:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc16668:	7f 23 cb 78 	mr      r3,r25                                 
  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);                     
  if (rc > 0)                                                         
ffc1666c:	40 81 00 98 	ble-    ffc16704 <rtems_rfs_inode_create+0x374><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc16670:	4b ff f9 e5 	bl      ffc16054 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc16674:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc16678:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc1667c:	4b ff f8 f9 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc16680:	4b ff fe 44 	b       ffc164c4 <rtems_rfs_inode_create+0x134><== 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);          
ffc16684:	81 21 00 90 	lwz     r9,144(r1)                             
ffc16688:	3c a0 ff c4 	lis     r5,-60                                 
ffc1668c:	7f 23 cb 78 	mr      r3,r25                                 
ffc16690:	80 e9 00 00 	lwz     r7,0(r9)                               
ffc16694:	38 81 00 08 	addi    r4,r1,8                                
ffc16698:	38 a5 86 90 	addi    r5,r5,-31088                           
ffc1669c:	38 c0 00 01 	li      r6,1                                   
ffc166a0:	48 00 bc 65 	bl      ffc22304 <rtems_rfs_dir_add_entry>     
    if (rc == 0)                                                      
ffc166a4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc166a8:	41 82 00 0c 	beq-    ffc166b4 <rtems_rfs_inode_create+0x324><== ALWAYS TAKEN
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
    if (rc > 0)                                                       
ffc166ac:	40 81 ff 28 	ble+    ffc165d4 <rtems_rfs_inode_create+0x244><== NOT EXECUTED
ffc166b0:	4b ff ff 40 	b       ffc165f0 <rtems_rfs_inode_create+0x260><== NOT EXECUTED
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
  {                                                                   
    rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, *ino);          
    if (rc == 0)                                                      
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
ffc166b4:	3c a0 ff c4 	lis     r5,-60                                 
ffc166b8:	7f 23 cb 78 	mr      r3,r25                                 
ffc166bc:	38 81 00 08 	addi    r4,r1,8                                
ffc166c0:	38 a5 86 94 	addi    r5,r5,-31084                           
ffc166c4:	38 c0 00 02 	li      r6,2                                   
ffc166c8:	7f 47 d3 78 	mr      r7,r26                                 
ffc166cc:	48 00 bc 39 	bl      ffc22304 <rtems_rfs_dir_add_entry>     
ffc166d0:	7c 7f 1b 79 	mr.     r31,r3                                 
    if (rc > 0)                                                       
ffc166d4:	40 81 ff 00 	ble+    ffc165d4 <rtems_rfs_inode_create+0x244><== ALWAYS TAKEN
ffc166d8:	4b ff ff 18 	b       ffc165f0 <rtems_rfs_inode_create+0x260><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, *ino);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
ffc166dc:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc166e0:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc166e4:	4b ff f9 71 	bl      ffc16054 <rtems_rfs_inode_delete>      <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
ffc166e8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc166ec:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc166f0:	4b ff f8 85 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc166f4:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc166f8:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc166fc:	4b ff f8 79 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc16700:	4b ff fd c4 	b       ffc164c4 <rtems_rfs_inode_create+0x134><== NOT EXECUTED
    rtems_rfs_inode_delete (fs, &inode);                              
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16704:	4b ff f8 71 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc16708:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1670c:	41 81 fe 48 	bgt+    ffc16554 <rtems_rfs_inode_create+0x1c4><== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
ffc16710:	3b e0 00 00 	li      r31,0                                  
ffc16714:	4b ff fd b0 	b       ffc164c4 <rtems_rfs_inode_create+0x134>
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    rtems_rfs_inode_set_links (&parent_inode,                         
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
ffc16718:	81 21 00 3c 	lwz     r9,60(r1)                              
 */                                                                   
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);                  
ffc1671c:	89 09 00 00 	lbz     r8,0(r9)                               
ffc16720:	89 49 00 01 	lbz     r10,1(r9)                              
ffc16724:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc16728:	7d 0a 53 78 	or      r10,r8,r10                             
  if (links == 0xffff)                                                
ffc1672c:	6d 48 ff ff 	xoris   r8,r10,65535                           
ffc16730:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              
ffc16734:	41 9e 00 28 	beq-    cr7,ffc1675c <rtems_rfs_inode_create+0x3cc><== NEVER TAKEN
  /*                                                                  
   * If the node is a directory update the parent link count as the   
   * new directory has the '..' link that points to the parent.       
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    rtems_rfs_inode_set_links (&parent_inode,                         
ffc16738:	39 4a 00 01 	addi    r10,r10,1                              
ffc1673c:	55 4a 04 3e 	clrlwi  r10,r10,16                             
 * @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);                  
ffc16740:	55 48 c2 3e 	rlwinm  r8,r10,24,8,31                         
ffc16744:	99 09 00 00 	stb     r8,0(r9)                               
ffc16748:	81 21 00 3c 	lwz     r9,60(r1)                              
ffc1674c:	99 49 00 01 	stb     r10,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc16750:	39 20 00 01 	li      r9,1                                   
ffc16754:	99 21 00 40 	stb     r9,64(r1)                              
ffc16758:	4b ff fe fc 	b       ffc16654 <rtems_rfs_inode_create+0x2c4>
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;                                                        
ffc1675c:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc16760:	4b ff ff d8 	b       ffc16738 <rtems_rfs_inode_create+0x3a8><== NOT EXECUTED
                                                                      

ffc16054 <rtems_rfs_inode_delete>: } int rtems_rfs_inode_delete (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc16054:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc16058:	7c 08 02 a6 	mflr    r0                                     
ffc1605c:	93 c1 00 58 	stw     r30,88(r1)                             
ffc16060:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc16064:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
ffc16068:	93 e1 00 5c 	stw     r31,92(r1)                             
ffc1606c:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc16070:	3c 80 00 80 	lis     r4,128                                 
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
ffc16074:	90 01 00 64 	stw     r0,100(r1)                             
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
ffc16078:	48 00 1c b5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc1607c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc16080:	41 9e 00 2c 	beq-    cr7,ffc160ac <rtems_rfs_inode_delete+0x58><== ALWAYS TAKEN
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
ffc16084:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc16088:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc1608c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc16090:	41 9e 00 58 	beq-    cr7,ffc160e8 <rtems_rfs_inode_delete+0x94><== NOT EXECUTED
ffc16094:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc16098:	38 a5 ab 28 	addi    r5,r5,-21720                           <== NOT EXECUTED
ffc1609c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc160a0:	38 63 ac 10 	addi    r3,r3,-21488                           <== NOT EXECUTED
ffc160a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc160a8:	48 01 39 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc160ac:	81 5f 00 0c 	lwz     r10,12(r31)                            
                                                                      
int                                                                   
rtems_rfs_inode_delete (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle)               
{                                                                     
  int rc = 0;                                                         
ffc160b0:	38 60 00 00 	li      r3,0                                   
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc160b4:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc160b8:	41 9e 00 18 	beq-    cr7,ffc160d0 <rtems_rfs_inode_delete+0x7c><== NEVER TAKEN
    rtems_rfs_block_map map;                                          
                                                                      
    /*                                                                
     * Free the ino number.                                           
     */                                                               
    rc = rtems_rfs_inode_free (fs, handle->ino);                      
ffc160bc:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc160c0:	7f c3 f3 78 	mr      r3,r30                                 
ffc160c4:	4b ff fb 55 	bl      ffc15c18 <rtems_rfs_inode_free>        
    if (rc > 0)                                                       
ffc160c8:	2c 03 00 00 	cmpwi   r3,0                                   
ffc160cc:	40 81 00 28 	ble-    ffc160f4 <rtems_rfs_inode_delete+0xa0> <== ALWAYS TAKEN
      handle->loads = 0;                                              
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
  return rc;                                                          
}                                                                     
ffc160d0:	80 01 00 64 	lwz     r0,100(r1)                             
ffc160d4:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc160d8:	7c 08 03 a6 	mtlr    r0                                     
ffc160dc:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc160e0:	38 21 00 60 	addi    r1,r1,96                               
ffc160e4:	4e 80 00 20 	blr                                            
                        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",    
ffc160e8:	3c a0 ff c4 	lis     r5,-60                                 <== NOT EXECUTED
ffc160ec:	38 a5 b0 60 	addi    r5,r5,-20384                           <== NOT EXECUTED
ffc160f0:	4b ff ff ac 	b       ffc1609c <rtems_rfs_inode_delete+0x48> <== NOT EXECUTED
      return rc;                                                      
                                                                      
    /*                                                                
     * Free the blocks the inode may have attached.                   
     */                                                               
    rc = rtems_rfs_block_map_open (fs, handle, &map);                 
ffc160f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc160f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc160fc:	38 a1 00 08 	addi    r5,r1,8                                
ffc16100:	48 00 a0 91 	bl      ffc20190 <rtems_rfs_block_map_open>    
    if (rc == 0)                                                      
ffc16104:	2c 03 00 00 	cmpwi   r3,0                                   
ffc16108:	40 82 ff c8 	bne+    ffc160d0 <rtems_rfs_inode_delete+0x7c> <== NEVER TAKEN
    {                                                                 
      int rrc;                                                        
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
ffc1610c:	38 81 00 08 	addi    r4,r1,8                                
ffc16110:	7f c3 f3 78 	mr      r3,r30                                 
ffc16114:	48 00 ae c5 	bl      ffc20fd8 <rtems_rfs_block_map_free_all>
      rc = rtems_rfs_block_map_close (fs, &map);                      
ffc16118:	38 81 00 08 	addi    r4,r1,8                                
ffc1611c:	7f c3 f3 78 	mr      r3,r30                                 
ffc16120:	48 00 a2 5d 	bl      ffc2037c <rtems_rfs_block_map_close>   
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
ffc16124:	80 7f 00 0c 	lwz     r3,12(r31)                             
ffc16128:	38 80 00 ff 	li      r4,255                                 
ffc1612c:	38 a0 00 38 	li      r5,56                                  
ffc16130:	48 01 36 51 	bl      ffc29780 <memset>                      
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
ffc16134:	7f e4 fb 78 	mr      r4,r31                                 
ffc16138:	39 20 00 01 	li      r9,1                                   
ffc1613c:	9d 24 00 10 	stbu    r9,16(r4)                              
      /*                                                              
       * 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);     
ffc16140:	7f c3 f3 78 	mr      r3,r30                                 
ffc16144:	48 00 b0 f5 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
      handle->loads = 0;                                              
ffc16148:	39 40 00 00 	li      r10,0                                  
ffc1614c:	91 5f 00 24 	stw     r10,36(r31)                            
      handle->node = NULL;                                            
ffc16150:	91 5f 00 0c 	stw     r10,12(r31)                            
ffc16154:	4b ff ff 7c 	b       ffc160d0 <rtems_rfs_inode_delete+0x7c> 
                                                                      

ffc15c24 <rtems_rfs_inode_load>: } int rtems_rfs_inode_load (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
ffc15c24:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc15c28:	7c 08 02 a6 	mflr    r0                                     
ffc15c2c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc15c30:	7c 7e 1b 78 	mr      r30,r3                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc15c34:	38 60 00 00 	li      r3,0                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
ffc15c38:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc15c3c:	7c 9f 23 78 	mr      r31,r4                                 
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc15c40:	3c 80 00 10 	lis     r4,16                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
ffc15c44:	90 01 00 14 	stw     r0,20(r1)                              
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
ffc15c48:	48 00 20 e5 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15c4c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15c50:	41 9e 00 30 	beq-    cr7,ffc15c80 <rtems_rfs_inode_load+0x5c><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc15c54:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc15c58:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc15c5c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc15c60:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc15c64:	41 9e 00 50 	beq-    cr7,ffc15cb4 <rtems_rfs_inode_load+0x90><== NOT EXECUTED
ffc15c68:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc15c6c:	38 c6 ab 28 	addi    r6,r6,-21720                           <== NOT EXECUTED
ffc15c70:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15c74:	38 63 ab 2c 	addi    r3,r3,-21716                           <== NOT EXECUTED
ffc15c78:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15c7c:	48 01 3d 61 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  /*                                                                  
   * An inode does not move so once loaded no need to do again.       
   */                                                                 
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc15c80:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15c84:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15c88:	41 9e 00 38 	beq-    cr7,ffc15cc0 <rtems_rfs_inode_load+0x9c>
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc15c8c:	81 3f 00 24 	lwz     r9,36(r31)                             
                                                                      
  return 0;                                                           
ffc15c90:	38 60 00 00 	li      r3,0                                   
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
ffc15c94:	39 29 00 01 	addi    r9,r9,1                                
ffc15c98:	91 3f 00 24 	stw     r9,36(r31)                             
                                                                      
  return 0;                                                           
}                                                                     
ffc15c9c:	80 01 00 14 	lwz     r0,20(r1)                              
ffc15ca0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc15ca4:	7c 08 03 a6 	mtlr    r0                                     
ffc15ca8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc15cac:	38 21 00 10 	addi    r1,r1,16                               
ffc15cb0:	4e 80 00 20 	blr                                            
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",
ffc15cb4:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc15cb8:	38 c6 b0 60 	addi    r6,r6,-20384                           <== NOT EXECUTED
ffc15cbc:	4b ff ff b4 	b       ffc15c70 <rtems_rfs_inode_load+0x4c>   <== NOT EXECUTED
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
  {                                                                   
    int rc;                                                           
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs,&handle->buffer,         
ffc15cc0:	80 bf 00 1c 	lwz     r5,28(r31)                             
ffc15cc4:	7f c3 f3 78 	mr      r3,r30                                 
ffc15cc8:	38 9f 00 10 	addi    r4,r31,16                              
ffc15ccc:	38 c0 00 01 	li      r6,1                                   
ffc15cd0:	48 00 b7 7d 	bl      ffc2144c <rtems_rfs_buffer_handle_request>
                                          handle->block, true);       
    if (rc > 0)                                                       
ffc15cd4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc15cd8:	41 81 ff c4 	bgt+    ffc15c9c <rtems_rfs_inode_load+0x78>   <== NEVER TAKEN
      return rc;                                                      
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
ffc15cdc:	81 3f 00 18 	lwz     r9,24(r31)                             
    handle->node += handle->offset;                                   
ffc15ce0:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc15ce4:	81 29 00 1c 	lwz     r9,28(r9)                              
ffc15ce8:	1d 4a 00 38 	mulli   r10,r10,56                             
ffc15cec:	7d 49 52 14 	add     r10,r9,r10                             
ffc15cf0:	91 5f 00 0c 	stw     r10,12(r31)                            
ffc15cf4:	4b ff ff 98 	b       ffc15c8c <rtems_rfs_inode_load+0x68>   
                                                                      

ffc15cf8 <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) {
ffc15cf8:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc15cfc:	7c 08 02 a6 	mflr    r0                                     
ffc15d00:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc15d04:	7c 7d 1b 78 	mr      r29,r3                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc15d08:	38 60 00 00 	li      r3,0                                   
int                                                                   
rtems_rfs_inode_open (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_ino           ino,                    
                      rtems_rfs_inode_handle* handle,                 
                      bool                    load)                   
{                                                                     
ffc15d0c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc15d10:	7c 9f 23 78 	mr      r31,r4                                 
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc15d14:	3c 80 00 04 	lis     r4,4                                   
int                                                                   
rtems_rfs_inode_open (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_ino           ino,                    
                      rtems_rfs_inode_handle* handle,                 
                      bool                    load)                   
{                                                                     
ffc15d18:	93 81 00 08 	stw     r28,8(r1)                              
ffc15d1c:	7c dc 33 78 	mr      r28,r6                                 
ffc15d20:	93 c1 00 10 	stw     r30,16(r1)                             
ffc15d24:	7c be 2b 78 	mr      r30,r5                                 
ffc15d28:	90 01 00 1c 	stw     r0,28(r1)                              
  int group;                                                          
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
ffc15d2c:	48 00 20 01 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15d30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15d34:	40 9e 00 cc 	bne-    cr7,ffc15e00 <rtems_rfs_inode_open+0x108><== NEVER TAKEN
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
ffc15d38:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    return EINVAL;                                                    
ffc15d3c:	38 60 00 16 	li      r3,22                                  
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
ffc15d40:	40 9e 00 24 	bne-    cr7,ffc15d64 <rtems_rfs_inode_open+0x6c><== ALWAYS TAKEN
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
    rc = rtems_rfs_inode_load (fs, handle);                           
  return rc;                                                          
}                                                                     
ffc15d44:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc15d48:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc15d4c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15d50:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc15d54:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc15d58:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc15d5c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc15d60:	4e 80 00 20 	blr                                            <== 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))          
ffc15d64:	81 1d 00 14 	lwz     r8,20(r29)                             
ffc15d68:	39 5f ff ff 	addi    r10,r31,-1                             
ffc15d6c:	7f 8a 40 40 	cmplw   cr7,r10,r8                             
ffc15d70:	41 9d ff d4 	bgt+    cr7,ffc15d44 <rtems_rfs_inode_open+0x4c><== NEVER TAKEN
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
ffc15d74:	81 1d 00 2c 	lwz     r8,44(r29)                             
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
ffc15d78:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
  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;
ffc15d7c:	81 3d 00 30 	lwz     r9,48(r29)                             
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
ffc15d80:	38 60 00 00 	li      r3,0                                   
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc15d84:	7c ea 43 96 	divwu   r7,r10,r8                              
  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); 
ffc15d88:	80 dd 00 20 	lwz     r6,32(r29)                             
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
ffc15d8c:	93 fe 00 08 	stw     r31,8(r30)                             
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc15d90:	7d 07 41 d6 	mullw   r8,r7,r8                               
  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); 
ffc15d94:	1c a7 00 50 	mulli   r5,r7,80                               
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
ffc15d98:	7d 48 50 50 	subf    r10,r8,r10                             
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
ffc15d9c:	7c c6 28 2e 	lwzx    r6,r6,r5                               
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
ffc15da0:	7c ea 4b 96 	divwu   r7,r10,r9                              
ffc15da4:	7d 27 49 d6 	mullw   r9,r7,r9                               
  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;
ffc15da8:	38 c6 00 02 	addi    r6,r6,2                                
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
ffc15dac:	39 00 00 00 	li      r8,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;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
ffc15db0:	7d 49 50 50 	subf    r10,r9,r10                             
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
ffc15db4:	91 1e 00 0c 	stw     r8,12(r30)                             
  group = gino / fs->group_inodes;                                    
  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); 
ffc15db8:	7c e6 3a 14 	add     r7,r6,r7                               
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
ffc15dbc:	91 1e 00 24 	stw     r8,36(r30)                             
  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;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
ffc15dc0:	91 5e 00 20 	stw     r10,32(r30)                            
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
ffc15dc4:	90 fe 00 1c 	stw     r7,28(r30)                             
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc15dc8:	99 1e 00 10 	stb     r8,16(r30)                             
  handle->bnum  = 0;                                                  
ffc15dcc:	91 1e 00 14 	stw     r8,20(r30)                             
  handle->buffer = NULL;                                              
ffc15dd0:	91 1e 00 18 	stw     r8,24(r30)                             
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
ffc15dd4:	41 9e ff 70 	beq+    cr7,ffc15d44 <rtems_rfs_inode_open+0x4c><== NEVER TAKEN
    rc = rtems_rfs_inode_load (fs, handle);                           
  return rc;                                                          
}                                                                     
ffc15dd8:	80 01 00 1c 	lwz     r0,28(r1)                              
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
    rc = rtems_rfs_inode_load (fs, handle);                           
ffc15ddc:	7f a3 eb 78 	mr      r3,r29                                 
  return rc;                                                          
}                                                                     
ffc15de0:	83 81 00 08 	lwz     r28,8(r1)                              
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
    rc = rtems_rfs_inode_load (fs, handle);                           
ffc15de4:	7f c4 f3 78 	mr      r4,r30                                 
  return rc;                                                          
}                                                                     
ffc15de8:	7c 08 03 a6 	mtlr    r0                                     
ffc15dec:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc15df0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc15df4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc15df8:	38 21 00 18 	addi    r1,r1,24                               
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
    rc = rtems_rfs_inode_load (fs, handle);                           
ffc15dfc:	4b ff fe 28 	b       ffc15c24 <rtems_rfs_inode_load>        
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
ffc15e00:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15e04:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc15e08:	38 63 ab 60 	addi    r3,r3,-21664                           <== NOT EXECUTED
ffc15e0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15e10:	48 01 3b cd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc15e14:	4b ff ff 24 	b       ffc15d38 <rtems_rfs_inode_open+0x40>   <== NOT EXECUTED
                                                                      

ffc16158 <rtems_rfs_inode_time_stamp_now>: int rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle, bool atime, bool mtime) {
ffc16158:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1615c:	7c 08 02 a6 	mflr    r0                                     
ffc16160:	90 01 00 1c 	stw     r0,28(r1)                              
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc16164:	81 23 00 0c 	lwz     r9,12(r3)                              
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc16168:	93 e1 00 14 	stw     r31,20(r1)                             
ffc1616c:	7c 7f 1b 78 	mr      r31,r3                                 
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc16170:	2f 89 00 00 	cmpwi   cr7,r9,0                               
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc16174:	93 a1 00 0c 	stw     r29,12(r1)                             
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
    return ENXIO;                                                     
ffc16178:	38 60 00 06 	li      r3,6                                   
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
ffc1617c:	93 c1 00 10 	stw     r30,16(r1)                             
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
ffc16180:	41 9e 00 94 	beq-    cr7,ffc16214 <rtems_rfs_inode_time_stamp_now+0xbc><== NEVER TAKEN
ffc16184:	7c 9e 23 78 	mr      r30,r4                                 
    return ENXIO;                                                     
  now = time (NULL);                                                  
ffc16188:	38 60 00 00 	li      r3,0                                   
ffc1618c:	7c bd 2b 78 	mr      r29,r5                                 
ffc16190:	48 01 7b c1 	bl      ffc2dd50 <time>                        
  if (atime)                                                          
ffc16194:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
                                bool                    mtime)        
{                                                                     
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
    return ENXIO;                                                     
  now = time (NULL);                                                  
ffc16198:	7c 69 1b 78 	mr      r9,r3                                  
  if (atime)                                                          
ffc1619c:	41 9e 00 38 	beq-    cr7,ffc161d4 <rtems_rfs_inode_time_stamp_now+0x7c><== NEVER TAKEN
 */                                                                   
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);                  
ffc161a0:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161a4:	54 68 46 3e 	rlwinm  r8,r3,8,24,31                          
ffc161a8:	54 67 84 3e 	rlwinm  r7,r3,16,16,31                         
ffc161ac:	99 0a 00 10 	stb     r8,16(r10)                             
ffc161b0:	54 68 c2 3e 	rlwinm  r8,r3,24,8,31                          
ffc161b4:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161b8:	98 ea 00 11 	stb     r7,17(r10)                             
ffc161bc:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161c0:	99 0a 00 12 	stb     r8,18(r10)                             
ffc161c4:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161c8:	98 6a 00 13 	stb     r3,19(r10)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc161cc:	39 40 00 01 	li      r10,1                                  
ffc161d0:	99 5f 00 10 	stb     r10,16(r31)                            
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
ffc161d4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
ffc161d8:	38 60 00 00 	li      r3,0                                   
  if (!rtems_rfs_inode_is_loaded (handle))                            
    return ENXIO;                                                     
  now = time (NULL);                                                  
  if (atime)                                                          
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
ffc161dc:	41 9e 00 38 	beq-    cr7,ffc16214 <rtems_rfs_inode_time_stamp_now+0xbc><== NEVER TAKEN
 */                                                                   
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);                  
ffc161e0:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161e4:	55 28 46 3e 	rlwinm  r8,r9,8,24,31                          
ffc161e8:	55 27 84 3e 	rlwinm  r7,r9,16,16,31                         
ffc161ec:	99 0a 00 14 	stb     r8,20(r10)                             
ffc161f0:	55 28 c2 3e 	rlwinm  r8,r9,24,8,31                          
ffc161f4:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc161f8:	98 ea 00 15 	stb     r7,21(r10)                             
ffc161fc:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc16200:	99 0a 00 16 	stb     r8,22(r10)                             
ffc16204:	81 5f 00 0c 	lwz     r10,12(r31)                            
ffc16208:	99 2a 00 17 	stb     r9,23(r10)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1620c:	39 20 00 01 	li      r9,1                                   
ffc16210:	99 3f 00 10 	stb     r9,16(r31)                             
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
}                                                                     
ffc16214:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc16218:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc1621c:	7c 08 03 a6 	mtlr    r0                                     
ffc16220:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc16224:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc16228:	38 21 00 18 	addi    r1,r1,24                               
ffc1622c:	4e 80 00 20 	blr                                            
                                                                      

ffc15e18 <rtems_rfs_inode_unload>: int rtems_rfs_inode_unload (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle, bool update_ctime) {
ffc15e18:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc15e1c:	7c 08 02 a6 	mflr    r0                                     
ffc15e20:	93 c1 00 10 	stw     r30,16(r1)                             
ffc15e24:	7c 7e 1b 78 	mr      r30,r3                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc15e28:	38 60 00 00 	li      r3,0                                   
                                                                      
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
ffc15e2c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc15e30:	7c 9f 23 78 	mr      r31,r4                                 
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc15e34:	3c 80 00 20 	lis     r4,32                                  
                                                                      
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
ffc15e38:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc15e3c:	7c bd 2b 78 	mr      r29,r5                                 
ffc15e40:	90 01 00 1c 	stw     r0,28(r1)                              
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
ffc15e44:	48 00 1e e9 	bl      ffc17d2c <rtems_rfs_trace>             
ffc15e48:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc15e4c:	41 9e 00 30 	beq-    cr7,ffc15e7c <rtems_rfs_inode_unload+0x64><== ALWAYS TAKEN
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
ffc15e50:	81 3f 00 0c 	lwz     r9,12(r31)                             <== NOT EXECUTED
ffc15e54:	80 9f 00 08 	lwz     r4,8(r31)                              <== NOT EXECUTED
ffc15e58:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc15e5c:	80 bf 00 24 	lwz     r5,36(r31)                             <== NOT EXECUTED
ffc15e60:	41 9e 00 c8 	beq-    cr7,ffc15f28 <rtems_rfs_inode_unload+0x110><== NOT EXECUTED
ffc15e64:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc15e68:	38 c6 ab 28 	addi    r6,r6,-21720                           <== NOT EXECUTED
ffc15e6c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc15e70:	38 63 ab 84 	addi    r3,r3,-21628                           <== NOT EXECUTED
ffc15e74:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc15e78:	48 01 3b 65 	bl      ffc299dc <printf>                      <== NOT EXECUTED
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
ffc15e7c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15e80:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15e84:	41 9e 00 40 	beq-    cr7,ffc15ec4 <rtems_rfs_inode_unload+0xac>
  {                                                                   
    if (handle->loads == 0)                                           
ffc15e88:	81 5f 00 24 	lwz     r10,36(r31)                            
      return EIO;                                                     
ffc15e8c:	38 60 00 05 	li      r3,5                                   
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
ffc15e90:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc15e94:	40 9e 00 20 	bne-    cr7,ffc15eb4 <rtems_rfs_inode_unload+0x9c><== ALWAYS TAKEN
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15e98:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc15e9c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc15ea0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc15ea4:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc15ea8:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc15eac:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc15eb0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc15eb4:	39 4a ff ff 	addi    r10,r10,-1                             
                                                                      
    if (handle->loads == 0)                                           
ffc15eb8:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
ffc15ebc:	91 5f 00 24 	stw     r10,36(r31)                            
                                                                      
    if (handle->loads == 0)                                           
ffc15ec0:	41 9e 00 24 	beq-    cr7,ffc15ee4 <rtems_rfs_inode_unload+0xcc>
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15ec4:	80 01 00 1c 	lwz     r0,28(r1)                              
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
ffc15ec8:	38 60 00 00 	li      r3,0                                   
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15ecc:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc15ed0:	7c 08 03 a6 	mtlr    r0                                     
ffc15ed4:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc15ed8:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc15edc:	38 21 00 18 	addi    r1,r1,24                               
ffc15ee0:	4e 80 00 20 	blr                                            
    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)   
ffc15ee4:	89 3f 00 10 	lbz     r9,16(r31)                             
ffc15ee8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc15eec:	41 9e 00 0c 	beq-    cr7,ffc15ef8 <rtems_rfs_inode_unload+0xe0>
ffc15ef0:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc15ef4:	40 9e 00 40 	bne-    cr7,ffc15f34 <rtems_rfs_inode_unload+0x11c><== ALWAYS TAKEN
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
ffc15ef8:	7f c3 f3 78 	mr      r3,r30                                 
ffc15efc:	38 9f 00 10 	addi    r4,r31,16                              
ffc15f00:	48 00 b3 39 	bl      ffc21238 <rtems_rfs_buffer_handle_release>
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15f04:	80 01 00 1c 	lwz     r0,28(r1)                              
       * 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));              
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
      handle->node = NULL;                                            
ffc15f08:	39 40 00 00 	li      r10,0                                  
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15f0c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc15f10:	7c 08 03 a6 	mtlr    r0                                     
       * 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));              
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
      handle->node = NULL;                                            
ffc15f14:	91 5f 00 0c 	stw     r10,12(r31)                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
ffc15f18:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc15f1c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc15f20:	38 21 00 18 	addi    r1,r1,24                               
ffc15f24:	4e 80 00 20 	blr                                            
                        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",
ffc15f28:	3c c0 ff c4 	lis     r6,-60                                 <== NOT EXECUTED
ffc15f2c:	38 c6 b0 60 	addi    r6,r6,-20384                           <== NOT EXECUTED
ffc15f30:	4b ff ff 3c 	b       ffc15e6c <rtems_rfs_inode_unload+0x54> <== 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));              
ffc15f34:	38 60 00 00 	li      r3,0                                   
ffc15f38:	48 01 7e 19 	bl      ffc2dd50 <time>                        
 */                                                                   
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);                  
ffc15f3c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15f40:	54 6a 46 3e 	rlwinm  r10,r3,8,24,31                         
ffc15f44:	99 49 00 18 	stb     r10,24(r9)                             
ffc15f48:	54 68 84 3e 	rlwinm  r8,r3,16,16,31                         
ffc15f4c:	54 6a c2 3e 	rlwinm  r10,r3,24,8,31                         
ffc15f50:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15f54:	99 09 00 19 	stb     r8,25(r9)                              
ffc15f58:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15f5c:	99 49 00 1a 	stb     r10,26(r9)                             
ffc15f60:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc15f64:	98 69 00 1b 	stb     r3,27(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc15f68:	39 20 00 01 	li      r9,1                                   
ffc15f6c:	99 3f 00 10 	stb     r9,16(r31)                             
ffc15f70:	4b ff ff 88 	b       ffc15ef8 <rtems_rfs_inode_unload+0xe0> 
                                                                      

ffc24fbc <rtems_rfs_link>: const char* name, int length, rtems_rfs_ino parent, rtems_rfs_ino target, bool link_dir) {
ffc24fbc:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc24fc0:	7c 08 02 a6 	mflr    r0                                     
ffc24fc4:	93 01 00 58 	stw     r24,88(r1)                             
ffc24fc8:	7c 98 23 78 	mr      r24,r4                                 
  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))                         
ffc24fcc:	3c 80 01 00 	lis     r4,256                                 
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc24fd0:	93 c1 00 70 	stw     r30,112(r1)                            
ffc24fd4:	7c 7e 1b 78 	mr      r30,r3                                 
  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))                         
ffc24fd8:	38 60 00 00 	li      r3,0                                   
                const char*            name,                          
                int                    length,                        
                rtems_rfs_ino          parent,                        
                rtems_rfs_ino          target,                        
                bool                   link_dir)                      
{                                                                     
ffc24fdc:	93 21 00 5c 	stw     r25,92(r1)                             
ffc24fe0:	7d 19 43 78 	mr      r25,r8                                 
ffc24fe4:	93 41 00 60 	stw     r26,96(r1)                             
ffc24fe8:	7c da 33 78 	mr      r26,r6                                 
ffc24fec:	93 61 00 64 	stw     r27,100(r1)                            
ffc24ff0:	7c bb 2b 78 	mr      r27,r5                                 
ffc24ff4:	93 81 00 68 	stw     r28,104(r1)                            
ffc24ff8:	7c fc 3b 78 	mr      r28,r7                                 
ffc24ffc:	90 01 00 7c 	stw     r0,124(r1)                             
ffc25000:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc25004:	93 e1 00 74 	stw     r31,116(r1)                            
  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))                         
ffc25008:	4b ff 2d 25 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2500c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25010:	40 9e 01 20 	bne-    cr7,ffc25130 <rtems_rfs_link+0x174>    <== NEVER TAKEN
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
ffc25014:	7f c3 f3 78 	mr      r3,r30                                 
ffc25018:	7f 84 e3 78 	mr      r4,r28                                 
ffc2501c:	38 a1 00 08 	addi    r5,r1,8                                
ffc25020:	38 c0 00 01 	li      r6,1                                   
ffc25024:	4b ff 0c d5 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc25028:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc2502c:	40 82 00 d0 	bne-    ffc250fc <rtems_rfs_link+0x140>        <== NEVER TAKEN
                                                                      
  /*                                                                  
   * 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)))
ffc25030:	2f 99 00 00 	cmpwi   cr7,r25,0                              
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc25034:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
  /*                                                                  
   * 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)))
ffc25038:	40 9e 00 18 	bne-    cr7,ffc25050 <rtems_rfs_link+0x94>     <== NEVER TAKEN
ffc2503c:	81 21 00 14 	lwz     r9,20(r1)                              
ffc25040:	89 29 00 02 	lbz     r9,2(r9)                               
ffc25044:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc25048:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc2504c:	41 9e 01 3c 	beq-    cr7,ffc25188 <rtems_rfs_link+0x1cc>    <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc25050:	7f 44 d3 78 	mr      r4,r26                                 
ffc25054:	38 a1 00 30 	addi    r5,r1,48                               
ffc25058:	38 c0 00 01 	li      r6,1                                   
ffc2505c:	4b ff 0c 9d 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc25060:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc25064:	7f c3 f3 78 	mr      r3,r30                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc)                                                             
ffc25068:	40 82 00 8c 	bne-    ffc250f4 <rtems_rfs_link+0x138>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
ffc2506c:	38 81 00 30 	addi    r4,r1,48                               
ffc25070:	7f 05 c3 78 	mr      r5,r24                                 
ffc25074:	7f 66 db 78 	mr      r6,r27                                 
ffc25078:	7f 87 e3 78 	mr      r7,r28                                 
ffc2507c:	4b ff d2 89 	bl      ffc22304 <rtems_rfs_dir_add_entry>     
  if (rc > 0)                                                         
ffc25080:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc25084:	41 81 00 f8 	bgt-    ffc2517c <rtems_rfs_link+0x1c0>        <== NEVER TAKEN
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode) + 1;              
ffc25088:	81 21 00 14 	lwz     r9,20(r1)                              
 */                                                                   
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);                  
ffc2508c:	89 49 00 00 	lbz     r10,0(r9)                              
ffc25090:	89 09 00 01 	lbz     r8,1(r9)                               
ffc25094:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc25098:	7d 4a 43 78 	or      r10,r10,r8                             
  if (links == 0xffff)                                                
ffc2509c:	6d 48 ff ff 	xoris   r8,r10,65535                           
ffc250a0:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              
ffc250a4:	41 9e 01 44 	beq-    cr7,ffc251e8 <rtems_rfs_link+0x22c>    <== NEVER TAKEN
ffc250a8:	39 4a 00 01 	addi    r10,r10,1                              
ffc250ac:	55 4a 04 3e 	clrlwi  r10,r10,16                             
ffc250b0:	55 48 c2 3e 	rlwinm  r8,r10,24,8,31                         
ffc250b4:	55 4a 06 3e 	clrlwi  r10,r10,24                             
 * @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);                  
ffc250b8:	99 09 00 00 	stb     r8,0(r9)                               
  rtems_rfs_inode_set_links (&target_inode, links);                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc250bc:	38 80 00 01 	li      r4,1                                   
ffc250c0:	38 61 00 30 	addi    r3,r1,48                               
ffc250c4:	81 21 00 14 	lwz     r9,20(r1)                              
ffc250c8:	38 a0 00 01 	li      r5,1                                   
ffc250cc:	99 49 00 01 	stb     r10,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc250d0:	39 20 00 01 	li      r9,1                                   
ffc250d4:	99 21 00 18 	stb     r9,24(r1)                              
ffc250d8:	4b ff 10 81 	bl      ffc16158 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc250dc:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc250e0:	38 81 00 30 	addi    r4,r1,48                               
ffc250e4:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
  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);    
  if (rc > 0)                                                         
ffc250e8:	40 81 00 e0 	ble-    ffc251c8 <rtems_rfs_link+0x20c>        <== ALWAYS TAKEN
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc250ec:	4b ff 0e 89 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc250f0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc250f4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc250f8:	4b ff 0e 7d 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc250fc:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc25100:	7f e3 fb 78 	mr      r3,r31                                 
ffc25104:	83 01 00 58 	lwz     r24,88(r1)                             
ffc25108:	7c 08 03 a6 	mtlr    r0                                     
ffc2510c:	83 21 00 5c 	lwz     r25,92(r1)                             
ffc25110:	83 41 00 60 	lwz     r26,96(r1)                             
ffc25114:	83 61 00 64 	lwz     r27,100(r1)                            
ffc25118:	83 81 00 68 	lwz     r28,104(r1)                            
ffc2511c:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc25120:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc25124:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc25128:	38 21 00 78 	addi    r1,r1,120                              
ffc2512c:	4e 80 00 20 	blr                                            
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_LINK))                         
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
ffc25130:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25134:	38 63 cb 30 	addi    r3,r3,-13520                           <== NOT EXECUTED
ffc25138:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc2513c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25140:	48 00 48 9d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc25144:	2f 9b 00 00 	cmpwi   cr7,r27,0                              <== NOT EXECUTED
#include <rtems/rfs/rtems-rfs-dir.h>                                  
#include <rtems/rfs/rtems-rfs-dir-hash.h>                             
#include <rtems/rfs/rtems-rfs-link.h>                                 
                                                                      
int                                                                   
rtems_rfs_link (rtems_rfs_file_system* fs,                            
ffc25148:	3b f8 ff ff 	addi    r31,r24,-1                             <== NOT EXECUTED
ffc2514c:	7f bf da 14 	add     r29,r31,r27                            <== 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++)                                      
ffc25150:	40 9d 00 14 	ble-    cr7,ffc25164 <rtems_rfs_link+0x1a8>    <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc25154:	8c 7f 00 01 	lbzu    r3,1(r31)                              <== NOT EXECUTED
ffc25158:	48 00 4b 11 	bl      ffc29c68 <putchar>                     <== 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++)                                      
ffc2515c:	7f 9f e8 00 	cmpw    cr7,r31,r29                            <== NOT EXECUTED
ffc25160:	40 9e ff f4 	bne+    cr7,ffc25154 <rtems_rfs_link+0x198>    <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
ffc25164:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25168:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc2516c:	38 63 cb 78 	addi    r3,r3,-13448                           <== NOT EXECUTED
ffc25170:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25174:	48 00 48 69 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25178:	4b ff fe 9c 	b       ffc25014 <rtems_rfs_link+0x58>         <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
ffc2517c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25180:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc25184:	4b ff ff 68 	b       ffc250ec <rtems_rfs_link+0x130>        <== 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);                        
ffc25188:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc2518c:	4b ff 0d e9 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc25190:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
   * 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);                        
    return ENOTSUP;                                                   
ffc25194:	3b e0 00 86 	li      r31,134                                <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
                                                                      
  return rc;                                                          
}                                                                     
ffc25198:	83 01 00 58 	lwz     r24,88(r1)                             <== NOT EXECUTED
ffc2519c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc251a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc251a4:	83 21 00 5c 	lwz     r25,92(r1)                             <== NOT EXECUTED
ffc251a8:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc251ac:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc251b0:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc251b4:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc251b8:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc251bc:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc251c0:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc251c4:	4e 80 00 20 	blr                                            <== 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);                     
ffc251c8:	4b ff 0d ad 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc251cc:	38 81 00 08 	addi    r4,r1,8                                
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
  if (rc > 0)                                                         
ffc251d0:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc251d4:	7f c3 f3 78 	mr      r3,r30                                 
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
  if (rc > 0)                                                         
ffc251d8:	41 81 ff 20 	bgt+    ffc250f8 <rtems_rfs_link+0x13c>        <== NEVER TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
ffc251dc:	4b ff 0d 99 	bl      ffc15f74 <rtems_rfs_inode_close>       
ffc251e0:	7c 7f 1b 78 	mr      r31,r3                                 
ffc251e4:	4b ff ff 18 	b       ffc250fc <rtems_rfs_link+0x140>        
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)                                                
ffc251e8:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc251ec:	39 00 00 00 	li      r8,0                                   <== NOT EXECUTED
ffc251f0:	4b ff fe c8 	b       ffc250b8 <rtems_rfs_link+0xfc>         <== NOT EXECUTED
                                                                      

ffc25b94 <rtems_rfs_mutex_create>: RTEMS_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL) #endif int rtems_rfs_mutex_create (rtems_rfs_mutex* mutex) {
ffc25b94:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc25b98:	7c 08 02 a6 	mflr    r0                                     
ffc25b9c:	7c 67 1b 78 	mr      r7,r3                                  
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc25ba0:	3c 60 52 46 	lis     r3,21062                               
   RTEMS_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)  
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc25ba4:	93 c1 00 08 	stw     r30,8(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc25ba8:	60 63 53 6d 	ori     r3,r3,21357                            
ffc25bac:	38 80 00 01 	li      r4,1                                   
   RTEMS_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)  
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc25bb0:	93 e1 00 0c 	stw     r31,12(r1)                             
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc25bb4:	38 a0 00 54 	li      r5,84                                  
ffc25bb8:	38 c0 00 00 	li      r6,0                                   
   RTEMS_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)  
#endif                                                                
                                                                      
int                                                                   
rtems_rfs_mutex_create (rtems_rfs_mutex* mutex)                       
{                                                                     
ffc25bbc:	90 01 00 14 	stw     r0,20(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
ffc25bc0:	4b fe 9f 09 	bl      ffc0fac8 <rtems_semaphore_create>      
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc25bc4:	3b e0 00 00 	li      r31,0                                  
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
                               1, RTEMS_RFS_MUTEX_ATTRIBS, 0,         
                               mutex);                                
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25bc8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25bcc:	40 82 00 20 	bne-    ffc25bec <rtems_rfs_mutex_create+0x58> <== NEVER TAKEN
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc25bd0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc25bd4:	7f e3 fb 78 	mr      r3,r31                                 
ffc25bd8:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc25bdc:	7c 08 03 a6 	mtlr    r0                                     
ffc25be0:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc25be4:	38 21 00 10 	addi    r1,r1,16                               
ffc25be8:	4e 80 00 20 	blr                                            
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
                               1, RTEMS_RFS_MUTEX_ATTRIBS, 0,         
                               mutex);                                
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc25bec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25bf0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc25bf4:	4b ff 21 39 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc25bf8:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
  sc = rtems_semaphore_create (rtems_build_name ('R', 'F', 'S', 'm'), 
                               1, RTEMS_RFS_MUTEX_ATTRIBS, 0,         
                               mutex);                                
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc25bfc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25c00:	41 9e ff d0 	beq+    cr7,ffc25bd0 <rtems_rfs_mutex_create+0x3c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
ffc25c04:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25c08:	4b ff 64 0d 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc25c0c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc25c10:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25c14:	38 63 cd 60 	addi    r3,r3,-12960                           <== NOT EXECUTED
ffc25c18:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25c1c:	48 00 3d c1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc25c20:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc25c24:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25c28:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc25c2c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25c30:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc25c34:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc25c38:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc25c3c <rtems_rfs_mutex_destroy>: int rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex) {
ffc25c3c:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc25c40:	7c 08 02 a6 	mflr    r0                                     
ffc25c44:	90 01 00 14 	stw     r0,20(r1)                              
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc25c48:	80 63 00 00 	lwz     r3,0(r3)                               
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex)                      
{                                                                     
ffc25c4c:	93 c1 00 08 	stw     r30,8(r1)                              
ffc25c50:	93 e1 00 0c 	stw     r31,12(r1)                             
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
ffc25c54:	4b fe a0 95 	bl      ffc0fce8 <rtems_semaphore_delete>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25c58:	7c 7e 1b 79 	mr.     r30,r3                                 
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
ffc25c5c:	3b e0 00 00 	li      r31,0                                  
rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex)                      
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25c60:	40 82 00 20 	bne-    ffc25c80 <rtems_rfs_mutex_destroy+0x44><== NEVER TAKEN
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc25c64:	80 01 00 14 	lwz     r0,20(r1)                              
ffc25c68:	7f e3 fb 78 	mr      r3,r31                                 
ffc25c6c:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc25c70:	7c 08 03 a6 	mtlr    r0                                     
ffc25c74:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc25c78:	38 21 00 10 	addi    r1,r1,16                               
ffc25c7c:	4e 80 00 20 	blr                                            
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc25c80:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25c84:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc25c88:	4b ff 20 a5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
              rtems_status_text (sc));                                
    return EIO;                                                       
ffc25c8c:	3b e0 00 05 	li      r31,5                                  <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc25c90:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25c94:	41 9e ff d0 	beq+    cr7,ffc25c64 <rtems_rfs_mutex_destroy+0x28><== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
ffc25c98:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25c9c:	4b ff 63 79 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc25ca0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc25ca4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25ca8:	38 63 cd 84 	addi    r3,r3,-12924                           <== NOT EXECUTED
ffc25cac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25cb0:	48 00 3d 2d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
ffc25cb4:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc25cb8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25cbc:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc25cc0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25cc4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc25cc8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc25ccc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc20fe0 <rtems_rfs_release_chain>: static int rtems_rfs_release_chain (rtems_chain_control* chain, uint32_t* count, bool modified) {
ffc20fe0:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc20fe4:	7c 08 02 a6 	mflr    r0                                     
ffc20fe8:	93 c1 00 18 	stw     r30,24(r1)                             
ffc20fec:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc20ff0:	38 80 00 80 	li      r4,128                                 
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc20ff4:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc20ff8:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc20ffc:	38 60 00 00 	li      r3,0                                   
                                                                      
static int                                                            
rtems_rfs_release_chain (rtems_chain_control* chain,                  
                         uint32_t*            count,                  
                         bool                 modified)               
{                                                                     
ffc21000:	93 41 00 08 	stw     r26,8(r1)                              
ffc21004:	7c ba 2b 78 	mr      r26,r5                                 
ffc21008:	90 01 00 24 	stw     r0,36(r1)                              
ffc2100c:	93 61 00 0c 	stw     r27,12(r1)                             
ffc21010:	93 81 00 10 	stw     r28,16(r1)                             
ffc21014:	93 a1 00 14 	stw     r29,20(r1)                             
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc21018:	4b ff 6d 15 	bl      ffc17d2c <rtems_rfs_trace>             
ffc2101c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21020:	40 9e 00 8c 	bne-    cr7,ffc210ac <rtems_rfs_release_chain+0xcc><== NEVER TAKEN
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
ffc21024:	3b a0 00 00 	li      r29,0                                  
ffc21028:	3b 9f 00 04 	addi    r28,r31,4                              
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
ffc2102c:	3b 60 00 00 	li      r27,0                                  
  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))                               
ffc21030:	81 3f 00 00 	lwz     r9,0(r31)                              
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
ffc21034:	7f e3 fb 78 	mr      r3,r31                                 
ffc21038:	7f 89 e0 00 	cmpw    cr7,r9,r28                             
ffc2103c:	41 9e 00 44 	beq-    cr7,ffc21080 <rtems_rfs_release_chain+0xa0>
ffc21040:	4b fe fb 09 	bl      ffc10b48 <_Chain_Get>                  
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
ffc21044:	81 3e 00 00 	lwz     r9,0(r30)                              
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc21048:	7f 44 d3 78 	mr      r4,r26                                 
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
                                                                      
  while (!rtems_chain_is_empty (chain))                               
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
ffc2104c:	39 29 ff ff 	addi    r9,r9,-1                               
ffc21050:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
    buffer->user = (void*) 0;                                         
ffc21054:	93 63 00 34 	stw     r27,52(r3)                             
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
ffc21058:	48 00 6a b9 	bl      ffc27b10 <rtems_rfs_buffer_bdbuf_release>
    if ((rc > 0) && (rrc == 0))                                       
ffc2105c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc21060:	2c 03 00 00 	cmpwi   r3,0                                   
ffc21064:	40 a1 ff cc 	ble-    ffc21030 <rtems_rfs_release_chain+0x50><== ALWAYS TAKEN
ffc21068:	40 be ff c8 	bne-    cr7,ffc21030 <rtems_rfs_release_chain+0x50><== 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))                               
ffc2106c:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
ffc21070:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc21074:	7f e3 fb 78 	mr      r3,r31                                 <== 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))                               
ffc21078:	7f 89 e0 00 	cmpw    cr7,r9,r28                             <== NOT EXECUTED
ffc2107c:	40 9e ff c4 	bne+    cr7,ffc21040 <rtems_rfs_release_chain+0x60><== NOT EXECUTED
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
      rrc = rc;                                                       
  }                                                                   
  return rrc;                                                         
}                                                                     
ffc21080:	80 01 00 24 	lwz     r0,36(r1)                              
ffc21084:	7f a3 eb 78 	mr      r3,r29                                 
ffc21088:	83 41 00 08 	lwz     r26,8(r1)                              
ffc2108c:	7c 08 03 a6 	mtlr    r0                                     
ffc21090:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc21094:	83 81 00 10 	lwz     r28,16(r1)                             
ffc21098:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2109c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc210a0:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc210a4:	38 21 00 20 	addi    r1,r1,32                               
ffc210a8:	4e 80 00 20 	blr                                            
  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); 
ffc210ac:	80 9e 00 00 	lwz     r4,0(r30)                              <== NOT EXECUTED
ffc210b0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc210b4:	38 63 b8 d8 	addi    r3,r3,-18216                           <== NOT EXECUTED
ffc210b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc210bc:	48 00 89 21 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc210c0:	4b ff ff 64 	b       ffc21024 <rtems_rfs_release_chain+0x44><== NOT EXECUTED
                                                                      

ffc16ca8 <rtems_rfs_rtems_chown>: static int rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc, uid_t owner, gid_t group) {
ffc16ca8:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc16cac:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  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);                  
ffc16cb0:	38 c0 00 01 	li      r6,1                                   
                                                                      
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
ffc16cb4:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16cb8:	81 23 00 14 	lwz     r9,20(r3)                              
                                                                      
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
ffc16cbc:	93 e1 00 44 	stw     r31,68(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16cc0:	83 e9 00 08 	lwz     r31,8(r9)                              
                                                                      
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
ffc16cc4:	93 a1 00 3c 	stw     r29,60(r1)                             
ffc16cc8:	7c 9d 23 78 	mr      r29,r4                                 
                                                                      
  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);                  
ffc16ccc:	80 83 00 08 	lwz     r4,8(r3)                               
ffc16cd0:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
ffc16cd4:	93 81 00 38 	stw     r28,56(r1)                             
ffc16cd8:	7c bc 2b 78 	mr      r28,r5                                 
                                                                      
  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);                  
ffc16cdc:	38 a1 00 08 	addi    r5,r1,8                                
                                                                      
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
ffc16ce0:	93 c1 00 40 	stw     r30,64(r1)                             
                                                                      
  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);                  
ffc16ce4:	4b ff f0 15 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc16ce8:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16cec:	40 81 00 30 	ble-    ffc16d1c <rtems_rfs_rtems_chown+0x74>  <== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("chown: opening inode", rc);        
ffc16cf0:	48 01 12 4d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc16cf4:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc16cf8:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16cfc:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc16d00:	83 81 00 38 	lwz     r28,56(r1)                             
ffc16d04:	7c 08 03 a6 	mtlr    r0                                     
ffc16d08:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc16d0c:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc16d10:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc16d14:	38 21 00 48 	addi    r1,r1,72                               
ffc16d18:	4e 80 00 20 	blr                                            
 */                                                                   
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);
ffc16d1c:	57 9c 80 1e 	rlwinm  r28,r28,16,0,15                        
ffc16d20:	81 21 00 14 	lwz     r9,20(r1)                              
ffc16d24:	7f 9c eb 78 	or      r28,r28,r29                            
ffc16d28:	57 8a 46 3e 	rlwinm  r10,r28,8,24,31                        
ffc16d2c:	99 49 00 04 	stb     r10,4(r9)                              
ffc16d30:	57 8a 84 3e 	rlwinm  r10,r28,16,16,31                       
ffc16d34:	57 9c c2 3e 	rlwinm  r28,r28,24,8,31                        
ffc16d38:	81 21 00 14 	lwz     r9,20(r1)                              
  }                                                                   
#endif                                                                
                                                                      
  rtems_rfs_inode_set_uid_gid (&inode, owner, group);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16d3c:	7f e3 fb 78 	mr      r3,r31                                 
ffc16d40:	38 81 00 08 	addi    r4,r1,8                                
ffc16d44:	99 49 00 05 	stb     r10,5(r9)                              
ffc16d48:	81 21 00 14 	lwz     r9,20(r1)                              
ffc16d4c:	9b 89 00 06 	stb     r28,6(r9)                              
ffc16d50:	81 21 00 14 	lwz     r9,20(r1)                              
ffc16d54:	9b a9 00 07 	stb     r29,7(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc16d58:	39 20 00 01 	li      r9,1                                   
ffc16d5c:	99 21 00 18 	stb     r9,24(r1)                              
ffc16d60:	4b ff f2 15 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc)                                                             
ffc16d64:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
ffc16d68:	38 60 00 00 	li      r3,0                                   
#endif                                                                
                                                                      
  rtems_rfs_inode_set_uid_gid (&inode, owner, group);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
ffc16d6c:	41 82 ff 90 	beq+    ffc16cfc <rtems_rfs_rtems_chown+0x54>  <== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
ffc16d70:	48 01 11 cd 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16d74:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
  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);        
ffc16d78:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16d7c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16d80:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16d84:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc16d88:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16d8c:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16d90:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16d94:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16d98:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc25cfc <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);
ffc25cfc:	80 83 00 2c 	lwz     r4,44(r3)                              <== NOT EXECUTED
ffc25d00:	80 a3 00 30 	lwz     r5,48(r3)                              <== NOT EXECUTED
ffc25d04:	48 00 19 0c 	b       ffc27610 <rtems_deviceio_close>        <== NOT EXECUTED
                                                                      

ffc25cd0 <rtems_rfs_rtems_device_ftruncate>: static int rtems_rfs_rtems_device_ftruncate (rtems_libio_t* iop, off_t length) { return 0; }
ffc25cd0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25cd4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc25cd8 <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);
ffc25cd8:	80 c3 00 2c 	lwz     r6,44(r3)                              <== NOT EXECUTED
ffc25cdc:	80 e3 00 30 	lwz     r7,48(r3)                              <== NOT EXECUTED
ffc25ce0:	48 00 1a c0 	b       ffc277a0 <rtems_deviceio_control>      <== NOT EXECUTED
                                                                      

ffc25d08 <rtems_rfs_rtems_device_open>: static int rtems_rfs_rtems_device_open ( rtems_libio_t *iop, const char *pathname, int oflag, mode_t mode) {
ffc25d08:	94 21 ff 90 	stwu    r1,-112(r1)                            <== NOT EXECUTED
ffc25d0c:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc25d10:	90 01 00 74 	stw     r0,116(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc25d14:	81 23 00 28 	lwz     r9,40(r3)                              <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              int            oflag,                   
                              mode_t         mode)                    
{                                                                     
ffc25d18:	93 e1 00 6c 	stw     r31,108(r1)                            <== NOT EXECUTED
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc25d1c:	83 e9 00 08 	lwz     r31,8(r9)                              <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              int            oflag,                   
                              mode_t         mode)                    
{                                                                     
ffc25d20:	93 c1 00 68 	stw     r30,104(r1)                            <== NOT EXECUTED
ffc25d24:	7c 7e 1b 78 	mr      r30,r3                                 <== 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                       
};                                                                    
ffc25d28:	81 3f 00 80 	lwz     r9,128(r31)                            <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              int            oflag,                   
                              mode_t         mode)                    
{                                                                     
ffc25d2c:	93 21 00 54 	stw     r25,84(r1)                             <== NOT EXECUTED
ffc25d30:	7c 99 23 78 	mr      r25,r4                                 <== 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);
ffc25d34:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc25d38:	80 69 00 00 	lwz     r3,0(r9)                               <== NOT EXECUTED
ffc25d3c:	93 41 00 58 	stw     r26,88(r1)                             <== NOT EXECUTED
ffc25d40:	7c ba 2b 78 	mr      r26,r5                                 <== NOT EXECUTED
ffc25d44:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc25d48:	93 61 00 5c 	stw     r27,92(r1)                             <== NOT EXECUTED
ffc25d4c:	7c db 33 78 	mr      r27,r6                                 <== NOT EXECUTED
ffc25d50:	93 81 00 60 	stw     r28,96(r1)                             <== NOT EXECUTED
ffc25d54:	93 a1 00 64 	stw     r29,100(r1)                            <== NOT EXECUTED
ffc25d58:	92 41 00 38 	stw     r18,56(r1)                             <== NOT EXECUTED
ffc25d5c:	92 61 00 3c 	stw     r19,60(r1)                             <== NOT EXECUTED
ffc25d60:	92 81 00 40 	stw     r20,64(r1)                             <== NOT EXECUTED
ffc25d64:	92 a1 00 44 	stw     r21,68(r1)                             <== NOT EXECUTED
ffc25d68:	92 c1 00 48 	stw     r22,72(r1)                             <== NOT EXECUTED
ffc25d6c:	92 e1 00 4c 	stw     r23,76(r1)                             <== NOT EXECUTED
ffc25d70:	93 01 00 50 	stw     r24,80(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_iop_ino (iop);
ffc25d74:	83 be 00 1c 	lwz     r29,28(r30)                            <== NOT EXECUTED
ffc25d78:	4b fe a0 65 	bl      ffc0fddc <rtems_semaphore_obtain>      <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25d7c:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc25d80:	40 82 00 90 	bne-    ffc25e10 <rtems_rfs_rtems_device_open+0x108><== NOT EXECUTED
  rtems_device_minor_number     minor;                                
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc25d84:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc25d88:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25d8c:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc25d90:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc25d94:	4b fe ff 65 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc > 0)                                                         
ffc25d98:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc25d9c:	40 81 00 c0 	ble-    ffc25e5c <rtems_rfs_rtems_device_open+0x154><== 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);            
ffc25da0:	83 df 00 80 	lwz     r30,128(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc25da4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25da8:	4b ff bc 75 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc25dac:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc25db0:	4b fe a1 cd 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25db4:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc25db8:	40 82 01 48 	bne-    ffc25f00 <rtems_rfs_rtems_device_open+0x1f8><== 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);  
ffc25dbc:	48 00 21 81 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc25dc0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc25dc4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void *) minor;                                        
                                                                      
  return rtems_deviceio_open (iop, pathname, oflag, mode, minor, major);
}                                                                     
ffc25dc8:	80 01 00 74 	lwz     r0,116(r1)                             <== NOT EXECUTED
ffc25dcc:	82 41 00 38 	lwz     r18,56(r1)                             <== NOT EXECUTED
ffc25dd0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25dd4:	82 61 00 3c 	lwz     r19,60(r1)                             <== NOT EXECUTED
ffc25dd8:	82 81 00 40 	lwz     r20,64(r1)                             <== NOT EXECUTED
ffc25ddc:	82 a1 00 44 	lwz     r21,68(r1)                             <== NOT EXECUTED
ffc25de0:	82 c1 00 48 	lwz     r22,72(r1)                             <== NOT EXECUTED
ffc25de4:	82 e1 00 4c 	lwz     r23,76(r1)                             <== NOT EXECUTED
ffc25de8:	83 01 00 50 	lwz     r24,80(r1)                             <== NOT EXECUTED
ffc25dec:	83 21 00 54 	lwz     r25,84(r1)                             <== NOT EXECUTED
ffc25df0:	83 41 00 58 	lwz     r26,88(r1)                             <== NOT EXECUTED
ffc25df4:	83 61 00 5c 	lwz     r27,92(r1)                             <== NOT EXECUTED
ffc25df8:	83 81 00 60 	lwz     r28,96(r1)                             <== NOT EXECUTED
ffc25dfc:	83 a1 00 64 	lwz     r29,100(r1)                            <== NOT EXECUTED
ffc25e00:	83 c1 00 68 	lwz     r30,104(r1)                            <== NOT EXECUTED
ffc25e04:	83 e1 00 6c 	lwz     r31,108(r1)                            <== NOT EXECUTED
ffc25e08:	38 21 00 70 	addi    r1,r1,112                              <== NOT EXECUTED
ffc25e0c:	4e 80 00 20 	blr                                            <== 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))                      
ffc25e10:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25e14:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc25e18:	4b ff 1f 15 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25e1c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25e20:	41 9e ff 64 	beq+    cr7,ffc25d84 <rtems_rfs_rtems_device_open+0x7c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc25e24:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25e28:	4b ff 61 ed 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc25e2c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc25e30:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25e34:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc25e38:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25e3c:	48 00 3b a1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  rtems_device_minor_number     minor;                                
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc25e40:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc25e44:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25e48:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc25e4c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc25e50:	4b fe fe a9 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc > 0)                                                         
ffc25e54:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc25e58:	41 81 ff 48 	bgt+    ffc25da0 <rtems_rfs_rtems_device_open+0x98><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: opening inode", rc);  
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
ffc25e5c:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc25e60:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25e64:	38 81 00 08 	addi    r4,r1,8                                <== 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]);      
ffc25e68:	8a 49 00 1c 	lbz     r18,28(r9)                             <== NOT EXECUTED
ffc25e6c:	8a 69 00 1d 	lbz     r19,29(r9)                             <== NOT EXECUTED
ffc25e70:	8b 09 00 1e 	lbz     r24,30(r9)                             <== NOT EXECUTED
ffc25e74:	8a c9 00 1f 	lbz     r22,31(r9)                             <== NOT EXECUTED
ffc25e78:	8a 89 00 20 	lbz     r20,32(r9)                             <== NOT EXECUTED
ffc25e7c:	8a a9 00 21 	lbz     r21,33(r9)                             <== NOT EXECUTED
ffc25e80:	8b 89 00 22 	lbz     r28,34(r9)                             <== NOT EXECUTED
ffc25e84:	8a e9 00 23 	lbz     r23,35(r9)                             <== NOT EXECUTED
ffc25e88:	4b ff 00 ed 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc25e8c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc25e90:	41 81 ff 10 	bgt+    ffc25da0 <rtems_rfs_rtems_device_open+0x98><== 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);            
ffc25e94:	83 bf 00 80 	lwz     r29,128(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc25e98:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25e9c:	4b ff bb 81 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc25ea0:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc25ea4:	4b fe a0 d9 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25ea8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc25eac:	40 82 00 88 	bne-    ffc25f34 <rtems_rfs_rtems_device_open+0x22c><== NOT EXECUTED
ffc25eb0:	56 48 c0 0e 	rlwinm  r8,r18,24,0,7                          <== NOT EXECUTED
ffc25eb4:	56 73 80 1e 	rlwinm  r19,r19,16,0,15                        <== NOT EXECUTED
ffc25eb8:	56 87 c0 0e 	rlwinm  r7,r20,24,0,7                          <== NOT EXECUTED
ffc25ebc:	56 b5 80 1e 	rlwinm  r21,r21,16,0,15                        <== NOT EXECUTED
ffc25ec0:	7d 08 9b 78 	or      r8,r8,r19                              <== NOT EXECUTED
ffc25ec4:	7c e7 ab 78 	or      r7,r7,r21                              <== NOT EXECUTED
ffc25ec8:	7d 16 b3 78 	or      r22,r8,r22                             <== NOT EXECUTED
ffc25ecc:	7c f7 bb 78 	or      r23,r7,r23                             <== NOT EXECUTED
ffc25ed0:	57 18 40 2e 	rlwinm  r24,r24,8,0,23                         <== NOT EXECUTED
ffc25ed4:	57 9c 40 2e 	rlwinm  r28,r28,8,0,23                         <== NOT EXECUTED
ffc25ed8:	7e c8 c3 78 	or      r8,r22,r24                             <== NOT EXECUTED
ffc25edc:	7e e7 e3 78 	or      r7,r23,r28                             <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
ffc25ee0:	91 1e 00 2c 	stw     r8,44(r30)                             <== NOT EXECUTED
  iop->data1 = (void *) minor;                                        
                                                                      
  return rtems_deviceio_open (iop, pathname, oflag, mode, minor, major);
ffc25ee4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void *) minor;                                        
ffc25ee8:	90 fe 00 30 	stw     r7,48(r30)                             <== NOT EXECUTED
                                                                      
  return rtems_deviceio_open (iop, pathname, oflag, mode, minor, major);
ffc25eec:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc25ef0:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc25ef4:	7f 66 db 78 	mr      r6,r27                                 <== NOT EXECUTED
ffc25ef8:	48 00 16 d5 	bl      ffc275cc <rtems_deviceio_open>         <== NOT EXECUTED
ffc25efc:	4b ff fe cc 	b       ffc25dc8 <rtems_rfs_rtems_device_open+0xc0><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc25f00:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25f04:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc25f08:	4b ff 1e 25 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25f0c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25f10:	41 9e fe ac 	beq+    cr7,ffc25dbc <rtems_rfs_rtems_device_open+0xb4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc25f14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25f18:	4b ff 60 fd 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc25f1c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc25f20:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25f24:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc25f28:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25f2c:	48 00 3a b1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25f30:	4b ff fe 8c 	b       ffc25dbc <rtems_rfs_rtems_device_open+0xb4><== 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))                      
ffc25f34:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25f38:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc25f3c:	4b ff 1d f1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25f40:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25f44:	41 9e ff 6c 	beq+    cr7,ffc25eb0 <rtems_rfs_rtems_device_open+0x1a8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc25f48:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25f4c:	4b ff 60 c9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc25f50:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc25f54:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25f58:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc25f5c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25f60:	48 00 3a 7d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25f64:	4b ff ff 4c 	b       ffc25eb0 <rtems_rfs_rtems_device_open+0x1a8><== NOT EXECUTED
                                                                      

ffc25cf0 <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);
ffc25cf0:	80 c3 00 2c 	lwz     r6,44(r3)                              <== NOT EXECUTED
ffc25cf4:	80 e3 00 30 	lwz     r7,48(r3)                              <== NOT EXECUTED
ffc25cf8:	48 00 19 58 	b       ffc27650 <rtems_deviceio_read>         <== NOT EXECUTED
                                                                      

ffc25ce4 <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);
ffc25ce4:	80 c3 00 2c 	lwz     r6,44(r3)                              <== NOT EXECUTED
ffc25ce8:	80 e3 00 30 	lwz     r7,48(r3)                              <== NOT EXECUTED
ffc25cec:	48 00 1a 0c 	b       ffc276f8 <rtems_deviceio_write>        <== NOT EXECUTED
                                                                      

ffc26228 <rtems_rfs_rtems_dir_open>: static int rtems_rfs_rtems_dir_open (rtems_libio_t* iop, const char* pathname, int oflag, mode_t mode) {
ffc26228:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc2622c:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc26230:	38 80 00 00 	li      r4,0                                   
ffc26234:	90 01 00 4c 	stw     r0,76(r1)                              
ffc26238:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc2623c:	81 23 00 28 	lwz     r9,40(r3)                              
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          int            oflag,                       
                          mode_t         mode)                        
{                                                                     
ffc26240:	93 e1 00 44 	stw     r31,68(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26244:	83 e9 00 08 	lwz     r31,8(r9)                              
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          int            oflag,                       
                          mode_t         mode)                        
{                                                                     
ffc26248:	93 a1 00 3c 	stw     r29,60(r1)                             
  .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                       
};                                                                    
ffc2624c:	81 3f 00 80 	lwz     r9,128(r31)                            
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          int            oflag,                       
                          mode_t         mode)                        
{                                                                     
ffc26250:	93 c1 00 40 	stw     r30,64(r1)                             
ffc26254:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
ffc26258:	83 a3 00 1c 	lwz     r29,28(r3)                             
ffc2625c:	80 69 00 00 	lwz     r3,0(r9)                               
static int                                                            
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          int            oflag,                       
                          mode_t         mode)                        
{                                                                     
ffc26260:	93 81 00 38 	stw     r28,56(r1)                             
ffc26264:	4b fe 9b 79 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26268:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2626c:	40 82 00 c4 	bne-    ffc26330 <rtems_rfs_rtems_dir_open+0x108><== NEVER TAKEN
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26270:	7f a4 eb 78 	mr      r4,r29                                 
ffc26274:	7f e3 fb 78 	mr      r3,r31                                 
ffc26278:	38 a1 00 08 	addi    r5,r1,8                                
ffc2627c:	38 c0 00 01 	li      r6,1                                   
ffc26280:	4b fe fa 79 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc26284:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26288:	40 82 00 f4 	bne-    ffc2637c <rtems_rfs_rtems_dir_open+0x154><== NEVER TAKEN
  {                                                                   
    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)))         
ffc2628c:	81 21 00 14 	lwz     r9,20(r1)                              
 * @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);                    
ffc26290:	89 29 00 02 	lbz     r9,2(r9)                               
ffc26294:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc26298:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc2629c:	40 9e 01 5c 	bne-    cr7,ffc263f8 <rtems_rfs_rtems_dir_open+0x1d0><== NEVER TAKEN
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
ffc262a0:	39 40 00 00 	li      r10,0                                  
ffc262a4:	39 60 00 00 	li      r11,0                                  
ffc262a8:	91 5e 00 08 	stw     r10,8(r30)                             
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc262ac:	38 81 00 08 	addi    r4,r1,8                                
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
ffc262b0:	91 7e 00 0c 	stw     r11,12(r30)                            
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc262b4:	7f e3 fb 78 	mr      r3,r31                                 
ffc262b8:	4b fe fc bd 	bl      ffc15f74 <rtems_rfs_inode_close>       
 * 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);            
ffc262bc:	83 df 00 80 	lwz     r30,128(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc262c0:	7f e3 fb 78 	mr      r3,r31                                 
ffc262c4:	4b ff b7 59 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc262c8:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc262cc:	4b fe 9c b1 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc262d0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc262d4:	40 82 00 28 	bne-    ffc262fc <rtems_rfs_rtems_dir_open+0xd4><== NEVER TAKEN
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc262d8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc262dc:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc262e0:	83 81 00 38 	lwz     r28,56(r1)                             
ffc262e4:	7c 08 03 a6 	mtlr    r0                                     
ffc262e8:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc262ec:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc262f0:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc262f4:	38 21 00 48 	addi    r1,r1,72                               
ffc262f8:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc262fc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26300:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26304:	4b ff 1a 29 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26308:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2630c:	41 9e ff cc 	beq+    cr7,ffc262d8 <rtems_rfs_rtems_dir_open+0xb0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26310:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26314:	4b ff 5d 01 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26318:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2631c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26320:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26324:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26328:	48 00 36 b5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2632c:	4b ff ff ac 	b       ffc262d8 <rtems_rfs_rtems_dir_open+0xb0><== 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))                      
ffc26330:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26334:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26338:	4b ff 19 f5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2633c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26340:	41 9e ff 30 	beq+    cr7,ffc26270 <rtems_rfs_rtems_dir_open+0x48><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26344:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26348:	4b ff 5c cd 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc2634c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26350:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26354:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26358:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2635c:	48 00 36 81 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26360:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc26364:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26368:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc2636c:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc26370:	4b fe f9 89 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc26374:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26378:	41 82 ff 14 	beq+    ffc2628c <rtems_rfs_rtems_dir_open+0x64><== 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);            
ffc2637c:	83 df 00 80 	lwz     r30,128(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26380:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26384:	4b ff b6 99 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26388:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc2638c:	4b fe 9b f1 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26390:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26394:	40 82 00 30 	bne-    ffc263c4 <rtems_rfs_rtems_dir_open+0x19c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
ffc26398:	48 00 1b a5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  iop->offset = 0;                                                    
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc2639c:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
ffc263a0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc263a4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  iop->offset = 0;                                                    
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc263a8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc263ac:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc263b0:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc263b4:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc263b8:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc263bc:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc263c0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc263c4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc263c8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc263cc:	4b ff 19 61 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc263d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc263d4:	41 9e ff c4 	beq+    cr7,ffc26398 <rtems_rfs_rtems_dir_open+0x170><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc263d8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc263dc:	4b ff 5c 39 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc263e0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc263e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc263e8:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc263ec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc263f0:	48 00 35 ed 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc263f4:	4b ff ff a4 	b       ffc26398 <rtems_rfs_rtems_dir_open+0x170><== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc263f8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc263fc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26400:	4b fe fb 75 	bl      ffc15f74 <rtems_rfs_inode_close>       <== 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);            
ffc26404:	83 df 00 80 	lwz     r30,128(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26408:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2640c:	4b ff b6 11 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26410:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26414:	4b fe 9b 69 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26418:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc2641c:	40 82 00 18 	bne-    ffc26434 <rtems_rfs_rtems_dir_open+0x20c><== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
ffc26420:	48 00 1b 1d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc26424:	39 20 00 14 	li      r9,20                                  <== NOT EXECUTED
ffc26428:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc2642c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc26430:	4b ff fe ac 	b       ffc262dc <rtems_rfs_rtems_dir_open+0xb4><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26434:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26438:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc2643c:	4b ff 18 f1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26440:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26444:	41 9e ff dc 	beq+    cr7,ffc26420 <rtems_rfs_rtems_dir_open+0x1f8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26448:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2644c:	4b ff 5b c9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26450:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26454:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26458:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc2645c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26460:	48 00 35 7d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26464:	4b ff ff bc 	b       ffc26420 <rtems_rfs_rtems_dir_open+0x1f8><== NOT EXECUTED
                                                                      

ffc25f70 <rtems_rfs_rtems_dir_read>: */ static ssize_t rtems_rfs_rtems_dir_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc25f70:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc25f74:	7c 08 02 a6 	mflr    r0                                     
ffc25f78:	90 01 00 64 	stw     r0,100(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc25f7c:	81 23 00 28 	lwz     r9,40(r3)                              
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc25f80:	93 21 00 44 	stw     r25,68(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc25f84:	83 29 00 08 	lwz     r25,8(r9)                              
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc25f88:	93 41 00 48 	stw     r26,72(r1)                             
ffc25f8c:	7c 7a 1b 78 	mr      r26,r3                                 
  .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                       
};                                                                    
ffc25f90:	81 39 00 80 	lwz     r9,128(r25)                            
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_dir_read (rtems_libio_t* iop,                         
                          void*          buffer,                      
                          size_t         count)                       
{                                                                     
ffc25f94:	92 e1 00 3c 	stw     r23,60(r1)                             
ffc25f98:	7c b7 2b 78 	mr      r23,r5                                 
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc25f9c:	38 a0 00 00 	li      r5,0                                   
ffc25fa0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc25fa4:	93 01 00 40 	stw     r24,64(r1)                             
ffc25fa8:	7c 98 23 78 	mr      r24,r4                                 
ffc25fac:	38 80 00 00 	li      r4,0                                   
ffc25fb0:	93 81 00 50 	stw     r28,80(r1)                             
ffc25fb4:	93 a1 00 54 	stw     r29,84(r1)                             
ffc25fb8:	93 61 00 4c 	stw     r27,76(r1)                             
ffc25fbc:	93 c1 00 58 	stw     r30,88(r1)                             
ffc25fc0:	93 e1 00 5c 	stw     r31,92(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
ffc25fc4:	83 ba 00 1c 	lwz     r29,28(r26)                            
ffc25fc8:	4b fe 9e 15 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc25fcc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc25fd0:	40 82 01 38 	bne-    ffc26108 <rtems_rfs_rtems_dir_read+0x198><== NEVER TAKEN
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc25fd4:	7f a4 eb 78 	mr      r4,r29                                 
ffc25fd8:	7f 23 cb 78 	mr      r3,r25                                 
ffc25fdc:	38 a1 00 08 	addi    r5,r1,8                                
ffc25fe0:	38 c0 00 01 	li      r6,1                                   
ffc25fe4:	4b fe fd 15 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc25fe8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc25fec:	40 82 01 68 	bne-    ffc26154 <rtems_rfs_rtems_dir_read+0x1e4><== NEVER TAKEN
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
ffc25ff0:	3d 20 0e a0 	lis     r9,3744                                
ffc25ff4:	56 f7 e8 fe 	rlwinm  r23,r23,29,3,31                        
ffc25ff8:	61 29 ea 0f 	ori     r9,r9,59919                            
ffc25ffc:	7e f7 48 16 	mulhwu  r23,r23,r9                             
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26000:	56 f7 f8 7f 	rlwinm. r23,r23,31,1,31                        
ffc26004:	41 82 02 1c 	beq-    ffc26220 <rtems_rfs_rtems_dir_read+0x2b0><== NEVER TAKEN
ffc26008:	80 ba 00 08 	lwz     r5,8(r26)                              
 * 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,                         
ffc2600c:	3b 80 00 00 	li      r28,0                                  
ffc26010:	80 da 00 0c 	lwz     r6,12(r26)                             
ffc26014:	3b a0 00 00 	li      r29,0                                  
ffc26018:	48 00 00 30 	b       ffc26048 <rtems_rfs_rtems_dir_read+0xd8>
    if (rc == ENOENT)                                                 
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
ffc2601c:	41 99 01 98 	bgt-    cr6,ffc261b4 <rtems_rfs_rtems_dir_read+0x244><== NEVER TAKEN
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc26020:	81 5a 00 08 	lwz     r10,8(r26)                             
ffc26024:	3b c0 00 00 	li      r30,0                                  
ffc26028:	81 7a 00 0c 	lwz     r11,12(r26)                            
 * 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,                         
ffc2602c:	3b bd 01 18 	addi    r29,r29,280                            
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
ffc26030:	83 e1 00 30 	lwz     r31,48(r1)                             
ffc26034:	7c df 58 14 	addc    r6,r31,r11                             
ffc26038:	7c be 51 14 	adde    r5,r30,r10                             
ffc2603c:	90 ba 00 08 	stw     r5,8(r26)                              
ffc26040:	90 da 00 0c 	stw     r6,12(r26)                             
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26044:	41 86 00 30 	beq-    cr1,ffc26074 <rtems_rfs_rtems_dir_read+0x104><== ALWAYS TAKEN
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
ffc26048:	7c f8 ea 14 	add     r7,r24,r29                             
ffc2604c:	7f 23 cb 78 	mr      r3,r25                                 
ffc26050:	38 81 00 08 	addi    r4,r1,8                                
ffc26054:	39 01 00 30 	addi    r8,r1,48                               
ffc26058:	4b ff cc 59 	bl      ffc22cb0 <rtems_rfs_dir_read>          
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc2605c:	3b 9c 00 01 	addi    r28,r28,1                              
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
    if (rc == ENOENT)                                                 
ffc26060:	2f 83 00 02 	cmpwi   cr7,r3,2                               
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
ffc26064:	7c 7b 1b 78 	mr      r27,r3                                 
    if (rc == ENOENT)                                                 
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
ffc26068:	2f 03 00 00 	cmpwi   cr6,r3,0                               
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc2606c:	7c 9c b8 00 	cmpw    cr1,r28,r23                            
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
    if (rc == ENOENT)                                                 
ffc26070:	40 9e ff ac 	bne+    cr7,ffc2601c <rtems_rfs_rtems_dir_read+0xac>
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc26074:	38 81 00 08 	addi    r4,r1,8                                
ffc26078:	7f 23 cb 78 	mr      r3,r25                                 
ffc2607c:	4b fe fe f9 	bl      ffc15f74 <rtems_rfs_inode_close>       
 * 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);            
ffc26080:	83 f9 00 80 	lwz     r31,128(r25)                           
  rtems_rfs_buffers_release (fs);                                     
ffc26084:	7f 23 cb 78 	mr      r3,r25                                 
ffc26088:	4b ff b9 95 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc2608c:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc26090:	4b fe 9e ed 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26094:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26098:	40 82 00 3c 	bne-    ffc260d4 <rtems_rfs_rtems_dir_read+0x164><== NEVER TAKEN
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc2609c:	80 01 00 64 	lwz     r0,100(r1)                             
ffc260a0:	7f a3 eb 78 	mr      r3,r29                                 
ffc260a4:	82 e1 00 3c 	lwz     r23,60(r1)                             
ffc260a8:	7c 08 03 a6 	mtlr    r0                                     
ffc260ac:	83 01 00 40 	lwz     r24,64(r1)                             
ffc260b0:	83 21 00 44 	lwz     r25,68(r1)                             
ffc260b4:	83 41 00 48 	lwz     r26,72(r1)                             
ffc260b8:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc260bc:	83 81 00 50 	lwz     r28,80(r1)                             
ffc260c0:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc260c4:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc260c8:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc260cc:	38 21 00 60 	addi    r1,r1,96                               
ffc260d0:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc260d4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc260d8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc260dc:	4b ff 1c 51 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc260e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc260e4:	41 9e ff b8 	beq+    cr7,ffc2609c <rtems_rfs_rtems_dir_read+0x12c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc260e8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc260ec:	4b ff 5f 29 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc260f0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc260f4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc260f8:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc260fc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26100:	48 00 38 dd 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26104:	4b ff ff 98 	b       ffc2609c <rtems_rfs_rtems_dir_read+0x12c><== 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))                      
ffc26108:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2610c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26110:	4b ff 1c 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26114:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26118:	41 9e fe bc 	beq+    cr7,ffc25fd4 <rtems_rfs_rtems_dir_read+0x64><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc2611c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26120:	4b ff 5e f5 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26124:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26128:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2612c:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26130:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26134:	48 00 38 a9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc26138:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc2613c:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc26140:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc26144:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
ffc26148:	4b fe fb b1 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc2614c:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26150:	41 82 fe a0 	beq+    ffc25ff0 <rtems_rfs_rtems_dir_read+0x80><== 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);            
ffc26154:	83 f9 00 80 	lwz     r31,128(r25)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26158:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc2615c:	4b ff b8 c1 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26160:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc26164:	4b fe 9e 19 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26168:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc2616c:	40 82 00 80 	bne-    ffc261ec <rtems_rfs_rtems_dir_read+0x27c><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
ffc26170:	48 00 1d cd 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc26174:	80 01 00 64 	lwz     r0,100(r1)                             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc)                                                             
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
ffc26178:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc2617c:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
ffc26180:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26184:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26188:	82 e1 00 3c 	lwz     r23,60(r1)                             <== NOT EXECUTED
ffc2618c:	83 01 00 40 	lwz     r24,64(r1)                             <== NOT EXECUTED
ffc26190:	83 21 00 44 	lwz     r25,68(r1)                             <== NOT EXECUTED
ffc26194:	83 41 00 48 	lwz     r26,72(r1)                             <== NOT EXECUTED
ffc26198:	83 61 00 4c 	lwz     r27,76(r1)                             <== NOT EXECUTED
ffc2619c:	83 81 00 50 	lwz     r28,80(r1)                             <== NOT EXECUTED
ffc261a0:	83 a1 00 54 	lwz     r29,84(r1)                             <== NOT EXECUTED
ffc261a4:	83 c1 00 58 	lwz     r30,88(r1)                             <== NOT EXECUTED
ffc261a8:	83 e1 00 5c 	lwz     r31,92(r1)                             <== NOT EXECUTED
ffc261ac:	38 21 00 60 	addi    r1,r1,96                               <== NOT EXECUTED
ffc261b0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc261b4:	48 00 1d 89 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc261b8:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc261bc:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc261c0:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
ffc261c4:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
ffc261c8:	4b fe fd ad 	bl      ffc15f74 <rtems_rfs_inode_close>       <== 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);            
ffc261cc:	83 f9 00 80 	lwz     r31,128(r25)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc261d0:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc261d4:	4b ff b8 49 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc261d8:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc261dc:	4b fe 9d a1 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc261e0:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc261e4:	41 82 fe b8 	beq+    ffc2609c <rtems_rfs_rtems_dir_read+0x12c><== NOT EXECUTED
ffc261e8:	4b ff fe ec 	b       ffc260d4 <rtems_rfs_rtems_dir_read+0x164><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc261ec:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc261f0:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc261f4:	4b ff 1b 39 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc261f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc261fc:	41 9e ff 74 	beq+    cr7,ffc26170 <rtems_rfs_rtems_dir_read+0x200><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26200:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26204:	4b ff 5e 11 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26208:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2620c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26210:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26214:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26218:	48 00 37 c5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2621c:	4b ff ff 54 	b       ffc26170 <rtems_rfs_rtems_dir_read+0x200><== NOT EXECUTED
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
ffc26220:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc26224:	4b ff fe 50 	b       ffc26074 <rtems_rfs_rtems_dir_read+0x104><== NOT EXECUTED
                                                                      

ffc170e4 <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) {
ffc170e4:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc170e8:	7c 08 02 a6 	mflr    r0                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
  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);                  
ffc170ec:	38 c0 00 01 	li      r6,1                                   
  .eval_token = rtems_rfs_rtems_eval_token                            
};                                                                    
                                                                      
static void                                                           
rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) 
{                                                                     
ffc170f0:	90 01 00 4c 	stw     r0,76(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
  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);                  
ffc170f4:	38 a1 00 08 	addi    r5,r1,8                                
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);
ffc170f8:	81 23 00 2c 	lwz     r9,44(r3)                              
  .eval_token = rtems_rfs_rtems_eval_token                            
};                                                                    
                                                                      
static void                                                           
rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) 
{                                                                     
ffc170fc:	93 c1 00 40 	stw     r30,64(r1)                             
  rtems_filesystem_location_info_t *currentloc =                      
    rtems_filesystem_eval_path_get_currentloc (ctx);                  
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
ffc17100:	83 c9 00 08 	lwz     r30,8(r9)                              
  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);                  
ffc17104:	80 83 00 20 	lwz     r4,32(r3)                              
  .eval_token = rtems_rfs_rtems_eval_token                            
};                                                                    
                                                                      
static void                                                           
rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) 
{                                                                     
ffc17108:	93 e1 00 44 	stw     r31,68(r1)                             
ffc1710c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
  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);                  
ffc17110:	7f c3 f3 78 	mr      r3,r30                                 
  .eval_token = rtems_rfs_rtems_eval_token                            
};                                                                    
                                                                      
static void                                                           
rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) 
{                                                                     
ffc17114:	93 a1 00 3c 	stw     r29,60(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
  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);                  
ffc17118:	4b ff eb e1 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc == 0) {                                                      
ffc1711c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc17120:	40 82 00 48 	bne-    ffc17168 <rtems_rfs_rtems_eval_path+0x84><== NEVER TAKEN
    rtems_filesystem_eval_path_generic (                              
ffc17124:	3c a0 ff c4 	lis     r5,-60                                 
ffc17128:	38 a5 ac a0 	addi    r5,r5,-21344                           
ffc1712c:	7f e3 fb 78 	mr      r3,r31                                 
ffc17130:	38 81 00 08 	addi    r4,r1,8                                
ffc17134:	48 00 59 ed 	bl      ffc1cb20 <rtems_filesystem_eval_path_generic>
      ctx,                                                            
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
ffc17138:	7f c3 f3 78 	mr      r3,r30                                 
ffc1713c:	38 81 00 08 	addi    r4,r1,8                                
ffc17140:	4b ff ee 35 	bl      ffc15f74 <rtems_rfs_inode_close>       
    if (rc != 0) {                                                    
ffc17144:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc17148:	40 82 00 50 	bne-    ffc17198 <rtems_rfs_rtems_eval_path+0xb4><== NEVER TAKEN
    rtems_filesystem_eval_path_error (                                
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
    );                                                                
  }                                                                   
}                                                                     
ffc1714c:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc17150:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc17154:	7c 08 03 a6 	mtlr    r0                                     
ffc17158:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc1715c:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc17160:	38 21 00 48 	addi    r1,r1,72                               
ffc17164:	4e 80 00 20 	blr                                            
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
ffc17168:	48 01 0d d5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
ffc1716c:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
ffc17170:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
ffc17174:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17178:	4b ff 4d 39 	bl      ffc0beb0 <rtems_filesystem_eval_path_error><== NOT EXECUTED
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
    );                                                                
  }                                                                   
}                                                                     
ffc1717c:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc17180:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc17184:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17188:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc1718c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc17190:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc17194:	4e 80 00 20 	blr                                            <== 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)        
ffc17198:	48 01 0d a5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc != 0) {                                                    
      rtems_filesystem_eval_path_error (                              
ffc1719c:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
ffc171a0:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc != 0) {                                                    
      rtems_filesystem_eval_path_error (                              
ffc171a4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc171a8:	4b ff 4d 09 	bl      ffc0beb0 <rtems_filesystem_eval_path_error><== NOT EXECUTED
    rtems_filesystem_eval_path_error (                                
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
    );                                                                
  }                                                                   
}                                                                     
ffc171ac:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc171b0:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc171b4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc171b8:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc171bc:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc171c0:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc171c4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17564 <rtems_rfs_rtems_eval_token>: rtems_filesystem_eval_path_context_t *ctx, void *arg, const char *token, size_t tokenlen ) {
ffc17564:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc17568:	7c 08 02 a6 	mflr    r0                                     
ffc1756c:	90 01 00 34 	stw     r0,52(r1)                              
ffc17570:	93 81 00 20 	stw     r28,32(r1)                             
ffc17574:	7c bc 2b 78 	mr      r28,r5                                 
ffc17578:	93 a1 00 24 	stw     r29,36(r1)                             
ffc1757c:	7c 7d 1b 78 	mr      r29,r3                                 
ffc17580:	93 c1 00 28 	stw     r30,40(r1)                             
ffc17584:	7c de 33 78 	mr      r30,r6                                 
ffc17588:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc1758c:	7c 9f 23 78 	mr      r31,r4                                 
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
ffc17590:	81 24 00 0c 	lwz     r9,12(r4)                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
ffc17594:	93 61 00 1c 	stw     r27,28(r1)                             
 * @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;  
ffc17598:	88 89 00 04 	lbz     r4,4(r9)                               
ffc1759c:	88 e9 00 05 	lbz     r7,5(r9)                               
 * @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);                    
ffc175a0:	89 69 00 02 	lbz     r11,2(r9)                              
 * @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;  
ffc175a4:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           
 * @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;          
ffc175a8:	88 09 00 06 	lbz     r0,6(r9)                               
 * @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;  
ffc175ac:	54 e7 80 1e 	rlwinm  r7,r7,16,0,15                          
 * @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;          
ffc175b0:	89 49 00 07 	lbz     r10,7(r9)                              
 * @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);                    
ffc175b4:	55 6b 40 2e 	rlwinm  r11,r11,8,0,23                         
ffc175b8:	88 a9 00 03 	lbz     r5,3(r9)                               
 * @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;  
ffc175bc:	7c 87 3b 78 	or      r7,r4,r7                               
 * @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;          
ffc175c0:	54 09 40 2e 	rlwinm  r9,r0,8,0,23                           
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(                     
ffc175c4:	38 80 00 01 	li      r4,1                                   
ffc175c8:	7d 65 2b 78 	or      r5,r11,r5                              
ffc175cc:	7d 46 4b 78 	or      r6,r10,r9                              
ffc175d0:	54 e7 84 3e 	rlwinm  r7,r7,16,16,31                         
ffc175d4:	48 00 54 f1 	bl      ffc1cac4 <rtems_filesystem_eval_path_check_access>
  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) {                                                    
ffc175d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc175dc:	41 9e 00 b4 	beq-    cr7,ffc17690 <rtems_rfs_rtems_eval_token+0x12c><== NEVER TAKEN
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
ffc175e0:	2f 9e 00 01 	cmpwi   cr7,r30,1                              
ffc175e4:	41 9e 00 d4 	beq-    cr7,ffc176b8 <rtems_rfs_rtems_eval_token+0x154>
    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);
ffc175e8:	81 3d 00 2c 	lwz     r9,44(r29)                             
      rtems_rfs_ino entry_ino;                                        
      uint32_t entry_doff;                                            
      int rc = rtems_rfs_dir_lookup_ino (                             
ffc175ec:	7f e4 fb 78 	mr      r4,r31                                 
ffc175f0:	7f 85 e3 78 	mr      r5,r28                                 
    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);
ffc175f4:	83 69 00 08 	lwz     r27,8(r9)                              
      rtems_rfs_ino entry_ino;                                        
      uint32_t entry_doff;                                            
      int rc = rtems_rfs_dir_lookup_ino (                             
ffc175f8:	7f c6 f3 78 	mr      r6,r30                                 
ffc175fc:	38 e1 00 10 	addi    r7,r1,16                               
ffc17600:	7f 63 db 78 	mr      r3,r27                                 
ffc17604:	39 01 00 0c 	addi    r8,r1,12                               
ffc17608:	48 00 a7 19 	bl      ffc21d20 <rtems_rfs_dir_lookup_ino>    
        tokenlen,                                                     
        &entry_ino,                                                   
        &entry_doff                                                   
      );                                                              
                                                                      
      if (rc == 0) {                                                  
ffc1760c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17610:	41 9e 00 c4 	beq-    cr7,ffc176d4 <rtems_rfs_rtems_eval_token+0x170>
           * rtems_rfs_rtems_eval_path().                             
           */                                                         
          memset (inode, 0, sizeof(*inode));                          
        }                                                             
      } else {                                                        
        status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;         
ffc17614:	38 60 00 02 	li      r3,2                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc17618:	80 01 00 34 	lwz     r0,52(r1)                              
ffc1761c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc17620:	7c 08 03 a6 	mtlr    r0                                     
ffc17624:	83 81 00 20 	lwz     r28,32(r1)                             
ffc17628:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1762c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc17630:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc17634:	38 21 00 30 	addi    r1,r1,48                               
ffc17638:	4e 80 00 20 	blr                                            
  rtems_filesystem_eval_path_context_t* ctx,                          
  rtems_rfs_file_system* fs,                                          
  rtems_rfs_ino ino                                                   
)                                                                     
{                                                                     
  size_t len = MAXPATHLEN;                                            
ffc1763c:	39 20 04 00 	li      r9,1024                                
        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);           
ffc17640:	83 c1 00 10 	lwz     r30,16(r1)                             
  rtems_rfs_file_system* fs,                                          
  rtems_rfs_ino ino                                                   
)                                                                     
{                                                                     
  size_t len = MAXPATHLEN;                                            
  char *link = malloc(len + 1);                                       
ffc17644:	38 60 04 01 	li      r3,1025                                
  rtems_filesystem_eval_path_context_t* ctx,                          
  rtems_rfs_file_system* fs,                                          
  rtems_rfs_ino ino                                                   
)                                                                     
{                                                                     
  size_t len = MAXPATHLEN;                                            
ffc17648:	91 21 00 08 	stw     r9,8(r1)                               
  char *link = malloc(len + 1);                                       
ffc1764c:	4b ff 34 49 	bl      ffc0aa94 <malloc>                      
                                                                      
  if (link != NULL) {                                                 
ffc17650:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc17654:	41 82 01 7c 	beq-    ffc177d0 <rtems_rfs_rtems_eval_token+0x26c><== NEVER TAKEN
    int rc = rtems_rfs_symlink_read (fs, ino, link, len, &len);       
ffc17658:	7f 63 db 78 	mr      r3,r27                                 
ffc1765c:	7f c4 f3 78 	mr      r4,r30                                 
ffc17660:	7f e5 fb 78 	mr      r5,r31                                 
ffc17664:	38 c0 04 00 	li      r6,1024                                
ffc17668:	38 e1 00 08 	addi    r7,r1,8                                
ffc1766c:	48 00 e3 19 	bl      ffc25984 <rtems_rfs_symlink_read>      
                                                                      
    if (rc == 0) {                                                    
ffc17670:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17674:	40 9e 01 4c 	bne-    cr7,ffc177c0 <rtems_rfs_rtems_eval_token+0x25c><== NEVER TAKEN
      rtems_filesystem_eval_path_recursive (ctx, link, len);          
ffc17678:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc1767c:	7f a3 eb 78 	mr      r3,r29                                 
ffc17680:	7f e4 fb 78 	mr      r4,r31                                 
ffc17684:	4b ff 4e 6d 	bl      ffc0c4f0 <rtems_filesystem_eval_path_recursive>
    } else {                                                          
      rtems_filesystem_eval_path_error (ctx, 0);                      
    }                                                                 
                                                                      
    free(link);                                                       
ffc17688:	7f e3 fb 78 	mr      r3,r31                                 
ffc1768c:	4b ff 2c 71 	bl      ffc0a2fc <free>                        
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc17690:	38 60 00 01 	li      r3,1                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
ffc17694:	80 01 00 34 	lwz     r0,52(r1)                              
ffc17698:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc1769c:	7c 08 03 a6 	mtlr    r0                                     
ffc176a0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc176a4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc176a8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc176ac:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc176b0:	38 21 00 30 	addi    r1,r1,48                               
ffc176b4:	4e 80 00 20 	blr                                            
ffc176b8:	89 3c 00 00 	lbz     r9,0(r28)                              
ffc176bc:	2f 89 00 2e 	cmpwi   cr7,r9,46                              
ffc176c0:	40 9e ff 28 	bne+    cr7,ffc175e8 <rtems_rfs_rtems_eval_token+0x84>
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
ffc176c4:	39 20 00 00 	li      r9,0                                   
ffc176c8:	91 3d 00 0c 	stw     r9,12(r29)                             
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc176cc:	38 60 00 01 	li      r3,1                                   
ffc176d0:	4b ff ff 48 	b       ffc17618 <rtems_rfs_rtems_eval_token+0xb4>
        &entry_ino,                                                   
        &entry_doff                                                   
      );                                                              
                                                                      
      if (rc == 0) {                                                  
        rc = rtems_rfs_inode_close (fs, inode);                       
ffc176d4:	7f 63 db 78 	mr      r3,r27                                 
ffc176d8:	7f e4 fb 78 	mr      r4,r31                                 
ffc176dc:	4b ff e8 99 	bl      ffc15f74 <rtems_rfs_inode_close>       
        if (rc == 0) {                                                
ffc176e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc176e4:	41 9e 00 1c 	beq-    cr7,ffc17700 <rtems_rfs_rtems_eval_token+0x19c><== ALWAYS TAKEN
        if (rc != 0) {                                                
          /*                                                          
           * This prevents the rtems_rfs_inode_close() from doing something in
           * rtems_rfs_rtems_eval_path().                             
           */                                                         
          memset (inode, 0, sizeof(*inode));                          
ffc176e8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc176ec:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc176f0:	38 a0 00 28 	li      r5,40                                  <== NOT EXECUTED
ffc176f4:	48 01 20 8d 	bl      ffc29780 <memset>                      <== NOT EXECUTED
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc176f8:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc176fc:	4b ff ff 1c 	b       ffc17618 <rtems_rfs_rtems_eval_token+0xb4><== NOT EXECUTED
      );                                                              
                                                                      
      if (rc == 0) {                                                  
        rc = rtems_rfs_inode_close (fs, inode);                       
        if (rc == 0) {                                                
          rc = rtems_rfs_inode_open (fs, entry_ino, inode, true);     
ffc17700:	80 81 00 10 	lwz     r4,16(r1)                              
ffc17704:	7f 63 db 78 	mr      r3,r27                                 
ffc17708:	7f e5 fb 78 	mr      r5,r31                                 
ffc1770c:	38 c0 00 01 	li      r6,1                                   
ffc17710:	4b ff e5 e9 	bl      ffc15cf8 <rtems_rfs_inode_open>        
        }                                                             
                                                                      
        if (rc != 0) {                                                
ffc17714:	2c 03 00 00 	cmpwi   r3,0                                   
ffc17718:	40 a2 ff d0 	bne-    ffc176e8 <rtems_rfs_rtems_eval_token+0x184><== NEVER TAKEN
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
ffc1771c:	81 3f 00 0c 	lwz     r9,12(r31)                             
 * @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);                    
ffc17720:	89 29 00 02 	lbz     r9,2(r9)                               
   * link is actually the normal path to a regular file, directory, device
   * etc's inode. Links to inodes can be considered "the real" one, yet they
   * are all links.                                                   
   */                                                                 
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc17724:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc17728:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc1772c:	41 9e 00 10 	beq-    cr7,ffc1773c <rtems_rfs_rtems_eval_token+0x1d8>
    return RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc17730:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc17734:	2f 8a a0 00 	cmpwi   cr7,r10,-24576                         
ffc17738:	41 9e 00 64 	beq-    cr7,ffc1779c <rtems_rfs_rtems_eval_token+0x238>
      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;
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
ffc1773c:	83 dd 00 04 	lwz     r30,4(r29)                             
ffc17740:	39 20 00 00 	li      r9,0                                   
ffc17744:	91 3d 00 0c 	stw     r9,12(r29)                             
ffc17748:	7f de 00 34 	cntlzw  r30,r30                                
ffc1774c:	57 de d9 7e 	rlwinm  r30,r30,27,5,31                        
        rtems_filesystem_eval_path_clear_token (ctx);                 
                                                                      
        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;
ffc17750:	38 7d 00 18 	addi    r3,r29,24                              
ffc17754:	7f e4 fb 78 	mr      r4,r31                                 
ffc17758:	48 00 04 f9 	bl      ffc17c50 <rtems_rfs_rtems_set_handlers>
ffc1775c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc17760:	41 9e 00 1c 	beq-    cr7,ffc1777c <rtems_rfs_rtems_eval_token+0x218><== NEVER TAKEN
          if (rc == 0) {                                              
            rtems_rfs_rtems_set_pathloc_ino (currentloc, entry_ino);  
ffc17764:	81 21 00 10 	lwz     r9,16(r1)                              
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc17768:	7f c3 f3 78 	mr      r3,r30                                 
        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);  
ffc1776c:	91 3d 00 20 	stw     r9,32(r29)                             
            rtems_rfs_rtems_set_pathloc_doff (currentloc, entry_doff);
ffc17770:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc17774:	91 3d 00 24 	stw     r9,36(r29)                             
ffc17778:	4b ff fe a0 	b       ffc17618 <rtems_rfs_rtems_eval_token+0xb4>
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;   
            }                                                         
          } else {                                                    
            rtems_filesystem_eval_path_error (                        
              ctx,                                                    
              rtems_rfs_rtems_error ("eval_path: set handlers", rc)   
ffc1777c:	48 01 07 c1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17780:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc17784:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
                                                                      
            if (!terminal) {                                          
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;   
            }                                                         
          } else {                                                    
            rtems_filesystem_eval_path_error (                        
ffc17788:	38 80 ff ff 	li      r4,-1                                  <== NOT EXECUTED
ffc1778c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc17790:	4b ff 47 21 	bl      ffc0beb0 <rtems_filesystem_eval_path_error><== NOT EXECUTED
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc17794:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc17798:	4b ff fe fc 	b       ffc17694 <rtems_rfs_rtems_eval_token+0x130><== NOT EXECUTED
                                                                      
      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;
ffc1779c:	81 5d 00 10 	lwz     r10,16(r29)                            
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
ffc177a0:	81 3d 00 04 	lwz     r9,4(r29)                              
        bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
                                                                      
        rtems_filesystem_eval_path_clear_token (ctx);                 
                                                                      
        if (is_sym_link && (follow_sym_link || !terminal)) {          
ffc177a4:	71 48 00 10 	andi.   r8,r10,16                              
ffc177a8:	90 7d 00 0c 	stw     r3,12(r29)                             
ffc177ac:	40 a2 fe 90 	bne-    ffc1763c <rtems_rfs_rtems_eval_token+0xd8>
ffc177b0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc177b4:	40 be fe 88 	bne-    cr7,ffc1763c <rtems_rfs_rtems_eval_token+0xd8>
ffc177b8:	3b c0 00 01 	li      r30,1                                  
ffc177bc:	4b ff ff 94 	b       ffc17750 <rtems_rfs_rtems_eval_token+0x1ec>
    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);                      
ffc177c0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc177c4:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc177c8:	4b ff 46 e9 	bl      ffc0beb0 <rtems_filesystem_eval_path_error><== NOT EXECUTED
ffc177cc:	4b ff fe bc 	b       ffc17688 <rtems_rfs_rtems_eval_token+0x124><== NOT EXECUTED
    }                                                                 
                                                                      
    free(link);                                                       
  } else {                                                            
    rtems_filesystem_eval_path_error (ctx, ENOMEM);                   
ffc177d0:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc177d4:	38 80 00 0c 	li      r4,12                                  <== NOT EXECUTED
ffc177d8:	4b ff 46 d9 	bl      ffc0beb0 <rtems_filesystem_eval_path_error><== NOT EXECUTED
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
ffc177dc:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc177e0:	4b ff fe b4 	b       ffc17694 <rtems_rfs_rtems_eval_token+0x130><== NOT EXECUTED
                                                                      

ffc16d9c <rtems_rfs_rtems_fchmod>: } static int rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc, mode_t mode) {
ffc16d9c:	94 21 ff b8 	stwu    r1,-72(r1)                             <== NOT EXECUTED
ffc16da0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc16da4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
}                                                                     
                                                                      
static int                                                            
rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc,
                        mode_t                                  mode) 
{                                                                     
ffc16da8:	90 01 00 4c 	stw     r0,76(r1)                              <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc16dac:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
                                                                      
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); 
ffc16db0:	81 43 00 14 	lwz     r10,20(r3)                             <== NOT EXECUTED
}                                                                     
                                                                      
static int                                                            
rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc,
                        mode_t                                  mode) 
{                                                                     
ffc16db4:	93 e1 00 44 	stw     r31,68(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc16db8:	83 ea 00 08 	lwz     r31,8(r10)                             <== NOT EXECUTED
}                                                                     
                                                                      
static int                                                            
rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc,
                        mode_t                                  mode) 
{                                                                     
ffc16dbc:	93 c1 00 40 	stw     r30,64(r1)                             <== NOT EXECUTED
ffc16dc0:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc16dc4:	80 83 00 08 	lwz     r4,8(r3)                               <== NOT EXECUTED
ffc16dc8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
}                                                                     
                                                                      
static int                                                            
rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc,
                        mode_t                                  mode) 
{                                                                     
ffc16dcc:	93 a1 00 3c 	stw     r29,60(r1)                             <== NOT EXECUTED
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FCHMOD))           
    printf ("rtems-rfs-rtems: fchmod: in: ino:%" PRId32 " mode:%06" PRIomode_t "\n",
            ino, mode);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc16dd0:	4b ff ef 29 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc16dd4:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc16dd8:	41 82 00 2c 	beq-    ffc16e04 <rtems_rfs_rtems_fchmod+0x68> <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
ffc16ddc:	48 01 11 61 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc16de0:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc16de4:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16de8:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc16dec:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16df0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16df4:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16df8:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16dfc:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16e00:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: opening inode", rc);       
  }                                                                   
                                                                      
  imode = rtems_rfs_inode_get_mode (&inode);                          
ffc16e04:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
  }                                                                   
#endif                                                                
                                                                      
  imode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc16e08:	57 de 05 3e 	clrlwi  r30,r30,20                             <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16e0c:	7f e3 fb 78 	mr      r3,r31                                 <== 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);                    
ffc16e10:	89 49 00 02 	lbz     r10,2(r9)                              <== NOT EXECUTED
ffc16e14:	38 81 00 08 	addi    r4,r1,8                                <== 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);
ffc16e18:	55 4a 44 26 	rlwinm  r10,r10,8,16,19                        <== NOT EXECUTED
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
ffc16e1c:	7d 5e f3 78 	or      r30,r10,r30                            <== NOT EXECUTED
 * @prarm mode The mode.                                              
 */                                                                   
static inline void                                                    
rtems_rfs_inode_set_mode (rtems_rfs_inode_handle* handle, uint16_t mode)
{                                                                     
  rtems_rfs_write_u16 (&handle->node->mode, mode);                    
ffc16e20:	57 ca c2 3e 	rlwinm  r10,r30,24,8,31                        <== NOT EXECUTED
ffc16e24:	99 49 00 02 	stb     r10,2(r9)                              <== NOT EXECUTED
ffc16e28:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
ffc16e2c:	9b c9 00 03 	stb     r30,3(r9)                              <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc16e30:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc16e34:	99 21 00 18 	stb     r9,24(r1)                              <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16e38:	4b ff f1 3d 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc > 0)                                                         
ffc16e3c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
  }                                                                   
                                                                      
  return 0;                                                           
ffc16e40:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc16e44:	40 a1 ff a4 	ble-    ffc16de8 <rtems_rfs_rtems_fchmod+0x4c> <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
ffc16e48:	48 01 10 f5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16e4c:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
ffc16e50:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16e54:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16e58:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16e5c:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16e60:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16e64:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16e68:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16e6c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17bf4 <rtems_rfs_rtems_fdatasync>: * @param iop * @return int */ int rtems_rfs_rtems_fdatasync (rtems_libio_t* iop) {
ffc17bf4:	94 21 ff f0 	stwu    r1,-16(r1)                             <== NOT EXECUTED
ffc17bf8:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc17bfc:	90 01 00 14 	stw     r0,20(r1)                              <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
ffc17c00:	81 23 00 28 	lwz     r9,40(r3)                              <== NOT EXECUTED
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
int                                                                   
rtems_rfs_rtems_fdatasync (rtems_libio_t* iop)                        
{                                                                     
ffc17c04:	93 e1 00 0c 	stw     r31,12(r1)                             <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
ffc17c08:	80 69 00 08 	lwz     r3,8(r9)                               <== NOT EXECUTED
ffc17c0c:	48 00 9d 39 	bl      ffc21944 <rtems_rfs_buffer_sync>       <== NOT EXECUTED
  if (rc)                                                             
ffc17c10:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc17c14:	40 82 00 1c 	bne-    ffc17c30 <rtems_rfs_rtems_fdatasync+0x3c><== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
}                                                                     
ffc17c18:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
ffc17c1c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc17c20:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc17c24:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17c28:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc17c2c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
ffc17c30:	48 01 03 0d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc17c34:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
ffc17c38:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc17c3c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc17c40:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17c44:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc17c48:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc17c4c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26954 <rtems_rfs_rtems_file_close>: * @param iop * @return int */ static int rtems_rfs_rtems_file_close (rtems_libio_t* iop) {
ffc26954:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc26958:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc2695c:	38 80 00 00 	li      r4,0                                   
ffc26960:	90 01 00 1c 	stw     r0,28(r1)                              
ffc26964:	38 a0 00 00 	li      r5,0                                   
ffc26968:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc2696c:	83 c3 00 20 	lwz     r30,32(r3)                             
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_close (rtems_libio_t* iop)                       
{                                                                     
ffc26970:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
  rtems_rfs_file_system* fs = rtems_rfs_file_fs (file);               
ffc26974:	81 3e 00 1c 	lwz     r9,28(r30)                             
 * @param iop                                                         
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_close (rtems_libio_t* iop)                       
{                                                                     
ffc26978:	93 a1 00 0c 	stw     r29,12(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
  rtems_rfs_file_system* fs = rtems_rfs_file_fs (file);               
ffc2697c:	83 e9 00 98 	lwz     r31,152(r9)                            
  .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                       
};                                                                    
ffc26980:	81 3f 00 80 	lwz     r9,128(r31)                            
ffc26984:	80 69 00 00 	lwz     r3,0(r9)                               
ffc26988:	4b fe 94 55 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2698c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26990:	40 82 00 60 	bne-    ffc269f0 <rtems_rfs_rtems_file_close+0x9c><== NEVER TAKEN
  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);                               
ffc26994:	7f c4 f3 78 	mr      r4,r30                                 
ffc26998:	7f e3 fb 78 	mr      r3,r31                                 
ffc2699c:	4b ff cd e1 	bl      ffc2377c <rtems_rfs_file_close>        
  if (rc > 0)                                                         
ffc269a0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc269a4:	40 81 00 10 	ble-    ffc269b4 <rtems_rfs_rtems_file_close+0x60><== ALWAYS TAKEN
    rc = rtems_rfs_rtems_error ("file-close: file close", rc);        
ffc269a8:	48 00 15 95 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc269ac:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc269b0:	3b c0 ff ff 	li      r30,-1                                 <== 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);            
ffc269b4:	83 bf 00 80 	lwz     r29,128(r31)                           
  rtems_rfs_buffers_release (fs);                                     
ffc269b8:	7f e3 fb 78 	mr      r3,r31                                 
ffc269bc:	4b ff b0 61 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc269c0:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc269c4:	4b fe 95 b9 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc269c8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc269cc:	40 82 00 58 	bne-    ffc26a24 <rtems_rfs_rtems_file_close+0xd0><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return rc;                                                          
}                                                                     
ffc269d0:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc269d4:	7f c3 f3 78 	mr      r3,r30                                 
ffc269d8:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc269dc:	7c 08 03 a6 	mtlr    r0                                     
ffc269e0:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc269e4:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc269e8:	38 21 00 18 	addi    r1,r1,24                               
ffc269ec:	4e 80 00 20 	blr                                            
#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))                      
ffc269f0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc269f4:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc269f8:	4b ff 13 35 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc269fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26a00:	41 9e ff 94 	beq+    cr7,ffc26994 <rtems_rfs_rtems_file_close+0x40><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26a04:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26a08:	4b ff 56 0d 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26a0c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26a10:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26a14:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26a18:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26a1c:	48 00 2f c1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26a20:	4b ff ff 74 	b       ffc26994 <rtems_rfs_rtems_file_close+0x40><== 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))                      
ffc26a24:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26a28:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26a2c:	4b ff 13 01 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26a30:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26a34:	41 9e ff 9c 	beq+    cr7,ffc269d0 <rtems_rfs_rtems_file_close+0x7c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26a38:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26a3c:	4b ff 55 d9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26a40:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26a44:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26a48:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26a4c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26a50:	48 00 2f 8d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26a54:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc26a58:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26a5c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc26a60:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26a64:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc26a68:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc26a6c:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc26a70:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26a74 <rtems_rfs_rtems_file_ftruncate>: * @return int */ static int rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop, off_t length) {
ffc26a74:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc26a78:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc26a7c:	38 80 00 00 	li      r4,0                                   
ffc26a80:	90 01 00 1c 	stw     r0,28(r1)                              
ffc26a84:	93 a1 00 0c 	stw     r29,12(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc26a88:	83 a3 00 20 	lwz     r29,32(r3)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                off_t          length)                
{                                                                     
ffc26a8c:	93 c1 00 10 	stw     r30,16(r1)                             
ffc26a90:	7c be 2b 78 	mr      r30,r5                                 
ffc26a94:	38 a0 00 00 	li      r5,0                                   
  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));                    
ffc26a98:	81 3d 00 1c 	lwz     r9,28(r29)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                off_t          length)                
{                                                                     
ffc26a9c:	93 81 00 08 	stw     r28,8(r1)                              
  .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                       
};                                                                    
ffc26aa0:	81 29 00 98 	lwz     r9,152(r9)                             
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                off_t          length)                
{                                                                     
ffc26aa4:	93 e1 00 14 	stw     r31,20(r1)                             
ffc26aa8:	7c df 33 78 	mr      r31,r6                                 
  .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                       
};                                                                    
ffc26aac:	81 29 00 80 	lwz     r9,128(r9)                             
ffc26ab0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc26ab4:	4b fe 93 29 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26ab8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc26abc:	40 82 00 6c 	bne-    ffc26b28 <rtems_rfs_rtems_file_ftruncate+0xb4><== NEVER TAKEN
  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);                        
ffc26ac0:	7f e6 fb 78 	mr      r6,r31                                 
ffc26ac4:	7f a3 eb 78 	mr      r3,r29                                 
ffc26ac8:	7f c5 f3 78 	mr      r5,r30                                 
ffc26acc:	4b ff d7 11 	bl      ffc241dc <rtems_rfs_file_set_size>     
  if (rc)                                                             
ffc26ad0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26ad4:	41 a2 00 10 	beq+    ffc26ae4 <rtems_rfs_rtems_file_ftruncate+0x70><== ALWAYS TAKEN
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
ffc26ad8:	48 00 14 65 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc26adc:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc26ae0:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26ae4:	81 3d 00 1c 	lwz     r9,28(r29)                             
ffc26ae8:	80 69 00 98 	lwz     r3,152(r9)                             
 * 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);            
ffc26aec:	83 c3 00 80 	lwz     r30,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26af0:	4b ff af 2d 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26af4:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc26af8:	4b fe 94 85 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26afc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc26b00:	40 82 00 5c 	bne-    ffc26b5c <rtems_rfs_rtems_file_ftruncate+0xe8><== NEVER TAKEN
                                                                      
  return rc;                                                          
}                                                                     
ffc26b04:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc26b08:	7f e3 fb 78 	mr      r3,r31                                 
ffc26b0c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc26b10:	7c 08 03 a6 	mtlr    r0                                     
ffc26b14:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc26b18:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc26b1c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc26b20:	38 21 00 18 	addi    r1,r1,24                               
ffc26b24:	4e 80 00 20 	blr                                            
#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))                      
ffc26b28:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26b2c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26b30:	4b ff 11 fd 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26b34:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26b38:	41 9e ff 88 	beq+    cr7,ffc26ac0 <rtems_rfs_rtems_file_ftruncate+0x4c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26b3c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26b40:	4b ff 54 d5 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26b44:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26b48:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26b4c:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26b50:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26b54:	48 00 2e 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26b58:	4b ff ff 68 	b       ffc26ac0 <rtems_rfs_rtems_file_ftruncate+0x4c><== 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))                      
ffc26b5c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26b60:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26b64:	4b ff 11 c9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26b68:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26b6c:	41 9e ff 98 	beq+    cr7,ffc26b04 <rtems_rfs_rtems_file_ftruncate+0x90><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26b70:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26b74:	4b ff 54 a1 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26b78:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26b7c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26b80:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26b84:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26b88:	48 00 2e 55 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26b8c:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
ffc26b90:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26b94:	83 81 00 08 	lwz     r28,8(r1)                              <== NOT EXECUTED
ffc26b98:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26b9c:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc26ba0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc26ba4:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc26ba8:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc26bac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26468 <rtems_rfs_rtems_file_lseek>: */ static off_t rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, off_t offset, int whence) {
ffc26468:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc2646c:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc26470:	38 80 00 00 	li      r4,0                                   
ffc26474:	90 01 00 3c 	stw     r0,60(r1)                              
ffc26478:	93 41 00 20 	stw     r26,32(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc2647c:	83 43 00 20 	lwz     r26,32(r3)                             
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
ffc26480:	93 61 00 24 	stw     r27,36(r1)                             
ffc26484:	7c 7b 1b 78 	mr      r27,r3                                 
  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));                    
ffc26488:	81 3a 00 1c 	lwz     r9,28(r26)                             
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
ffc2648c:	93 c1 00 30 	stw     r30,48(r1)                             
ffc26490:	7c be 2b 78 	mr      r30,r5                                 
ffc26494:	38 a0 00 00 	li      r5,0                                   
  .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                       
};                                                                    
ffc26498:	81 29 00 98 	lwz     r9,152(r9)                             
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
ffc2649c:	93 81 00 28 	stw     r28,40(r1)                             
  .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                       
};                                                                    
ffc264a0:	81 29 00 80 	lwz     r9,128(r9)                             
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
ffc264a4:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc264a8:	7c fd 3b 78 	mr      r29,r7                                 
ffc264ac:	80 69 00 00 	lwz     r3,0(r9)                               
ffc264b0:	93 e1 00 34 	stw     r31,52(r1)                             
ffc264b4:	7c df 33 78 	mr      r31,r6                                 
ffc264b8:	93 21 00 1c 	stw     r25,28(r1)                             
ffc264bc:	4b fe 99 21 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc264c0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc264c4:	40 82 00 a8 	bne-    ffc2656c <rtems_rfs_rtems_file_lseek+0x104><== NEVER TAKEN
    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);
ffc264c8:	7f c5 f3 78 	mr      r5,r30                                 
  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;                                           
ffc264cc:	83 9b 00 08 	lwz     r28,8(r27)                             
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
ffc264d0:	7f e6 fb 78 	mr      r6,r31                                 
ffc264d4:	7f a7 eb 78 	mr      r7,r29                                 
  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;                                           
ffc264d8:	83 bb 00 0c 	lwz     r29,12(r27)                            
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
ffc264dc:	7f 63 db 78 	mr      r3,r27                                 
ffc264e0:	48 00 0c 7d 	bl      ffc2715c <rtems_filesystem_default_lseek_file>
ffc264e4:	7c 7e 1b 78 	mr      r30,r3                                 
  if (new_offset != -1)                                               
ffc264e8:	2f 9e ff ff 	cmpwi   cr7,r30,-1                             
    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);
ffc264ec:	7c 9f 23 78 	mr      r31,r4                                 
  if (new_offset != -1)                                               
ffc264f0:	41 9e 00 d8 	beq-    cr7,ffc265c8 <rtems_rfs_rtems_file_lseek+0x160>
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
ffc264f4:	80 bb 00 08 	lwz     r5,8(r27)                              
ffc264f8:	7c 27 0b 78 	mr      r7,r1                                  
ffc264fc:	80 db 00 0c 	lwz     r6,12(r27)                             
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
ffc26500:	7f 43 d3 78 	mr      r3,r26                                 
                                                                      
  old_offset = iop->offset;                                           
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
  if (new_offset != -1)                                               
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
ffc26504:	94 a7 00 08 	stwu    r5,8(r7)                               
ffc26508:	90 c7 00 04 	stw     r6,4(r7)                               
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
ffc2650c:	4b ff db 71 	bl      ffc2407c <rtems_rfs_file_seek>         
                                                                      
    if (rc)                                                           
ffc26510:	7c 79 1b 79 	mr.     r25,r3                                 
ffc26514:	40 82 00 e0 	bne-    ffc265f4 <rtems_rfs_rtems_file_lseek+0x18c><== NEVER TAKEN
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26518:	81 3a 00 1c 	lwz     r9,28(r26)                             
ffc2651c:	80 69 00 98 	lwz     r3,152(r9)                             
 * 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);            
ffc26520:	83 a3 00 80 	lwz     r29,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26524:	4b ff b4 f9 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26528:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc2652c:	4b fe 9a 51 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26530:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26534:	40 82 00 f8 	bne-    ffc2662c <rtems_rfs_rtems_file_lseek+0x1c4><== NEVER TAKEN
                                                                      
  return new_offset;                                                  
}                                                                     
ffc26538:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc2653c:	7f c3 f3 78 	mr      r3,r30                                 
ffc26540:	7f e4 fb 78 	mr      r4,r31                                 
ffc26544:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc26548:	7c 08 03 a6 	mtlr    r0                                     
ffc2654c:	83 41 00 20 	lwz     r26,32(r1)                             
ffc26550:	83 61 00 24 	lwz     r27,36(r1)                             
ffc26554:	83 81 00 28 	lwz     r28,40(r1)                             
ffc26558:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc2655c:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc26560:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc26564:	38 21 00 38 	addi    r1,r1,56                               
ffc26568:	4e 80 00 20 	blr                                            
#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))                      
ffc2656c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26570:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26574:	4b ff 17 b9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26578:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2657c:	41 9e ff 4c 	beq+    cr7,ffc264c8 <rtems_rfs_rtems_file_lseek+0x60><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26580:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26584:	4b ff 5a 91 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26588:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2658c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26590:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26594:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26598:	48 00 34 45 	bl      ffc299dc <printf>                      <== 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);
ffc2659c:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc265a0:	7f e6 fb 78 	mr      r6,r31                                 <== 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;                                           
ffc265a4:	83 9b 00 08 	lwz     r28,8(r27)                             <== NOT EXECUTED
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
ffc265a8:	7f a7 eb 78 	mr      r7,r29                                 <== 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;                                           
ffc265ac:	83 bb 00 0c 	lwz     r29,12(r27)                            <== NOT EXECUTED
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
ffc265b0:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc265b4:	48 00 0b a9 	bl      ffc2715c <rtems_filesystem_default_lseek_file><== NOT EXECUTED
ffc265b8:	7c 7e 1b 78 	mr      r30,r3                                 <== NOT EXECUTED
  if (new_offset != -1)                                               
ffc265bc:	2f 9e ff ff 	cmpwi   cr7,r30,-1                             <== 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);
ffc265c0:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
  if (new_offset != -1)                                               
ffc265c4:	40 9e ff 30 	bne+    cr7,ffc264f4 <rtems_rfs_rtems_file_lseek+0x8c><== NOT EXECUTED
ffc265c8:	2f 84 ff ff 	cmpwi   cr7,r4,-1                              
ffc265cc:	41 be ff 4c 	beq-    cr7,ffc26518 <rtems_rfs_rtems_file_lseek+0xb0><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
ffc265d0:	80 bb 00 08 	lwz     r5,8(r27)                              <== NOT EXECUTED
ffc265d4:	7c 27 0b 78 	mr      r7,r1                                  <== NOT EXECUTED
ffc265d8:	80 db 00 0c 	lwz     r6,12(r27)                             <== NOT EXECUTED
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
ffc265dc:	7f 43 d3 78 	mr      r3,r26                                 <== 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;                                  
ffc265e0:	94 a7 00 08 	stwu    r5,8(r7)                               <== NOT EXECUTED
ffc265e4:	90 c7 00 04 	stw     r6,4(r7)                               <== NOT EXECUTED
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
ffc265e8:	4b ff da 95 	bl      ffc2407c <rtems_rfs_file_seek>         <== NOT EXECUTED
                                                                      
    if (rc)                                                           
ffc265ec:	7c 79 1b 79 	mr.     r25,r3                                 <== NOT EXECUTED
ffc265f0:	41 82 ff 28 	beq+    ffc26518 <rtems_rfs_rtems_file_lseek+0xb0><== NOT EXECUTED
    {                                                                 
      rtems_rfs_rtems_error ("file_lseek: lseek", rc);                
ffc265f4:	48 00 19 49 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc265f8:	81 3a 00 1c 	lwz     r9,28(r26)                             <== 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);                
ffc265fc:	93 23 00 00 	stw     r25,0(r3)                              <== NOT EXECUTED
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
ffc26600:	3b c0 ff ff 	li      r30,-1                                 <== NOT EXECUTED
ffc26604:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26608:	80 69 00 98 	lwz     r3,152(r9)                             <== 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;                                       
ffc2660c:	93 bb 00 0c 	stw     r29,12(r27)                            <== NOT EXECUTED
ffc26610:	93 9b 00 08 	stw     r28,8(r27)                             <== 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);            
ffc26614:	83 a3 00 80 	lwz     r29,128(r3)                            <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26618:	4b ff b4 05 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc2661c:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
ffc26620:	4b fe 99 5d 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26624:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26628:	41 82 ff 10 	beq+    ffc26538 <rtems_rfs_rtems_file_lseek+0xd0><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc2662c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26630:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26634:	4b ff 16 f9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26638:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2663c:	41 9e fe fc 	beq+    cr7,ffc26538 <rtems_rfs_rtems_file_lseek+0xd0><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26640:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26644:	4b ff 59 d1 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26648:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc2664c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26650:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26654:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26658:	48 00 33 85 	bl      ffc299dc <printf>                      <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return new_offset;                                                  
}                                                                     
ffc2665c:	80 01 00 3c 	lwz     r0,60(r1)                              <== NOT EXECUTED
ffc26660:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc26664:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc26668:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc2666c:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc26670:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc26674:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc26678:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc2667c:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc26680:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc26684:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc26688:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc2668c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc26bb0 <rtems_rfs_rtems_file_open>: static int rtems_rfs_rtems_file_open (rtems_libio_t* iop, const char* pathname, int oflag, mode_t mode) {
ffc26bb0:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc26bb4:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc26bb8:	38 80 00 00 	li      r4,0                                   
ffc26bbc:	90 01 00 2c 	stw     r0,44(r1)                              
ffc26bc0:	38 a0 00 00 	li      r5,0                                   
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26bc4:	81 23 00 28 	lwz     r9,40(r3)                              
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           int            oflag,                      
                           mode_t         mode)                       
{                                                                     
ffc26bc8:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
ffc26bcc:	83 e9 00 08 	lwz     r31,8(r9)                              
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           int            oflag,                      
                           mode_t         mode)                       
{                                                                     
ffc26bd0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc26bd4:	7c 7e 1b 78 	mr      r30,r3                                 
  .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                       
};                                                                    
ffc26bd8:	81 3f 00 80 	lwz     r9,128(r31)                            
static int                                                            
rtems_rfs_rtems_file_open (rtems_libio_t* iop,                        
                           const char*    pathname,                   
                           int            oflag,                      
                           mode_t         mode)                       
{                                                                     
ffc26bdc:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc26be0:	80 69 00 00 	lwz     r3,0(r9)                               
ffc26be4:	4b fe 91 f9 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26be8:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26bec:	40 82 00 98 	bne-    ffc26c84 <rtems_rfs_rtems_file_open+0xd4><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
ffc26bf0:	80 9e 00 1c 	lwz     r4,28(r30)                             
ffc26bf4:	7f e3 fb 78 	mr      r3,r31                                 
ffc26bf8:	38 a0 00 00 	li      r5,0                                   
ffc26bfc:	38 c1 00 08 	addi    r6,r1,8                                
ffc26c00:	4b ff c7 d9 	bl      ffc233d8 <rtems_rfs_file_open>         
  if (rc > 0)                                                         
ffc26c04:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26c08:	40 81 00 c8 	ble-    ffc26cd0 <rtems_rfs_rtems_file_open+0x120><== ALWAYS TAKEN
 * 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);            
ffc26c0c:	83 df 00 80 	lwz     r30,128(r31)                           <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26c10:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26c14:	4b ff ae 09 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26c18:	80 7e 00 00 	lwz     r3,0(r30)                              <== NOT EXECUTED
ffc26c1c:	4b fe 93 61 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26c20:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26c24:	40 82 00 2c 	bne-    ffc26c50 <rtems_rfs_rtems_file_open+0xa0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("file-open: open", rc);             
ffc26c28:	48 00 13 15 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc26c2c:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("file-open: open", rc);             
ffc26c30:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc26c34:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
ffc26c38:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc26c3c:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc26c40:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc26c44:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc26c48:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc26c4c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26c50:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26c54:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26c58:	4b ff 10 d5 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26c5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26c60:	41 9e ff c8 	beq+    cr7,ffc26c28 <rtems_rfs_rtems_file_open+0x78><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26c64:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26c68:	4b ff 53 ad 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26c6c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26c70:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26c74:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26c78:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26c7c:	48 00 2d 61 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26c80:	4b ff ff a8 	b       ffc26c28 <rtems_rfs_rtems_file_open+0x78><== 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))                      
ffc26c84:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26c88:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26c8c:	4b ff 10 a1 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26c90:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26c94:	41 9e ff 5c 	beq+    cr7,ffc26bf0 <rtems_rfs_rtems_file_open+0x40><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26c98:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc26c9c:	4b ff 53 79 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26ca0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26ca4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26ca8:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26cac:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26cb0:	48 00 2d 2d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
ffc26cb4:	80 9e 00 1c 	lwz     r4,28(r30)                             <== NOT EXECUTED
ffc26cb8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26cbc:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc26cc0:	38 c1 00 08 	addi    r6,r1,8                                <== NOT EXECUTED
ffc26cc4:	4b ff c7 15 	bl      ffc233d8 <rtems_rfs_file_open>         <== NOT EXECUTED
  if (rc > 0)                                                         
ffc26cc8:	7c 7d 1b 79 	mr.     r29,r3                                 <== NOT EXECUTED
ffc26ccc:	41 81 ff 40 	bgt+    ffc26c0c <rtems_rfs_rtems_file_open+0x5c><== 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);                    
ffc26cd0:	81 21 00 08 	lwz     r9,8(r1)                               
ffc26cd4:	7f e3 fb 78 	mr      r3,r31                                 
 * 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);            
ffc26cd8:	83 bf 00 80 	lwz     r29,128(r31)                           
ffc26cdc:	91 3e 00 20 	stw     r9,32(r30)                             
  rtems_rfs_buffers_release (fs);                                     
ffc26ce0:	4b ff ad 3d 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26ce4:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc26ce8:	4b fe 92 95 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26cec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26cf0:	40 82 00 24 	bne-    ffc26d14 <rtems_rfs_rtems_file_open+0x164><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc26cf4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc26cf8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc26cfc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc26d00:	7c 08 03 a6 	mtlr    r0                                     
ffc26d04:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc26d08:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc26d0c:	38 21 00 28 	addi    r1,r1,40                               
ffc26d10:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26d14:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26d18:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26d1c:	4b ff 10 11 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26d20:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26d24:	41 9e ff d0 	beq+    cr7,ffc26cf4 <rtems_rfs_rtems_file_open+0x144><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26d28:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26d2c:	4b ff 52 e9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26d30:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26d34:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26d38:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26d3c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26d40:	48 00 2c 9d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
ffc26d44:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26d48:	4b ff ff b0 	b       ffc26cf8 <rtems_rfs_rtems_file_open+0x148><== NOT EXECUTED
                                                                      

ffc26690 <rtems_rfs_rtems_file_read>: */ static ssize_t rtems_rfs_rtems_file_read (rtems_libio_t* iop, void* buffer, size_t count) {
ffc26690:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc26694:	7c 08 02 a6 	mflr    r0                                     
ffc26698:	90 01 00 44 	stw     r0,68(r1)                              
ffc2669c:	93 61 00 2c 	stw     r27,44(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc266a0:	83 63 00 20 	lwz     r27,32(r3)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc266a4:	93 01 00 20 	stw     r24,32(r1)                             
ffc266a8:	7c 78 1b 78 	mr      r24,r3                                 
  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));                    
ffc266ac:	81 3b 00 1c 	lwz     r9,28(r27)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc266b0:	93 41 00 28 	stw     r26,40(r1)                             
ffc266b4:	7c 9a 23 78 	mr      r26,r4                                 
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc266b8:	38 80 00 00 	li      r4,0                                   
  .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                       
};                                                                    
ffc266bc:	81 29 00 98 	lwz     r9,152(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc266c0:	93 81 00 30 	stw     r28,48(r1)                             
ffc266c4:	7c bc 2b 78 	mr      r28,r5                                 
ffc266c8:	38 a0 00 00 	li      r5,0                                   
  .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                       
};                                                                    
ffc266cc:	81 29 00 80 	lwz     r9,128(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
ffc266d0:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc266d4:	80 69 00 00 	lwz     r3,0(r9)                               
ffc266d8:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc266dc:	93 21 00 24 	stw     r25,36(r1)                             
ffc266e0:	93 a1 00 34 	stw     r29,52(r1)                             
ffc266e4:	93 c1 00 38 	stw     r30,56(r1)                             
ffc266e8:	4b fe 96 f5 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc266ec:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc266f0:	40 82 02 20 	bne-    ffc26910 <rtems_rfs_rtems_file_read+0x280><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc266f4:	81 3b 00 1c 	lwz     r9,28(r27)                             
  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;                                                  
ffc266f8:	83 d8 00 08 	lwz     r30,8(r24)                             
ffc266fc:	80 69 00 98 	lwz     r3,152(r9)                             
ffc26700:	38 89 00 84 	addi    r4,r9,132                              
ffc26704:	83 f8 00 0c 	lwz     r31,12(r24)                            
ffc26708:	4b ff 9a 25 	bl      ffc2012c <rtems_rfs_block_get_size>    
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc2670c:	7f 83 f0 40 	cmplw   cr7,r3,r30                             
ffc26710:	41 9d 00 88 	bgt-    cr7,ffc26798 <rtems_rfs_rtems_file_read+0x108><== NEVER TAKEN
ffc26714:	7f 83 f0 00 	cmpw    cr7,r3,r30                             
ffc26718:	41 9e 00 78 	beq-    cr7,ffc26790 <rtems_rfs_rtems_file_read+0x100><== ALWAYS TAKEN
  {                                                                   
    while (count)                                                     
ffc2671c:	39 40 00 00 	li      r10,0                                  
ffc26720:	39 60 00 00 	li      r11,0                                  
                           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;                                    
ffc26724:	3b 20 00 00 	li      r25,0                                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (read >= 0)                                                      
    iop->offset = pos + read;                                         
ffc26728:	7f ff 58 14 	addc    r31,r31,r11                            
ffc2672c:	7f de 51 14 	adde    r30,r30,r10                            
ffc26730:	93 d8 00 08 	stw     r30,8(r24)                             
ffc26734:	93 f8 00 0c 	stw     r31,12(r24)                            
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26738:	81 3b 00 1c 	lwz     r9,28(r27)                             
ffc2673c:	80 69 00 98 	lwz     r3,152(r9)                             
 * 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);            
ffc26740:	83 e3 00 80 	lwz     r31,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26744:	4b ff b2 d9 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26748:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc2674c:	4b fe 98 31 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26750:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26754:	40 82 01 40 	bne-    ffc26894 <rtems_rfs_rtems_file_read+0x204><== NEVER TAKEN
                                                                      
  return read;                                                        
}                                                                     
ffc26758:	80 01 00 44 	lwz     r0,68(r1)                              
ffc2675c:	7f 23 cb 78 	mr      r3,r25                                 
ffc26760:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc26764:	7c 08 03 a6 	mtlr    r0                                     
ffc26768:	83 01 00 20 	lwz     r24,32(r1)                             
ffc2676c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc26770:	83 41 00 28 	lwz     r26,40(r1)                             
ffc26774:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc26778:	83 81 00 30 	lwz     r28,48(r1)                             
ffc2677c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc26780:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc26784:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc26788:	38 21 00 40 	addi    r1,r1,64                               
ffc2678c:	4e 80 00 20 	blr                                            
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
ffc26790:	7f 84 f8 40 	cmplw   cr7,r4,r31                             
ffc26794:	40 bd ff 88 	ble-    cr7,ffc2671c <rtems_rfs_rtems_file_read+0x8c>
  {                                                                   
    while (count)                                                     
ffc26798:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc2679c:	41 be ff 80 	beq-    cr7,ffc2671c <rtems_rfs_rtems_file_read+0x8c><== NEVER TAKEN
ffc267a0:	3b 20 00 00 	li      r25,0                                  
ffc267a4:	48 00 00 4c 	b       ffc267f0 <rtems_rfs_rtems_file_read+0x160>
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc267a8:	81 5b 00 0c 	lwz     r10,12(r27)                            
ffc267ac:	7f 43 d3 78 	mr      r3,r26                                 
ffc267b0:	81 3b 00 14 	lwz     r9,20(r27)                             
ffc267b4:	7f a5 eb 78 	mr      r5,r29                                 
ffc267b8:	80 8a 00 1c 	lwz     r4,28(r10)                             
ffc267bc:	7f 9d e0 50 	subf    r28,r29,r28                            
                                                                      
      data  += size;                                                  
ffc267c0:	7f 5a ea 14 	add     r26,r26,r29                            
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc267c4:	7c 84 4a 14 	add     r4,r4,r9                               
ffc267c8:	48 00 2d 89 	bl      ffc29550 <memcpy>                      
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
ffc267cc:	7f 63 db 78 	mr      r3,r27                                 
ffc267d0:	7f a4 eb 78 	mr      r4,r29                                 
ffc267d4:	38 a0 00 01 	li      r5,1                                   
ffc267d8:	4b ff d5 95 	bl      ffc23d6c <rtems_rfs_file_io_end>       
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
ffc267dc:	7f 3d ca 14 	add     r25,r29,r25                            
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc267e0:	7c 77 1b 79 	mr.     r23,r3                                 
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc267e4:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc267e8:	41 81 00 80 	bgt-    ffc26868 <rtems_rfs_rtems_file_read+0x1d8><== NEVER TAKEN
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc267ec:	41 9e 01 10 	beq-    cr7,ffc268fc <rtems_rfs_rtems_file_read+0x26c>
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
ffc267f0:	38 81 00 08 	addi    r4,r1,8                                
ffc267f4:	38 a0 00 01 	li      r5,1                                   
ffc267f8:	7f 63 db 78 	mr      r3,r27                                 
ffc267fc:	4b ff d3 19 	bl      ffc23b14 <rtems_rfs_file_io_start>     
      if (rc > 0)                                                     
ffc26800:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc26804:	41 81 01 40 	bgt-    ffc26944 <rtems_rfs_rtems_file_read+0x2b4><== NEVER TAKEN
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
ffc26808:	83 a1 00 08 	lwz     r29,8(r1)                              
ffc2680c:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        break;                                                        
                                                                      
      if (size > count)                                               
ffc26810:	7f 1d e0 40 	cmplw   cr6,r29,r28                            
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
ffc26814:	41 9e 00 e8 	beq-    cr7,ffc268fc <rtems_rfs_rtems_file_read+0x26c>
        break;                                                        
                                                                      
      if (size > count)                                               
ffc26818:	40 b9 ff 90 	ble-    cr6,ffc267a8 <rtems_rfs_rtems_file_read+0x118>
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc2681c:	81 5b 00 0c 	lwz     r10,12(r27)                            
                                                                      
      if (size == 0)                                                  
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
ffc26820:	7f 9d e3 78 	mr      r29,r28                                
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc26824:	81 3b 00 14 	lwz     r9,20(r27)                             
ffc26828:	7f 43 d3 78 	mr      r3,r26                                 
ffc2682c:	80 8a 00 1c 	lwz     r4,28(r10)                             
ffc26830:	7f a5 eb 78 	mr      r5,r29                                 
                                                                      
      if (size == 0)                                                  
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
ffc26834:	93 81 00 08 	stw     r28,8(r1)                              
ffc26838:	3b 80 00 00 	li      r28,0                                  
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
ffc2683c:	7c 84 4a 14 	add     r4,r4,r9                               
ffc26840:	48 00 2d 11 	bl      ffc29550 <memcpy>                      
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
ffc26844:	7f 63 db 78 	mr      r3,r27                                 
ffc26848:	7f a4 eb 78 	mr      r4,r29                                 
ffc2684c:	38 a0 00 01 	li      r5,1                                   
ffc26850:	4b ff d5 1d 	bl      ffc23d6c <rtems_rfs_file_io_end>       
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
ffc26854:	7f 5a ea 14 	add     r26,r26,r29                            
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26858:	7c 77 1b 79 	mr.     r23,r3                                 
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
ffc2685c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
ffc26860:	7f 3d ca 14 	add     r25,r29,r25                            
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
ffc26864:	40 81 ff 88 	ble+    ffc267ec <rtems_rfs_rtems_file_read+0x15c><== ALWAYS TAKEN
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-end", rc); 
ffc26868:	48 00 16 d5 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (read >= 0)                                                      
    iop->offset = pos + read;                                         
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc2686c:	81 3b 00 1c 	lwz     r9,28(r27)                             <== 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); 
ffc26870:	92 e3 00 00 	stw     r23,0(r3)                              <== NOT EXECUTED
ffc26874:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  if (read >= 0)                                                      
    iop->offset = pos + read;                                         
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26878:	80 69 00 98 	lwz     r3,152(r9)                             <== 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);            
ffc2687c:	83 e3 00 80 	lwz     r31,128(r3)                            <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26880:	4b ff b1 9d 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26884:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc26888:	4b fe 96 f5 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc2688c:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26890:	41 82 fe c8 	beq+    ffc26758 <rtems_rfs_rtems_file_read+0xc8><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26894:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26898:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc2689c:	4b ff 14 91 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc268a0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc268a4:	41 9e fe b4 	beq+    cr7,ffc26758 <rtems_rfs_rtems_file_read+0xc8><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc268a8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc268ac:	4b ff 57 69 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc268b0:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc268b4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc268b8:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc268bc:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc268c0:	48 00 31 1d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
  return read;                                                        
}                                                                     
ffc268c4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc268c8:	7f 23 cb 78 	mr      r3,r25                                 <== NOT EXECUTED
ffc268cc:	82 e1 00 1c 	lwz     r23,28(r1)                             <== NOT EXECUTED
ffc268d0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc268d4:	83 01 00 20 	lwz     r24,32(r1)                             <== NOT EXECUTED
ffc268d8:	83 21 00 24 	lwz     r25,36(r1)                             <== NOT EXECUTED
ffc268dc:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc268e0:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc268e4:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc268e8:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc268ec:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc268f0:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc268f4:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc268f8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (read >= 0)                                                      
ffc268fc:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc26900:	41 bc fe 38 	blt-    cr7,ffc26738 <rtems_rfs_rtems_file_read+0xa8><== NEVER TAKEN
ffc26904:	7f 2b cb 78 	mr      r11,r25                                
ffc26908:	7f 2a fe 70 	srawi   r10,r25,31                             
ffc2690c:	4b ff fe 1c 	b       ffc26728 <rtems_rfs_rtems_file_read+0x98>
#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))                      
ffc26910:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26914:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26918:	4b ff 14 15 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2691c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26920:	41 9e fd d4 	beq+    cr7,ffc266f4 <rtems_rfs_rtems_file_read+0x64><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26924:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26928:	4b ff 56 ed 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc2692c:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26930:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26934:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26938:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2693c:	48 00 30 a1 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26940:	4b ff fd b4 	b       ffc266f4 <rtems_rfs_rtems_file_read+0x64><== 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);
ffc26944:	48 00 15 f9 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc26948:	3b 20 ff ff 	li      r25,-1                                 <== NOT EXECUTED
ffc2694c:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc26950:	4b ff fd e8 	b       ffc26738 <rtems_rfs_rtems_file_read+0xa8><== NOT EXECUTED
                                                                      

ffc26d4c <rtems_rfs_rtems_file_write>: */ static ssize_t rtems_rfs_rtems_file_write (rtems_libio_t* iop, const void* buffer, size_t count) {
ffc26d4c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc26d50:	7c 08 02 a6 	mflr    r0                                     
ffc26d54:	90 01 00 34 	stw     r0,52(r1)                              
ffc26d58:	93 c1 00 28 	stw     r30,40(r1)                             
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
ffc26d5c:	83 c3 00 20 	lwz     r30,32(r3)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc26d60:	93 61 00 1c 	stw     r27,28(r1)                             
ffc26d64:	7c 7b 1b 78 	mr      r27,r3                                 
  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));                    
ffc26d68:	81 3e 00 1c 	lwz     r9,28(r30)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc26d6c:	93 a1 00 24 	stw     r29,36(r1)                             
ffc26d70:	7c 9d 23 78 	mr      r29,r4                                 
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc26d74:	38 80 00 00 	li      r4,0                                   
  .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                       
};                                                                    
ffc26d78:	81 29 00 98 	lwz     r9,152(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc26d7c:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc26d80:	7c bf 2b 78 	mr      r31,r5                                 
ffc26d84:	38 a0 00 00 	li      r5,0                                   
  .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                       
};                                                                    
ffc26d88:	81 29 00 80 	lwz     r9,128(r9)                             
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
ffc26d8c:	93 81 00 20 	stw     r28,32(r1)                             
ffc26d90:	80 69 00 00 	lwz     r3,0(r9)                               
ffc26d94:	93 41 00 18 	stw     r26,24(r1)                             
ffc26d98:	4b fe 90 45 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26d9c:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc26da0:	40 82 01 cc 	bne-    ffc26f6c <rtems_rfs_rtems_file_write+0x220><== NEVER TAKEN
    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);                             
ffc26da4:	81 3e 00 1c 	lwz     r9,28(r30)                             
  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;                                                  
ffc26da8:	81 1b 00 08 	lwz     r8,8(r27)                              
ffc26dac:	38 89 00 84 	addi    r4,r9,132                              
ffc26db0:	80 69 00 98 	lwz     r3,152(r9)                             
ffc26db4:	81 3b 00 0c 	lwz     r9,12(r27)                             
ffc26db8:	91 01 00 08 	stw     r8,8(r1)                               
ffc26dbc:	91 21 00 0c 	stw     r9,12(r1)                              
ffc26dc0:	4b ff 93 6d 	bl      ffc2012c <rtems_rfs_block_get_size>    
ffc26dc4:	7c 69 1b 78 	mr      r9,r3                                  
  file_size = rtems_rfs_file_size (file);                             
  if (pos > file_size)                                                
ffc26dc8:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc26dcc:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc26dd0:	7f 85 48 40 	cmplw   cr7,r5,r9                              
ffc26dd4:	41 9d 01 fc 	bgt-    cr7,ffc26fd0 <rtems_rfs_rtems_file_write+0x284><== NEVER TAKEN
ffc26dd8:	7f 85 48 00 	cmpw    cr7,r5,r9                              
ffc26ddc:	41 9e 02 5c 	beq-    cr7,ffc27038 <rtems_rfs_rtems_file_write+0x2ec><== ALWAYS TAKEN
      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) 
ffc26de0:	7f 89 28 40 	cmplw   cr7,r9,r5                              
ffc26de4:	40 9d 00 f8 	ble-    cr7,ffc26edc <rtems_rfs_rtems_file_write+0x190><== ALWAYS TAKEN
ffc26de8:	81 5b 00 10 	lwz     r10,16(r27)                            
ffc26dec:	71 4b 02 00 	andi.   r11,r10,512                            
ffc26df0:	40 82 02 6c 	bne-    ffc2705c <rtems_rfs_rtems_file_write+0x310>
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
ffc26df4:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc26df8:	39 40 00 00 	li      r10,0                                  
ffc26dfc:	39 60 00 00 	li      r11,0                                  
ffc26e00:	3b 80 00 00 	li      r28,0                                  
ffc26e04:	40 be 00 60 	bne+    cr7,ffc26e64 <rtems_rfs_rtems_file_write+0x118><== ALWAYS TAKEN
ffc26e08:	48 00 00 f8 	b       ffc26f00 <rtems_rfs_rtems_file_write+0x1b4><== NOT EXECUTED
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
      break;                                                          
    }                                                                 
                                                                      
    if (size > count)                                                 
ffc26e0c:	80 a1 00 10 	lwz     r5,16(r1)                              
ffc26e10:	7f 85 f8 40 	cmplw   cr7,r5,r31                             
ffc26e14:	40 9d 00 0c 	ble-    cr7,ffc26e20 <rtems_rfs_rtems_file_write+0xd4>
      size = count;                                                   
ffc26e18:	93 e1 00 10 	stw     r31,16(r1)                             
ffc26e1c:	7f e5 fb 78 	mr      r5,r31                                 
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
ffc26e20:	81 5e 00 0c 	lwz     r10,12(r30)                            
ffc26e24:	80 7e 00 14 	lwz     r3,20(r30)                             
ffc26e28:	81 4a 00 1c 	lwz     r10,28(r10)                            
ffc26e2c:	7c 6a 1a 14 	add     r3,r10,r3                              
ffc26e30:	48 00 27 21 	bl      ffc29550 <memcpy>                      
                                                                      
    data  += size;                                                    
ffc26e34:	81 21 00 10 	lwz     r9,16(r1)                              
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
ffc26e38:	7f c3 f3 78 	mr      r3,r30                                 
ffc26e3c:	7d 24 4b 78 	mr      r4,r9                                  
ffc26e40:	38 a0 00 00 	li      r5,0                                   
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
    count -= size;                                                    
ffc26e44:	7f e9 f8 50 	subf    r31,r9,r31                             
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
ffc26e48:	7f bd 4a 14 	add     r29,r29,r9                             
    count -= size;                                                    
    write  += size;                                                   
ffc26e4c:	7f 9c 4a 14 	add     r28,r28,r9                             
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
ffc26e50:	4b ff cf 1d 	bl      ffc23d6c <rtems_rfs_file_io_end>       
    if (rc)                                                           
ffc26e54:	7c 7a 1b 79 	mr.     r26,r3                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
ffc26e58:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    data  += size;                                                    
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
    if (rc)                                                           
ffc26e5c:	40 82 00 28 	bne-    ffc26e84 <rtems_rfs_rtems_file_write+0x138><== NEVER TAKEN
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
ffc26e60:	41 9e 00 90 	beq-    cr7,ffc26ef0 <rtems_rfs_rtems_file_write+0x1a4>
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc26e64:	38 81 00 10 	addi    r4,r1,16                               
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
ffc26e68:	93 e1 00 10 	stw     r31,16(r1)                             
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
ffc26e6c:	38 a0 00 00 	li      r5,0                                   
ffc26e70:	7f c3 f3 78 	mr      r3,r30                                 
ffc26e74:	4b ff cc a1 	bl      ffc23b14 <rtems_rfs_file_io_start>     
    }                                                                 
                                                                      
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
ffc26e78:	7f a4 eb 78 	mr      r4,r29                                 
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
    if (rc)                                                           
ffc26e7c:	7c 7a 1b 79 	mr.     r26,r3                                 
ffc26e80:	41 82 ff 8c 	beq+    ffc26e0c <rtems_rfs_rtems_file_write+0xc0>
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
    if (rc)                                                           
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
ffc26e84:	48 00 10 b9 	bl      ffc27f3c <__errno>                     
ffc26e88:	3b 80 ff ff 	li      r28,-1                                 
ffc26e8c:	93 43 00 00 	stw     r26,0(r3)                              
  }                                                                   
                                                                      
  if (write >= 0)                                                     
    iop->offset = pos + write;                                        
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26e90:	81 3e 00 1c 	lwz     r9,28(r30)                             
ffc26e94:	80 69 00 98 	lwz     r3,152(r9)                             
 * 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);            
ffc26e98:	83 e3 00 80 	lwz     r31,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26e9c:	4b ff ab 81 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26ea0:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc26ea4:	4b fe 90 d9 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26ea8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26eac:	40 82 00 8c 	bne-    ffc26f38 <rtems_rfs_rtems_file_write+0x1ec><== NEVER TAKEN
                                                                      
  return write;                                                       
}                                                                     
ffc26eb0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc26eb4:	7f 83 e3 78 	mr      r3,r28                                 
ffc26eb8:	83 41 00 18 	lwz     r26,24(r1)                             
ffc26ebc:	7c 08 03 a6 	mtlr    r0                                     
ffc26ec0:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc26ec4:	83 81 00 20 	lwz     r28,32(r1)                             
ffc26ec8:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc26ecc:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc26ed0:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc26ed4:	38 21 00 30 	addi    r1,r1,48                               
ffc26ed8:	4e 80 00 20 	blr                                            
      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) 
ffc26edc:	7f 89 28 00 	cmpw    cr7,r9,r5                              
ffc26ee0:	40 be ff 14 	bne-    cr7,ffc26df4 <rtems_rfs_rtems_file_write+0xa8><== NEVER TAKEN
ffc26ee4:	7f 84 30 40 	cmplw   cr7,r4,r6                              
ffc26ee8:	40 bd ff 0c 	ble-    cr7,ffc26df4 <rtems_rfs_rtems_file_write+0xa8>
ffc26eec:	4b ff fe fc 	b       ffc26de8 <rtems_rfs_rtems_file_write+0x9c>
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if (write >= 0)                                                     
ffc26ef0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc26ef4:	7f 8b e3 78 	mr      r11,r28                                
ffc26ef8:	7f 8a fe 70 	srawi   r10,r28,31                             
ffc26efc:	41 bc ff 94 	blt-    cr7,ffc26e90 <rtems_rfs_rtems_file_write+0x144><== NEVER TAKEN
    iop->offset = pos + write;                                        
ffc26f00:	81 01 00 08 	lwz     r8,8(r1)                               
ffc26f04:	81 21 00 0c 	lwz     r9,12(r1)                              
ffc26f08:	7d 6b 48 14 	addc    r11,r11,r9                             
ffc26f0c:	7d 4a 41 14 	adde    r10,r10,r8                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26f10:	81 3e 00 1c 	lwz     r9,28(r30)                             
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if (write >= 0)                                                     
    iop->offset = pos + write;                                        
ffc26f14:	91 5b 00 08 	stw     r10,8(r27)                             
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
ffc26f18:	80 69 00 98 	lwz     r3,152(r9)                             
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if (write >= 0)                                                     
    iop->offset = pos + write;                                        
ffc26f1c:	91 7b 00 0c 	stw     r11,12(r27)                            
 * 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);            
ffc26f20:	83 e3 00 80 	lwz     r31,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc26f24:	4b ff aa f9 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26f28:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc26f2c:	4b fe 90 51 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26f30:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc26f34:	41 82 ff 7c 	beq+    ffc26eb0 <rtems_rfs_rtems_file_write+0x164><== ALWAYS TAKEN
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc26f38:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26f3c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26f40:	4b ff 0d ed 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26f44:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26f48:	41 9e ff 68 	beq+    cr7,ffc26eb0 <rtems_rfs_rtems_file_write+0x164><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc26f4c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc26f50:	4b ff 50 c5 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26f54:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26f58:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26f5c:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc26f60:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26f64:	48 00 2a 79 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc26f68:	4b ff ff 48 	b       ffc26eb0 <rtems_rfs_rtems_file_write+0x164><== 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))                      
ffc26f6c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc26f70:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc26f74:	4b ff 0d b9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc26f78:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc26f7c:	41 9e fe 28 	beq+    cr7,ffc26da4 <rtems_rfs_rtems_file_write+0x58><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc26f80:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc26f84:	4b ff 50 91 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc26f88:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc26f8c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc26f90:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc26f94:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc26f98:	48 00 2a 45 	bl      ffc299dc <printf>                      <== 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);                             
ffc26f9c:	81 3e 00 1c 	lwz     r9,28(r30)                             <== 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;                                                  
ffc26fa0:	81 1b 00 08 	lwz     r8,8(r27)                              <== NOT EXECUTED
ffc26fa4:	38 89 00 84 	addi    r4,r9,132                              <== NOT EXECUTED
ffc26fa8:	80 69 00 98 	lwz     r3,152(r9)                             <== NOT EXECUTED
ffc26fac:	81 3b 00 0c 	lwz     r9,12(r27)                             <== NOT EXECUTED
ffc26fb0:	91 01 00 08 	stw     r8,8(r1)                               <== NOT EXECUTED
ffc26fb4:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc26fb8:	4b ff 91 75 	bl      ffc2012c <rtems_rfs_block_get_size>    <== NOT EXECUTED
ffc26fbc:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
  file_size = rtems_rfs_file_size (file);                             
  if (pos > file_size)                                                
ffc26fc0:	80 a1 00 08 	lwz     r5,8(r1)                               <== NOT EXECUTED
ffc26fc4:	80 c1 00 0c 	lwz     r6,12(r1)                              <== NOT EXECUTED
ffc26fc8:	7f 85 48 40 	cmplw   cr7,r5,r9                              <== NOT EXECUTED
ffc26fcc:	40 9d fe 0c 	ble+    cr7,ffc26dd8 <rtems_rfs_rtems_file_write+0x8c><== 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);                         
ffc26fd0:	7f c3 f3 78 	mr      r3,r30                                 
ffc26fd4:	4b ff d2 09 	bl      ffc241dc <rtems_rfs_file_set_size>     
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
ffc26fd8:	81 3e 00 1c 	lwz     r9,28(r30)                             
     * 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);                         
    if (rc)                                                           
ffc26fdc:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc26fe0:	41 82 00 64 	beq-    ffc27044 <rtems_rfs_rtems_file_write+0x2f8><== ALWAYS TAKEN
  {                                                                   
    pos = file_size;                                                  
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
ffc26fe4:	80 69 00 98 	lwz     r3,152(r9)                             <== 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);            
ffc26fe8:	83 e3 00 80 	lwz     r31,128(r3)                            <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
ffc26fec:	4b ff aa 31 	bl      ffc21a1c <rtems_rfs_buffers_release>   <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc26ff0:	80 7f 00 00 	lwz     r3,0(r31)                              <== NOT EXECUTED
ffc26ff4:	4b fe 8f 89 	bl      ffc0ff7c <rtems_semaphore_release>     <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc26ff8:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc26ffc:	40 82 00 8c 	bne-    ffc27088 <rtems_rfs_rtems_file_write+0x33c><== NOT EXECUTED
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
ffc27000:	48 00 0f 3d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
    iop->offset = pos + write;                                        
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc27004:	80 01 00 34 	lwz     r0,52(r1)                              <== 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);
ffc27008:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc2700c:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
    iop->offset = pos + write;                                        
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
ffc27010:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27014:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc27018:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc2701c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc27020:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc27024:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc27028:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc2702c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc27030:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc27034:	4e 80 00 20 	blr                                            <== 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)                                                
ffc27038:	7f 86 20 40 	cmplw   cr7,r6,r4                              
ffc2703c:	40 9d fd a4 	ble+    cr7,ffc26de0 <rtems_rfs_rtems_file_write+0x94>
ffc27040:	4b ff ff 90 	b       ffc26fd0 <rtems_rfs_rtems_file_write+0x284>
    {                                                                 
      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);                              
ffc27044:	80 a1 00 08 	lwz     r5,8(r1)                               
ffc27048:	38 fe 00 10 	addi    r7,r30,16                              
ffc2704c:	80 c1 00 0c 	lwz     r6,12(r1)                              
ffc27050:	80 69 00 98 	lwz     r3,152(r9)                             
ffc27054:	4b ff 8f 91 	bl      ffc1ffe4 <rtems_rfs_block_get_bpos>    
ffc27058:	4b ff fd 9c 	b       ffc26df4 <rtems_rfs_rtems_file_write+0xa8>
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
  {                                                                   
    pos = file_size;                                                  
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
ffc2705c:	7f c3 f3 78 	mr      r3,r30                                 
                                                                      
    rtems_rfs_file_set_bpos (file, pos);                              
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
  {                                                                   
    pos = file_size;                                                  
ffc27060:	91 21 00 08 	stw     r9,8(r1)                               
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
ffc27064:	7d 25 4b 78 	mr      r5,r9                                  
ffc27068:	7c 86 23 78 	mr      r6,r4                                  
                                                                      
    rtems_rfs_file_set_bpos (file, pos);                              
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
  {                                                                   
    pos = file_size;                                                  
ffc2706c:	90 81 00 0c 	stw     r4,12(r1)                              
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
ffc27070:	38 e1 00 08 	addi    r7,r1,8                                
ffc27074:	4b ff d0 09 	bl      ffc2407c <rtems_rfs_file_seek>         
    if (rc)                                                           
ffc27078:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc2707c:	41 82 fd 78 	beq+    ffc26df4 <rtems_rfs_rtems_file_write+0xa8><== ALWAYS TAKEN
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
ffc27080:	81 3e 00 1c 	lwz     r9,28(r30)                             <== NOT EXECUTED
ffc27084:	4b ff ff 60 	b       ffc26fe4 <rtems_rfs_rtems_file_write+0x298><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc27088:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2708c:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc27090:	4b ff 0c 9d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc27094:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc27098:	41 9e ff 68 	beq+    cr7,ffc27000 <rtems_rfs_rtems_file_write+0x2b4><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc2709c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc270a0:	4b ff 4f 75 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc270a4:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc270a8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc270ac:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc270b0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc270b4:	48 00 29 29 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc270b8:	4b ff ff 48 	b       ffc27000 <rtems_rfs_rtems_file_write+0x2b4><== NOT EXECUTED
                                                                      

ffc17204 <rtems_rfs_rtems_fstat>: } int rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc, struct stat* buf) {
ffc17204:	94 21 ff b8 	stwu    r1,-72(r1)                             
ffc17208:	7c 08 02 a6 	mflr    r0                                     
  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);                  
ffc1720c:	38 c0 00 01 	li      r6,1                                   
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
                       struct stat*                            buf)   
{                                                                     
ffc17210:	90 01 00 4c 	stw     r0,76(r1)                              
  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);                  
ffc17214:	38 a1 00 08 	addi    r5,r1,8                                
                                                                      
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);  
ffc17218:	81 23 00 14 	lwz     r9,20(r3)                              
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
                       struct stat*                            buf)   
{                                                                     
ffc1721c:	93 c1 00 40 	stw     r30,64(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc17220:	83 c9 00 08 	lwz     r30,8(r9)                              
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
                       struct stat*                            buf)   
{                                                                     
ffc17224:	93 e1 00 44 	stw     r31,68(r1)                             
ffc17228:	7c 9f 23 78 	mr      r31,r4                                 
  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);                  
ffc1722c:	80 83 00 08 	lwz     r4,8(r3)                               
ffc17230:	7f c3 f3 78 	mr      r3,r30                                 
}                                                                     
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
                       struct stat*                            buf)   
{                                                                     
ffc17234:	93 a1 00 3c 	stw     r29,60(r1)                             
  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);                  
ffc17238:	4b ff ea c1 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc1723c:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc17240:	40 82 01 fc 	bne-    ffc1743c <rtems_rfs_rtems_fstat+0x238> <== NEVER TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
  }                                                                   
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
ffc17244:	81 21 00 14 	lwz     r9,20(r1)                              
 * @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);                    
ffc17248:	88 69 00 02 	lbz     r3,2(r9)                               
ffc1724c:	89 49 00 03 	lbz     r10,3(r9)                              
ffc17250:	54 63 40 2e 	rlwinm  r3,r3,8,0,23                           
ffc17254:	7c 63 53 78 	or      r3,r3,r10                              
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
ffc17258:	54 6a 04 26 	rlwinm  r10,r3,0,16,19                         
ffc1725c:	2f 8a 20 00 	cmpwi   cr7,r10,8192                           
ffc17260:	41 9e 01 3c 	beq-    cr7,ffc1739c <rtems_rfs_rtems_fstat+0x198><== NEVER TAKEN
ffc17264:	2f 8a 60 00 	cmpwi   cr7,r10,24576                          
ffc17268:	41 9e 01 34 	beq-    cr7,ffc1739c <rtems_rfs_rtems_fstat+0x198><== NEVER TAKEN
    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);                         
ffc1726c:	81 3e 00 10 	lwz     r9,16(r30)                             
ffc17270:	7d 2a fe 70 	srawi   r10,r9,31                              
ffc17274:	91 3f 00 04 	stw     r9,4(r31)                              
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc17278:	81 21 00 10 	lwz     r9,16(r1)                              
    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);                         
ffc1727c:	91 5f 00 00 	stw     r10,0(r31)                             
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc17280:	91 3f 00 08 	stw     r9,8(r31)                              
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc17284:	48 00 0a a5 	bl      ffc17d28 <rtems_rfs_rtems_mode>        
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc17288:	81 21 00 14 	lwz     r9,20(r1)                              
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc1728c:	90 7f 00 0c 	stw     r3,12(r31)                             
 */                                                                   
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);                  
ffc17290:	89 49 00 00 	lbz     r10,0(r9)                              
ffc17294:	89 09 00 01 	lbz     r8,1(r9)                               
ffc17298:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc1729c:	7d 4a 43 78 	or      r10,r10,r8                             
  if (links == 0xffff)                                                
ffc172a0:	6d 48 ff ff 	xoris   r8,r10,65535                           
ffc172a4:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              
ffc172a8:	41 9e 01 8c 	beq-    cr7,ffc17434 <rtems_rfs_rtems_fstat+0x230><== NEVER TAKEN
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc172ac:	b1 5f 00 10 	sth     r10,16(r31)                            
                                                                      
  /*                                                                  
   * 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));
ffc172b0:	7f c3 f3 78 	mr      r3,r30                                 
 * @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;          
ffc172b4:	89 49 00 06 	lbz     r10,6(r9)                              
ffc172b8:	89 09 00 07 	lbz     r8,7(r9)                               
ffc172bc:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         
ffc172c0:	80 81 00 10 	lwz     r4,16(r1)                              
ffc172c4:	7d 4a 43 78 	or      r10,r10,r8                             
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
  buf->st_uid     = rtems_rfs_inode_get_uid (&inode);                 
ffc172c8:	b1 5f 00 12 	sth     r10,18(r31)                            
 * @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;  
ffc172cc:	89 49 00 04 	lbz     r10,4(r9)                              
ffc172d0:	89 29 00 05 	lbz     r9,5(r9)                               
ffc172d4:	55 4a c0 0e 	rlwinm  r10,r10,24,0,7                         
ffc172d8:	55 29 80 1e 	rlwinm  r9,r9,16,0,15                          
ffc172dc:	7d 49 4b 78 	or      r9,r10,r9                              
ffc172e0:	55 29 84 3e 	rlwinm  r9,r9,16,16,31                         
ffc172e4:	b1 3f 00 14 	sth     r9,20(r31)                             
                                                                      
  /*                                                                  
   * 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));
ffc172e8:	48 00 d2 a9 	bl      ffc24590 <rtems_rfs_file_get_shared>   
                                                                      
  if (shared)                                                         
ffc172ec:	7c 64 1b 79 	mr.     r4,r3                                  
ffc172f0:	41 82 01 74 	beq-    ffc17464 <rtems_rfs_rtems_fstat+0x260> 
    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); 
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc172f4:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc172f8:	39 40 00 00 	li      r10,0                                  
ffc172fc:	61 4a a0 00 	ori     r10,r10,40960                          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
ffc17300:	80 e4 00 8c 	lwz     r7,140(r4)                             
    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))                                       
ffc17304:	55 29 04 26 	rlwinm  r9,r9,0,16,19                          
  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);       
ffc17308:	81 04 00 90 	lwz     r8,144(r4)                             
    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))                                       
ffc1730c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
                                                                      
  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);       
ffc17310:	81 44 00 94 	lwz     r10,148(r4)                            
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
ffc17314:	81 24 00 84 	lwz     r9,132(r4)                             
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
ffc17318:	90 ff 00 28 	stw     r7,40(r31)                             
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
ffc1731c:	91 1f 00 30 	stw     r8,48(r31)                             
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
ffc17320:	91 5f 00 38 	stw     r10,56(r31)                            
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
ffc17324:	91 3f 00 44 	stw     r9,68(r31)                             
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc17328:	41 9e 00 60 	beq-    cr7,ffc17388 <rtems_rfs_rtems_fstat+0x184><== NEVER TAKEN
 */                                                                   
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);                
ffc1732c:	7f c3 f3 78 	mr      r3,r30                                 
ffc17330:	38 84 00 84 	addi    r4,r4,132                              
ffc17334:	48 00 8d f9 	bl      ffc2012c <rtems_rfs_block_get_size>    
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
ffc17338:	90 7f 00 20 	stw     r3,32(r31)                             
ffc1733c:	90 9f 00 24 	stw     r4,36(r31)                             
      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);                     
ffc17340:	81 3e 00 08 	lwz     r9,8(r30)                              
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc17344:	7f c3 f3 78 	mr      r3,r30                                 
ffc17348:	38 81 00 08 	addi    r4,r1,8                                
      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);                     
ffc1734c:	91 3f 00 40 	stw     r9,64(r31)                             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc17350:	4b ff ec 25 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc17354:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  return 0;                                                           
ffc17358:	38 60 00 00 	li      r3,0                                   
  }                                                                   
                                                                      
  buf->st_blksize = rtems_rfs_fs_block_size (fs);                     
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc1735c:	40 81 00 10 	ble-    ffc1736c <rtems_rfs_rtems_fstat+0x168> <== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
ffc17360:	48 01 0b dd 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17364:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc17368:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1736c:	80 01 00 4c 	lwz     r0,76(r1)                              
ffc17370:	83 a1 00 3c 	lwz     r29,60(r1)                             
ffc17374:	7c 08 03 a6 	mtlr    r0                                     
ffc17378:	83 c1 00 40 	lwz     r30,64(r1)                             
ffc1737c:	83 e1 00 44 	lwz     r31,68(r1)                             
ffc17380:	38 21 00 48 	addi    r1,r1,72                               
ffc17384:	4e 80 00 20 	blr                                            
    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); 
ffc17388:	a1 24 00 8a 	lhz     r9,138(r4)                             <== NOT EXECUTED
ffc1738c:	91 3f 00 24 	stw     r9,36(r31)                             <== NOT EXECUTED
ffc17390:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc17394:	91 3f 00 20 	stw     r9,32(r31)                             <== NOT EXECUTED
ffc17398:	4b ff ff a8 	b       ffc17340 <rtems_rfs_rtems_fstat+0x13c> <== 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]);      
ffc1739c:	89 69 00 20 	lbz     r11,32(r9)                             <== NOT EXECUTED
ffc173a0:	88 09 00 21 	lbz     r0,33(r9)                              <== NOT EXECUTED
ffc173a4:	88 89 00 1c 	lbz     r4,28(r9)                              <== NOT EXECUTED
ffc173a8:	55 6b c0 0e 	rlwinm  r11,r11,24,0,7                         <== NOT EXECUTED
ffc173ac:	89 49 00 1d 	lbz     r10,29(r9)                             <== NOT EXECUTED
ffc173b0:	88 a9 00 23 	lbz     r5,35(r9)                              <== NOT EXECUTED
ffc173b4:	54 84 c0 0e 	rlwinm  r4,r4,24,0,7                           <== NOT EXECUTED
ffc173b8:	88 e9 00 22 	lbz     r7,34(r9)                              <== NOT EXECUTED
ffc173bc:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        <== NOT EXECUTED
ffc173c0:	88 c9 00 1f 	lbz     r6,31(r9)                              <== NOT EXECUTED
ffc173c4:	7c 8a 53 78 	or      r10,r4,r10                             <== NOT EXECUTED
ffc173c8:	89 09 00 1e 	lbz     r8,30(r9)                              <== NOT EXECUTED
ffc173cc:	54 09 80 1e 	rlwinm  r9,r0,16,0,15                          <== NOT EXECUTED
ffc173d0:	7d 69 4b 78 	or      r9,r11,r9                              <== NOT EXECUTED
ffc173d4:	7d 29 2b 78 	or      r9,r9,r5                               <== NOT EXECUTED
ffc173d8:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           <== NOT EXECUTED
ffc173dc:	7d 29 3b 78 	or      r9,r9,r7                               <== NOT EXECUTED
ffc173e0:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           <== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
ffc173e4:	91 3f 00 1c 	stw     r9,28(r31)                             <== NOT EXECUTED
ffc173e8:	7d 4a 33 78 	or      r10,r10,r6                             <== NOT EXECUTED
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
ffc173ec:	81 3e 00 10 	lwz     r9,16(r30)                             <== NOT EXECUTED
ffc173f0:	7d 4a 43 78 	or      r10,r10,r8                             <== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
ffc173f4:	91 5f 00 18 	stw     r10,24(r31)                            <== NOT EXECUTED
      rtems_filesystem_make_dev_t (rtems_rfs_inode_get_block (&inode, 0),
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
ffc173f8:	7d 2a fe 70 	srawi   r10,r9,31                              <== NOT EXECUTED
ffc173fc:	91 3f 00 04 	stw     r9,4(r31)                              <== NOT EXECUTED
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc17400:	81 21 00 10 	lwz     r9,16(r1)                              <== NOT EXECUTED
    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);                         
ffc17404:	91 5f 00 00 	stw     r10,0(r31)                             <== NOT EXECUTED
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
ffc17408:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc1740c:	48 00 09 1d 	bl      ffc17d28 <rtems_rfs_rtems_mode>        <== NOT EXECUTED
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
ffc17410:	81 21 00 14 	lwz     r9,20(r1)                              <== NOT EXECUTED
                                   rtems_rfs_inode_get_block (&inode, 1));
  }                                                                   
                                                                      
  buf->st_dev     = rtems_rfs_fs_device (fs);                         
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
ffc17414:	90 7f 00 0c 	stw     r3,12(r31)                             <== 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);                  
ffc17418:	89 49 00 00 	lbz     r10,0(r9)                              <== NOT EXECUTED
ffc1741c:	89 09 00 01 	lbz     r8,1(r9)                               <== NOT EXECUTED
ffc17420:	55 4a 40 2e 	rlwinm  r10,r10,8,0,23                         <== NOT EXECUTED
ffc17424:	7d 4a 43 78 	or      r10,r10,r8                             <== NOT EXECUTED
  if (links == 0xffff)                                                
ffc17428:	6d 48 ff ff 	xoris   r8,r10,65535                           <== NOT EXECUTED
ffc1742c:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              <== NOT EXECUTED
ffc17430:	40 9e fe 7c 	bne+    cr7,ffc172ac <rtems_rfs_rtems_fstat+0xa8><== NOT EXECUTED
    links = 0;                                                        
ffc17434:	39 40 00 00 	li      r10,0                                  <== NOT EXECUTED
ffc17438:	4b ff fe 74 	b       ffc172ac <rtems_rfs_rtems_fstat+0xa8>  <== 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);         
ffc1743c:	48 01 0b 01 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc17440:	80 01 00 4c 	lwz     r0,76(r1)                              <== 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);         
ffc17444:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc17448:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc1744c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17450:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc17454:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc17458:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc1745c:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc17460:	4e 80 00 20 	blr                                            <== NOT EXECUTED
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
ffc17464:	81 21 00 14 	lwz     r9,20(r1)                              
    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))                                       
ffc17468:	81 5f 00 0c 	lwz     r10,12(r31)                            
 * @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);                   
ffc1746c:	88 a9 00 10 	lbz     r5,16(r9)                              
ffc17470:	89 09 00 11 	lbz     r8,17(r9)                              
ffc17474:	55 4a 04 26 	rlwinm  r10,r10,0,16,19                        
ffc17478:	88 c9 00 13 	lbz     r6,19(r9)                              
ffc1747c:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc17480:	88 e9 00 12 	lbz     r7,18(r9)                              
ffc17484:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc17488:	7c a8 43 78 	or      r8,r5,r8                               
ffc1748c:	7d 08 33 78 	or      r8,r8,r6                               
ffc17490:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc17494:	7d 08 3b 78 	or      r8,r8,r7                               
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
ffc17498:	91 1f 00 28 	stw     r8,40(r31)                             
 * @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);                   
ffc1749c:	88 a9 00 14 	lbz     r5,20(r9)                              
ffc174a0:	89 09 00 15 	lbz     r8,21(r9)                              
ffc174a4:	88 c9 00 17 	lbz     r6,23(r9)                              
ffc174a8:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc174ac:	88 e9 00 16 	lbz     r7,22(r9)                              
ffc174b0:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc174b4:	7c a8 43 78 	or      r8,r5,r8                               
ffc174b8:	7d 08 33 78 	or      r8,r8,r6                               
ffc174bc:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc174c0:	7d 08 3b 78 	or      r8,r8,r7                               
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
ffc174c4:	91 1f 00 30 	stw     r8,48(r31)                             
 * @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);                   
ffc174c8:	88 a9 00 18 	lbz     r5,24(r9)                              
ffc174cc:	89 09 00 19 	lbz     r8,25(r9)                              
ffc174d0:	88 c9 00 1b 	lbz     r6,27(r9)                              
ffc174d4:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc174d8:	88 e9 00 1a 	lbz     r7,26(r9)                              
ffc174dc:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc174e0:	7c a8 43 78 	or      r8,r5,r8                               
ffc174e4:	7d 08 33 78 	or      r8,r8,r6                               
ffc174e8:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc174ec:	7d 08 3b 78 	or      r8,r8,r7                               
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
ffc174f0:	91 1f 00 38 	stw     r8,56(r31)                             
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc174f4:	38 e0 00 00 	li      r7,0                                   
ffc174f8:	60 e7 a0 00 	ori     r7,r7,40960                            
 * @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);             
ffc174fc:	88 a9 00 0c 	lbz     r5,12(r9)                              
ffc17500:	7f 8a 38 00 	cmpw    cr7,r10,r7                             
ffc17504:	89 09 00 0d 	lbz     r8,13(r9)                              
ffc17508:	88 c9 00 0f 	lbz     r6,15(r9)                              
ffc1750c:	54 a5 c0 0e 	rlwinm  r5,r5,24,0,7                           
ffc17510:	88 e9 00 0e 	lbz     r7,14(r9)                              
ffc17514:	55 08 80 1e 	rlwinm  r8,r8,16,0,15                          
ffc17518:	7c a8 43 78 	or      r8,r5,r8                               
ffc1751c:	7d 08 33 78 	or      r8,r8,r6                               
ffc17520:	54 e7 40 2e 	rlwinm  r7,r7,8,0,23                           
ffc17524:	7d 08 3b 78 	or      r8,r8,r7                               
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
ffc17528:	91 1f 00 44 	stw     r8,68(r31)                             
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
ffc1752c:	40 9e 00 20 	bne-    cr7,ffc1754c <rtems_rfs_rtems_fstat+0x348>
 * @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);            
ffc17530:	89 09 00 0a 	lbz     r8,10(r9)                              
ffc17534:	89 49 00 0b 	lbz     r10,11(r9)                             
ffc17538:	55 09 40 2e 	rlwinm  r9,r8,8,0,23                           
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
ffc1753c:	90 9f 00 20 	stw     r4,32(r31)                             
ffc17540:	7d 29 53 78 	or      r9,r9,r10                              
ffc17544:	91 3f 00 24 	stw     r9,36(r31)                             
ffc17548:	4b ff fd f8 	b       ffc17340 <rtems_rfs_rtems_fstat+0x13c> 
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
ffc1754c:	7f c3 f3 78 	mr      r3,r30                                 
ffc17550:	38 81 00 08 	addi    r4,r1,8                                
ffc17554:	4b ff f2 11 	bl      ffc16764 <rtems_rfs_inode_get_size>    
ffc17558:	90 7f 00 20 	stw     r3,32(r31)                             
ffc1755c:	90 9f 00 24 	stw     r4,36(r31)                             
ffc17560:	4b ff fd e0 	b       ffc17340 <rtems_rfs_rtems_fstat+0x13c> 
                                                                      

ffc17864 <rtems_rfs_rtems_initialise>: int rc; /* * Parse the options the user specifiies. */ while (options)
ffc17864:	2c 04 00 00 	cmpwi   r4,0                                   
 */                                                                   
                                                                      
int                                                                   
rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry,
                            const void*                           data)
{                                                                     
ffc17868:	94 21 ff c8 	stwu    r1,-56(r1)                             
ffc1786c:	7c 08 02 a6 	mflr    r0                                     
ffc17870:	93 01 00 18 	stw     r24,24(r1)                             
ffc17874:	7c 78 1b 78 	mr      r24,r3                                 
ffc17878:	90 01 00 3c 	stw     r0,60(r1)                              
ffc1787c:	93 21 00 1c 	stw     r25,28(r1)                             
ffc17880:	93 41 00 20 	stw     r26,32(r1)                             
ffc17884:	93 61 00 24 	stw     r27,36(r1)                             
ffc17888:	93 81 00 28 	stw     r28,40(r1)                             
ffc1788c:	93 a1 00 2c 	stw     r29,44(r1)                             
ffc17890:	93 c1 00 30 	stw     r30,48(r1)                             
ffc17894:	93 e1 00 34 	stw     r31,52(r1)                             
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
ffc17898:	41 82 02 0c 	beq-    ffc17aa4 <rtems_rfs_rtems_initialise+0x240><== ALWAYS TAKEN
ffc1789c:	3f 60 ff c4 	lis     r27,-60                                <== NOT EXECUTED
ffc178a0:	3f 80 ff c4 	lis     r28,-60                                <== 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",                      
ffc178a4:	3f a0 ff c4 	lis     r29,-60                                <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
ffc178a8:	3f 40 ff c4 	lis     r26,-60                                <== NOT EXECUTED
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
ffc178ac:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
ffc178b0:	3b 20 00 05 	li      r25,5                                  <== NOT EXECUTED
ffc178b4:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc178b8:	3b 7b ad 50 	addi    r27,r27,-21168                         <== NOT EXECUTED
ffc178bc:	3b 9c ad 5c 	addi    r28,r28,-21156                         <== 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",                      
ffc178c0:	3b bd ad 6c 	addi    r29,r29,-21140                         <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
ffc178c4:	3b 5a ad 7c 	addi    r26,r26,-21124                         <== NOT EXECUTED
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
  {                                                                   
    printf ("options=%s\n", options);                                 
ffc178c8:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc178cc:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc178d0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc178d4:	48 01 21 09 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    if (strncmp (options, "hold-bitmaps",                             
ffc178d8:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc178dc:	38 a0 00 0c 	li      r5,12                                  <== NOT EXECUTED
ffc178e0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc178e4:	48 01 33 8d 	bl      ffc2ac70 <strncmp>                     <== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
ffc178e8:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
  {                                                                   
    printf ("options=%s\n", options);                                 
    if (strncmp (options, "hold-bitmaps",                             
ffc178ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
ffc178f0:	38 a0 00 0e 	li      r5,14                                  <== NOT EXECUTED
ffc178f4:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
  {                                                                   
    printf ("options=%s\n", options);                                 
    if (strncmp (options, "hold-bitmaps",                             
ffc178f8:	40 9e 00 98 	bne-    cr7,ffc17990 <rtems_rfs_rtems_initialise+0x12c><== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
ffc178fc:	63 de 00 01 	ori     r30,r30,1                              <== 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, ',');                                  
ffc17900:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17904:	38 80 00 2c 	li      r4,44                                  <== NOT EXECUTED
ffc17908:	48 01 2b cd 	bl      ffc2a4d4 <strchr>                      <== NOT EXECUTED
    if (options)                                                      
ffc1790c:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
ffc17910:	3b e3 00 01 	addi    r31,r3,1                               <== NOT EXECUTED
ffc17914:	2f 9f 00 00 	cmpwi   cr7,r31,0                              <== NOT EXECUTED
    }                                                                 
    else                                                              
      return rtems_rfs_rtems_error ("initialise: invalid option", EINVAL);
                                                                      
    options = strchr (options, ',');                                  
    if (options)                                                      
ffc17918:	41 82 00 10 	beq-    ffc17928 <rtems_rfs_rtems_initialise+0xc4><== NOT EXECUTED
    {                                                                 
      ++options;                                                      
      if (*options == '\0')                                           
ffc1791c:	89 23 00 01 	lbz     r9,1(r3)                               <== NOT EXECUTED
ffc17920:	2f 09 00 00 	cmpwi   cr6,r9,0                               <== NOT EXECUTED
ffc17924:	40 9a 00 8c 	bne-    cr6,ffc179b0 <rtems_rfs_rtems_initialise+0x14c><== NOT EXECUTED
        options = NULL;                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
ffc17928:	38 60 00 04 	li      r3,4                                   
ffc1792c:	4b ff 31 69 	bl      ffc0aa94 <malloc>                      
  if (!rtems)                                                         
ffc17930:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc17934:	41 82 02 28 	beq-    ffc17b5c <rtems_rfs_rtems_initialise+0x2f8><== NEVER TAKEN
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
                                                                      
  memset (rtems, 0, sizeof (rtems_rfs_rtems_private));                
ffc17938:	39 20 00 00 	li      r9,0                                   
ffc1793c:	91 3f 00 00 	stw     r9,0(r31)                              
                                                                      
  rc = rtems_rfs_mutex_create (&rtems->access);                       
ffc17940:	48 00 e2 55 	bl      ffc25b94 <rtems_rfs_mutex_create>      
  if (rc > 0)                                                         
ffc17944:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc17948:	40 81 00 94 	ble-    ffc179dc <rtems_rfs_rtems_initialise+0x178><== ALWAYS TAKEN
  {                                                                   
    free (rtems);                                                     
ffc1794c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17950:	4b ff 29 ad 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot create mutex", rc);
ffc17954:	48 01 05 e9 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17958:	93 a3 00 00 	stw     r29,0(r3)                              <== NOT EXECUTED
ffc1795c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc17960:	80 01 00 3c 	lwz     r0,60(r1)                              
ffc17964:	83 01 00 18 	lwz     r24,24(r1)                             
ffc17968:	7c 08 03 a6 	mtlr    r0                                     
ffc1796c:	83 21 00 1c 	lwz     r25,28(r1)                             
ffc17970:	83 41 00 20 	lwz     r26,32(r1)                             
ffc17974:	83 61 00 24 	lwz     r27,36(r1)                             
ffc17978:	83 81 00 28 	lwz     r28,40(r1)                             
ffc1797c:	83 a1 00 2c 	lwz     r29,44(r1)                             
ffc17980:	83 c1 00 30 	lwz     r30,48(r1)                             
ffc17984:	83 e1 00 34 	lwz     r31,52(r1)                             
ffc17988:	38 21 00 38 	addi    r1,r1,56                               
ffc1798c:	4e 80 00 20 	blr                                            
  {                                                                   
    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",                      
ffc17990:	48 01 32 e1 	bl      ffc2ac70 <strncmp>                     <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
ffc17994:	7f 44 d3 78 	mr      r4,r26                                 <== 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",                      
ffc17998:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
ffc1799c:	38 a0 00 0d 	li      r5,13                                  <== NOT EXECUTED
ffc179a0:	7f e3 fb 78 	mr      r3,r31                                 <== 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",                      
ffc179a4:	40 9e 00 14 	bne-    cr7,ffc179b8 <rtems_rfs_rtems_initialise+0x154><== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
ffc179a8:	63 de 00 02 	ori     r30,r30,2                              <== NOT EXECUTED
ffc179ac:	4b ff ff 54 	b       ffc17900 <rtems_rfs_rtems_initialise+0x9c><== NOT EXECUTED
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
ffc179b0:	40 9e ff 18 	bne+    cr7,ffc178c8 <rtems_rfs_rtems_initialise+0x64><== NOT EXECUTED
ffc179b4:	4b ff ff 74 	b       ffc17928 <rtems_rfs_rtems_initialise+0xc4><== 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",                       
ffc179b8:	48 01 32 b9 	bl      ffc2ac70 <strncmp>                     <== NOT EXECUTED
                      sizeof ("max-held-bufs") - 1) == 0)             
    {                                                                 
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
ffc179bc:	38 80 00 00 	li      r4,0                                   <== 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",                       
ffc179c0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
                      sizeof ("max-held-bufs") - 1) == 0)             
    {                                                                 
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
ffc179c4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc179c8:	38 7f 00 0e 	addi    r3,r31,14                              <== 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",                       
ffc179cc:	40 9e 00 98 	bne-    cr7,ffc17a64 <rtems_rfs_rtems_initialise+0x200><== NOT EXECUTED
                      sizeof ("max-held-bufs") - 1) == 0)             
    {                                                                 
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
ffc179d0:	48 01 36 39 	bl      ffc2b008 <strtoul>                     <== NOT EXECUTED
ffc179d4:	7c 79 1b 78 	mr      r25,r3                                 <== NOT EXECUTED
ffc179d8:	4b ff ff 28 	b       ffc17900 <rtems_rfs_rtems_initialise+0x9c><== 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);
ffc179dc:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc179e0:	38 80 00 00 	li      r4,0                                   
ffc179e4:	38 a0 00 00 	li      r5,0                                   
ffc179e8:	4b ff 83 f5 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc179ec:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc179f0:	40 82 00 3c 	bne-    ffc17a2c <rtems_rfs_rtems_initialise+0x1c8><== NEVER TAKEN
    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);
ffc179f4:	80 78 00 38 	lwz     r3,56(r24)                             
ffc179f8:	7f c5 f3 78 	mr      r5,r30                                 
ffc179fc:	7f e4 fb 78 	mr      r4,r31                                 
ffc17a00:	7f 26 cb 78 	mr      r6,r25                                 
ffc17a04:	38 e1 00 08 	addi    r7,r1,8                                
ffc17a08:	48 00 cc 01 	bl      ffc24608 <rtems_rfs_fs_open>           
  if (rc)                                                             
ffc17a0c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc17a10:	41 82 00 a0 	beq-    ffc17ab0 <rtems_rfs_rtems_initialise+0x24c><== ALWAYS TAKEN
  {                                                                   
    free (rtems);                                                     
ffc17a14:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17a18:	4b ff 28 e5 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: open", rc);            
ffc17a1c:	48 01 05 21 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17a20:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
ffc17a24:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17a28:	4b ff ff 38 	b       ffc17960 <rtems_rfs_rtems_initialise+0xfc><== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc17a2c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17a30:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17a34:	48 00 02 f9 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc17a38:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17a3c:	40 9e 01 00 	bne-    cr7,ffc17b3c <rtems_rfs_rtems_initialise+0x2d8><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_mutex_lock (&rtems->access);                         
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_mutex_destroy (&rtems->access);                         
ffc17a40:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17a44:	48 00 e1 f9 	bl      ffc25c3c <rtems_rfs_mutex_destroy>     <== NOT EXECUTED
    free (rtems);                                                     
ffc17a48:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17a4c:	4b ff 28 b1 	bl      ffc0a2fc <free>                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
ffc17a50:	48 01 04 ed 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17a54:	39 20 00 05 	li      r9,5                                   <== NOT EXECUTED
ffc17a58:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17a5c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17a60:	4b ff ff 00 	b       ffc17960 <rtems_rfs_rtems_initialise+0xfc><== 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);
ffc17a64:	48 01 04 d9 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc17a68:	80 01 00 3c 	lwz     r0,60(r1)                              <== 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);
ffc17a6c:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc17a70:	83 01 00 18 	lwz     r24,24(r1)                             <== NOT EXECUTED
ffc17a74:	7c 08 03 a6 	mtlr    r0                                     <== 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);
ffc17a78:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17a7c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
ffc17a80:	83 21 00 1c 	lwz     r25,28(r1)                             <== NOT EXECUTED
ffc17a84:	83 41 00 20 	lwz     r26,32(r1)                             <== NOT EXECUTED
ffc17a88:	83 61 00 24 	lwz     r27,36(r1)                             <== NOT EXECUTED
ffc17a8c:	83 81 00 28 	lwz     r28,40(r1)                             <== NOT EXECUTED
ffc17a90:	83 a1 00 2c 	lwz     r29,44(r1)                             <== NOT EXECUTED
ffc17a94:	83 c1 00 30 	lwz     r30,48(r1)                             <== NOT EXECUTED
ffc17a98:	83 e1 00 34 	lwz     r31,52(r1)                             <== NOT EXECUTED
ffc17a9c:	38 21 00 38 	addi    r1,r1,56                               <== NOT EXECUTED
ffc17aa0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                            const void*                           data)
{                                                                     
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  uint32_t                 flags = 0;                                 
  uint32_t                 max_held_buffers = RTEMS_RFS_FS_MAX_HELD_BUFFERS;
ffc17aa4:	3b 20 00 05 	li      r25,5                                  
rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry,
                            const void*                           data)
{                                                                     
  rtems_rfs_rtems_private* rtems;                                     
  rtems_rfs_file_system*   fs;                                        
  uint32_t                 flags = 0;                                 
ffc17aa8:	3b c0 00 00 	li      r30,0                                  
ffc17aac:	4b ff fe 7c 	b       ffc17928 <rtems_rfs_rtems_initialise+0xc4>
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
ffc17ab0:	81 21 00 08 	lwz     r9,8(r1)                               
  mt_entry->ops                              = &rtems_rfs_ops;        
ffc17ab4:	3d 00 ff c4 	lis     r8,-60                                 
  mt_entry->mt_fs_root->location.node_access = (void*) RTEMS_RFS_ROOT_INO;
ffc17ab8:	81 58 00 24 	lwz     r10,36(r24)                            
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
  mt_entry->ops                              = &rtems_rfs_ops;        
ffc17abc:	39 08 ac a0 	addi    r8,r8,-21344                           
 * 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);            
ffc17ac0:	83 e9 00 80 	lwz     r31,128(r9)                            
ffc17ac4:	39 08 00 08 	addi    r8,r8,8                                
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
ffc17ac8:	91 38 00 08 	stw     r9,8(r24)                              
  rtems_rfs_buffers_release (fs);                                     
ffc17acc:	7d 23 4b 78 	mr      r3,r9                                  
  mt_entry->ops                              = &rtems_rfs_ops;        
  mt_entry->mt_fs_root->location.node_access = (void*) RTEMS_RFS_ROOT_INO;
ffc17ad0:	39 20 00 01 	li      r9,1                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
  mt_entry->ops                              = &rtems_rfs_ops;        
ffc17ad4:	91 18 00 0c 	stw     r8,12(r24)                             
  mt_entry->mt_fs_root->location.node_access = (void*) RTEMS_RFS_ROOT_INO;
ffc17ad8:	91 2a 00 08 	stw     r9,8(r10)                              
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
ffc17adc:	3d 20 ff c4 	lis     r9,-60                                 
ffc17ae0:	39 29 cd d4 	addi    r9,r9,-12844                           
ffc17ae4:	91 2a 00 10 	stw     r9,16(r10)                             
ffc17ae8:	48 00 9f 35 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc17aec:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc17af0:	4b ff 84 8d 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17af4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc17af8:	40 82 00 0c 	bne-    ffc17b04 <rtems_rfs_rtems_initialise+0x2a0><== NEVER TAKEN
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
ffc17afc:	38 60 00 00 	li      r3,0                                   
ffc17b00:	4b ff fe 60 	b       ffc17960 <rtems_rfs_rtems_initialise+0xfc>
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc17b04:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17b08:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17b0c:	48 00 02 21 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc17b10:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17b14:	41 9e ff e8 	beq+    cr7,ffc17afc <rtems_rfs_rtems_initialise+0x298><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc17b18:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17b1c:	48 00 44 f9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc17b20:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc17b24:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17b28:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc17b2c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17b30:	48 01 1e ad 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc17b34:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17b38:	4b ff fe 28 	b       ffc17960 <rtems_rfs_rtems_initialise+0xfc><== NOT EXECUTED
  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",                
ffc17b3c:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc17b40:	48 00 44 d5 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc17b44:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc17b48:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17b4c:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc17b50:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17b54:	48 01 1e 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc17b58:	4b ff fe e8 	b       ffc17a40 <rtems_rfs_rtems_initialise+0x1dc><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
  if (!rtems)                                                         
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
ffc17b5c:	48 01 03 e1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc17b60:	39 20 00 0c 	li      r9,12                                  <== NOT EXECUTED
ffc17b64:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc17b68:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc17b6c:	4b ff fd f4 	b       ffc17960 <rtems_rfs_rtems_initialise+0xfc><== NOT EXECUTED
                                                                      

ffc168a8 <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) {
ffc168a8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc168ac:	7c 08 02 a6 	mflr    r0                                     
                                                                      
  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);     
ffc168b0:	39 00 00 00 	li      r8,0                                   
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)                                 
{                                                                     
ffc168b4:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (targetloc);
ffc168b8:	81 44 00 14 	lwz     r10,20(r4)                             
                                                                      
  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);     
ffc168bc:	81 23 00 08 	lwz     r9,8(r3)                               
ffc168c0:	80 e4 00 08 	lwz     r7,8(r4)                               
ffc168c4:	7c a4 2b 78 	mr      r4,r5                                  
ffc168c8:	80 6a 00 08 	lwz     r3,8(r10)                              
ffc168cc:	7c c5 33 78 	mr      r5,r6                                  
ffc168d0:	7d 26 4b 78 	mr      r6,r9                                  
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)                                 
{                                                                     
ffc168d4:	93 e1 00 0c 	stw     r31,12(r1)                             
                                                                      
  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);     
ffc168d8:	48 00 e6 e5 	bl      ffc24fbc <rtems_rfs_link>              
  if (rc)                                                             
ffc168dc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc168e0:	40 82 00 1c 	bne-    ffc168fc <rtems_rfs_rtems_link+0x54>   <== NEVER TAKEN
    return rtems_rfs_rtems_error ("link: linking", rc);               
	}                                                                    
                                                                      
                                                                      
	return 0;                                                            
}                                                                     
ffc168e4:	80 01 00 14 	lwz     r0,20(r1)                              
  {                                                                   
    return rtems_rfs_rtems_error ("link: linking", rc);               
	}                                                                    
                                                                      
                                                                      
	return 0;                                                            
ffc168e8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc168ec:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc168f0:	7c 08 03 a6 	mtlr    r0                                     
ffc168f4:	38 21 00 10 	addi    r1,r1,16                               
ffc168f8:	4e 80 00 20 	blr                                            
            parent, target);                                          
                                                                      
  rc = rtems_rfs_link (fs, name, namelen, parent, target, false);     
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("link: linking", rc);               
ffc168fc:	48 01 16 41 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
	}                                                                    
                                                                      
                                                                      
	return 0;                                                            
}                                                                     
ffc16900:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
            parent, target);                                          
                                                                      
  rc = rtems_rfs_link (fs, name, namelen, parent, target, false);     
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("link: linking", rc);               
ffc16904:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16908:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
	}                                                                    
                                                                      
                                                                      
	return 0;                                                            
}                                                                     
ffc1690c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16910:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc16914:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc16918:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17b70 <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 ) {
ffc17b70:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc17b74:	7c 08 02 a6 	mflr    r0                                     
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
ffc17b78:	38 80 00 00 	li      r4,0                                   
ffc17b7c:	90 01 00 14 	stw     r0,20(r1)                              
ffc17b80:	38 a0 00 00 	li      r5,0                                   
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
ffc17b84:	81 23 00 08 	lwz     r9,8(r3)                               
                                                                      
static void                                                           
rtems_rfs_rtems_lock_by_mt_entry (                                    
  const rtems_filesystem_mount_table_entry_t *mt_entry                
)                                                                     
{                                                                     
ffc17b88:	93 e1 00 0c 	stw     r31,12(r1)                             
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
ffc17b8c:	81 29 00 80 	lwz     r9,128(r9)                             
ffc17b90:	80 69 00 00 	lwz     r3,0(r9)                               
ffc17b94:	4b ff 82 49 	bl      ffc0fddc <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17b98:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc17b9c:	40 82 00 18 	bne-    ffc17bb4 <rtems_rfs_rtems_lock_by_mt_entry+0x44><== NEVER TAKEN
)                                                                     
{                                                                     
  rtems_rfs_file_system* fs = mt_entry->fs_info;                      
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
}                                                                     
ffc17ba0:	80 01 00 14 	lwz     r0,20(r1)                              
ffc17ba4:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc17ba8:	7c 08 03 a6 	mtlr    r0                                     
ffc17bac:	38 21 00 10 	addi    r1,r1,16                               
ffc17bb0:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc17bb4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17bb8:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc17bbc:	48 00 01 71 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc17bc0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17bc4:	41 9e ff dc 	beq+    cr7,ffc17ba0 <rtems_rfs_rtems_lock_by_mt_entry+0x30><== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
ffc17bc8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc17bcc:	48 00 44 49 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc17bd0:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc17bd4:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc17bd8:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc17bdc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17be0:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17be4:	38 63 ad 8c 	addi    r3,r3,-21108                           <== NOT EXECUTED
ffc17be8:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc17bec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17bf0:	48 01 1d ec 	b       ffc299dc <printf>                      <== NOT EXECUTED
                                                                      

ffc16f54 <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) {
ffc16f54:	94 21 ff a0 	stwu    r1,-96(r1)                             
ffc16f58:	7c 08 02 a6 	mflr    r0                                     
ffc16f5c:	7c 69 1b 78 	mr      r9,r3                                  
ffc16f60:	90 01 00 64 	stw     r0,100(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (parentloc);
ffc16f64:	81 43 00 14 	lwz     r10,20(r3)                             
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, namelen,             
ffc16f68:	7c c3 33 78 	mr      r3,r6                                  
rtems_rfs_rtems_mknod (const rtems_filesystem_location_info_t *parentloc,
                       const char                             *name,  
                       size_t                                  namelen,
                       mode_t                                  mode,  
                       dev_t                                   dev)   
{                                                                     
ffc16f6c:	93 21 00 44 	stw     r25,68(r1)                             
ffc16f70:	7c f9 3b 78 	mr      r25,r7                                 
ffc16f74:	93 41 00 48 	stw     r26,72(r1)                             
ffc16f78:	7d 1a 43 78 	mr      r26,r8                                 
ffc16f7c:	93 61 00 4c 	stw     r27,76(r1)                             
ffc16f80:	93 81 00 50 	stw     r28,80(r1)                             
ffc16f84:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (parentloc);
  rtems_rfs_ino           parent = rtems_rfs_rtems_get_pathloc_ino (parentloc);
ffc16f88:	83 69 00 08 	lwz     r27,8(r9)                              
rtems_rfs_rtems_mknod (const rtems_filesystem_location_info_t *parentloc,
                       const char                             *name,  
                       size_t                                  namelen,
                       mode_t                                  mode,  
                       dev_t                                   dev)   
{                                                                     
ffc16f8c:	93 a1 00 54 	stw     r29,84(r1)                             
ffc16f90:	7c bd 2b 78 	mr      r29,r5                                 
ffc16f94:	93 c1 00 58 	stw     r30,88(r1)                             
ffc16f98:	7c de 33 78 	mr      r30,r6                                 
ffc16f9c:	93 e1 00 5c 	stw     r31,92(r1)                             
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (parentloc);
ffc16fa0:	83 ea 00 08 	lwz     r31,8(r10)                             
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, namelen,             
ffc16fa4:	48 00 0d 7d 	bl      ffc17d20 <rtems_rfs_rtems_imode>       
ffc16fa8:	39 41 00 38 	addi    r10,r1,56                              
ffc16fac:	91 41 00 08 	stw     r10,8(r1)                              
ffc16fb0:	7c 67 1b 78 	mr      r7,r3                                  
ffc16fb4:	7f a6 eb 78 	mr      r6,r29                                 
ffc16fb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc16fbc:	7f 64 db 78 	mr      r4,r27                                 
ffc16fc0:	7f 85 e3 78 	mr      r5,r28                                 
ffc16fc4:	39 00 00 01 	li      r8,1                                   
ffc16fc8:	39 20 00 00 	li      r9,0                                   
ffc16fcc:	39 40 00 00 	li      r10,0                                  
ffc16fd0:	4b ff f3 c1 	bl      ffc16390 <rtems_rfs_inode_create>      
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc16fd4:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc16fd8:	40 81 00 3c 	ble-    ffc17014 <rtems_rfs_rtems_mknod+0xc0>  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
ffc16fdc:	48 01 0f 61 	bl      ffc27f3c <__errno>                     
ffc16fe0:	93 a3 00 00 	stw     r29,0(r3)                              
ffc16fe4:	38 60 ff ff 	li      r3,-1                                  
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16fe8:	80 01 00 64 	lwz     r0,100(r1)                             
ffc16fec:	83 21 00 44 	lwz     r25,68(r1)                             
ffc16ff0:	7c 08 03 a6 	mtlr    r0                                     
ffc16ff4:	83 41 00 48 	lwz     r26,72(r1)                             
ffc16ff8:	83 61 00 4c 	lwz     r27,76(r1)                             
ffc16ffc:	83 81 00 50 	lwz     r28,80(r1)                             
ffc17000:	83 a1 00 54 	lwz     r29,84(r1)                             
ffc17004:	83 c1 00 58 	lwz     r30,88(r1)                             
ffc17008:	83 e1 00 5c 	lwz     r31,92(r1)                             
ffc1700c:	38 21 00 60 	addi    r1,r1,96                               
ffc17010:	4e 80 00 20 	blr                                            
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode create", rc);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc17014:	80 81 00 38 	lwz     r4,56(r1)                              
ffc17018:	7f e3 fb 78 	mr      r3,r31                                 
ffc1701c:	38 a1 00 10 	addi    r5,r1,16                               
ffc17020:	38 c0 00 01 	li      r6,1                                   
ffc17024:	4b ff ec d5 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc17028:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc1702c:	41 a1 ff b0 	bgt-    ffc16fdc <rtems_rfs_rtems_mknod+0x88>  <== NEVER TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
  }                                                                   
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
ffc17030:	57 de 04 26 	rlwinm  r30,r30,0,16,19                        
ffc17034:	2f 9e 40 00 	cmpwi   cr7,r30,16384                          
ffc17038:	41 9e 00 64 	beq-    cr7,ffc1709c <rtems_rfs_rtems_mknod+0x148>
ffc1703c:	6f c9 ff ff 	xoris   r9,r30,65535                           
ffc17040:	2f 89 80 00 	cmpwi   cr7,r9,-32768                          
ffc17044:	41 9e 00 58 	beq-    cr7,ffc1709c <rtems_rfs_rtems_mknod+0x148><== ALWAYS TAKEN
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
ffc17048:	2f 9e 20 00 	cmpwi   cr7,r30,8192                           <== NOT EXECUTED
ffc1704c:	41 9e 00 0c 	beq-    cr7,ffc17058 <rtems_rfs_rtems_mknod+0x104><== NOT EXECUTED
ffc17050:	2f 9e 60 00 	cmpwi   cr7,r30,24576                          <== NOT EXECUTED
ffc17054:	40 9e 00 70 	bne-    cr7,ffc170c4 <rtems_rfs_rtems_mknod+0x170><== 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);       
ffc17058:	81 21 00 1c 	lwz     r9,28(r1)                              <== NOT EXECUTED
ffc1705c:	57 26 c2 3e 	rlwinm  r6,r25,24,8,31                         <== NOT EXECUTED
ffc17060:	57 24 46 3e 	rlwinm  r4,r25,8,24,31                         <== NOT EXECUTED
ffc17064:	57 25 84 3e 	rlwinm  r5,r25,16,16,31                        <== NOT EXECUTED
ffc17068:	98 c9 00 1e 	stb     r6,30(r9)                              <== NOT EXECUTED
ffc1706c:	57 47 46 3e 	rlwinm  r7,r26,8,24,31                         <== NOT EXECUTED
ffc17070:	57 48 84 3e 	rlwinm  r8,r26,16,16,31                        <== NOT EXECUTED
ffc17074:	98 89 00 1c 	stb     r4,28(r9)                              <== NOT EXECUTED
ffc17078:	57 4a c2 3e 	rlwinm  r10,r26,24,8,31                        <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc1707c:	38 c0 00 01 	li      r6,1                                   <== 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);       
ffc17080:	98 a9 00 1d 	stb     r5,29(r9)                              <== NOT EXECUTED
ffc17084:	9b 29 00 1f 	stb     r25,31(r9)                             <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc17088:	98 c1 00 20 	stb     r6,32(r1)                              <== 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);       
ffc1708c:	98 e9 00 20 	stb     r7,32(r9)                              <== NOT EXECUTED
ffc17090:	99 09 00 21 	stb     r8,33(r9)                              <== NOT EXECUTED
ffc17094:	99 49 00 22 	stb     r10,34(r9)                             <== NOT EXECUTED
ffc17098:	9b 49 00 23 	stb     r26,35(r9)                             <== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc1709c:	7f e3 fb 78 	mr      r3,r31                                 
ffc170a0:	38 81 00 10 	addi    r4,r1,16                               
ffc170a4:	4b ff ee d1 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc170a8:	7c 7f 1b 79 	mr.     r31,r3                                 
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
ffc170ac:	38 60 00 00 	li      r3,0                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
ffc170b0:	40 a1 ff 38 	ble-    ffc16fe8 <rtems_rfs_rtems_mknod+0x94>  <== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
ffc170b4:	48 01 0e 89 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc170b8:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc170bc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc170c0:	4b ff ff 28 	b       ffc16fe8 <rtems_rfs_rtems_mknod+0x94>  <== 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);                               
ffc170c4:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc170c8:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc170cc:	4b ff ee a9 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
ffc170d0:	48 01 0e 6d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc170d4:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc170d8:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc170dc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc170e0:	4b ff ff 08 	b       ffc16fe8 <rtems_rfs_rtems_mknod+0x94>  <== NOT EXECUTED
                                                                      

ffc16e70 <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) {
ffc16e70:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc16e74:	7c 08 02 a6 	mflr    r0                                     
  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);                  
ffc16e78:	38 c0 00 01 	li      r6,1                                   
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (const rtems_filesystem_location_info_t* pathloc)
{                                                                     
ffc16e7c:	90 01 00 44 	stw     r0,68(r1)                              
  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);                  
ffc16e80:	38 a1 00 08 	addi    r5,r1,8                                
 */                                                                   
                                                                      
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);
ffc16e84:	81 23 00 14 	lwz     r9,20(r3)                              
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (const rtems_filesystem_location_info_t* pathloc)
{                                                                     
ffc16e88:	93 c1 00 38 	stw     r30,56(r1)                             
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
ffc16e8c:	83 c9 00 08 	lwz     r30,8(r9)                              
  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);                  
ffc16e90:	80 83 00 08 	lwz     r4,8(r3)                               
ffc16e94:	7f c3 f3 78 	mr      r3,r30                                 
 * @return rtems_filesystem_node_types_t                              
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (const rtems_filesystem_location_info_t* pathloc)
{                                                                     
ffc16e98:	93 e1 00 3c 	stw     r31,60(r1)                             
  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);                  
ffc16e9c:	4b ff ee 5d 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc16ea0:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16ea4:	40 81 00 2c 	ble-    ffc16ed0 <rtems_rfs_rtems_node_type+0x60><== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
ffc16ea8:	48 01 10 95 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc16eac:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16eb0:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc16eb4:	80 01 00 44 	lwz     r0,68(r1)                              
ffc16eb8:	7f e3 fb 78 	mr      r3,r31                                 
ffc16ebc:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc16ec0:	7c 08 03 a6 	mtlr    r0                                     
ffc16ec4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc16ec8:	38 21 00 40 	addi    r1,r1,64                               
ffc16ecc:	4e 80 00 20 	blr                                            
 * @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);                    
ffc16ed0:	81 21 00 14 	lwz     r9,20(r1)                              
   * etc's inode. Links to inodes can be considered "the real" one, yet they
   * are all links.                                                   
   */                                                                 
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    return RTEMS_FILESYSTEM_DIRECTORY;                                
ffc16ed4:	3b e0 00 00 	li      r31,0                                  
ffc16ed8:	89 29 00 02 	lbz     r9,2(r9)                               
   * link is actually the normal path to a regular file, directory, device
   * etc's inode. Links to inodes can be considered "the real" one, yet they
   * are all links.                                                   
   */                                                                 
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc16edc:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc16ee0:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc16ee4:	41 9e 00 2c 	beq-    cr7,ffc16f10 <rtems_rfs_rtems_node_type+0xa0>
    return RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc16ee8:	39 40 00 00 	li      r10,0                                  
ffc16eec:	61 4a a0 00 	ori     r10,r10,40960                          
ffc16ef0:	7f 89 50 00 	cmpw    cr7,r9,r10                             
    return RTEMS_FILESYSTEM_SYM_LINK;                                 
ffc16ef4:	3b e0 00 03 	li      r31,3                                  
   * are all links.                                                   
   */                                                                 
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    return RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc16ef8:	41 9e 00 18 	beq-    cr7,ffc16f10 <rtems_rfs_rtems_node_type+0xa0>
    return RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
ffc16efc:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc16f00:	41 9e 00 4c 	beq-    cr7,ffc16f4c <rtems_rfs_rtems_node_type+0xdc><== NEVER TAKEN
ffc16f04:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
ffc16f08:	41 9e 00 44 	beq-    cr7,ffc16f4c <rtems_rfs_rtems_node_type+0xdc><== NEVER TAKEN
    return RTEMS_FILESYSTEM_DEVICE;                                   
  else                                                                
    return RTEMS_FILESYSTEM_MEMORY_FILE;                              
ffc16f0c:	3b e0 00 04 	li      r31,4                                  
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
  }                                                                   
                                                                      
  type = rtems_rfs_rtems_node_type_by_inode (&inode);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16f10:	7f c3 f3 78 	mr      r3,r30                                 
ffc16f14:	38 81 00 08 	addi    r4,r1,8                                
ffc16f18:	4b ff f0 5d 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc16f1c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc16f20:	40 a1 ff 94 	ble-    ffc16eb4 <rtems_rfs_rtems_node_type+0x44><== ALWAYS TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
ffc16f24:	48 01 10 19 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc16f28:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
  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);    
ffc16f2c:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc16f30:	93 c3 00 00 	stw     r30,0(r3)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
ffc16f34:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16f38:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc16f3c:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc16f40:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc16f44:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc16f48:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    return RTEMS_FILESYSTEM_DIRECTORY;                                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    return RTEMS_FILESYSTEM_SYM_LINK;                                 
  else if (RTEMS_RFS_S_ISBLK (mode) || RTEMS_RFS_S_ISCHR (mode))      
    return RTEMS_FILESYSTEM_DEVICE;                                   
ffc16f4c:	3b e0 00 01 	li      r31,1                                  <== NOT EXECUTED
ffc16f50:	4b ff ff c0 	b       ffc16f10 <rtems_rfs_rtems_node_type+0xa0><== NOT EXECUTED
                                                                      

ffc16a70 <rtems_rfs_rtems_readlink>: static ssize_t rtems_rfs_rtems_readlink (const rtems_filesystem_location_info_t* pathloc, char* buf, size_t bufsize) {
ffc16a70:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc16a74:	7c 08 02 a6 	mflr    r0                                     
ffc16a78:	7c 69 1b 78 	mr      r9,r3                                  
ffc16a7c:	90 01 00 24 	stw     r0,36(r1)                              
ffc16a80:	7c 88 23 78 	mr      r8,r4                                  
ffc16a84:	7c a6 2b 78 	mr      r6,r5                                  
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
ffc16a88:	81 43 00 14 	lwz     r10,20(r3)                             
  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);       
ffc16a8c:	7d 05 43 78 	mr      r5,r8                                  
ffc16a90:	80 89 00 08 	lwz     r4,8(r9)                               
ffc16a94:	38 e1 00 08 	addi    r7,r1,8                                
ffc16a98:	80 6a 00 08 	lwz     r3,8(r10)                              
                                                                      
static ssize_t                                                        
rtems_rfs_rtems_readlink (const rtems_filesystem_location_info_t* pathloc,
                          char*                                   buf,
                          size_t                                  bufsize)
{                                                                     
ffc16a9c:	93 e1 00 1c 	stw     r31,28(r1)                             
  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);       
ffc16aa0:	48 00 ee e5 	bl      ffc25984 <rtems_rfs_symlink_read>      
  if (rc)                                                             
ffc16aa4:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16aa8:	40 82 00 1c 	bne-    ffc16ac4 <rtems_rfs_rtems_readlink+0x54><== NEVER TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
}                                                                     
ffc16aac:	80 01 00 24 	lwz     r0,36(r1)                              
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
ffc16ab0:	80 61 00 08 	lwz     r3,8(r1)                               
}                                                                     
ffc16ab4:	7c 08 03 a6 	mtlr    r0                                     
ffc16ab8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc16abc:	38 21 00 20 	addi    r1,r1,32                               
ffc16ac0:	4e 80 00 20 	blr                                            
    printf ("rtems-rfs-rtems: readlink: in: ino:%" PRId32 "\n", ino); 
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
ffc16ac4:	48 01 14 79 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
}                                                                     
ffc16ac8:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
    printf ("rtems-rfs-rtems: readlink: in: ino:%" PRId32 "\n", ino); 
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
ffc16acc:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16ad0:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
}                                                                     
ffc16ad4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16ad8:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc16adc:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc16ae0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc1691c <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) {
ffc1691c:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc16920:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc16924:	7c 89 23 78 	mr      r9,r4                                  <== NOT EXECUTED
ffc16928:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc1692c:	81 44 00 14 	lwz     r10,20(r4)                             <== 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);
ffc16930:	81 05 00 08 	lwz     r8,8(r5)                               <== NOT EXECUTED
ffc16934:	7c e5 3b 78 	mr      r5,r7                                  <== NOT EXECUTED
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)
{                                                                     
ffc16938:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
ffc1693c:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
ffc16940:	83 ca 00 08 	lwz     r30,8(r10)                             <== 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);                   
ffc16944:	83 e4 00 08 	lwz     r31,8(r4)                              <== 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);
ffc16948:	7c c4 33 78 	mr      r4,r6                                  <== NOT EXECUTED
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)
{                                                                     
ffc1694c:	93 81 00 10 	stw     r28,16(r1)                             <== 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);
ffc16950:	7d 06 43 78 	mr      r6,r8                                  <== NOT EXECUTED
ffc16954:	7f e7 fb 78 	mr      r7,r31                                 <== 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);      
ffc16958:	83 83 00 08 	lwz     r28,8(r3)                              <== 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);
ffc1695c:	39 00 00 01 	li      r8,1                                   <== NOT EXECUTED
ffc16960:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
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)
{                                                                     
ffc16964:	93 61 00 0c 	stw     r27,12(r1)                             <== NOT EXECUTED
ffc16968:	93 a1 00 14 	stw     r29,20(r1)                             <== NOT EXECUTED
                                                                      
  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);                   
  doff = rtems_rfs_rtems_get_pathloc_doff (old_loc);                  
ffc1696c:	83 a9 00 0c 	lwz     r29,12(r9)                             <== 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);
ffc16970:	48 00 e6 4d 	bl      ffc24fbc <rtems_rfs_link>              <== NOT EXECUTED
  if (rc)                                                             
ffc16974:	7c 7b 1b 79 	mr.     r27,r3                                 <== NOT EXECUTED
ffc16978:	41 82 00 34 	beq-    ffc169ac <rtems_rfs_rtems_rename+0x90> <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: linking", rc);             
ffc1697c:	48 01 15 c1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc16980:	93 63 00 00 	stw     r27,0(r3)                              <== NOT EXECUTED
ffc16984:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16988:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc1698c:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc16990:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16994:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc16998:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc1699c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc169a0:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc169a4:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc169a8:	4e 80 00 20 	blr                                            <== 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,                   
ffc169ac:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc169b0:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc169b4:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc169b8:	7f a6 eb 78 	mr      r6,r29                                 <== NOT EXECUTED
ffc169bc:	38 e0 00 02 	li      r7,2                                   <== NOT EXECUTED
ffc169c0:	48 00 e8 35 	bl      ffc251f4 <rtems_rfs_unlink>            <== NOT EXECUTED
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
ffc169c4:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
  }                                                                   
                                                                      
  return 0;                                                           
ffc169c8:	38 60 00 00 	li      r3,0                                   <== 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,                   
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
ffc169cc:	41 82 ff bc 	beq+    ffc16988 <rtems_rfs_rtems_rename+0x6c> <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
ffc169d0:	48 01 15 6d 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc169d4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_unlink (fs, old_parent, ino, doff,                   
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
ffc169d8:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc169dc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc169e0:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc169e4:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc169e8:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc169ec:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc169f0:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc169f4:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc169f8:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc169fc:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17c50 <rtems_rfs_rtems_set_handlers>: { /* * Mapping matches RTEMS so no need to change. */ return imode; }
ffc17c50:	81 24 00 0c 	lwz     r9,12(r4)                              
bool                                                                  
rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc,  
                              rtems_rfs_inode_handle*           inode)
{                                                                     
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  loc->handlers = NULL;                                               
ffc17c54:	39 40 00 00 	li      r10,0                                  
ffc17c58:	88 89 00 02 	lbz     r4,2(r9)                               
ffc17c5c:	89 29 00 03 	lbz     r9,3(r9)                               
ffc17c60:	54 84 40 2e 	rlwinm  r4,r4,8,0,23                           
ffc17c64:	91 43 00 10 	stw     r10,16(r3)                             
ffc17c68:	7c 84 4b 78 	or      r4,r4,r9                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
ffc17c6c:	54 89 04 26 	rlwinm  r9,r4,0,16,19                          
ffc17c70:	2f 89 40 00 	cmpwi   cr7,r9,16384                           
ffc17c74:	41 9e 00 84 	beq-    cr7,ffc17cf8 <rtems_rfs_rtems_set_handlers+0xa8>
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
ffc17c78:	2f 89 20 00 	cmpwi   cr7,r9,8192                            
ffc17c7c:	41 9e 00 54 	beq-    cr7,ffc17cd0 <rtems_rfs_rtems_set_handlers+0x80><== NEVER TAKEN
ffc17c80:	2f 89 60 00 	cmpwi   cr7,r9,24576                           
ffc17c84:	41 9e 00 4c 	beq-    cr7,ffc17cd0 <rtems_rfs_rtems_set_handlers+0x80><== NEVER TAKEN
    loc->handlers = rtems_rfs_rtems_handlers (device);                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
ffc17c88:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc17c8c:	2f 8a a0 00 	cmpwi   cr7,r10,-24576                         
ffc17c90:	41 9e 00 54 	beq-    cr7,ffc17ce4 <rtems_rfs_rtems_set_handlers+0x94>
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
ffc17c94:	6d 2a ff ff 	xoris   r10,r9,65535                           
ffc17c98:	2f 8a 80 00 	cmpwi   cr7,r10,-32768                         
ffc17c9c:	41 9e 00 70 	beq-    cr7,ffc17d0c <rtems_rfs_rtems_set_handlers+0xbc><== ALWAYS TAKEN
 */                                                                   
                                                                      
bool                                                                  
rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc,  
                              rtems_rfs_inode_handle*           inode)
{                                                                     
ffc17ca0:	94 21 ff f8 	stwu    r1,-8(r1)                              <== NOT EXECUTED
ffc17ca4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
ffc17ca8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17cac:	38 63 ad b4 	addi    r3,r3,-21068                           <== NOT EXECUTED
 */                                                                   
                                                                      
bool                                                                  
rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc,  
                              rtems_rfs_inode_handle*           inode)
{                                                                     
ffc17cb0:	90 01 00 0c 	stw     r0,12(r1)                              <== NOT EXECUTED
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
ffc17cb4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17cb8:	48 01 1d 25 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    return false;                                                     
ffc17cbc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  }                                                                   
  return true;                                                        
}                                                                     
ffc17cc0:	80 01 00 0c 	lwz     r0,12(r1)                              <== NOT EXECUTED
ffc17cc4:	38 21 00 08 	addi    r1,r1,8                                <== NOT EXECUTED
ffc17cc8:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17ccc:	4e 80 00 20 	blr                                            <== 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);                
ffc17cd0:	3d 20 ff c4 	lis     r9,-60                                 <== NOT EXECUTED
ffc17cd4:	39 29 cd a8 	addi    r9,r9,-12888                           <== NOT EXECUTED
ffc17cd8:	91 23 00 10 	stw     r9,16(r3)                              <== NOT EXECUTED
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc17cdc:	38 60 00 01 	li      r3,1                                   <== 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);                
ffc17ce0:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
ffc17ce4:	3d 20 ff c4 	lis     r9,-60                                 
ffc17ce8:	39 29 ac fc 	addi    r9,r9,-21252                           
ffc17cec:	91 23 00 10 	stw     r9,16(r3)                              
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc17cf0:	38 60 00 01 	li      r3,1                                   
ffc17cf4:	4e 80 00 20 	blr                                            
                              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);                   
ffc17cf8:	3d 20 ff c4 	lis     r9,-60                                 
ffc17cfc:	39 29 cd d4 	addi    r9,r9,-12844                           
ffc17d00:	91 23 00 10 	stw     r9,16(r3)                              
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc17d04:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc17d08:	4e 80 00 20 	blr                                            
  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);                  
ffc17d0c:	3d 20 ff c4 	lis     r9,-60                                 
ffc17d10:	39 29 ce 00 	addi    r9,r9,-12800                           
ffc17d14:	91 23 00 10 	stw     r9,16(r3)                              
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
ffc17d18:	38 60 00 01 	li      r3,1                                   
ffc17d1c:	4e 80 00 20 	blr                                            
                                                                      

ffc167e8 <rtems_rfs_rtems_statvfs>: * @return int */ static int rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc, struct statvfs* sb) {
ffc167e8:	94 21 ff e0 	stwu    r1,-32(r1)                             <== NOT EXECUTED
ffc167ec:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
ffc167f0:	90 01 00 24 	stw     r0,36(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
ffc167f4:	38 a1 00 08 	addi    r5,r1,8                                <== 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);  
ffc167f8:	81 23 00 14 	lwz     r9,20(r3)                              <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc,
                         struct statvfs*                         sb)  
{                                                                     
ffc167fc:	93 c1 00 18 	stw     r30,24(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16800:	83 c9 00 08 	lwz     r30,8(r9)                              <== NOT EXECUTED
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc,
                         struct statvfs*                         sb)  
{                                                                     
ffc16804:	93 e1 00 1c 	stw     r31,28(r1)                             <== NOT EXECUTED
ffc16808:	7c 9f 23 78 	mr      r31,r4                                 <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
ffc1680c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc16810:	38 81 00 0c 	addi    r4,r1,12                               <== NOT EXECUTED
ffc16814:	4b ff f3 2d 	bl      ffc15b40 <rtems_rfs_group_usage>       <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
ffc16818:	80 01 00 24 	lwz     r0,36(r1)                              <== 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);                 
ffc1681c:	81 3e 00 10 	lwz     r9,16(r30)                             <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc16820:	80 fe 00 04 	lwz     r7,4(r30)                              <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
ffc16824:	7c 08 03 a6 	mtlr    r0                                     <== 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;                  
ffc16828:	81 01 00 0c 	lwz     r8,12(r1)                              <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc1682c:	81 5e 00 14 	lwz     r10,20(r30)                            <== 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);                 
ffc16830:	81 69 00 20 	lwz     r11,32(r9)                             <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc16834:	7c e8 38 50 	subf    r7,r8,r7                               <== 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);                     
ffc16838:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc1683c:	39 20 00 00 	li      r9,0                                   <== 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;                  
ffc16840:	81 01 00 08 	lwz     r8,8(r1)                               <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc16844:	80 7e 00 08 	lwz     r3,8(r30)                              <== 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);                            
ffc16848:	80 be 00 00 	lwz     r5,0(r30)                              <== 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;                  
ffc1684c:	7d 08 50 50 	subf    r8,r8,r10                              <== NOT EXECUTED
  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);                         
ffc16850:	80 de 00 1c 	lwz     r6,28(r30)                             <== 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);                     
ffc16854:	91 3f 00 08 	stw     r9,8(r31)                              <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc16858:	91 3f 00 10 	stw     r9,16(r31)                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
ffc1685c:	91 3f 00 18 	stw     r9,24(r31)                             <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
  sb->f_favail  = sb->f_ffree;                                        
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
ffc16860:	3d 20 28 09 	lis     r9,10249                               <== NOT EXECUTED
ffc16864:	61 29 20 01 	ori     r9,r9,8193                             <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
ffc16868:	90 7f 00 00 	stw     r3,0(r31)                              <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
ffc1686c:	38 60 00 00 	li      r3,0                                   <== 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);                 
ffc16870:	91 7f 00 04 	stw     r11,4(r31)                             <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
ffc16874:	90 9f 00 0c 	stw     r4,12(r31)                             <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
ffc16878:	90 ff 00 14 	stw     r7,20(r31)                             <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
ffc1687c:	90 ff 00 1c 	stw     r7,28(r31)                             <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
ffc16880:	91 5f 00 20 	stw     r10,32(r31)                            <== NOT EXECUTED
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
ffc16884:	91 1f 00 24 	stw     r8,36(r31)                             <== NOT EXECUTED
  sb->f_favail  = sb->f_ffree;                                        
ffc16888:	91 1f 00 28 	stw     r8,40(r31)                             <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
ffc1688c:	91 3f 00 2c 	stw     r9,44(r31)                             <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
ffc16890:	90 bf 00 30 	stw     r5,48(r31)                             <== NOT EXECUTED
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
ffc16894:	90 df 00 34 	stw     r6,52(r31)                             <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
ffc16898:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc1689c:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc168a0:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc168a4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc16ae4 <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) {
ffc16ae4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc16ae8:	7c 08 02 a6 	mflr    r0                                     
ffc16aec:	90 01 00 2c 	stw     r0,44(r1)                              
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc16af0:	81 43 00 14 	lwz     r10,20(r3)                             
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)
{                                                                     
ffc16af4:	93 e1 00 24 	stw     r31,36(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
ffc16af8:	83 e3 00 08 	lwz     r31,8(r3)                              
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
                          target, strlen (target),                    
ffc16afc:	7c c3 33 78 	mr      r3,r6                                  
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)
{                                                                     
ffc16b00:	93 81 00 18 	stw     r28,24(r1)                             
ffc16b04:	93 a1 00 1c 	stw     r29,28(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
ffc16b08:	83 8a 00 08 	lwz     r28,8(r10)                             
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)
{                                                                     
ffc16b0c:	93 c1 00 20 	stw     r30,32(r1)                             
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
  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),                    
ffc16b10:	90 81 00 08 	stw     r4,8(r1)                               
ffc16b14:	90 a1 00 0c 	stw     r5,12(r1)                              
ffc16b18:	90 c1 00 10 	stw     r6,16(r1)                              
ffc16b1c:	48 01 40 b9 	bl      ffc2abd4 <strlen>                      
ffc16b20:	7c 7d 1b 78 	mr      r29,r3                                 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
ffc16b24:	48 00 59 39 	bl      ffc1c45c <geteuid>                     
ffc16b28:	7c 7e 1b 78 	mr      r30,r3                                 
ffc16b2c:	48 00 59 21 	bl      ffc1c44c <getegid>                     
ffc16b30:	80 81 00 08 	lwz     r4,8(r1)                               
ffc16b34:	7c 69 1b 78 	mr      r9,r3                                  
ffc16b38:	80 a1 00 0c 	lwz     r5,12(r1)                              
ffc16b3c:	7f ea fb 78 	mr      r10,r31                                
ffc16b40:	80 c1 00 10 	lwz     r6,16(r1)                              
ffc16b44:	7f 83 e3 78 	mr      r3,r28                                 
ffc16b48:	7f a7 eb 78 	mr      r7,r29                                 
ffc16b4c:	7f c8 f3 78 	mr      r8,r30                                 
ffc16b50:	48 00 eb 51 	bl      ffc256a0 <rtems_rfs_symlink>           
                          target, strlen (target),                    
                          geteuid(), getegid(), parent);              
  if (rc)                                                             
ffc16b54:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc16b58:	40 82 00 28 	bne-    ffc16b80 <rtems_rfs_rtems_symlink+0x9c><== NEVER TAKEN
  {                                                                   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16b5c:	80 01 00 2c 	lwz     r0,44(r1)                              
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
  }                                                                   
                                                                      
  return 0;                                                           
ffc16b60:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc16b64:	83 81 00 18 	lwz     r28,24(r1)                             
ffc16b68:	7c 08 03 a6 	mtlr    r0                                     
ffc16b6c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc16b70:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc16b74:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc16b78:	38 21 00 28 	addi    r1,r1,40                               
ffc16b7c:	4e 80 00 20 	blr                                            
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
                          target, strlen (target),                    
                          geteuid(), getegid(), parent);              
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
ffc16b80:	48 01 13 bd 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16b84:	80 01 00 2c 	lwz     r0,44(r1)                              <== NOT EXECUTED
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
                          target, strlen (target),                    
                          geteuid(), getegid(), parent);              
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
ffc16b88:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16b8c:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16b90:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16b94:	83 81 00 18 	lwz     r28,24(r1)                             <== NOT EXECUTED
ffc16b98:	83 a1 00 1c 	lwz     r29,28(r1)                             <== NOT EXECUTED
ffc16b9c:	83 c1 00 20 	lwz     r30,32(r1)                             <== NOT EXECUTED
ffc16ba0:	83 e1 00 24 	lwz     r31,36(r1)                             <== NOT EXECUTED
ffc16ba4:	38 21 00 28 	addi    r1,r1,40                               <== NOT EXECUTED
ffc16ba8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc177e4 <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 ) {
ffc177e4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc177e8:	7c 08 02 a6 	mflr    r0                                     
ffc177ec:	90 01 00 14 	stw     r0,20(r1)                              
  rtems_rfs_file_system* fs = mt_entry->fs_info;                      
ffc177f0:	80 63 00 08 	lwz     r3,8(r3)                               
                                                                      
static void                                                           
rtems_rfs_rtems_unlock_by_mt_entry (                                  
  const rtems_filesystem_mount_table_entry_t *mt_entry                
)                                                                     
{                                                                     
ffc177f4:	93 e1 00 0c 	stw     r31,12(r1)                             
 * 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);            
ffc177f8:	83 e3 00 80 	lwz     r31,128(r3)                            
  rtems_rfs_buffers_release (fs);                                     
ffc177fc:	48 00 a2 21 	bl      ffc21a1c <rtems_rfs_buffers_release>   
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
ffc17800:	80 7f 00 00 	lwz     r3,0(r31)                              
ffc17804:	4b ff 87 79 	bl      ffc0ff7c <rtems_semaphore_release>     
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc17808:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc1780c:	40 82 00 18 	bne-    ffc17824 <rtems_rfs_rtems_unlock_by_mt_entry+0x40><== NEVER TAKEN
  rtems_rfs_file_system* fs = mt_entry->fs_info;                      
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
}                                                                     
ffc17810:	80 01 00 14 	lwz     r0,20(r1)                              
ffc17814:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc17818:	7c 08 03 a6 	mtlr    r0                                     
ffc1781c:	38 21 00 10 	addi    r1,r1,16                               
ffc17820:	4e 80 00 20 	blr                                            
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
ffc17824:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc17828:	38 80 00 04 	li      r4,4                                   <== NOT EXECUTED
ffc1782c:	48 00 05 01 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc17830:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17834:	41 9e ff dc 	beq+    cr7,ffc17810 <rtems_rfs_rtems_unlock_by_mt_entry+0x2c><== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
ffc17838:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc1783c:	48 00 47 d9 	bl      ffc1c014 <rtems_status_text>           <== NOT EXECUTED
ffc17840:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc17844:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc17848:	7c 64 1b 78 	mr      r4,r3                                  <== NOT EXECUTED
ffc1784c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17850:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc17854:	38 63 ad 28 	addi    r3,r3,-21208                           <== NOT EXECUTED
ffc17858:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
ffc1785c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc17860:	48 01 21 7c 	b       ffc299dc <printf>                      <== NOT EXECUTED
                                                                      

ffc16bac <rtems_rfs_rtems_utime>: static int rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc, time_t atime, time_t mtime) {
ffc16bac:	94 21 ff b8 	stwu    r1,-72(r1)                             <== NOT EXECUTED
ffc16bb0:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  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);                  
ffc16bb4:	38 c0 00 01 	li      r6,1                                   <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
ffc16bb8:	90 01 00 4c 	stw     r0,76(r1)                              <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16bbc:	81 43 00 14 	lwz     r10,20(r3)                             <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
ffc16bc0:	93 a1 00 3c 	stw     r29,60(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
ffc16bc4:	83 aa 00 08 	lwz     r29,8(r10)                             <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
ffc16bc8:	93 c1 00 40 	stw     r30,64(r1)                             <== NOT EXECUTED
ffc16bcc:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  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);                  
ffc16bd0:	80 83 00 08 	lwz     r4,8(r3)                               <== NOT EXECUTED
ffc16bd4:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
ffc16bd8:	93 e1 00 44 	stw     r31,68(r1)                             <== NOT EXECUTED
ffc16bdc:	7c bf 2b 78 	mr      r31,r5                                 <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  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);                  
ffc16be0:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
                                                                      
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
ffc16be4:	93 81 00 38 	stw     r28,56(r1)                             <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
  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);                  
ffc16be8:	4b ff f1 11 	bl      ffc15cf8 <rtems_rfs_inode_open>        <== NOT EXECUTED
  if (rc)                                                             
ffc16bec:	7c 7c 1b 79 	mr.     r28,r3                                 <== NOT EXECUTED
ffc16bf0:	41 82 00 30 	beq-    ffc16c20 <rtems_rfs_rtems_utime+0x74>  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: read inode", rc);           
ffc16bf4:	48 01 13 49 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
ffc16bf8:	93 83 00 00 	stw     r28,0(r3)                              <== NOT EXECUTED
ffc16bfc:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16c00:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
ffc16c04:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc16c08:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16c0c:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16c10:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16c14:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16c18:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16c1c:	4e 80 00 20 	blr                                            <== 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);                  
ffc16c20:	81 21 00 14 	lwz     r9,20(r1)                              <== 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);                  
ffc16c24:	57 e7 46 3e 	rlwinm  r7,r31,8,24,31                         <== NOT EXECUTED
ffc16c28:	57 e8 84 3e 	rlwinm  r8,r31,16,16,31                        <== NOT EXECUTED
ffc16c2c:	57 ea c2 3e 	rlwinm  r10,r31,24,8,31                        <== NOT EXECUTED
ffc16c30:	9b e9 00 17 	stb     r31,23(r9)                             <== 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);                  
ffc16c34:	57 c4 46 3e 	rlwinm  r4,r30,8,24,31                         <== NOT EXECUTED
ffc16c38:	57 c5 84 3e 	rlwinm  r5,r30,16,16,31                        <== NOT EXECUTED
ffc16c3c:	98 89 00 10 	stb     r4,16(r9)                              <== NOT EXECUTED
ffc16c40:	57 c6 c2 3e 	rlwinm  r6,r30,24,8,31                         <== NOT EXECUTED
ffc16c44:	98 a9 00 11 	stb     r5,17(r9)                              <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc16c48:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc16c4c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc16c50:	98 c9 00 12 	stb     r6,18(r9)                              <== NOT EXECUTED
ffc16c54:	9b c9 00 13 	stb     r30,19(r9)                             <== 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);                  
ffc16c58:	98 e9 00 14 	stb     r7,20(r9)                              <== NOT EXECUTED
ffc16c5c:	99 09 00 15 	stb     r8,21(r9)                              <== NOT EXECUTED
ffc16c60:	99 49 00 16 	stb     r10,22(r9)                             <== 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);                      
ffc16c64:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc16c68:	99 21 00 18 	stb     r9,24(r1)                              <== NOT EXECUTED
ffc16c6c:	4b ff f3 09 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
  if (rc)                                                             
ffc16c70:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
ffc16c74:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
ffc16c78:	41 82 ff 88 	beq+    ffc16c00 <rtems_rfs_rtems_utime+0x54>  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
ffc16c7c:	48 01 12 c1 	bl      ffc27f3c <__errno>                     <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16c80:	80 01 00 4c 	lwz     r0,76(r1)                              <== NOT EXECUTED
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
ffc16c84:	93 e3 00 00 	stw     r31,0(r3)                              <== NOT EXECUTED
ffc16c88:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc16c8c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc16c90:	83 81 00 38 	lwz     r28,56(r1)                             <== NOT EXECUTED
ffc16c94:	83 a1 00 3c 	lwz     r29,60(r1)                             <== NOT EXECUTED
ffc16c98:	83 c1 00 40 	lwz     r30,64(r1)                             <== NOT EXECUTED
ffc16c9c:	83 e1 00 44 	lwz     r31,68(r1)                             <== NOT EXECUTED
ffc16ca0:	38 21 00 48 	addi    r1,r1,72                               <== NOT EXECUTED
ffc16ca4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc14308 <rtems_rfs_rup_quotient>: * "quotient = dividend / divisor" */ int rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor) { if (dividend == 0)
ffc14308:	2c 03 00 00 	cmpwi   r3,0                                   <== NOT EXECUTED
ffc1430c:	41 82 00 14 	beq-    ffc14320 <rtems_rfs_rup_quotient+0x18> <== NOT EXECUTED
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
ffc14310:	38 63 ff ff 	addi    r3,r3,-1                               <== NOT EXECUTED
ffc14314:	7c 63 23 96 	divwu   r3,r3,r4                               <== NOT EXECUTED
ffc14318:	38 63 00 01 	addi    r3,r3,1                                <== NOT EXECUTED
ffc1431c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
ffc14320:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
  return ((dividend - 1) / divisor) + 1;                              
}                                                                     
ffc14324:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc210c4 <rtems_rfs_scan_chain>: */ static rtems_rfs_buffer* rtems_rfs_scan_chain (rtems_chain_control* chain, uint32_t* count, rtems_rfs_buffer_block block) {
ffc210c4:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc210c8:	7c 08 02 a6 	mflr    r0                                     
ffc210cc:	90 01 00 24 	stw     r0,36(r1)                              
ffc210d0:	93 61 00 0c 	stw     r27,12(r1)                             
ffc210d4:	7c 9b 23 78 	mr      r27,r4                                 
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc210d8:	38 80 00 80 	li      r4,128                                 
 */                                                                   
static rtems_rfs_buffer*                                              
rtems_rfs_scan_chain (rtems_chain_control*   chain,                   
                      uint32_t*              count,                   
                      rtems_rfs_buffer_block block)                   
{                                                                     
ffc210dc:	93 c1 00 18 	stw     r30,24(r1)                             
ffc210e0:	7c 7e 1b 78 	mr      r30,r3                                 
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc210e4:	38 60 00 00 	li      r3,0                                   
 */                                                                   
static rtems_rfs_buffer*                                              
rtems_rfs_scan_chain (rtems_chain_control*   chain,                   
                      uint32_t*              count,                   
                      rtems_rfs_buffer_block block)                   
{                                                                     
ffc210e8:	93 a1 00 14 	stw     r29,20(r1)                             
ffc210ec:	7c bd 2b 78 	mr      r29,r5                                 
ffc210f0:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc210f4:	93 81 00 10 	stw     r28,16(r1)                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
ffc210f8:	83 fe 00 08 	lwz     r31,8(r30)                             
  rtems_rfs_buffer* buffer;                                           
  rtems_chain_node* node;                                             
                                                                      
  node = rtems_chain_last (chain);                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc210fc:	4b ff 6c 31 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21100:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21104:	40 9e 01 18 	bne-    cr7,ffc2121c <rtems_rfs_scan_chain+0x158><== NEVER TAKEN
    printf ("rtems-rfs: buffer-scan: count=%" PRIu32 ", block=%" PRIu32 ": ", *count, block);
                                                                      
  while (!rtems_chain_is_head (chain, node))                          
ffc21108:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc2110c:	41 9e 00 c8 	beq-    cr7,ffc211d4 <rtems_rfs_scan_chain+0x110><== NEVER TAKEN
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc21110:	3f 80 ff c4 	lis     r28,-60                                
ffc21114:	3b 9c b9 30 	addi    r28,r28,-18128                         
ffc21118:	48 00 00 1c 	b       ffc21134 <rtems_rfs_scan_chain+0x70>   
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
ffc2111c:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc21120:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc21124:	41 9e 00 40 	beq-    cr7,ffc21164 <rtems_rfs_scan_chain+0xa0>
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
ffc21128:	83 ff 00 04 	lwz     r31,4(r31)                             
  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))                          
ffc2112c:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc21130:	41 9e 00 a4 	beq-    cr7,ffc211d4 <rtems_rfs_scan_chain+0x110>
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
ffc21134:	38 60 00 00 	li      r3,0                                   
ffc21138:	38 80 00 80 	li      r4,128                                 
ffc2113c:	4b ff 6b f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21140:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21144:	41 9e ff d8 	beq+    cr7,ffc2111c <rtems_rfs_scan_chain+0x58><== ALWAYS TAKEN
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
ffc21148:	80 9f 00 34 	lwz     r4,52(r31)                             <== NOT EXECUTED
ffc2114c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc21150:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21154:	48 00 88 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
ffc21158:	81 3f 00 34 	lwz     r9,52(r31)                             <== NOT EXECUTED
ffc2115c:	7f 89 e8 00 	cmpw    cr7,r9,r29                             <== NOT EXECUTED
ffc21160:	40 9e ff c8 	bne+    cr7,ffc21128 <rtems_rfs_scan_chain+0x64><== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
ffc21164:	38 60 00 00 	li      r3,0                                   
ffc21168:	38 80 00 80 	li      r4,128                                 
ffc2116c:	4b ff 6b c1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc21170:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc21174:	41 be 00 18 	beq+    cr7,ffc2118c <rtems_rfs_scan_chain+0xc8><== ALWAYS TAKEN
        printf (": found block=%" PRIuPTR "\n",                       
ffc21178:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2117c:	80 9f 00 34 	lwz     r4,52(r31)                             <== NOT EXECUTED
ffc21180:	38 63 b9 34 	addi    r3,r3,-18124                           <== NOT EXECUTED
ffc21184:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21188:	48 00 88 55 	bl      ffc299dc <printf>                      <== NOT EXECUTED
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
ffc2118c:	81 3b 00 00 	lwz     r9,0(r27)                              
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
ffc21190:	7f e3 fb 78 	mr      r3,r31                                 
ffc21194:	39 29 ff ff 	addi    r9,r9,-1                               
ffc21198:	91 3b 00 00 	stw     r9,0(r27)                              
ffc2119c:	4b ff c5 65 	bl      ffc1d700 <_Chain_Extract>              
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
ffc211a0:	39 20 00 00 	li      r9,0                                   
ffc211a4:	91 3f 00 04 	stw     r9,4(r31)                              
      rtems_chain_extract (node);                                     
      rtems_chain_set_off_chain (node);                               
      return buffer;                                                  
ffc211a8:	7f e3 fb 78 	mr      r3,r31                                 
ffc211ac:	91 3f 00 00 	stw     r9,0(r31)                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
}                                                                     
ffc211b0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc211b4:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc211b8:	7c 08 03 a6 	mtlr    r0                                     
ffc211bc:	83 81 00 10 	lwz     r28,16(r1)                             
ffc211c0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc211c4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc211c8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc211cc:	38 21 00 20 	addi    r1,r1,32                               
ffc211d0:	4e 80 00 20 	blr                                            
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
ffc211d4:	38 60 00 00 	li      r3,0                                   
ffc211d8:	38 80 00 80 	li      r4,128                                 
ffc211dc:	4b ff 6b 51 	bl      ffc17d2c <rtems_rfs_trace>             
ffc211e0:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc211e4:	41 9e ff cc 	beq+    cr7,ffc211b0 <rtems_rfs_scan_chain+0xec><== ALWAYS TAKEN
    printf (": not found\n");                                         
ffc211e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc211ec:	38 63 b9 48 	addi    r3,r3,-18104                           <== NOT EXECUTED
ffc211f0:	48 00 8b 55 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
ffc211f4:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc211f8:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
ffc211fc:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
}                                                                     
ffc21200:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc21204:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc21208:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc2120c:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc21210:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc21214:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc21218:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  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);
ffc2121c:	80 9b 00 00 	lwz     r4,0(r27)                              <== NOT EXECUTED
ffc21220:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc21224:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc21228:	38 63 b9 00 	addi    r3,r3,-18176                           <== NOT EXECUTED
ffc2122c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc21230:	48 00 87 ad 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc21234:	4b ff fe d4 	b       ffc21108 <rtems_rfs_scan_chain+0x44>   <== NOT EXECUTED
                                                                      

ffc1f264 <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,
ffc1f264:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc1f268:	7c 08 02 a6 	mflr    r0                                     
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc1f26c:	39 20 00 00 	li      r9,0                                   
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f270:	93 01 00 20 	stw     r24,32(r1)                             
ffc1f274:	7c b8 2b 78 	mr      r24,r5                                 
ffc1f278:	93 41 00 28 	stw     r26,40(r1)                             
ffc1f27c:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1f280:	93 61 00 2c 	stw     r27,44(r1)                             
ffc1f284:	7c 9b 23 78 	mr      r27,r4                                 
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f288:	38 81 00 08 	addi    r4,r1,8                                
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f28c:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc1f290:	7c df 33 78 	mr      r31,r6                                 
ffc1f294:	90 01 00 44 	stw     r0,68(r1)                              
ffc1f298:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc1f29c:	93 21 00 24 	stw     r25,36(r1)                             
ffc1f2a0:	93 81 00 30 	stw     r28,48(r1)                             
ffc1f2a4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc1f2a8:	93 c1 00 38 	stw     r30,56(r1)                             
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
ffc1f2ac:	99 25 00 00 	stb     r9,0(r5)                               
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
ffc1f2b0:	4b ff ff 3d 	bl      ffc1f1ec <rtems_rfs_bitmap_load_map>   
  if (rc > 0)                                                         
ffc1f2b4:	2c 03 00 00 	cmpwi   r3,0                                   
ffc1f2b8:	40 81 00 38 	ble-    ffc1f2f0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x8c><== ALWAYS TAKEN
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f2bc:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1f2c0:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc1f2c4:	7c 08 03 a6 	mtlr    r0                                     
ffc1f2c8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1f2cc:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1f2d0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1f2d4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1f2d8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1f2dc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1f2e0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1f2e4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1f2e8:	38 21 00 40 	addi    r1,r1,64                               
ffc1f2ec:	4e 80 00 20 	blr                                            
    return rc;                                                        
                                                                      
  /*                                                                  
   * Calculate the bit we are testing plus the end point we search over.
   */                                                                 
  test_bit = *bit;                                                    
ffc1f2f0:	81 5b 00 00 	lwz     r10,0(r27)                             
  end_bit  = test_bit + (window * direction);                         
ffc1f2f4:	57 e7 58 28 	rlwinm  r7,r31,11,0,20                         
                                                                      
  if (end_bit < 0)                                                    
ffc1f2f8:	7c e7 52 15 	add.    r7,r7,r10                              
ffc1f2fc:	41 80 01 e8 	blt-    ffc1f4e4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x280>
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
ffc1f300:	81 3a 00 0c 	lwz     r9,12(r26)                             
ffc1f304:	7f 87 48 40 	cmplw   cr7,r7,r9                              
ffc1f308:	40 9c 01 a8 	bge-    cr7,ffc1f4b0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x24c>
  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];                  
ffc1f30c:	80 da 00 14 	lwz     r6,20(r26)                             
  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);             
ffc1f310:	7d 43 56 70 	srawi   r3,r10,10                              
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
                                                                      
  search_bits = &control->search_bits[search_index];                  
ffc1f314:	54 63 10 3a 	rlwinm  r3,r3,2,0,29                           
  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);              
ffc1f318:	7d 5d 2e 70 	srawi   r29,r10,5                              
  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];                  
ffc1f31c:	7c 66 1a 14 	add     r3,r6,r3                               
  map_bits    = &map[map_index];                                      
ffc1f320:	80 c1 00 08 	lwz     r6,8(r1)                               
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f324:	2c 9f 00 00 	cmpwi   cr1,r31,0                              
  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];                                      
ffc1f328:	57 be 10 3a 	rlwinm  r30,r29,2,0,29                         
ffc1f32c:	7f c6 f2 14 	add     r30,r6,r30                             
    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);             
ffc1f330:	55 49 06 fe 	clrlwi  r9,r10,27                              
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
ffc1f334:	57 a8 06 fe 	clrlwi  r8,r29,27                              
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc1f338:	57 f9 10 3a 	rlwinm  r25,r31,2,0,29                         
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f33c:	57 e5 28 34 	rlwinm  r5,r31,5,0,26                          
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f340:	38 c0 00 01 	li      r6,1                                   
    /*                                                                
     * 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))
ffc1f344:	80 83 00 00 	lwz     r4,0(r3)                               
ffc1f348:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1f34c:	41 9e 00 94 	beq-    cr7,ffc1f3e0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x17c>
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f350:	7d 9f ea 14 	add     r12,r31,r29                            
ffc1f354:	7d 00 43 78 	mr      r0,r8                                  
ffc1f358:	55 8c 28 34 	rlwinm  r12,r12,5,0,26                         
     * 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)                                     
ffc1f35c:	2b 80 00 1f 	cmplwi  cr7,r0,31                              
ffc1f360:	41 9d 00 a8 	bgt-    cr7,ffc1f408 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1a4>
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f364:	7c dc 00 30 	slw     r28,r6,r0                              
    if (!rtems_rfs_bitmap_match (*search_bits, RTEMS_RFS_BITMAP_ELEMENT_SET))
    {                                                                 
      while ((search_offset >= 0)                                     
             && (search_offset < rtems_rfs_bitmap_element_bits ()))   
      {                                                               
        if (!rtems_rfs_bitmap_test (*search_bits, search_offset))     
ffc1f368:	7f 88 20 39 	and.    r8,r28,r4                              
ffc1f36c:	41 82 00 4c 	beq-    ffc1f3b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x154>
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f370:	2b 89 00 1f 	cmplwi  cr7,r9,31                              
ffc1f374:	41 9d 00 44 	bgt-    cr7,ffc1f3b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x154><== NEVER TAKEN
                 && (map_offset < rtems_rfs_bitmap_element_bits ()))  
          {                                                           
            if (!rtems_rfs_bitmap_test (*map_bits, map_offset))       
ffc1f378:	81 7e 00 00 	lwz     r11,0(r30)                             
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f37c:	7c c8 48 30 	slw     r8,r6,r9                               
           * 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))       
ffc1f380:	7d 17 58 39 	and.    r23,r8,r11                             
ffc1f384:	40 82 00 b8 	bne-    ffc1f43c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d8>
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f388:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc1f38c:	40 be 00 10 	bne+    cr7,ffc1f39c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x138>
ffc1f390:	48 00 00 28 	b       ffc1f3b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x154>
           * 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))       
ffc1f394:	40 82 00 a8 	bne-    ffc1f43c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d8>
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f398:	41 9a 00 20 	beq-    cr6,ffc1f3b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x154>
              break;                                                  
                                                                      
            map_offset += direction;                                  
ffc1f39c:	7d 29 fa 14 	add     r9,r9,r31                              
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f3a0:	2b 89 00 1f 	cmplwi  cr7,r9,31                              
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
ffc1f3a4:	7c c8 48 30 	slw     r8,r6,r9                               
                                                                      
            if (test_bit == end_bit)                                  
              break;                                                  
                                                                      
            map_offset += direction;                                  
            test_bit   += direction;                                  
ffc1f3a8:	7d 4a fa 14 	add     r10,r10,r31                            
           * 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))       
ffc1f3ac:	7d 77 40 39 	and.    r23,r11,r8                             
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
ffc1f3b0:	7f 07 50 00 	cmpw    cr6,r7,r10                             
        {                                                             
          /*                                                          
           * 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)                                    
ffc1f3b4:	40 9d ff e0 	ble+    cr7,ffc1f394 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x130><== ALWAYS TAKEN
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
ffc1f3b8:	7f de ca 14 	add     r30,r30,r25                            
        map_index += direction;                                       
ffc1f3bc:	7f bd fa 14 	add     r29,r29,r31                            
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f3c0:	40 85 00 64 	ble-    cr1,ffc1f424 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1c0>
        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)))            
ffc1f3c4:	7f 87 60 00 	cmpw    cr7,r7,r12                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
ffc1f3c8:	7d 8a 63 78 	mr      r10,r12                                
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
            || ((direction > 0) && (test_bit >= end_bit)))            
ffc1f3cc:	40 9d 01 34 	ble-    cr7,ffc1f500 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x29c>
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f3d0:	39 20 00 00 	li      r9,0                                   
ffc1f3d4:	7c 00 fa 14 	add     r0,r0,r31                              
ffc1f3d8:	7d 8c 2a 14 	add     r12,r12,r5                             
ffc1f3dc:	4b ff ff 80 	b       ffc1f35c <rtems_rfs_search_map_for_clear_bit.constprop.1+0xf8>
       *                                                              
       * 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);       
ffc1f3e0:	55 4a 00 34 	rlwinm  r10,r10,0,0,26                         
      if (direction > 0)                                              
ffc1f3e4:	40 85 00 e8 	ble-    cr1,ffc1f4cc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x268>
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
ffc1f3e8:	20 08 00 20 	subfic  r0,r8,32                               
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
ffc1f3ec:	54 09 28 34 	rlwinm  r9,r0,5,0,26                           
ffc1f3f0:	7d 49 52 14 	add     r10,r9,r10                             
        map_offset = 0;                                               
ffc1f3f4:	39 20 00 00 	li      r9,0                                   
         * 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;                           
ffc1f3f8:	7c 1f 01 d6 	mullw   r0,r31,r0                              
ffc1f3fc:	54 08 10 3a 	rlwinm  r8,r0,2,0,29                           
ffc1f400:	7f de 42 14 	add     r30,r30,r8                             
      map_index += direction * bits_skipped;                          
ffc1f404:	7f bd 02 14 	add     r29,r29,r0                             
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1f408:	7c 63 ca 14 	add     r3,r3,r25                              
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f40c:	40 85 00 ac 	ble-    cr1,ffc1f4b8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x254>
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
ffc1f410:	40 85 00 dc 	ble-    cr1,ffc1f4ec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x288><== NEVER TAKEN
ffc1f414:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc1f418:	41 9c 00 d4 	blt-    cr7,ffc1f4ec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x288>
ffc1f41c:	39 00 00 00 	li      r8,0                                   
ffc1f420:	4b ff ff 24 	b       ffc1f344 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe0>
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
ffc1f424:	39 4c 00 1f 	addi    r10,r12,31                             
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
ffc1f428:	41 86 00 0c 	beq-    cr1,ffc1f434 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1d0><== NEVER TAKEN
ffc1f42c:	7f 87 50 00 	cmpw    cr7,r7,r10                             
ffc1f430:	40 9c 00 c4 	bge-    cr7,ffc1f4f4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x290>
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f434:	39 20 00 1f 	li      r9,31                                  
ffc1f438:	4b ff ff 9c 	b       ffc1f3d4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x170>
 */                                                                   
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);                    
ffc1f43c:	7d 68 40 78 	andc    r8,r11,r8                              
                 && (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,                   
ffc1f440:	2f 88 00 00 	cmpwi   cr7,r8,0                               
          while ((map_offset >= 0)                                    
                 && (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);
ffc1f444:	91 1e 00 00 	stw     r8,0(r30)                              
              if (rtems_rfs_bitmap_match(*map_bits,                   
ffc1f448:	40 9e 00 10 	bne-    cr7,ffc1f458 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1f4>
 */                                                                   
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);                    
ffc1f44c:	81 23 00 00 	lwz     r9,0(r3)                               
ffc1f450:	7d 29 e0 78 	andc    r9,r9,r28                              
            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,    
ffc1f454:	91 23 00 00 	stw     r9,0(r3)                               
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f458:	80 01 00 44 	lwz     r0,68(r1)                              
                                         RTEMS_RFS_BITMAP_ELEMENT_SET))
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
                                                     1 << search_offset);
              control->free--;                                        
              *bit = test_bit;                                        
              *found = true;                                          
ffc1f45c:	39 20 00 01 	li      r9,1                                   
              *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--;                                        
ffc1f460:	81 1a 00 10 	lwz     r8,16(r26)                             
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
ffc1f464:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f468:	7c 08 03 a6 	mtlr    r0                                     
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
                                                     1 << search_offset);
              control->free--;                                        
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc1f46c:	80 fa 00 00 	lwz     r7,0(r26)                              
              *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--;                                        
ffc1f470:	39 08 ff ff 	addi    r8,r8,-1                               
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f474:	82 e1 00 1c 	lwz     r23,28(r1)                             
              *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--;                                        
ffc1f478:	91 1a 00 10 	stw     r8,16(r26)                             
              *bit = test_bit;                                        
ffc1f47c:	91 5b 00 00 	stw     r10,0(r27)                             
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f480:	83 21 00 24 	lwz     r25,36(r1)                             
                                         RTEMS_RFS_BITMAP_ELEMENT_SET))
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
                                                     1 << search_offset);
              control->free--;                                        
              *bit = test_bit;                                        
              *found = true;                                          
ffc1f484:	99 38 00 00 	stb     r9,0(r24)                              
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f488:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1f48c:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1f490:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1f494:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1f498:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1f49c:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1f4a0:	83 e1 00 3c 	lwz     r31,60(r1)                             
                *search_bits = rtems_rfs_bitmap_set (*search_bits,    
                                                     1 << search_offset);
              control->free--;                                        
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
ffc1f4a4:	99 27 00 00 	stb     r9,0(r7)                               
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
ffc1f4a8:	38 21 00 40 	addi    r1,r1,64                               
ffc1f4ac:	4e 80 00 20 	blr                                            
  end_bit  = test_bit + (window * direction);                         
                                                                      
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
    end_bit = control->size - 1;                                      
ffc1f4b0:	38 e9 ff ff 	addi    r7,r9,-1                               
ffc1f4b4:	4b ff fe 58 	b       ffc1f30c <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa8>
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
ffc1f4b8:	41 86 00 34 	beq-    cr1,ffc1f4ec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x288><== NEVER TAKEN
ffc1f4bc:	7f 87 50 00 	cmpw    cr7,r7,r10                             
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
ffc1f4c0:	41 9d 00 2c 	bgt-    cr7,ffc1f4ec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x288>
ffc1f4c4:	39 00 00 1f 	li      r8,31                                  
ffc1f4c8:	4b ff fe 7c 	b       ffc1f344 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe0>
        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;
ffc1f4cc:	55 09 28 34 	rlwinm  r9,r8,5,0,26                           
ffc1f4d0:	7d 29 48 f8 	not     r9,r9                                  
ffc1f4d4:	7d 49 52 14 	add     r10,r9,r10                             
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
        map_offset = 0;                                               
      }                                                               
      else                                                            
      {                                                               
        bits_skipped = search_offset + 1;                             
ffc1f4d8:	38 08 00 01 	addi    r0,r8,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;
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
ffc1f4dc:	39 20 00 1f 	li      r9,31                                  
ffc1f4e0:	4b ff ff 18 	b       ffc1f3f8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x194>
   */                                                                 
  test_bit = *bit;                                                    
  end_bit  = test_bit + (window * direction);                         
                                                                      
  if (end_bit < 0)                                                    
    end_bit = 0;                                                      
ffc1f4e4:	38 e0 00 00 	li      r7,0                                   
ffc1f4e8:	4b ff fe 24 	b       ffc1f30c <rtems_rfs_search_map_for_clear_bit.constprop.1+0xa8>
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
ffc1f4ec:	38 60 00 00 	li      r3,0                                   
ffc1f4f0:	4b ff fd cc 	b       ffc1f2bc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x58>
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1f4f4:	7c 63 ca 14 	add     r3,r3,r25                              
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f4f8:	39 20 00 1f 	li      r9,31                                  
ffc1f4fc:	4b ff ff c4 	b       ffc1f4c0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x25c>
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
ffc1f500:	7c 63 ca 14 	add     r3,r3,r25                              
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
ffc1f504:	39 20 00 00 	li      r9,0                                   
ffc1f508:	4b ff ff 08 	b       ffc1f410 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1ac>
                                                                      

ffc256a0 <rtems_rfs_symlink>: const char* link, int link_length, uid_t uid, gid_t gid, rtems_rfs_ino parent) {
ffc256a0:	94 21 ff 38 	stwu    r1,-200(r1)                            
ffc256a4:	7c 08 02 a6 	mflr    r0                                     
ffc256a8:	93 61 00 b4 	stw     r27,180(r1)                            
ffc256ac:	7c 9b 23 78 	mr      r27,r4                                 
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc256b0:	38 80 00 00 	li      r4,0                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc256b4:	93 81 00 b8 	stw     r28,184(r1)                            
ffc256b8:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc256bc:	38 60 00 02 	li      r3,2                                   
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
ffc256c0:	92 e1 00 a4 	stw     r23,164(r1)                            
ffc256c4:	7d 17 43 78 	mr      r23,r8                                 
ffc256c8:	93 01 00 a8 	stw     r24,168(r1)                            
ffc256cc:	7d 38 4b 78 	mr      r24,r9                                 
ffc256d0:	93 21 00 ac 	stw     r25,172(r1)                            
ffc256d4:	7c d9 33 78 	mr      r25,r6                                 
ffc256d8:	93 41 00 b0 	stw     r26,176(r1)                            
ffc256dc:	7d 5a 53 78 	mr      r26,r10                                
ffc256e0:	93 a1 00 bc 	stw     r29,188(r1)                            
ffc256e4:	7c fd 3b 78 	mr      r29,r7                                 
ffc256e8:	93 c1 00 c0 	stw     r30,192(r1)                            
ffc256ec:	7c be 2b 78 	mr      r30,r5                                 
ffc256f0:	90 01 00 cc 	stw     r0,204(r1)                             
ffc256f4:	93 e1 00 c4 	stw     r31,196(r1)                            
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
ffc256f8:	4b ff 26 35 	bl      ffc17d2c <rtems_rfs_trace>             
ffc256fc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25700:	40 9e 00 4c 	bne-    cr7,ffc2574c <rtems_rfs_symlink+0xac>  <== NEVER TAKEN
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc25704:	80 fc 00 08 	lwz     r7,8(r28)                              
    return ENAMETOOLONG;                                              
ffc25708:	3b e0 00 5b 	li      r31,91                                 
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc2570c:	7f 9d 38 40 	cmplw   cr7,r29,r7                             
ffc25710:	41 9c 00 b0 	blt-    cr7,ffc257c0 <rtems_rfs_symlink+0x120> <== ALWAYS TAKEN
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
ffc25714:	80 01 00 cc 	lwz     r0,204(r1)                             
ffc25718:	7f e3 fb 78 	mr      r3,r31                                 
ffc2571c:	82 e1 00 a4 	lwz     r23,164(r1)                            
ffc25720:	7c 08 03 a6 	mtlr    r0                                     
ffc25724:	83 01 00 a8 	lwz     r24,168(r1)                            
ffc25728:	83 21 00 ac 	lwz     r25,172(r1)                            
ffc2572c:	83 41 00 b0 	lwz     r26,176(r1)                            
ffc25730:	83 61 00 b4 	lwz     r27,180(r1)                            
ffc25734:	83 81 00 b8 	lwz     r28,184(r1)                            
ffc25738:	83 a1 00 bc 	lwz     r29,188(r1)                            
ffc2573c:	83 c1 00 c0 	lwz     r30,192(r1)                            
ffc25740:	83 e1 00 c4 	lwz     r31,196(r1)                            
ffc25744:	38 21 00 c8 	addi    r1,r1,200                              
ffc25748:	4e 80 00 20 	blr                                            
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
ffc2574c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25750:	38 63 cd 0c 	addi    r3,r3,-13044                           <== NOT EXECUTED
ffc25754:	7f 44 d3 78 	mr      r4,r26                                 <== NOT EXECUTED
ffc25758:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2575c:	48 00 42 81 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
ffc25760:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_symlink (rtems_rfs_file_system* fs,                         
ffc25764:	3b fb ff ff 	addi    r31,r27,-1                             <== NOT EXECUTED
ffc25768:	7f df f2 14 	add     r30,r31,r30                            <== 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++)                                      
ffc2576c:	40 9d 00 14 	ble-    cr7,ffc25780 <rtems_rfs_symlink+0xe0>  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
ffc25770:	8c 7f 00 01 	lbzu    r3,1(r31)                              <== NOT EXECUTED
ffc25774:	48 00 44 f5 	bl      ffc29c68 <putchar>                     <== 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++)                                      
ffc25778:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
ffc2577c:	40 9e ff f4 	bne+    cr7,ffc25770 <rtems_rfs_symlink+0xd0>  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
ffc25780:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25784:	38 63 cd 34 	addi    r3,r3,-13004                           <== NOT EXECUTED
ffc25788:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc2578c:	48 00 42 51 	bl      ffc299dc <printf>                      <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
ffc25790:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_symlink (rtems_rfs_file_system* fs,                         
ffc25794:	3b f9 ff ff 	addi    r31,r25,-1                             <== NOT EXECUTED
ffc25798:	7f df ea 14 	add     r30,r31,r29                            <== 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++)                                 
ffc2579c:	40 bd ff 68 	ble-    cr7,ffc25704 <rtems_rfs_symlink+0x64>  <== NOT EXECUTED
      printf ("%c", link[c]);                                         
ffc257a0:	8c 7f 00 01 	lbzu    r3,1(r31)                              <== NOT EXECUTED
ffc257a4:	48 00 44 c5 	bl      ffc29c68 <putchar>                     <== 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++)                                 
ffc257a8:	7f 9f f0 00 	cmpw    cr7,r31,r30                            <== NOT EXECUTED
ffc257ac:	40 9e ff f4 	bne+    cr7,ffc257a0 <rtems_rfs_symlink+0x100> <== NOT EXECUTED
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc257b0:	80 fc 00 08 	lwz     r7,8(r28)                              <== NOT EXECUTED
    return ENAMETOOLONG;                                              
ffc257b4:	3b e0 00 5b 	li      r31,91                                 <== NOT EXECUTED
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
ffc257b8:	7f 9d 38 40 	cmplw   cr7,r29,r7                             <== NOT EXECUTED
ffc257bc:	40 9c ff 58 	bge+    cr7,ffc25714 <rtems_rfs_symlink+0x74>  <== NOT EXECUTED
    return ENAMETOOLONG;                                              
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
ffc257c0:	7f 63 db 78 	mr      r3,r27                                 
ffc257c4:	48 00 54 11 	bl      ffc2abd4 <strlen>                      
ffc257c8:	39 21 00 98 	addi    r9,r1,152                              
ffc257cc:	91 21 00 08 	stw     r9,8(r1)                               
ffc257d0:	38 e0 00 00 	li      r7,0                                   
ffc257d4:	7c 66 1b 78 	mr      r6,r3                                  
ffc257d8:	7f 44 d3 78 	mr      r4,r26                                 
ffc257dc:	7f 83 e3 78 	mr      r3,r28                                 
ffc257e0:	7f 65 db 78 	mr      r5,r27                                 
ffc257e4:	60 e7 a1 ff 	ori     r7,r7,41471                            
ffc257e8:	39 00 00 01 	li      r8,1                                   
ffc257ec:	7e e9 bb 78 	mr      r9,r23                                 
ffc257f0:	7f 0a c3 78 	mr      r10,r24                                
ffc257f4:	4b ff 0b 9d 	bl      ffc16390 <rtems_rfs_inode_create>      
                               RTEMS_RFS_S_SYMLINK,                   
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
ffc257f8:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc257fc:	41 81 ff 18 	bgt+    ffc25714 <rtems_rfs_symlink+0x74>      <== NEVER TAKEN
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
ffc25800:	80 81 00 98 	lwz     r4,152(r1)                             
ffc25804:	7f 83 e3 78 	mr      r3,r28                                 
ffc25808:	38 a1 00 60 	addi    r5,r1,96                               
ffc2580c:	38 c0 00 01 	li      r6,1                                   
ffc25810:	4b ff 04 e9 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc > 0)                                                         
ffc25814:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc25818:	41 81 fe fc 	bgt+    ffc25714 <rtems_rfs_symlink+0x74>      <== NEVER TAKEN
  /*                                                                  
   * 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)                   
ffc2581c:	2b 9d 00 13 	cmplwi  cr7,r29,19                             
ffc25820:	41 9d 00 84 	bgt-    cr7,ffc258a4 <rtems_rfs_symlink+0x204> <== NEVER TAKEN
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc25824:	81 41 00 6c 	lwz     r10,108(r1)                            
ffc25828:	3b e0 00 00 	li      r31,0                                  
    memcpy (inode.node->data.name, link, link_length);                
ffc2582c:	7f 24 cb 78 	mr      r4,r25                                 
   * 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)                   
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc25830:	39 2a 00 1c 	addi    r9,r10,28                              
ffc25834:	93 ea 00 1c 	stw     r31,28(r10)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25838:	7d 23 4b 78 	mr      r3,r9                                  
   * 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)                   
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc2583c:	93 ea 00 20 	stw     r31,32(r10)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25840:	7f a5 eb 78 	mr      r5,r29                                 
   * 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)                   
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
ffc25844:	93 ea 00 24 	stw     r31,36(r10)                            
ffc25848:	93 ea 00 28 	stw     r31,40(r10)                            
ffc2584c:	93 ea 00 2c 	stw     r31,44(r10)                            
    memcpy (inode.node->data.name, link, link_length);                
ffc25850:	48 00 3d 01 	bl      ffc29550 <memcpy>                      
 * @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);      
ffc25854:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc25858:	9b e9 00 0c 	stb     r31,12(r9)                             
ffc2585c:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc25860:	9b e9 00 0d 	stb     r31,13(r9)                             
ffc25864:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc25868:	9b e9 00 0e 	stb     r31,14(r9)                             
ffc2586c:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc25870:	9b e9 00 0f 	stb     r31,15(r9)                             
 */                                                                   
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);    
ffc25874:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc25878:	57 aa c6 3e 	rlwinm  r10,r29,24,24,31                       
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc2587c:	7f 83 e3 78 	mr      r3,r28                                 
ffc25880:	99 49 00 0a 	stb     r10,10(r9)                             
ffc25884:	38 81 00 60 	addi    r4,r1,96                               
ffc25888:	81 21 00 6c 	lwz     r9,108(r1)                             
ffc2588c:	9b a9 00 0b 	stb     r29,11(r9)                             
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc25890:	39 20 00 01 	li      r9,1                                   
ffc25894:	99 21 00 70 	stb     r9,112(r1)                             
ffc25898:	4b ff 06 dd 	bl      ffc15f74 <rtems_rfs_inode_close>       
ffc2589c:	7c 7f 1b 78 	mr      r31,r3                                 
ffc258a0:	4b ff fe 74 	b       ffc25714 <rtems_rfs_symlink+0x74>      
    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);                 
ffc258a4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc258a8:	38 81 00 60 	addi    r4,r1,96                               <== NOT EXECUTED
ffc258ac:	38 a1 00 10 	addi    r5,r1,16                               <== NOT EXECUTED
ffc258b0:	4b ff a8 e1 	bl      ffc20190 <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc258b4:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc258b8:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
    rtems_rfs_block_no      block;                                    
    rtems_rfs_buffer_handle buffer;                                   
    uint8_t*                data;                                     
                                                                      
    rc = rtems_rfs_block_map_open (fs, &inode, &map);                 
    if (rc > 0)                                                       
ffc258bc:	40 81 00 10 	ble-    ffc258cc <rtems_rfs_symlink+0x22c>     <== 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);                             
ffc258c0:	38 81 00 60 	addi    r4,r1,96                               <== NOT EXECUTED
ffc258c4:	4b ff 06 b1 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc258c8:	4b ff fe 4c 	b       ffc25714 <rtems_rfs_symlink+0x74>      <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);              
ffc258cc:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc258d0:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc258d4:	38 c1 00 94 	addi    r6,r1,148                              <== NOT EXECUTED
ffc258d8:	4b ff af 61 	bl      ffc20838 <rtems_rfs_block_map_grow>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc258dc:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc258e0:	40 81 00 18 	ble-    ffc258f8 <rtems_rfs_symlink+0x258>     <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc258e4:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc258e8:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
ffc258ec:	4b ff aa 91 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc258f0:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc258f4:	4b ff ff cc 	b       ffc258c0 <rtems_rfs_symlink+0x220>     <== 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); 
ffc258f8:	80 a1 00 94 	lwz     r5,148(r1)                             <== NOT EXECUTED
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc258fc:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc25900:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25904:	93 c1 00 8c 	stw     r30,140(r1)                            <== NOT EXECUTED
ffc25908:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc2590c:	38 81 00 88 	addi    r4,r1,136                              <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc25910:	99 21 00 88 	stb     r9,136(r1)                             <== NOT EXECUTED
ffc25914:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc25918:	93 c1 00 90 	stw     r30,144(r1)                            <== NOT EXECUTED
ffc2591c:	4b ff bb 31 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc25920:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc25924:	41 81 ff c0 	bgt+    ffc258e4 <rtems_rfs_symlink+0x244>     <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
ffc25928:	81 21 00 90 	lwz     r9,144(r1)                             <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc2592c:	38 80 00 ff 	li      r4,255                                 <== NOT EXECUTED
ffc25930:	80 bc 00 08 	lwz     r5,8(r28)                              <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
ffc25934:	83 e9 00 1c 	lwz     r31,28(r9)                             <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
ffc25938:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc2593c:	48 00 3e 45 	bl      ffc29780 <memset>                      <== NOT EXECUTED
    memcpy (data, link, link_length);                                 
ffc25940:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc25944:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25948:	7f 24 cb 78 	mr      r4,r25                                 <== NOT EXECUTED
ffc2594c:	48 00 3c 05 	bl      ffc29550 <memcpy>                      <== 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);                       
ffc25950:	38 81 00 88 	addi    r4,r1,136                              <== NOT EXECUTED
ffc25954:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25958:	4b ff b8 e1 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== 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);                        
ffc2595c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25960:	38 81 00 10 	addi    r4,r1,16                               <== NOT EXECUTED
  handle->dirty = false;                                              
ffc25964:	9b c1 00 88 	stb     r30,136(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25968:	93 c1 00 8c 	stw     r30,140(r1)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc2596c:	93 c1 00 90 	stw     r30,144(r1)                            <== NOT EXECUTED
ffc25970:	4b ff aa 0d 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25974:	7c 7f 1b 79 	mr.     r31,r3                                 <== NOT EXECUTED
ffc25978:	40 a1 fe fc 	ble-    ffc25874 <rtems_rfs_symlink+0x1d4>     <== 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);                             
ffc2597c:	7f 83 e3 78 	mr      r3,r28                                 <== NOT EXECUTED
ffc25980:	4b ff ff 40 	b       ffc258c0 <rtems_rfs_symlink+0x220>     <== NOT EXECUTED
                                                                      

ffc25984 <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) {
ffc25984:	94 21 ff 50 	stwu    r1,-176(r1)                            
ffc25988:	7c 08 02 a6 	mflr    r0                                     
ffc2598c:	93 c1 00 a8 	stw     r30,168(r1)                            
ffc25990:	7c 9e 23 78 	mr      r30,r4                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc25994:	38 80 00 00 	li      r4,0                                   
rtems_rfs_symlink_read (rtems_rfs_file_system* fs,                    
                        rtems_rfs_ino          link,                  
                        char*                  path,                  
                        size_t                 size,                  
                        size_t*                length)                
{                                                                     
ffc25998:	93 e1 00 ac 	stw     r31,172(r1)                            
ffc2599c:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc259a0:	38 60 00 04 	li      r3,4                                   
rtems_rfs_symlink_read (rtems_rfs_file_system* fs,                    
                        rtems_rfs_ino          link,                  
                        char*                  path,                  
                        size_t                 size,                  
                        size_t*                length)                
{                                                                     
ffc259a4:	93 61 00 9c 	stw     r27,156(r1)                            
ffc259a8:	7c bb 2b 78 	mr      r27,r5                                 
ffc259ac:	93 81 00 a0 	stw     r28,160(r1)                            
ffc259b0:	7c fc 3b 78 	mr      r28,r7                                 
ffc259b4:	93 a1 00 a4 	stw     r29,164(r1)                            
ffc259b8:	7c dd 33 78 	mr      r29,r6                                 
ffc259bc:	90 01 00 b4 	stw     r0,180(r1)                             
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
ffc259c0:	4b ff 23 6d 	bl      ffc17d2c <rtems_rfs_trace>             
ffc259c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc259c8:	40 9e 00 70 	bne-    cr7,ffc25a38 <rtems_rfs_symlink_read+0xb4><== NEVER TAKEN
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
ffc259cc:	7f c4 f3 78 	mr      r4,r30                                 
ffc259d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc259d4:	38 a1 00 58 	addi    r5,r1,88                               
ffc259d8:	38 c0 00 01 	li      r6,1                                   
ffc259dc:	4b ff 03 1d 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc259e0:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc259e4:	40 82 00 2c 	bne-    ffc25a10 <rtems_rfs_symlink_read+0x8c> <== NEVER TAKEN
    return rc;                                                        
                                                                      
  if (!RTEMS_RFS_S_ISLNK (rtems_rfs_inode_get_mode (&inode)))         
ffc259e8:	80 81 00 64 	lwz     r4,100(r1)                             
 * @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);                    
ffc259ec:	89 44 00 02 	lbz     r10,2(r4)                              
ffc259f0:	55 4a 44 26 	rlwinm  r10,r10,8,16,19                        
ffc259f4:	6d 49 ff ff 	xoris   r9,r10,65535                           
ffc259f8:	2f 89 a0 00 	cmpwi   cr7,r9,-24576                          
ffc259fc:	41 9e 00 54 	beq-    cr7,ffc25a50 <rtems_rfs_symlink_read+0xcc><== ALWAYS TAKEN
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
ffc25a00:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25a04:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc25a08:	4b ff 05 6d 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    return EINVAL;                                                    
ffc25a0c:	3b c0 00 16 	li      r30,22                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
ffc25a10:	80 01 00 b4 	lwz     r0,180(r1)                             
ffc25a14:	7f c3 f3 78 	mr      r3,r30                                 
ffc25a18:	83 61 00 9c 	lwz     r27,156(r1)                            
ffc25a1c:	7c 08 03 a6 	mtlr    r0                                     
ffc25a20:	83 81 00 a0 	lwz     r28,160(r1)                            
ffc25a24:	83 a1 00 a4 	lwz     r29,164(r1)                            
ffc25a28:	83 c1 00 a8 	lwz     r30,168(r1)                            
ffc25a2c:	83 e1 00 ac 	lwz     r31,172(r1)                            
ffc25a30:	38 21 00 b0 	addi    r1,r1,176                              
ffc25a34:	4e 80 00 20 	blr                                            
{                                                                     
  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);     
ffc25a38:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25a3c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25a40:	38 63 cd 3c 	addi    r3,r3,-12996                           <== NOT EXECUTED
ffc25a44:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25a48:	48 00 3f 95 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25a4c:	4b ff ff 80 	b       ffc259cc <rtems_rfs_symlink_read+0x48> <== 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);            
ffc25a50:	88 a4 00 0a 	lbz     r5,10(r4)                              
ffc25a54:	89 24 00 0b 	lbz     r9,11(r4)                              
ffc25a58:	54 a5 40 2e 	rlwinm  r5,r5,8,0,23                           
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
ffc25a5c:	7c a5 4b 78 	or      r5,r5,r9                               
ffc25a60:	7f 85 e8 40 	cmplw   cr7,r5,r29                             
ffc25a64:	40 9d 00 08 	ble-    cr7,ffc25a6c <rtems_rfs_symlink_read+0xe8>
ffc25a68:	7f a5 eb 78 	mr      r5,r29                                 
ffc25a6c:	90 bc 00 00 	stw     r5,0(r28)                              
 * @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);             
ffc25a70:	88 e4 00 0c 	lbz     r7,12(r4)                              
ffc25a74:	89 44 00 0d 	lbz     r10,13(r4)                             
ffc25a78:	89 04 00 0f 	lbz     r8,15(r4)                              
ffc25a7c:	54 e7 c0 0e 	rlwinm  r7,r7,24,0,7                           
ffc25a80:	55 4a 80 1e 	rlwinm  r10,r10,16,0,15                        
ffc25a84:	89 24 00 0e 	lbz     r9,14(r4)                              
ffc25a88:	7c ea 53 78 	or      r10,r7,r10                             
ffc25a8c:	7d 4a 43 78 	or      r10,r10,r8                             
ffc25a90:	55 29 40 2e 	rlwinm  r9,r9,8,0,23                           
  if (size < *length)                                                 
  {                                                                   
    *length = size;                                                   
  }                                                                   
                                                                      
  if (rtems_rfs_inode_get_block_count (&inode) == 0)                  
ffc25a94:	7d 48 4b 79 	or.     r8,r10,r9                              
ffc25a98:	40 82 00 24 	bne-    ffc25abc <rtems_rfs_symlink_read+0x138><== NEVER TAKEN
  {                                                                   
    memcpy (path, inode.node->data.name, *length);                    
ffc25a9c:	7f 63 db 78 	mr      r3,r27                                 
ffc25aa0:	38 84 00 1c 	addi    r4,r4,28                               
ffc25aa4:	48 00 3a ad 	bl      ffc29550 <memcpy>                      
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
ffc25aa8:	7f e3 fb 78 	mr      r3,r31                                 
ffc25aac:	38 81 00 58 	addi    r4,r1,88                               
ffc25ab0:	4b ff 04 c5 	bl      ffc15f74 <rtems_rfs_inode_close>       
ffc25ab4:	7c 7e 1b 78 	mr      r30,r3                                 
ffc25ab8:	4b ff ff 58 	b       ffc25a10 <rtems_rfs_symlink_read+0x8c> 
    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);                 
ffc25abc:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25ac0:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc25ac4:	38 a1 00 08 	addi    r5,r1,8                                <== NOT EXECUTED
ffc25ac8:	4b ff a6 c9 	bl      ffc20190 <rtems_rfs_block_map_open>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25acc:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25ad0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
    rtems_rfs_block_no      block;                                    
    rtems_rfs_buffer_handle buffer;                                   
    char*                   data;                                     
                                                                      
    rc = rtems_rfs_block_map_open (fs, &inode, &map);                 
    if (rc > 0)                                                       
ffc25ad4:	40 81 00 10 	ble-    ffc25ae4 <rtems_rfs_symlink_read+0x160><== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &map);                        
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25ad8:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc25adc:	4b ff 04 99 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc25ae0:	4b ff ff 30 	b       ffc25a10 <rtems_rfs_symlink_read+0x8c> <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
ffc25ae4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc25ae8:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc25aec:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
ffc25af0:	38 e1 00 8c 	addi    r7,r1,140                              <== NOT EXECUTED
ffc25af4:	4b ff ac 41 	bl      ffc20734 <rtems_rfs_block_map_seek>    <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25af8:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc25afc:	40 81 00 20 	ble-    ffc25b1c <rtems_rfs_symlink_read+0x198><== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
ffc25b00:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc25b04:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b08:	4b ff a8 75 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
ffc25b0c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b10:	38 81 00 58 	addi    r4,r1,88                               <== NOT EXECUTED
ffc25b14:	4b ff 04 61 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
ffc25b18:	4b ff fe f8 	b       ffc25a10 <rtems_rfs_symlink_read+0x8c> <== 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); 
ffc25b1c:	80 a1 00 8c 	lwz     r5,140(r1)                             <== NOT EXECUTED
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
ffc25b20:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc25b24:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25b28:	93 a1 00 84 	stw     r29,132(r1)                            <== NOT EXECUTED
ffc25b2c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b30:	38 81 00 80 	addi    r4,r1,128                              <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
ffc25b34:	99 21 00 80 	stb     r9,128(r1)                             <== NOT EXECUTED
ffc25b38:	38 c0 00 00 	li      r6,0                                   <== NOT EXECUTED
  handle->bnum  = 0;                                                  
  handle->buffer = NULL;                                              
ffc25b3c:	93 a1 00 88 	stw     r29,136(r1)                            <== NOT EXECUTED
ffc25b40:	4b ff b9 0d 	bl      ffc2144c <rtems_rfs_buffer_handle_request><== NOT EXECUTED
    if (rc > 0)                                                       
ffc25b44:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc25b48:	41 81 ff b8 	bgt+    ffc25b00 <rtems_rfs_symlink_read+0x17c><== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
    memcpy (path, data, *length);                                     
ffc25b4c:	81 21 00 88 	lwz     r9,136(r1)                             <== NOT EXECUTED
ffc25b50:	7f 63 db 78 	mr      r3,r27                                 <== NOT EXECUTED
ffc25b54:	80 bc 00 00 	lwz     r5,0(r28)                              <== NOT EXECUTED
ffc25b58:	80 89 00 1c 	lwz     r4,28(r9)                              <== NOT EXECUTED
ffc25b5c:	48 00 39 f5 	bl      ffc29550 <memcpy>                      <== 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);                       
ffc25b60:	38 81 00 80 	addi    r4,r1,128                              <== NOT EXECUTED
ffc25b64:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b68:	4b ff b6 d1 	bl      ffc21238 <rtems_rfs_buffer_handle_release><== 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);                        
ffc25b6c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b70:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
  handle->dirty = false;                                              
ffc25b74:	9b a1 00 80 	stb     r29,128(r1)                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
ffc25b78:	93 a1 00 84 	stw     r29,132(r1)                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
ffc25b7c:	93 a1 00 88 	stw     r29,136(r1)                            <== NOT EXECUTED
ffc25b80:	4b ff a7 fd 	bl      ffc2037c <rtems_rfs_block_map_close>   <== NOT EXECUTED
    if (rc > 0)                                                       
ffc25b84:	7c 7e 1b 79 	mr.     r30,r3                                 <== NOT EXECUTED
ffc25b88:	40 a1 ff 20 	ble-    ffc25aa8 <rtems_rfs_symlink_read+0x124><== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
ffc25b8c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25b90:	4b ff ff 48 	b       ffc25ad8 <rtems_rfs_symlink_read+0x154><== NOT EXECUTED
                                                                      

ffc17d84 <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;
ffc17d84:	3d 20 00 01 	lis     r9,1                                   <== NOT EXECUTED
ffc17d88:	39 09 2a 20 	addi    r8,r9,10784                            <== NOT EXECUTED
ffc17d8c:	80 e9 2a 20 	lwz     r7,10784(r9)                           <== NOT EXECUTED
ffc17d90:	81 48 00 04 	lwz     r10,4(r8)                              <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
ffc17d94:	7c e3 18 78 	andc    r3,r7,r3                               <== NOT EXECUTED
ffc17d98:	7d 44 20 78 	andc    r4,r10,r4                              <== NOT EXECUTED
ffc17d9c:	90 69 2a 20 	stw     r3,10784(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17da0:	7c e3 3b 78 	mr      r3,r7                                  <== 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;                                     
ffc17da4:	90 88 00 04 	stw     r4,4(r8)                               <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17da8:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc17dac:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17d58 <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;
ffc17d58:	3d 20 00 01 	lis     r9,1                                   <== NOT EXECUTED
ffc17d5c:	39 09 2a 20 	addi    r8,r9,10784                            <== NOT EXECUTED
ffc17d60:	80 e9 2a 20 	lwz     r7,10784(r9)                           <== NOT EXECUTED
ffc17d64:	81 48 00 04 	lwz     r10,4(r8)                              <== NOT EXECUTED
  rtems_rfs_trace_flags |= mask;                                      
ffc17d68:	7c 63 3b 78 	or      r3,r3,r7                               <== NOT EXECUTED
ffc17d6c:	7c 84 53 78 	or      r4,r4,r10                              <== NOT EXECUTED
ffc17d70:	90 69 2a 20 	stw     r3,10784(r9)                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17d74:	7c e3 3b 78 	mr      r3,r7                                  <== 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;                                      
ffc17d78:	90 88 00 04 	stw     r4,4(r8)                               <== NOT EXECUTED
  return state;                                                       
}                                                                     
ffc17d7c:	7d 44 53 78 	mr      r4,r10                                 <== NOT EXECUTED
ffc17d80:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc17db0 <rtems_rfs_trace_shell_command>: int rtems_rfs_trace_shell_command (int argc, char *argv[]) {
ffc17db0:	94 21 ff 10 	stwu    r1,-240(r1)                            <== NOT EXECUTED
ffc17db4:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  const char* table[] =                                               
ffc17db8:	38 a0 00 9c 	li      r5,156                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17dbc:	91 e1 00 ac 	stw     r15,172(r1)                            <== NOT EXECUTED
ffc17dc0:	7c 8f 23 78 	mr      r15,r4                                 <== NOT EXECUTED
  const char* table[] =                                               
ffc17dc4:	3c 80 ff c4 	lis     r4,-60                                 <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17dc8:	92 81 00 c0 	stw     r20,192(r1)                            <== NOT EXECUTED
  const char* table[] =                                               
ffc17dcc:	38 84 ad d8 	addi    r4,r4,-21032                           <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17dd0:	7c 74 1b 78 	mr      r20,r3                                 <== NOT EXECUTED
  const char* table[] =                                               
ffc17dd4:	38 61 00 08 	addi    r3,r1,8                                <== NOT EXECUTED
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
{                                                                     
ffc17dd8:	90 01 00 f4 	stw     r0,244(r1)                             <== NOT EXECUTED
ffc17ddc:	91 c1 00 a8 	stw     r14,168(r1)                            <== NOT EXECUTED
ffc17de0:	92 01 00 b0 	stw     r16,176(r1)                            <== NOT EXECUTED
ffc17de4:	92 21 00 b4 	stw     r17,180(r1)                            <== NOT EXECUTED
ffc17de8:	92 41 00 b8 	stw     r18,184(r1)                            <== NOT EXECUTED
ffc17dec:	92 61 00 bc 	stw     r19,188(r1)                            <== NOT EXECUTED
ffc17df0:	92 a1 00 c4 	stw     r21,196(r1)                            <== NOT EXECUTED
ffc17df4:	92 c1 00 c8 	stw     r22,200(r1)                            <== NOT EXECUTED
ffc17df8:	92 e1 00 cc 	stw     r23,204(r1)                            <== NOT EXECUTED
ffc17dfc:	93 01 00 d0 	stw     r24,208(r1)                            <== NOT EXECUTED
ffc17e00:	93 21 00 d4 	stw     r25,212(r1)                            <== NOT EXECUTED
ffc17e04:	93 41 00 d8 	stw     r26,216(r1)                            <== NOT EXECUTED
ffc17e08:	93 61 00 dc 	stw     r27,220(r1)                            <== NOT EXECUTED
ffc17e0c:	93 81 00 e0 	stw     r28,224(r1)                            <== NOT EXECUTED
ffc17e10:	93 a1 00 e4 	stw     r29,228(r1)                            <== NOT EXECUTED
ffc17e14:	93 c1 00 e8 	stw     r30,232(r1)                            <== NOT EXECUTED
ffc17e18:	93 e1 00 ec 	stw     r31,236(r1)                            <== NOT EXECUTED
  const char* table[] =                                               
ffc17e1c:	48 01 17 35 	bl      ffc29550 <memcpy>                      <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17e20:	2f 94 00 01 	cmpwi   cr7,r20,1                              <== NOT EXECUTED
ffc17e24:	40 9d 01 00 	ble-    cr7,ffc17f24 <rtems_rfs_trace_shell_command+0x174><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc17e28:	83 0f 00 04 	lwz     r24,4(r15)                             <== NOT EXECUTED
ffc17e2c:	89 38 00 00 	lbz     r9,0(r24)                              <== NOT EXECUTED
ffc17e30:	2f 89 00 2d 	cmpwi   cr7,r9,45                              <== NOT EXECUTED
ffc17e34:	41 9e 01 d0 	beq-    cr7,ffc18004 <rtems_rfs_trace_shell_command+0x254><== NOT EXECUTED
ffc17e38:	3e 60 00 01 	lis     r19,1                                  <== NOT EXECUTED
ffc17e3c:	3a 73 2a 20 	addi    r19,r19,10784                          <== NOT EXECUTED
ffc17e40:	3e 20 ff c4 	lis     r17,-60                                <== NOT EXECUTED
ffc17e44:	83 d3 00 00 	lwz     r30,0(r19)                             <== NOT EXECUTED
ffc17e48:	3e 40 ff c4 	lis     r18,-60                                <== NOT EXECUTED
ffc17e4c:	83 f3 00 04 	lwz     r31,4(r19)                             <== NOT EXECUTED
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc17e50:	3e 00 ff c4 	lis     r16,-60                                <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
ffc17e54:	3a cf 00 04 	addi    r22,r15,4                              <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17e58:	3a e0 00 01 	li      r23,1                                  <== NOT EXECUTED
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
ffc17e5c:	3a a0 00 01 	li      r21,1                                  <== NOT EXECUTED
    "file-io",                                                        
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
ffc17e60:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc17e64:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
    "file-close",                                                     
    "file-io",                                                        
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
ffc17e68:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc17e6c:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17e70:	3a 31 93 b8 	addi    r17,r17,-27720                         <== NOT EXECUTED
ffc17e74:	3a 52 ae e4 	addi    r18,r18,-20764                         <== NOT EXECUTED
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc17e78:	3a 10 d2 a8 	addi    r16,r16,-11608                         <== NOT EXECUTED
ffc17e7c:	48 00 00 3c 	b       ffc17eb8 <rtems_rfs_trace_shell_command+0x108><== NOT EXECUTED
ffc17e80:	7f 4a f3 78 	or      r10,r26,r30                            <== NOT EXECUTED
ffc17e84:	7f 69 fb 78 	or      r9,r27,r31                             <== NOT EXECUTED
ffc17e88:	7d 5e e0 78 	andc    r30,r10,r28                            <== NOT EXECUTED
ffc17e8c:	7d 3f e8 78 	andc    r31,r9,r29                             <== NOT EXECUTED
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
ffc17e90:	3a a0 00 00 	li      r21,0                                  <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17e94:	3a f7 00 01 	addi    r23,r23,1                              <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17e98:	93 d3 00 00 	stw     r30,0(r19)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17e9c:	7f 97 a0 00 	cmpw    cr7,r23,r20                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17ea0:	93 f3 00 04 	stw     r31,4(r19)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17ea4:	41 9e 00 80 	beq-    cr7,ffc17f24 <rtems_rfs_trace_shell_command+0x174><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc17ea8:	87 16 00 04 	lwzu    r24,4(r22)                             <== NOT EXECUTED
ffc17eac:	89 38 00 00 	lbz     r9,0(r24)                              <== NOT EXECUTED
ffc17eb0:	2f 89 00 2d 	cmpwi   cr7,r9,45                              <== NOT EXECUTED
ffc17eb4:	41 9e 01 50 	beq-    cr7,ffc18004 <rtems_rfs_trace_shell_command+0x254><== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
ffc17eb8:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc17ebc:	7e 24 8b 78 	mr      r4,r17                                 <== NOT EXECUTED
ffc17ec0:	48 01 27 89 	bl      ffc2a648 <strcmp>                      <== NOT EXECUTED
ffc17ec4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17ec8:	40 9e 00 08 	bne-    cr7,ffc17ed0 <rtems_rfs_trace_shell_command+0x120><== NOT EXECUTED
        set = true;                                                   
ffc17ecc:	3a a0 00 01 	li      r21,1                                  <== NOT EXECUTED
      if (strcmp (argv[arg], "clear") == 0)                           
ffc17ed0:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc17ed4:	7e 44 93 78 	mr      r4,r18                                 <== NOT EXECUTED
ffc17ed8:	48 01 27 71 	bl      ffc2a648 <strcmp>                      <== NOT EXECUTED
ffc17edc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17ee0:	41 be ff a0 	beq-    cr7,ffc17e80 <rtems_rfs_trace_shell_command+0xd0><== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc17ee4:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc17ee8:	7e 04 83 78 	mr      r4,r16                                 <== NOT EXECUTED
ffc17eec:	48 01 27 5d 	bl      ffc2a648 <strcmp>                      <== NOT EXECUTED
ffc17ef0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17ef4:	40 9e 00 8c 	bne-    cr7,ffc17f80 <rtems_rfs_trace_shell_command+0x1d0><== NOT EXECUTED
      {                                                               
        if (set)                                                      
ffc17ef8:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
ffc17efc:	41 9e 00 e0 	beq-    cr7,ffc17fdc <rtems_rfs_trace_shell_command+0x22c><== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17f00:	3a f7 00 01 	addi    r23,r23,1                              <== NOT EXECUTED
ffc17f04:	7f 97 a0 00 	cmpw    cr7,r23,r20                            <== NOT EXECUTED
ffc17f08:	7f 9e e0 f8 	not     r30,r28                                <== NOT EXECUTED
ffc17f0c:	7f bf e8 f8 	not     r31,r29                                <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17f10:	93 d3 00 00 	stw     r30,0(r19)                             <== 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;                            
ffc17f14:	3b 40 ff ff 	li      r26,-1                                 <== NOT EXECUTED
ffc17f18:	3b 60 ff ff 	li      r27,-1                                 <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
ffc17f1c:	93 f3 00 04 	stw     r31,4(r19)                             <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc17f20:	40 9e ff 88 	bne+    cr7,ffc17ea8 <rtems_rfs_trace_shell_command+0xf8><== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
ffc17f24:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
      rtems_rfs_trace_flags &= ~clear_value;                          
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc17f28:	80 01 00 f4 	lwz     r0,244(r1)                             <== NOT EXECUTED
ffc17f2c:	81 c1 00 a8 	lwz     r14,168(r1)                            <== NOT EXECUTED
ffc17f30:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc17f34:	81 e1 00 ac 	lwz     r15,172(r1)                            <== NOT EXECUTED
ffc17f38:	82 01 00 b0 	lwz     r16,176(r1)                            <== NOT EXECUTED
ffc17f3c:	82 21 00 b4 	lwz     r17,180(r1)                            <== NOT EXECUTED
ffc17f40:	82 41 00 b8 	lwz     r18,184(r1)                            <== NOT EXECUTED
ffc17f44:	82 61 00 bc 	lwz     r19,188(r1)                            <== NOT EXECUTED
ffc17f48:	82 81 00 c0 	lwz     r20,192(r1)                            <== NOT EXECUTED
ffc17f4c:	82 a1 00 c4 	lwz     r21,196(r1)                            <== NOT EXECUTED
ffc17f50:	82 c1 00 c8 	lwz     r22,200(r1)                            <== NOT EXECUTED
ffc17f54:	82 e1 00 cc 	lwz     r23,204(r1)                            <== NOT EXECUTED
ffc17f58:	83 01 00 d0 	lwz     r24,208(r1)                            <== NOT EXECUTED
ffc17f5c:	83 21 00 d4 	lwz     r25,212(r1)                            <== NOT EXECUTED
ffc17f60:	83 41 00 d8 	lwz     r26,216(r1)                            <== NOT EXECUTED
ffc17f64:	83 61 00 dc 	lwz     r27,220(r1)                            <== NOT EXECUTED
ffc17f68:	83 81 00 e0 	lwz     r28,224(r1)                            <== NOT EXECUTED
ffc17f6c:	83 a1 00 e4 	lwz     r29,228(r1)                            <== NOT EXECUTED
ffc17f70:	83 c1 00 e8 	lwz     r30,232(r1)                            <== NOT EXECUTED
ffc17f74:	83 e1 00 ec 	lwz     r31,236(r1)                            <== NOT EXECUTED
ffc17f78:	38 21 00 f0 	addi    r1,r1,240                              <== NOT EXECUTED
ffc17f7c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
ffc17f80:	39 c1 00 04 	addi    r14,r1,4                               <== NOT EXECUTED
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
ffc17f84:	3b 20 00 00 	li      r25,0                                  <== NOT EXECUTED
ffc17f88:	48 00 00 0c 	b       ffc17f94 <rtems_rfs_trace_shell_command+0x1e4><== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc17f8c:	3b 39 00 01 	addi    r25,r25,1                              <== NOT EXECUTED
ffc17f90:	41 9a 00 38 	beq-    cr6,ffc17fc8 <rtems_rfs_trace_shell_command+0x218><== NOT EXECUTED
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
ffc17f94:	84 8e 00 04 	lwzu    r4,4(r14)                              <== NOT EXECUTED
ffc17f98:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc17f9c:	48 01 26 ad 	bl      ffc2a648 <strcmp>                      <== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
ffc17fa0:	2f 19 00 26 	cmpwi   cr6,r25,38                             <== NOT EXECUTED
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
ffc17fa4:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc17fa8:	40 9e ff e4 	bne+    cr7,ffc17f8c <rtems_rfs_trace_shell_command+0x1dc><== NOT EXECUTED
          {                                                           
            if (set)                                                  
ffc17fac:	2f 95 00 00 	cmpwi   cr7,r21,0                              <== NOT EXECUTED
              set_value = 1ULL << t;                                  
ffc17fb0:	35 39 ff e0 	addic.  r9,r25,-32                             <== NOT EXECUTED
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
ffc17fb4:	41 9e 00 3c 	beq-    cr7,ffc17ff0 <rtems_rfs_trace_shell_command+0x240><== NOT EXECUTED
              set_value = 1ULL << t;                                  
ffc17fb8:	41 80 00 84 	blt-    ffc1803c <rtems_rfs_trace_shell_command+0x28c><== NOT EXECUTED
ffc17fbc:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc17fc0:	7d 5a 48 30 	slw     r26,r10,r9                             <== NOT EXECUTED
ffc17fc4:	3b 60 00 00 	li      r27,0                                  <== NOT EXECUTED
ffc17fc8:	7f 4a f3 78 	or      r10,r26,r30                            <== NOT EXECUTED
ffc17fcc:	7f 69 fb 78 	or      r9,r27,r31                             <== NOT EXECUTED
ffc17fd0:	7d 5e e0 78 	andc    r30,r10,r28                            <== NOT EXECUTED
ffc17fd4:	7d 3f e8 78 	andc    r31,r9,r29                             <== NOT EXECUTED
ffc17fd8:	4b ff fe bc 	b       ffc17e94 <rtems_rfs_trace_shell_command+0xe4><== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
ffc17fdc:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc17fe0:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
ffc17fe4:	3b 80 ff ff 	li      r28,-1                                 <== NOT EXECUTED
ffc17fe8:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc17fec:	4b ff fe a8 	b       ffc17e94 <rtems_rfs_trace_shell_command+0xe4><== NOT EXECUTED
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1ULL << t;                                  
            else                                                      
              clear_value = 1ULL << t;                                
ffc17ff0:	41 80 00 3c 	blt-    ffc1802c <rtems_rfs_trace_shell_command+0x27c><== NOT EXECUTED
ffc17ff4:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc17ff8:	7d 5c 48 30 	slw     r28,r10,r9                             <== NOT EXECUTED
ffc17ffc:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
ffc18000:	4b ff ff c8 	b       ffc17fc8 <rtems_rfs_trace_shell_command+0x218><== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
ffc18004:	89 38 00 01 	lbz     r9,1(r24)                              <== NOT EXECUTED
ffc18008:	2f 89 00 68 	cmpwi   cr7,r9,104                             <== NOT EXECUTED
ffc1800c:	41 9e 00 80 	beq-    cr7,ffc1808c <rtems_rfs_trace_shell_command+0x2dc><== NOT EXECUTED
ffc18010:	2f 89 00 6c 	cmpwi   cr7,r9,108                             <== NOT EXECUTED
ffc18014:	41 9e 00 38 	beq-    cr7,ffc1804c <rtems_rfs_trace_shell_command+0x29c><== 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");                         
ffc18018:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc1801c:	38 63 ae cc 	addi    r3,r3,-20788                           <== NOT EXECUTED
ffc18020:	48 01 1d 25 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
          return 1;                                                   
ffc18024:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc18028:	4b ff ff 00 	b       ffc17f28 <rtems_rfs_trace_shell_command+0x178><== NOT EXECUTED
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1ULL << t;                                  
            else                                                      
              clear_value = 1ULL << t;                                
ffc1802c:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc18030:	3b 80 00 00 	li      r28,0                                  <== NOT EXECUTED
ffc18034:	7d 3d c8 30 	slw     r29,r9,r25                             <== NOT EXECUTED
ffc18038:	4b ff ff 90 	b       ffc17fc8 <rtems_rfs_trace_shell_command+0x218><== 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;                                  
ffc1803c:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc18040:	3b 40 00 00 	li      r26,0                                  <== NOT EXECUTED
ffc18044:	7d 3b c8 30 	slw     r27,r9,r25                             <== NOT EXECUTED
ffc18048:	4b ff ff 80 	b       ffc17fc8 <rtems_rfs_trace_shell_command+0x218><== 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]); 
ffc1804c:	80 8f 00 00 	lwz     r4,0(r15)                              <== NOT EXECUTED
ffc18050:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc18054:	38 63 ae 9c 	addi    r3,r3,-20836                           <== NOT EXECUTED
ffc18058:	3f c0 ff c4 	lis     r30,-60                                <== NOT EXECUTED
ffc1805c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc18060:	48 01 19 7d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc18064:	3b e1 00 04 	addi    r31,r1,4                               <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
ffc18068:	3b a1 00 a0 	addi    r29,r1,160                             <== NOT EXECUTED
ffc1806c:	3b de ae c4 	addi    r30,r30,-20796                         <== NOT EXECUTED
          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++)
            printf ("  %s\n", table[t]);                              
ffc18070:	84 9f 00 04 	lwzu    r4,4(r31)                              <== NOT EXECUTED
ffc18074:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc18078:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1807c:	48 01 19 61 	bl      ffc299dc <printf>                      <== 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++)
ffc18080:	7f 9f e8 00 	cmpw    cr7,r31,r29                            <== NOT EXECUTED
ffc18084:	40 9e ff ec 	bne+    cr7,ffc18070 <rtems_rfs_trace_shell_command+0x2c0><== NOT EXECUTED
ffc18088:	4b ff fe 9c 	b       ffc17f24 <rtems_rfs_trace_shell_command+0x174><== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
ffc1808c:	80 8f 00 00 	lwz     r4,0(r15)                              <== NOT EXECUTED
ffc18090:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc18094:	38 63 ae 74 	addi    r3,r3,-20876                           <== NOT EXECUTED
ffc18098:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc1809c:	48 01 19 41 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc180a0:	4b ff fe 84 	b       ffc17f24 <rtems_rfs_trace_shell_command+0x174><== NOT EXECUTED
                                                                      

ffc251f4 <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) {
ffc251f4:	94 21 ff 88 	stwu    r1,-120(r1)                            
ffc251f8:	7d 80 00 26 	mfcr    r12                                    
ffc251fc:	7c 08 02 a6 	mflr    r0                                     
ffc25200:	93 81 00 68 	stw     r28,104(r1)                            
ffc25204:	7c 9c 23 78 	mr      r28,r4                                 
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc25208:	3c 80 02 00 	lis     r4,512                                 
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)                    
{                                                                     
ffc2520c:	93 e1 00 74 	stw     r31,116(r1)                            
ffc25210:	7c 7f 1b 78 	mr      r31,r3                                 
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc25214:	38 60 00 00 	li      r3,0                                   
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)                    
{                                                                     
ffc25218:	93 41 00 60 	stw     r26,96(r1)                             
ffc2521c:	7c da 33 78 	mr      r26,r6                                 
ffc25220:	93 61 00 64 	stw     r27,100(r1)                            
ffc25224:	7c fb 3b 78 	mr      r27,r7                                 
ffc25228:	93 a1 00 6c 	stw     r29,108(r1)                            
ffc2522c:	7c bd 2b 78 	mr      r29,r5                                 
ffc25230:	90 01 00 7c 	stw     r0,124(r1)                             
ffc25234:	93 c1 00 70 	stw     r30,112(r1)                            
ffc25238:	91 81 00 5c 	stw     r12,92(r1)                             
  rtems_rfs_inode_handle target_inode;                                
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc2523c:	4b ff 2a f1 	bl      ffc17d2c <rtems_rfs_trace>             
ffc25240:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25244:	40 9e 01 60 	bne-    cr7,ffc253a4 <rtems_rfs_unlink+0x1b0>  <== NEVER TAKEN
    printf ("rtems-rfs: unlink: parent(%" PRIu32 ") -X-> (%" PRIu32 ")\n", parent, target);
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
ffc25248:	7f e3 fb 78 	mr      r3,r31                                 
ffc2524c:	7f a4 eb 78 	mr      r4,r29                                 
ffc25250:	38 a1 00 08 	addi    r5,r1,8                                
ffc25254:	38 c0 00 01 	li      r6,1                                   
ffc25258:	4b ff 0a a1 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc2525c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25260:	40 82 00 50 	bne-    ffc252b0 <rtems_rfs_unlink+0xbc>       <== NEVER TAKEN
                                                                      
  /*                                                                  
   * If a directory process the unlink mode.                          
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
ffc25264:	81 21 00 14 	lwz     r9,20(r1)                              
 * @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);                    
ffc25268:	89 29 00 02 	lbz     r9,2(r9)                               
ffc2526c:	55 29 44 26 	rlwinm  r9,r9,8,16,19                          
ffc25270:	69 29 40 00 	xori    r9,r9,16384                            
ffc25274:	7d 29 00 34 	cntlzw  r9,r9                                  
ffc25278:	55 29 d9 7e 	rlwinm  r9,r9,27,5,31                          
  if (dir)                                                            
ffc2527c:	2e 09 00 00 	cmpwi   cr4,r9,0                               
ffc25280:	41 92 00 6c 	beq-    cr4,ffc252ec <rtems_rfs_unlink+0xf8>   
  {                                                                   
    switch (dir_mode)                                                 
ffc25284:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc25288:	40 9e 00 5c 	bne-    cr7,ffc252e4 <rtems_rfs_unlink+0xf0>   <== ALWAYS TAKEN
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
ffc2528c:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25290:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25294:	4b ff 2a 99 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25298:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc2529c:	40 9e 01 e4 	bne-    cr7,ffc25480 <rtems_rfs_unlink+0x28c>  <== NOT EXECUTED
          printf ("rtems-rfs: link is a directory\n");                
        rtems_rfs_inode_close (fs, &target_inode);                    
ffc252a0:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc252a4:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc252a8:	4b ff 0c cd 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
        return EISDIR;                                                
ffc252ac:	3b c0 00 15 	li      r30,21                                 <== 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;                                                          
}                                                                     
ffc252b0:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc252b4:	7f c3 f3 78 	mr      r3,r30                                 
ffc252b8:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc252bc:	7c 08 03 a6 	mtlr    r0                                     
ffc252c0:	83 41 00 60 	lwz     r26,96(r1)                             
ffc252c4:	83 61 00 64 	lwz     r27,100(r1)                            
ffc252c8:	7d 80 81 20 	mtcrf   8,r12                                  
ffc252cc:	83 81 00 68 	lwz     r28,104(r1)                            
ffc252d0:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc252d4:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc252d8:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc252dc:	38 21 00 78 	addi    r1,r1,120                              
ffc252e0:	4e 80 00 20 	blr                                            
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
  if (dir)                                                            
  {                                                                   
    switch (dir_mode)                                                 
ffc252e4:	2f 9b 00 01 	cmpwi   cr7,r27,1                              
ffc252e8:	41 9e 01 4c 	beq-    cr7,ffc25434 <rtems_rfs_unlink+0x240>  <== ALWAYS TAKEN
      default:                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
ffc252ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc252f0:	7f 84 e3 78 	mr      r4,r28                                 
ffc252f4:	38 a1 00 30 	addi    r5,r1,48                               
ffc252f8:	38 c0 00 01 	li      r6,1                                   
ffc252fc:	4b ff 09 fd 	bl      ffc15cf8 <rtems_rfs_inode_open>        
  if (rc)                                                             
ffc25300:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25304:	40 82 00 bc 	bne-    ffc253c0 <rtems_rfs_unlink+0x1cc>      <== NEVER TAKEN
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_del_entry (fs, &parent_inode, target, doff);     
ffc25308:	7f e3 fb 78 	mr      r3,r31                                 
ffc2530c:	38 81 00 30 	addi    r4,r1,48                               
ffc25310:	7f a5 eb 78 	mr      r5,r29                                 
ffc25314:	7f 46 d3 78 	mr      r6,r26                                 
ffc25318:	4b ff d4 d1 	bl      ffc227e8 <rtems_rfs_dir_del_entry>     
  if (rc > 0)                                                         
ffc2531c:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25320:	40 81 01 70 	ble-    ffc25490 <rtems_rfs_unlink+0x29c>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc25324:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25328:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc2532c:	4b ff 2a 01 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25330:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25334:	41 be 00 24 	beq+    cr7,ffc25358 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
      printf ("rtems-rfs: unlink: dir-del failed: %d: %s\n",          
ffc25338:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2533c:	48 00 58 1d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc25340:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25344:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25348:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc2534c:	38 63 cb ec 	addi    r3,r3,-13332                           <== NOT EXECUTED
ffc25350:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25354:	48 00 46 89 	bl      ffc299dc <printf>                      <== 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);                        
ffc25358:	38 81 00 30 	addi    r4,r1,48                               <== NOT EXECUTED
ffc2535c:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25360:	4b ff 0c 15 	bl      ffc15f74 <rtems_rfs_inode_close>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
ffc25364:	7f e3 fb 78 	mr      r3,r31                                 <== NOT EXECUTED
ffc25368:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc2536c:	4b ff 0c 09 	bl      ffc15f74 <rtems_rfs_inode_close>       <== 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;                                                          
}                                                                     
ffc25370:	80 01 00 7c 	lwz     r0,124(r1)                             <== NOT EXECUTED
ffc25374:	81 81 00 5c 	lwz     r12,92(r1)                             <== NOT EXECUTED
ffc25378:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2537c:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc25380:	83 41 00 60 	lwz     r26,96(r1)                             <== NOT EXECUTED
ffc25384:	83 61 00 64 	lwz     r27,100(r1)                            <== NOT EXECUTED
ffc25388:	7d 80 81 20 	mtcrf   8,r12                                  <== NOT EXECUTED
ffc2538c:	83 81 00 68 	lwz     r28,104(r1)                            <== NOT EXECUTED
ffc25390:	83 a1 00 6c 	lwz     r29,108(r1)                            <== NOT EXECUTED
ffc25394:	83 c1 00 70 	lwz     r30,112(r1)                            <== NOT EXECUTED
ffc25398:	83 e1 00 74 	lwz     r31,116(r1)                            <== NOT EXECUTED
ffc2539c:	38 21 00 78 	addi    r1,r1,120                              <== NOT EXECUTED
ffc253a0:	4e 80 00 20 	blr                                            <== 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);
ffc253a4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc253a8:	7f 84 e3 78 	mr      r4,r28                                 <== NOT EXECUTED
ffc253ac:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc253b0:	38 63 cb 54 	addi    r3,r3,-13484                           <== NOT EXECUTED
ffc253b4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc253b8:	48 00 46 25 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc253bc:	4b ff fe 8c 	b       ffc25248 <rtems_rfs_unlink+0x54>       <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc)                                                             
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc253c0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc253c4:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc253c8:	4b ff 29 65 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc253cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc253d0:	41 be 00 24 	beq+    cr7,ffc253f4 <rtems_rfs_unlink+0x200>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-open failed: %d: %s\n",         
ffc253d4:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc253d8:	48 00 57 81 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc253dc:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc253e0:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc253e4:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc253e8:	38 63 cb c0 	addi    r3,r3,-13376                           <== NOT EXECUTED
ffc253ec:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc253f0:	48 00 45 ed 	bl      ffc299dc <printf>                      <== 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);                        
ffc253f4:	7f e3 fb 78 	mr      r3,r31                                 
ffc253f8:	38 81 00 08 	addi    r4,r1,8                                
ffc253fc:	4b ff 0b 79 	bl      ffc15f74 <rtems_rfs_inode_close>       
  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;                                                          
}                                                                     
ffc25400:	80 01 00 7c 	lwz     r0,124(r1)                             
ffc25404:	81 81 00 5c 	lwz     r12,92(r1)                             
ffc25408:	7f c3 f3 78 	mr      r3,r30                                 
ffc2540c:	7c 08 03 a6 	mtlr    r0                                     
ffc25410:	83 41 00 60 	lwz     r26,96(r1)                             
ffc25414:	83 61 00 64 	lwz     r27,100(r1)                            
ffc25418:	7d 80 81 20 	mtcrf   8,r12                                  
ffc2541c:	83 81 00 68 	lwz     r28,104(r1)                            
ffc25420:	83 a1 00 6c 	lwz     r29,108(r1)                            
ffc25424:	83 c1 00 70 	lwz     r30,112(r1)                            
ffc25428:	83 e1 00 74 	lwz     r31,116(r1)                            
ffc2542c:	38 21 00 78 	addi    r1,r1,120                              
ffc25430:	4e 80 00 20 	blr                                            
          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);                 
ffc25434:	7f e3 fb 78 	mr      r3,r31                                 
ffc25438:	38 81 00 08 	addi    r4,r1,8                                
ffc2543c:	4b ff dc a1 	bl      ffc230dc <rtems_rfs_dir_empty>         
        if (rc > 0)                                                   
ffc25440:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25444:	40 a1 fe a8 	ble-    ffc252ec <rtems_rfs_unlink+0xf8>       
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))               
ffc25448:	38 60 00 00 	li      r3,0                                   
ffc2544c:	3c 80 02 00 	lis     r4,512                                 
ffc25450:	4b ff 28 dd 	bl      ffc17d2c <rtems_rfs_trace>             
ffc25454:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc25458:	41 9e ff 9c 	beq+    cr7,ffc253f4 <rtems_rfs_unlink+0x200>  <== ALWAYS TAKEN
            printf ("rtems-rfs: dir-empty: %d: %s\n", rc, strerror (rc));
ffc2545c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25460:	48 00 56 f9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc25464:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25468:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2546c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25470:	38 63 cb a0 	addi    r3,r3,-13408                           <== NOT EXECUTED
ffc25474:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25478:	48 00 45 65 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2547c:	4b ff ff 78 	b       ffc253f4 <rtems_rfs_unlink+0x200>      <== 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");                
ffc25480:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25484:	38 63 cb 80 	addi    r3,r3,-13440                           <== NOT EXECUTED
ffc25488:	48 00 48 bd 	bl      ffc29d44 <puts>                        <== NOT EXECUTED
ffc2548c:	4b ff fe 14 	b       ffc252a0 <rtems_rfs_unlink+0xac>       <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode);                  
ffc25490:	81 21 00 14 	lwz     r9,20(r1)                              
 */                                                                   
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);                  
ffc25494:	8b c9 00 00 	lbz     r30,0(r9)                              
ffc25498:	89 29 00 01 	lbz     r9,1(r9)                               
ffc2549c:	57 de 40 2e 	rlwinm  r30,r30,8,0,23                         
ffc254a0:	7f de 4b 78 	or      r30,r30,r9                             
  if (links == 0xffff)                                                
ffc254a4:	6f c9 ff ff 	xoris   r9,r30,65535                           
ffc254a8:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc254ac:	41 9e 00 b0 	beq-    cr7,ffc2555c <rtems_rfs_unlink+0x368>  <== NEVER TAKEN
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
ffc254b0:	38 60 00 00 	li      r3,0                                   
ffc254b4:	3c 80 02 00 	lis     r4,512                                 
ffc254b8:	4b ff 28 75 	bl      ffc17d2c <rtems_rfs_trace>             
ffc254bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc254c0:	40 9e 00 80 	bne-    cr7,ffc25540 <rtems_rfs_unlink+0x34c>  <== NEVER TAKEN
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
                                                                      
  if (links > 1)                                                      
ffc254c4:	2b 9e 00 01 	cmplwi  cr7,r30,1                              
ffc254c8:	40 9d 00 e8 	ble-    cr7,ffc255b0 <rtems_rfs_unlink+0x3bc>  
  {                                                                   
    links--;                                                          
ffc254cc:	3b de ff ff 	addi    r30,r30,-1                             
 * @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);                  
ffc254d0:	81 21 00 14 	lwz     r9,20(r1)                              
ffc254d4:	57 de 04 3e 	clrlwi  r30,r30,16                             
ffc254d8:	57 ca c2 3e 	rlwinm  r10,r30,24,8,31                        
ffc254dc:	99 49 00 00 	stb     r10,0(r9)                              
ffc254e0:	81 21 00 14 	lwz     r9,20(r1)                              
ffc254e4:	9b c9 00 01 	stb     r30,1(r9)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc254e8:	39 20 00 01 	li      r9,1                                   
ffc254ec:	99 21 00 18 	stb     r9,24(r1)                              
        links--;                                                      
      rtems_rfs_inode_set_links (&parent_inode, links);               
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
ffc254f0:	38 61 00 30 	addi    r3,r1,48                               
ffc254f4:	38 80 00 01 	li      r4,1                                   
ffc254f8:	38 a0 00 01 	li      r5,1                                   
ffc254fc:	4b ff 0c 5d 	bl      ffc16158 <rtems_rfs_inode_time_stamp_now>
  if (rc > 0)                                                         
ffc25500:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25504:	40 81 00 60 	ble-    ffc25564 <rtems_rfs_unlink+0x370>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc25508:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2550c:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25510:	4b ff 28 1d 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25514:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25518:	41 9e fe 40 	beq+    cr7,ffc25358 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
ffc2551c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25520:	48 00 56 39 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc25524:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25528:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2552c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25530:	38 63 cc 70 	addi    r3,r3,-13200                           <== NOT EXECUTED
ffc25534:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25538:	48 00 44 a5 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc2553c:	4b ff fe 1c 	b       ffc25358 <rtems_rfs_unlink+0x164>      <== 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);
ffc25540:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25544:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc25548:	7f c5 f3 78 	mr      r5,r30                                 <== NOT EXECUTED
ffc2554c:	38 63 cc 18 	addi    r3,r3,-13288                           <== NOT EXECUTED
ffc25550:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25554:	48 00 44 89 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25558:	4b ff ff 6c 	b       ffc254c4 <rtems_rfs_unlink+0x2d0>      <== NOT EXECUTED
rtems_rfs_inode_get_links (rtems_rfs_inode_handle* handle)            
{                                                                     
  uint16_t links;                                                     
  links = rtems_rfs_read_u16 (&handle->node->links);                  
  if (links == 0xffff)                                                
    links = 0;                                                        
ffc2555c:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
ffc25560:	4b ff ff 50 	b       ffc254b0 <rtems_rfs_unlink+0x2bc>      <== 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);                     
ffc25564:	7f e3 fb 78 	mr      r3,r31                                 
ffc25568:	38 81 00 30 	addi    r4,r1,48                               
ffc2556c:	4b ff 0a 09 	bl      ffc15f74 <rtems_rfs_inode_close>       
  if (rc > 0)                                                         
ffc25570:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc25574:	40 81 00 88 	ble-    ffc255fc <rtems_rfs_unlink+0x408>      <== ALWAYS TAKEN
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
ffc25578:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc2557c:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25580:	4b ff 27 ad 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc25584:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25588:	41 9e fe 6c 	beq+    cr7,ffc253f4 <rtems_rfs_unlink+0x200>  <== NOT EXECUTED
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
ffc2558c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25590:	48 00 55 c9 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc25594:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25598:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc2559c:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc255a0:	38 63 cc a4 	addi    r3,r3,-13148                           <== NOT EXECUTED
ffc255a4:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc255a8:	48 00 44 35 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc255ac:	4b ff fe 48 	b       ffc253f4 <rtems_rfs_unlink+0x200>      <== NOT EXECUTED
  else                                                                
  {                                                                   
    /*                                                                
     * Erasing the inode releases all blocks attached to it.          
     */                                                               
    rc = rtems_rfs_inode_delete (fs, &target_inode);                  
ffc255b0:	7f e3 fb 78 	mr      r3,r31                                 
ffc255b4:	38 81 00 08 	addi    r4,r1,8                                
ffc255b8:	4b ff 0a 9d 	bl      ffc16054 <rtems_rfs_inode_delete>      
    if (rc > 0)                                                       
ffc255bc:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc255c0:	40 81 00 88 	ble-    ffc25648 <rtems_rfs_unlink+0x454>      <== ALWAYS TAKEN
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                   
ffc255c4:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc255c8:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc255cc:	4b ff 27 61 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc255d0:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc255d4:	41 9e fd 84 	beq+    cr7,ffc25358 <rtems_rfs_unlink+0x164>  <== NOT EXECUTED
        printf ("rtems-rfs: unlink: inode-del failed: %d: %s\n",      
ffc255d8:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc255dc:	48 00 55 7d 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc255e0:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc255e4:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc255e8:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc255ec:	38 63 cc 40 	addi    r3,r3,-13248                           <== NOT EXECUTED
ffc255f0:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc255f4:	48 00 43 e9 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc255f8:	4b ff fd 60 	b       ffc25358 <rtems_rfs_unlink+0x164>      <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
ffc255fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc25600:	38 81 00 08 	addi    r4,r1,8                                
ffc25604:	4b ff 09 71 	bl      ffc15f74 <rtems_rfs_inode_close>       
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
ffc25608:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc2560c:	40 a1 fc a4 	ble-    ffc252b0 <rtems_rfs_unlink+0xbc>       <== ALWAYS TAKEN
ffc25610:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc25614:	3c 80 02 00 	lis     r4,512                                 <== NOT EXECUTED
ffc25618:	4b ff 27 15 	bl      ffc17d2c <rtems_rfs_trace>             <== NOT EXECUTED
ffc2561c:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
ffc25620:	41 9e fc 90 	beq+    cr7,ffc252b0 <rtems_rfs_unlink+0xbc>   <== NOT EXECUTED
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
ffc25624:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc25628:	48 00 55 31 	bl      ffc2ab58 <strerror>                    <== NOT EXECUTED
ffc2562c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc25630:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc25634:	3c 60 ff c4 	lis     r3,-60                                 <== NOT EXECUTED
ffc25638:	38 63 cc d8 	addi    r3,r3,-13096                           <== NOT EXECUTED
ffc2563c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc25640:	48 00 43 9d 	bl      ffc299dc <printf>                      <== NOT EXECUTED
ffc25644:	4b ff fc 6c 	b       ffc252b0 <rtems_rfs_unlink+0xbc>       <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &parent_inode);                      
      rtems_rfs_inode_close (fs, &target_inode);                      
      return rc;                                                      
    }                                                                 
                                                                      
    if (dir)                                                          
ffc25648:	41 b2 fe a8 	beq-    cr4,ffc254f0 <rtems_rfs_unlink+0x2fc>  
    {                                                                 
      links = rtems_rfs_inode_get_links (&parent_inode);              
ffc2564c:	81 41 00 3c 	lwz     r10,60(r1)                             
 */                                                                   
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);                  
ffc25650:	89 0a 00 00 	lbz     r8,0(r10)                              
ffc25654:	89 2a 00 01 	lbz     r9,1(r10)                              
ffc25658:	55 08 40 2e 	rlwinm  r8,r8,8,0,23                           
ffc2565c:	7d 09 4b 78 	or      r9,r8,r9                               
  if (links == 0xffff)                                                
ffc25660:	6d 28 ff ff 	xoris   r8,r9,65535                            
ffc25664:	2f 88 ff ff 	cmpwi   cr7,r8,-1                              
ffc25668:	41 9e 00 30 	beq-    cr7,ffc25698 <rtems_rfs_unlink+0x4a4>  <== NEVER TAKEN
      if (links > 1)                                                  
ffc2566c:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc25670:	40 9d 00 0c 	ble-    cr7,ffc2567c <rtems_rfs_unlink+0x488>  
        links--;                                                      
ffc25674:	39 29 ff ff 	addi    r9,r9,-1                               
ffc25678:	55 29 04 3e 	clrlwi  r9,r9,16                               
 * @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);                  
ffc2567c:	55 28 c2 3e 	rlwinm  r8,r9,24,8,31                          
ffc25680:	99 0a 00 00 	stb     r8,0(r10)                              
ffc25684:	81 41 00 3c 	lwz     r10,60(r1)                             
ffc25688:	99 2a 00 01 	stb     r9,1(r10)                              
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
ffc2568c:	39 20 00 01 	li      r9,1                                   
ffc25690:	99 21 00 40 	stb     r9,64(r1)                              
ffc25694:	4b ff fe 5c 	b       ffc254f0 <rtems_rfs_unlink+0x2fc>      
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;                                                        
ffc25698:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc2569c:	4b ff ff e0 	b       ffc2567c <rtems_rfs_unlink+0x488>      <== NOT EXECUTED
                                                                      

ffc27808 <rtems_shell_rfs_format>: const char* driver = NULL; int arg; memset (&config, 0, sizeof (rtems_rfs_format_config)); for (arg = 1; arg < argc; arg++)
ffc27808:	2f 83 00 01 	cmpwi   cr7,r3,1                               <== NOT EXECUTED
  return 1;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_shell_rfs_format (int argc, char* argv[])                       
{                                                                     
ffc2780c:	94 21 ff c0 	stwu    r1,-64(r1)                             <== NOT EXECUTED
ffc27810:	7c 08 02 a6 	mflr    r0                                     <== NOT EXECUTED
  rtems_rfs_format_config config;                                     
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
ffc27814:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
  return 1;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_shell_rfs_format (int argc, char* argv[])                       
{                                                                     
ffc27818:	93 a1 00 34 	stw     r29,52(r1)                             <== NOT EXECUTED
ffc2781c:	7c 7d 1b 78 	mr      r29,r3                                 <== NOT EXECUTED
ffc27820:	93 c1 00 38 	stw     r30,56(r1)                             <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc27824:	3b c0 00 00 	li      r30,0                                  <== NOT EXECUTED
  return 1;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_shell_rfs_format (int argc, char* argv[])                       
{                                                                     
ffc27828:	93 e1 00 3c 	stw     r31,60(r1)                             <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc2782c:	3b e0 00 01 	li      r31,1                                  <== NOT EXECUTED
  return 1;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_shell_rfs_format (int argc, char* argv[])                       
{                                                                     
ffc27830:	90 01 00 44 	stw     r0,68(r1)                              <== NOT EXECUTED
ffc27834:	93 41 00 28 	stw     r26,40(r1)                             <== NOT EXECUTED
ffc27838:	93 61 00 2c 	stw     r27,44(r1)                             <== NOT EXECUTED
ffc2783c:	93 81 00 30 	stw     r28,48(r1)                             <== NOT EXECUTED
  rtems_rfs_format_config config;                                     
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
ffc27840:	91 21 00 08 	stw     r9,8(r1)                               <== NOT EXECUTED
ffc27844:	91 21 00 0c 	stw     r9,12(r1)                              <== NOT EXECUTED
ffc27848:	91 21 00 10 	stw     r9,16(r1)                              <== NOT EXECUTED
ffc2784c:	91 21 00 14 	stw     r9,20(r1)                              <== NOT EXECUTED
ffc27850:	91 21 00 18 	stw     r9,24(r1)                              <== NOT EXECUTED
ffc27854:	91 21 00 1c 	stw     r9,28(r1)                              <== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc27858:	40 9d 01 e8 	ble-    cr7,ffc27a40 <rtems_shell_rfs_format+0x238><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
ffc2785c:	3f 60 ff c6 	lis     r27,-58                                <== NOT EXECUTED
ffc27860:	7c 9c 23 78 	mr      r28,r4                                 <== NOT EXECUTED
ffc27864:	3b 7b 4c 3c 	addi    r27,r27,19516                          <== NOT EXECUTED
          }                                                           
          config.group_inodes = strtoul (argv[arg], 0, 0);            
          break;                                                      
                                                                      
        case 'I':                                                     
          config.initialise_inodes = true;                            
ffc27868:	3b 40 00 01 	li      r26,1                                  <== NOT EXECUTED
ffc2786c:	48 00 00 1c 	b       ffc27888 <rtems_shell_rfs_format+0x80> <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (!driver)                                                    
ffc27870:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc27874:	40 9e 01 90 	bne-    cr7,ffc27a04 <rtems_shell_rfs_format+0x1fc><== NOT EXECUTED
ffc27878:	7c 9e 23 78 	mr      r30,r4                                 <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc2787c:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
ffc27880:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc27884:	40 9d 00 8c 	ble-    cr7,ffc27910 <rtems_shell_rfs_format+0x108><== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
ffc27888:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          <== NOT EXECUTED
ffc2788c:	7c 9c 48 2e 	lwzx    r4,r28,r9                              <== NOT EXECUTED
ffc27890:	89 44 00 00 	lbz     r10,0(r4)                              <== NOT EXECUTED
ffc27894:	2f 8a 00 2d 	cmpwi   cr7,r10,45                             <== NOT EXECUTED
ffc27898:	40 9e ff d8 	bne+    cr7,ffc27870 <rtems_shell_rfs_format+0x68><== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
ffc2789c:	89 44 00 01 	lbz     r10,1(r4)                              <== NOT EXECUTED
ffc278a0:	39 4a ff b7 	addi    r10,r10,-73                            <== NOT EXECUTED
ffc278a4:	55 4a 06 3e 	clrlwi  r10,r10,24                             <== NOT EXECUTED
ffc278a8:	2b 8a 00 2d 	cmplwi  cr7,r10,45                             <== NOT EXECUTED
ffc278ac:	40 9d 00 40 	ble-    cr7,ffc278ec <rtems_shell_rfs_format+0xe4><== NOT EXECUTED
          }                                                           
          config.inode_overhead = strtoul (argv[arg], 0, 0);          
          break;                                                      
                                                                      
        default:                                                      
          printf ("error: invalid option: %s\n", argv[arg]);          
ffc278b0:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc278b4:	38 63 2e b8 	addi    r3,r3,11960                            <== NOT EXECUTED
ffc278b8:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc278bc:	48 02 05 75 	bl      ffc47e30 <printf>                      <== NOT EXECUTED
          return 1;                                                   
ffc278c0:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc278c4:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc278c8:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
ffc278cc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc278d0:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc278d4:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc278d8:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc278dc:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc278e0:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc278e4:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc278e8:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
ffc278ec:	55 4a 10 3a 	rlwinm  r10,r10,2,0,29                         <== NOT EXECUTED
ffc278f0:	7d 5b 50 2e 	lwzx    r10,r27,r10                            <== NOT EXECUTED
ffc278f4:	7d 4a da 14 	add     r10,r10,r27                            <== NOT EXECUTED
ffc278f8:	7d 49 03 a6 	mtctr   r10                                    <== NOT EXECUTED
ffc278fc:	4e 80 04 20 	bctr                                           <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc27900:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'v':                                                     
          config.verbose = true;                                      
ffc27904:	9b 41 00 1d 	stb     r26,29(r1)                             <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
ffc27908:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc2790c:	41 9d ff 7c 	bgt+    cr7,ffc27888 <rtems_shell_rfs_format+0x80><== NOT EXECUTED
        return 1;                                                     
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
ffc27910:	2f 9e 00 00 	cmpwi   cr7,r30,0                              <== NOT EXECUTED
ffc27914:	41 9e 01 2c 	beq-    cr7,ffc27a40 <rtems_shell_rfs_format+0x238><== NOT EXECUTED
    printf ("error: no driver name provided\n");                      
    return 1;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
ffc27918:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc2791c:	38 81 00 08 	addi    r4,r1,8                                <== NOT EXECUTED
ffc27920:	48 01 08 2d 	bl      ffc3814c <rtems_rfs_format>            <== NOT EXECUTED
ffc27924:	2f 83 00 00 	cmpwi   cr7,r3,0                               <== NOT EXECUTED
    printf ("error: format of %s failed: %s\n",                       
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
ffc27928:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
  if (!driver) {                                                      
    printf ("error: no driver name provided\n");                      
    return 1;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
ffc2792c:	40 9c ff 98 	bge+    cr7,ffc278c4 <rtems_shell_rfs_format+0xbc><== NOT EXECUTED
  {                                                                   
    printf ("error: format of %s failed: %s\n",                       
            driver, strerror (errno));                                
ffc27930:	48 01 b1 35 	bl      ffc42a64 <__errno>                     <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
  {                                                                   
    printf ("error: format of %s failed: %s\n",                       
ffc27934:	80 63 00 00 	lwz     r3,0(r3)                               <== NOT EXECUTED
ffc27938:	48 02 30 11 	bl      ffc4a948 <strerror>                    <== NOT EXECUTED
ffc2793c:	7f c4 f3 78 	mr      r4,r30                                 <== NOT EXECUTED
ffc27940:	7c 65 1b 78 	mr      r5,r3                                  <== NOT EXECUTED
ffc27944:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27948:	38 63 55 b0 	addi    r3,r3,21936                            <== NOT EXECUTED
ffc2794c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27950:	48 02 04 e1 	bl      ffc47e30 <printf>                      <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
ffc27954:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27958:	4b ff ff 6c 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
        case 'v':                                                     
          config.verbose = true;                                      
          break;                                                      
                                                                      
        case 's':                                                     
          arg++;                                                      
ffc2795c:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
          if (arg >= argc)                                            
ffc27960:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc27964:	40 9d 01 04 	ble-    cr7,ffc27a68 <rtems_shell_rfs_format+0x260><== NOT EXECUTED
          {                                                           
            printf ("error: block size needs an argument\n");         
            return 1;                                                 
          }                                                           
          config.block_size = strtoul (argv[arg], 0, 0);              
ffc27968:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          <== NOT EXECUTED
ffc2796c:	7c 7c 48 2e 	lwzx    r3,r28,r9                              <== NOT EXECUTED
ffc27970:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc27974:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc27978:	48 02 49 5d 	bl      ffc4c2d4 <strtoul>                     <== NOT EXECUTED
ffc2797c:	90 61 00 08 	stw     r3,8(r1)                               <== NOT EXECUTED
          break;                                                      
ffc27980:	4b ff fe fc 	b       ffc2787c <rtems_shell_rfs_format+0x74> <== NOT EXECUTED
        case 'I':                                                     
          config.initialise_inodes = true;                            
          break;                                                      
                                                                      
        case 'o':                                                     
          arg++;                                                      
ffc27984:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
          if (arg >= argc)                                            
ffc27988:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc2798c:	40 9d 01 04 	ble-    cr7,ffc27a90 <rtems_shell_rfs_format+0x288><== NOT EXECUTED
          {                                                           
            printf ("error: inode percentage overhead needs an argument\n");
            return 1;                                                 
          }                                                           
          config.inode_overhead = strtoul (argv[arg], 0, 0);          
ffc27990:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          <== NOT EXECUTED
ffc27994:	7c 7c 48 2e 	lwzx    r3,r28,r9                              <== NOT EXECUTED
ffc27998:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc2799c:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc279a0:	48 02 49 35 	bl      ffc4c2d4 <strtoul>                     <== NOT EXECUTED
ffc279a4:	90 61 00 14 	stw     r3,20(r1)                              <== NOT EXECUTED
          break;                                                      
ffc279a8:	4b ff fe d4 	b       ffc2787c <rtems_shell_rfs_format+0x74> <== NOT EXECUTED
          }                                                           
          config.group_blocks = strtoul (argv[arg], 0, 0);            
          break;                                                      
                                                                      
        case 'i':                                                     
          arg++;                                                      
ffc279ac:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
          if (arg >= argc)                                            
ffc279b0:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc279b4:	40 9d 00 c8 	ble-    cr7,ffc27a7c <rtems_shell_rfs_format+0x274><== NOT EXECUTED
          {                                                           
            printf ("error: group inode count needs an argument\n");  
            return 1;                                                 
          }                                                           
          config.group_inodes = strtoul (argv[arg], 0, 0);            
ffc279b8:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          <== NOT EXECUTED
ffc279bc:	7c 7c 48 2e 	lwzx    r3,r28,r9                              <== NOT EXECUTED
ffc279c0:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc279c4:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc279c8:	48 02 49 0d 	bl      ffc4c2d4 <strtoul>                     <== NOT EXECUTED
ffc279cc:	90 61 00 10 	stw     r3,16(r1)                              <== NOT EXECUTED
          break;                                                      
ffc279d0:	4b ff fe ac 	b       ffc2787c <rtems_shell_rfs_format+0x74> <== NOT EXECUTED
          }                                                           
          config.block_size = strtoul (argv[arg], 0, 0);              
          break;                                                      
                                                                      
        case 'b':                                                     
          arg++;                                                      
ffc279d4:	3b ff 00 01 	addi    r31,r31,1                              <== NOT EXECUTED
          if (arg >= argc)                                            
ffc279d8:	7f 9d f8 00 	cmpw    cr7,r29,r31                            <== NOT EXECUTED
ffc279dc:	40 9d 00 78 	ble-    cr7,ffc27a54 <rtems_shell_rfs_format+0x24c><== NOT EXECUTED
          {                                                           
            printf ("error: group block count needs an argument\n");  
            return 1;                                                 
          }                                                           
          config.group_blocks = strtoul (argv[arg], 0, 0);            
ffc279e0:	57 e9 10 3a 	rlwinm  r9,r31,2,0,29                          <== NOT EXECUTED
ffc279e4:	7c 7c 48 2e 	lwzx    r3,r28,r9                              <== NOT EXECUTED
ffc279e8:	38 80 00 00 	li      r4,0                                   <== NOT EXECUTED
ffc279ec:	38 a0 00 00 	li      r5,0                                   <== NOT EXECUTED
ffc279f0:	48 02 48 e5 	bl      ffc4c2d4 <strtoul>                     <== NOT EXECUTED
ffc279f4:	90 61 00 0c 	stw     r3,12(r1)                              <== NOT EXECUTED
          break;                                                      
ffc279f8:	4b ff fe 84 	b       ffc2787c <rtems_shell_rfs_format+0x74> <== NOT EXECUTED
          }                                                           
          config.group_inodes = strtoul (argv[arg], 0, 0);            
          break;                                                      
                                                                      
        case 'I':                                                     
          config.initialise_inodes = true;                            
ffc279fc:	9b 41 00 1c 	stb     r26,28(r1)                             <== NOT EXECUTED
          break;                                                      
ffc27a00:	4b ff fe 7c 	b       ffc2787c <rtems_shell_rfs_format+0x74> <== NOT EXECUTED
    {                                                                 
      if (!driver)                                                    
        driver = argv[arg];                                           
      else                                                            
      {                                                               
        printf ("error: only one driver name allowed: %s\n", argv[arg]);
ffc27a04:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a08:	38 63 55 84 	addi    r3,r3,21892                            <== NOT EXECUTED
ffc27a0c:	4c c6 31 82 	crclr   4*cr1+eq                               <== NOT EXECUTED
ffc27a10:	48 02 04 21 	bl      ffc47e30 <printf>                      <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc27a14:	80 01 00 44 	lwz     r0,68(r1)                              <== NOT EXECUTED
ffc27a18:	83 41 00 28 	lwz     r26,40(r1)                             <== NOT EXECUTED
      if (!driver)                                                    
        driver = argv[arg];                                           
      else                                                            
      {                                                               
        printf ("error: only one driver name allowed: %s\n", argv[arg]);
        return 1;                                                     
ffc27a1c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
ffc27a20:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc27a24:	83 61 00 2c 	lwz     r27,44(r1)                             <== NOT EXECUTED
ffc27a28:	83 81 00 30 	lwz     r28,48(r1)                             <== NOT EXECUTED
ffc27a2c:	83 a1 00 34 	lwz     r29,52(r1)                             <== NOT EXECUTED
ffc27a30:	83 c1 00 38 	lwz     r30,56(r1)                             <== NOT EXECUTED
ffc27a34:	83 e1 00 3c 	lwz     r31,60(r1)                             <== NOT EXECUTED
ffc27a38:	38 21 00 40 	addi    r1,r1,64                               <== NOT EXECUTED
ffc27a3c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
    printf ("error: no driver name provided\n");                      
ffc27a40:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a44:	38 63 54 b4 	addi    r3,r3,21684                            <== NOT EXECUTED
ffc27a48:	48 02 07 51 	bl      ffc48198 <puts>                        <== NOT EXECUTED
    return 1;                                                         
ffc27a4c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27a50:	4b ff fe 74 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
                                                                      
        case 'b':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group block count needs an argument\n");  
ffc27a54:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a58:	38 63 54 f8 	addi    r3,r3,21752                            <== NOT EXECUTED
ffc27a5c:	48 02 07 3d 	bl      ffc48198 <puts>                        <== NOT EXECUTED
            return 1;                                                 
ffc27a60:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27a64:	4b ff fe 60 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
                                                                      
        case 's':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: block size needs an argument\n");         
ffc27a68:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a6c:	38 63 54 d4 	addi    r3,r3,21716                            <== NOT EXECUTED
ffc27a70:	48 02 07 29 	bl      ffc48198 <puts>                        <== NOT EXECUTED
            return 1;                                                 
ffc27a74:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27a78:	4b ff fe 4c 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
                                                                      
        case 'i':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group inode count needs an argument\n");  
ffc27a7c:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a80:	38 63 55 24 	addi    r3,r3,21796                            <== NOT EXECUTED
ffc27a84:	48 02 07 15 	bl      ffc48198 <puts>                        <== NOT EXECUTED
            return 1;                                                 
ffc27a88:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27a8c:	4b ff fe 38 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
                                                                      
        case 'o':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: inode percentage overhead needs an argument\n");
ffc27a90:	3c 60 ff c6 	lis     r3,-58                                 <== NOT EXECUTED
ffc27a94:	38 63 55 50 	addi    r3,r3,21840                            <== NOT EXECUTED
ffc27a98:	48 02 07 01 	bl      ffc48198 <puts>                        <== NOT EXECUTED
            return 1;                                                 
ffc27a9c:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc27aa0:	4b ff fe 24 	b       ffc278c4 <rtems_shell_rfs_format+0xbc> <== NOT EXECUTED
                                                                      

ffc1be94 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
ffc1be94:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc1be98:	7c 08 02 a6 	mflr    r0                                     
ffc1be9c:	93 e1 00 1c 	stw     r31,28(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc1bea0:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_signal_send(                                  
  rtems_id          id,                                               
  rtems_signal_set  signal_set                                        
)                                                                     
{                                                                     
ffc1bea4:	90 01 00 24 	stw     r0,36(r1)                              
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
ffc1bea8:	40 82 00 1c 	bne-    ffc1bec4 <rtems_signal_send+0x30>      
    return RTEMS_INVALID_NUMBER;                                      
ffc1beac:	38 60 00 0a 	li      r3,10                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1beb0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc1beb4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1beb8:	7c 08 03 a6 	mtlr    r0                                     
ffc1bebc:	38 21 00 20 	addi    r1,r1,32                               
ffc1bec0:	4e 80 00 20 	blr                                            
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc1bec4:	38 81 00 08 	addi    r4,r1,8                                
ffc1bec8:	48 00 5a 21 	bl      ffc218e8 <_Thread_Get>                 
  switch ( location ) {                                               
ffc1becc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1bed0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1bed4:	40 9e 00 6c 	bne-    cr7,ffc1bf40 <rtems_signal_send+0xac>  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
ffc1bed8:	81 23 01 48 	lwz     r9,328(r3)                             
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
ffc1bedc:	81 49 00 0c 	lwz     r10,12(r9)                             
ffc1bee0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1bee4:	41 9e 00 74 	beq-    cr7,ffc1bf58 <rtems_signal_send+0xc4>  
        if ( asr->is_enabled ) {                                      
ffc1bee8:	89 49 00 08 	lbz     r10,8(r9)                              
ffc1beec:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc1bef0:	7d 00 00 a6 	mfmsr   r8                                     
ffc1bef4:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc1bef8:	7d 0a 50 78 	andc    r10,r8,r10                             
ffc1befc:	7d 40 01 24 	mtmsr   r10                                    
ffc1bf00:	41 9e 00 64 	beq-    cr7,ffc1bf64 <rtems_signal_send+0xd0>  
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
    *signal_set |= signals;                                           
ffc1bf04:	81 49 00 14 	lwz     r10,20(r9)                             
ffc1bf08:	7d 4a fb 78 	or      r10,r10,r31                            
ffc1bf0c:	91 49 00 14 	stw     r10,20(r9)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc1bf10:	7d 00 01 24 	mtmsr   r8                                     
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
ffc1bf14:	3d 20 00 00 	lis     r9,0                                   
ffc1bf18:	39 29 72 20 	addi    r9,r9,29216                            
ffc1bf1c:	81 49 00 08 	lwz     r10,8(r9)                              
ffc1bf20:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1bf24:	41 9e 00 10 	beq-    cr7,ffc1bf34 <rtems_signal_send+0xa0>  
ffc1bf28:	81 49 00 10 	lwz     r10,16(r9)                             
ffc1bf2c:	7f 83 50 00 	cmpw    cr7,r3,r10                             
ffc1bf30:	41 9e 00 48 	beq-    cr7,ffc1bf78 <rtems_signal_send+0xe4>  <== ALWAYS TAKEN
            _Thread_Dispatch_necessary = true;                        
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
ffc1bf34:	48 00 59 99 	bl      ffc218cc <_Thread_Enable_dispatch>     
        return RTEMS_SUCCESSFUL;                                      
ffc1bf38:	38 60 00 00 	li      r3,0                                   
ffc1bf3c:	4b ff ff 74 	b       ffc1beb0 <rtems_signal_send+0x1c>      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1bf40:	80 01 00 24 	lwz     r0,36(r1)                              
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1bf44:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc1bf48:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc1bf4c:	7c 08 03 a6 	mtlr    r0                                     
ffc1bf50:	38 21 00 20 	addi    r1,r1,32                               
ffc1bf54:	4e 80 00 20 	blr                                            
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc1bf58:	48 00 59 75 	bl      ffc218cc <_Thread_Enable_dispatch>     
      return RTEMS_NOT_DEFINED;                                       
ffc1bf5c:	38 60 00 0b 	li      r3,11                                  
ffc1bf60:	4b ff ff 50 	b       ffc1beb0 <rtems_signal_send+0x1c>      
ffc1bf64:	81 49 00 18 	lwz     r10,24(r9)                             
ffc1bf68:	7d 4a fb 78 	or      r10,r10,r31                            
ffc1bf6c:	91 49 00 18 	stw     r10,24(r9)                             
ffc1bf70:	7d 00 01 24 	mtmsr   r8                                     
ffc1bf74:	4b ff ff c0 	b       ffc1bf34 <rtems_signal_send+0xa0>      
      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;                        
ffc1bf78:	39 40 00 01 	li      r10,1                                  
ffc1bf7c:	99 49 00 0c 	stb     r10,12(r9)                             
ffc1bf80:	4b ff ff b4 	b       ffc1bf34 <rtems_signal_send+0xa0>      
                                                                      

ffc11e34 <rtems_sparse_disk_create_and_register>: const char *device_file_name, uint32_t media_block_size, rtems_blkdev_bnum blocks_with_buffer, rtems_blkdev_bnum media_block_count, uint8_t fill_pattern ) {
ffc11e34:	39 24 00 08 	addi    r9,r4,8                                
ffc11e38:	94 21 ff e0 	stwu    r1,-32(r1)                             
  const rtems_blkdev_bnum blocks_with_buffer )                        
{                                                                     
  size_t const key_table_size = blocks_with_buffer                    
                                * sizeof( rtems_sparse_disk_key );    
  size_t const data_size      = blocks_with_buffer * media_block_size;
  size_t const alloc_size     = sizeof( rtems_sparse_disk )           
ffc11e3c:	7d 29 29 d6 	mullw   r9,r9,r5                               
  const char       *device_file_name,                                 
  uint32_t          media_block_size,                                 
  rtems_blkdev_bnum blocks_with_buffer,                               
  rtems_blkdev_bnum media_block_count,                                
  uint8_t           fill_pattern )                                    
{                                                                     
ffc11e40:	7c 08 02 a6 	mflr    r0                                     
ffc11e44:	93 81 00 10 	stw     r28,16(r1)                             
ffc11e48:	7c 7c 1b 78 	mr      r28,r3                                 
                                * sizeof( rtems_sparse_disk_key );    
  size_t const data_size      = blocks_with_buffer * media_block_size;
  size_t const alloc_size     = sizeof( rtems_sparse_disk )           
                                + key_table_size + data_size;         
                                                                      
  rtems_sparse_disk *const sd = (rtems_sparse_disk *) malloc(         
ffc11e4c:	38 69 00 1c 	addi    r3,r9,28                               
  const char       *device_file_name,                                 
  uint32_t          media_block_size,                                 
  rtems_blkdev_bnum blocks_with_buffer,                               
  rtems_blkdev_bnum media_block_count,                                
  uint8_t           fill_pattern )                                    
{                                                                     
ffc11e50:	93 61 00 0c 	stw     r27,12(r1)                             
ffc11e54:	7c fb 3b 78 	mr      r27,r7                                 
ffc11e58:	93 a1 00 14 	stw     r29,20(r1)                             
ffc11e5c:	7c dd 33 78 	mr      r29,r6                                 
ffc11e60:	93 c1 00 18 	stw     r30,24(r1)                             
ffc11e64:	7c 9e 23 78 	mr      r30,r4                                 
ffc11e68:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc11e6c:	7c bf 2b 78 	mr      r31,r5                                 
ffc11e70:	90 01 00 24 	stw     r0,36(r1)                              
                                * sizeof( rtems_sparse_disk_key );    
  size_t const data_size      = blocks_with_buffer * media_block_size;
  size_t const alloc_size     = sizeof( rtems_sparse_disk )           
                                + key_table_size + data_size;         
                                                                      
  rtems_sparse_disk *const sd = (rtems_sparse_disk *) malloc(         
ffc11e74:	4b ff 4f 29 	bl      ffc06d9c <malloc>                      
  rtems_sparse_disk *sparse_disk = sparse_disk_allocate(              
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
ffc11e78:	7c 64 1b 79 	mr.     r4,r3                                  
ffc11e7c:	41 82 00 44 	beq-    ffc11ec0 <rtems_sparse_disk_create_and_register+0x8c><== NEVER TAKEN
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e80:	80 01 00 24 	lwz     r0,36(r1)                              
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11e84:	7f 83 e3 78 	mr      r3,r28                                 
ffc11e88:	7f c5 f3 78 	mr      r5,r30                                 
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e8c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc11e90:	7c 08 03 a6 	mtlr    r0                                     
ffc11e94:	83 c1 00 18 	lwz     r30,24(r1)                             
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11e98:	7f e6 fb 78 	mr      r6,r31                                 
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e9c:	83 e1 00 1c 	lwz     r31,28(r1)                             
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11ea0:	7f a7 eb 78 	mr      r7,r29                                 
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11ea4:	83 a1 00 14 	lwz     r29,20(r1)                             
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11ea8:	7f 68 db 78 	mr      r8,r27                                 
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11eac:	83 61 00 0c 	lwz     r27,12(r1)                             
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11eb0:	3d 20 ff c1 	lis     r9,-63                                 
ffc11eb4:	39 29 1c bc 	addi    r9,r9,7356                             
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11eb8:	38 21 00 20 	addi    r1,r1,32                               
    media_block_size,                                                 
    blocks_with_buffer                                                
  );                                                                  
                                                                      
  if ( sparse_disk != NULL ) {                                        
    sc = rtems_sparse_disk_register(                                  
ffc11ebc:	4b ff fe 04 	b       ffc11cc0 <rtems_sparse_disk_register>  
  } else {                                                            
    sc = RTEMS_NO_MEMORY;                                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11ec0:	80 01 00 24 	lwz     r0,36(r1)                              <== NOT EXECUTED
ffc11ec4:	38 60 00 1a 	li      r3,26                                  <== NOT EXECUTED
ffc11ec8:	83 61 00 0c 	lwz     r27,12(r1)                             <== NOT EXECUTED
ffc11ecc:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11ed0:	83 81 00 10 	lwz     r28,16(r1)                             <== NOT EXECUTED
ffc11ed4:	83 a1 00 14 	lwz     r29,20(r1)                             <== NOT EXECUTED
ffc11ed8:	83 c1 00 18 	lwz     r30,24(r1)                             <== NOT EXECUTED
ffc11edc:	83 e1 00 1c 	lwz     r31,28(r1)                             <== NOT EXECUTED
ffc11ee0:	38 21 00 20 	addi    r1,r1,32                               <== NOT EXECUTED
ffc11ee4:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc11cc0 <rtems_sparse_disk_register>: uint8_t fill_pattern, rtems_sparse_disk_delete_handler sparse_disk_delete ) { rtems_status_code sc; if ( blocks_with_buffer <= media_block_count ) {
ffc11cc0:	7f 86 38 40 	cmplw   cr7,r6,r7                              
  uint32_t                         media_block_size,                  
  rtems_blkdev_bnum                blocks_with_buffer,                
  rtems_blkdev_bnum                media_block_count,                 
  uint8_t                          fill_pattern,                      
  rtems_sparse_disk_delete_handler sparse_disk_delete )               
{                                                                     
ffc11cc4:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc11cc8:	7c 08 02 a6 	mflr    r0                                     
ffc11ccc:	93 c1 00 28 	stw     r30,40(r1)                             
ffc11cd0:	7c fe 3b 78 	mr      r30,r7                                 
ffc11cd4:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc11cd8:	7c df 33 78 	mr      r31,r6                                 
ffc11cdc:	90 01 00 34 	stw     r0,52(r1)                              
ffc11ce0:	93 21 00 14 	stw     r25,20(r1)                             
ffc11ce4:	93 41 00 18 	stw     r26,24(r1)                             
ffc11ce8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc11cec:	93 81 00 20 	stw     r28,32(r1)                             
ffc11cf0:	93 a1 00 24 	stw     r29,36(r1)                             
  rtems_status_code sc;                                               
                                                                      
  if ( blocks_with_buffer <= media_block_count ) {                    
ffc11cf4:	40 9d 00 34 	ble-    cr7,ffc11d28 <rtems_sparse_disk_register+0x68><== ALWAYS TAKEN
        sparse_disk_ioctl,                                            
        sparse_disk                                                   
      );                                                              
    }                                                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
ffc11cf8:	38 60 00 0a 	li      r3,10                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11cfc:	80 01 00 34 	lwz     r0,52(r1)                              <== NOT EXECUTED
ffc11d00:	83 21 00 14 	lwz     r25,20(r1)                             <== NOT EXECUTED
ffc11d04:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc11d08:	83 41 00 18 	lwz     r26,24(r1)                             <== NOT EXECUTED
ffc11d0c:	83 61 00 1c 	lwz     r27,28(r1)                             <== NOT EXECUTED
ffc11d10:	83 81 00 20 	lwz     r28,32(r1)                             <== NOT EXECUTED
ffc11d14:	83 a1 00 24 	lwz     r29,36(r1)                             <== NOT EXECUTED
ffc11d18:	83 c1 00 28 	lwz     r30,40(r1)                             <== NOT EXECUTED
ffc11d1c:	83 e1 00 2c 	lwz     r31,44(r1)                             <== NOT EXECUTED
ffc11d20:	38 21 00 30 	addi    r1,r1,48                               <== NOT EXECUTED
ffc11d24:	4e 80 00 20 	blr                                            <== NOT EXECUTED
  const uint8_t                                                     fill_pattern )
{                                                                     
  rtems_status_code sc;                                               
  rtems_blkdev_bnum i;                                                
                                                                      
  if ( NULL == sd )                                                   
ffc11d28:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc11d2c:	7c 9d 23 78 	mr      r29,r4                                 
ffc11d30:	41 9e 00 fc 	beq-    cr7,ffc11e2c <rtems_sparse_disk_register+0x16c><== NEVER TAKEN
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  uint8_t     *data           = (uint8_t *) sd;                       
  size_t const key_table_size = blocks_with_buffer                    
ffc11d34:	54 da 18 38 	rlwinm  r26,r6,3,0,28                          
                                * sizeof( rtems_sparse_disk_key );    
  size_t const data_size      = blocks_with_buffer * media_block_size;
                                                                      
  memset( data, 0, sizeof( rtems_sparse_disk ) + key_table_size );    
ffc11d38:	91 21 00 0c 	stw     r9,12(r1)                              
ffc11d3c:	3b 3a 00 1c 	addi    r25,r26,28                             
ffc11d40:	7c bc 2b 78 	mr      r28,r5                                 
ffc11d44:	91 01 00 08 	stw     r8,8(r1)                               
ffc11d48:	38 80 00 00 	li      r4,0                                   
ffc11d4c:	7f 25 cb 78 	mr      r5,r25                                 
ffc11d50:	7c 7b 1b 78 	mr      r27,r3                                 
ffc11d54:	7f a3 eb 78 	mr      r3,r29                                 
ffc11d58:	48 00 f7 19 	bl      ffc21470 <memset>                      
                                                                      
  sd->fill_pattern = fill_pattern;                                    
ffc11d5c:	81 01 00 08 	lwz     r8,8(r1)                               
  memset( (uint8_t *) ( data + sizeof( rtems_sparse_disk ) + key_table_size ),
ffc11d60:	7c bf e1 d6 	mullw   r5,r31,r28                             
                                * sizeof( rtems_sparse_disk_key );    
  size_t const data_size      = blocks_with_buffer * media_block_size;
                                                                      
  memset( data, 0, sizeof( rtems_sparse_disk ) + key_table_size );    
                                                                      
  sd->fill_pattern = fill_pattern;                                    
ffc11d64:	99 1d 00 14 	stb     r8,20(r29)                             
  memset( (uint8_t *) ( data + sizeof( rtems_sparse_disk ) + key_table_size ),
ffc11d68:	7d 04 43 78 	mr      r4,r8                                  
ffc11d6c:	7c 7d ca 14 	add     r3,r29,r25                             
ffc11d70:	48 00 f7 01 	bl      ffc21470 <memset>                      
          sd->fill_pattern,                                           
          data_size );                                                
                                                                      
  sd->delete_handler = sparse_disk_delete;                            
ffc11d74:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  sc                 = rtems_semaphore_create(                        
ffc11d78:	3c 60 53 50 	lis     r3,21328                               
  sd->fill_pattern = fill_pattern;                                    
  memset( (uint8_t *) ( data + sizeof( rtems_sparse_disk ) + key_table_size ),
          sd->fill_pattern,                                           
          data_size );                                                
                                                                      
  sd->delete_handler = sparse_disk_delete;                            
ffc11d7c:	91 3d 00 10 	stw     r9,16(r29)                             
                                                                      
  sc                 = rtems_semaphore_create(                        
ffc11d80:	60 63 41 52 	ori     r3,r3,16722                            
ffc11d84:	38 80 00 01 	li      r4,1                                   
ffc11d88:	38 a0 00 54 	li      r5,84                                  
ffc11d8c:	38 c0 00 00 	li      r6,0                                   
ffc11d90:	7f a7 eb 78 	mr      r7,r29                                 
ffc11d94:	4b ff 9b 2d 	bl      ffc0b8c0 <rtems_semaphore_create>      
    RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY, 
    0,                                                                
    &sd->mutex                                                        
    );                                                                
                                                                      
  if ( sc != RTEMS_SUCCESSFUL ) {                                     
ffc11d98:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11d9c:	40 a2 ff 60 	bne-    ffc11cfc <rtems_sparse_disk_register+0x3c><== NEVER TAKEN
  sd->blocks_with_buffer = blocks_with_buffer;                        
  sd->key_table          = (rtems_sparse_disk_key *) data;            
                                                                      
  data                  += key_table_size;                            
                                                                      
  for ( i = 0; i < blocks_with_buffer; ++i, data += media_block_size ) {
ffc11da0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
    return sc;                                                        
  }                                                                   
                                                                      
  data                  += sizeof( rtems_sparse_disk );               
                                                                      
  sd->blocks_with_buffer = blocks_with_buffer;                        
ffc11da4:	93 fd 00 04 	stw     r31,4(r29)                             
                                                                      
  if ( sc != RTEMS_SUCCESSFUL ) {                                     
    return sc;                                                        
  }                                                                   
                                                                      
  data                  += sizeof( rtems_sparse_disk );               
ffc11da8:	39 3d 00 1c 	addi    r9,r29,28                              
                                                                      
  sd->blocks_with_buffer = blocks_with_buffer;                        
  sd->key_table          = (rtems_sparse_disk_key *) data;            
                                                                      
  data                  += key_table_size;                            
ffc11dac:	7d 49 d2 14 	add     r10,r9,r26                             
  }                                                                   
                                                                      
  data                  += sizeof( rtems_sparse_disk );               
                                                                      
  sd->blocks_with_buffer = blocks_with_buffer;                        
  sd->key_table          = (rtems_sparse_disk_key *) data;            
ffc11db0:	91 3d 00 18 	stw     r9,24(r29)                             
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
                                                                      
rtems_status_code rtems_sparse_disk_register(                         
ffc11db4:	7f 5a ea 14 	add     r26,r26,r29                            
ffc11db8:	7f a9 eb 78 	mr      r9,r29                                 
  sd->blocks_with_buffer = blocks_with_buffer;                        
  sd->key_table          = (rtems_sparse_disk_key *) data;            
                                                                      
  data                  += key_table_size;                            
                                                                      
  for ( i = 0; i < blocks_with_buffer; ++i, data += media_block_size ) {
ffc11dbc:	41 9e 00 28 	beq-    cr7,ffc11de4 <rtems_sparse_disk_register+0x124><== NEVER TAKEN
ffc11dc0:	7d 1d d0 50 	subf    r8,r29,r26                             
ffc11dc4:	39 08 ff f8 	addi    r8,r8,-8                               
ffc11dc8:	55 08 e8 fe 	rlwinm  r8,r8,29,3,31                          
ffc11dcc:	39 08 00 01 	addi    r8,r8,1                                
ffc11dd0:	7d 09 03 a6 	mtctr   r8                                     
    sd->key_table[i].data = data;                                     
ffc11dd4:	91 49 00 20 	stw     r10,32(r9)                             
  sd->blocks_with_buffer = blocks_with_buffer;                        
  sd->key_table          = (rtems_sparse_disk_key *) data;            
                                                                      
  data                  += key_table_size;                            
                                                                      
  for ( i = 0; i < blocks_with_buffer; ++i, data += media_block_size ) {
ffc11dd8:	7d 4a e2 14 	add     r10,r10,r28                            
ffc11ddc:	39 29 00 08 	addi    r9,r9,8                                
ffc11de0:	42 00 ff f4 	bdnz+   ffc11dd4 <rtems_sparse_disk_register+0x114>
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11de4:	80 01 00 34 	lwz     r0,52(r1)                              
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11de8:	7f 63 db 78 	mr      r3,r27                                 
                                                                      
  for ( i = 0; i < blocks_with_buffer; ++i, data += media_block_size ) {
    sd->key_table[i].data = data;                                     
  }                                                                   
                                                                      
  sd->media_block_size = media_block_size;                            
ffc11dec:	93 9d 00 0c 	stw     r28,12(r29)                            
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11df0:	7f 84 e3 78 	mr      r4,r28                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11df4:	7c 08 03 a6 	mtlr    r0                                     
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11df8:	7f c5 f3 78 	mr      r5,r30                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11dfc:	83 21 00 14 	lwz     r25,20(r1)                             
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11e00:	3c c0 ff c1 	lis     r6,-63                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e04:	83 41 00 18 	lwz     r26,24(r1)                             
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11e08:	7f a7 eb 78 	mr      r7,r29                                 
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e0c:	83 61 00 1c 	lwz     r27,28(r1)                             
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11e10:	38 c6 19 a0 	addi    r6,r6,6560                             
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc11e14:	83 81 00 20 	lwz     r28,32(r1)                             
ffc11e18:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc11e1c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc11e20:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc11e24:	38 21 00 30 	addi    r1,r1,48                               
      sparse_disk_delete,                                             
      fill_pattern                                                    
    );                                                                
                                                                      
    if ( RTEMS_SUCCESSFUL == sc ) {                                   
      sc = rtems_blkdev_create(                                       
ffc11e28:	48 00 35 04 	b       ffc1532c <rtems_blkdev_create>         
{                                                                     
  rtems_status_code sc;                                               
  rtems_blkdev_bnum i;                                                
                                                                      
  if ( NULL == sd )                                                   
    return RTEMS_INVALID_ADDRESS;                                     
ffc11e2c:	38 60 00 09 	li      r3,9                                   <== NOT EXECUTED
ffc11e30:	4b ff fe cc 	b       ffc11cfc <rtems_sparse_disk_register+0x3c><== NOT EXECUTED
                                                                      

ffc299d8 <rtems_stack_checker_create_extension>: static uint32_t pattern[ 4 ] = { 0xFEEDF00D, 0x0BAD0D06, /* FEED FOOD to BAD DOG */ 0xDEADF00D, 0x600D0D06 /* DEAD FOOD but GOOD DOG */ }; if ( Stack_check_Initialized )
ffc299d8:	3c c0 00 00 	lis     r6,0                                   
ffc299dc:	38 c6 5c b0 	addi    r6,r6,23728                            
ffc299e0:	81 26 00 08 	lwz     r9,8(r6)                               
ffc299e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc299e8:	40 9e 00 38 	bne-    cr7,ffc29a20 <rtems_stack_checker_create_extension+0x48>
ffc299ec:	39 00 00 20 	li      r8,32                                  
ffc299f0:	7d 09 03 a6 	mtctr   r8                                     
ffc299f4:	3d 40 00 00 	lis     r10,0                                  
ffc299f8:	3c e0 ff c6 	lis     r7,-58                                 
ffc299fc:	39 4a 66 dc 	addi    r10,r10,26332                          
ffc29a00:	38 e7 5e 90 	addi    r7,r7,24208                            
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
ffc29a04:	55 28 17 3a 	rlwinm  r8,r9,2,28,29                          
ffc29a08:	7d 07 40 2e 	lwzx    r8,r7,r8                               
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc29a0c:	39 29 00 01 	addi    r9,r9,1                                
      p[i] = pattern[ i%4 ];                                          
ffc29a10:	95 0a 00 04 	stwu    r8,4(r10)                              
                                                                      
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
ffc29a14:	42 00 ff f0 	bdnz+   ffc29a04 <rtems_stack_checker_create_extension+0x2c>
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
ffc29a18:	39 20 00 01 	li      r9,1                                   
ffc29a1c:	91 26 00 08 	stw     r9,8(r6)                               
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
ffc29a20:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc29a24:	41 9e 00 34 	beq-    cr7,ffc29a58 <rtems_stack_checker_create_extension+0x80><== NEVER TAKEN
 */                                                                   
bool rtems_stack_checker_create_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
ffc29a28:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc29a2c:	7c 08 02 a6 	mflr    r0                                     
ffc29a30:	90 01 00 0c 	stw     r0,12(r1)                              
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
ffc29a34:	80 64 00 b4 	lwz     r3,180(r4)                             
ffc29a38:	80 a4 00 b0 	lwz     r5,176(r4)                             
ffc29a3c:	38 80 00 a5 	li      r4,165                                 
ffc29a40:	48 01 d0 15 	bl      ffc46a54 <memset>                      
                                                                      
  return true;                                                        
}                                                                     
ffc29a44:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc29a48:	38 60 00 01 	li      r3,1                                   
ffc29a4c:	7c 08 03 a6 	mtlr    r0                                     
ffc29a50:	38 21 00 08 	addi    r1,r1,8                                
ffc29a54:	4e 80 00 20 	blr                                            
ffc29a58:	38 60 00 01 	li      r3,1                                   <== NOT EXECUTED
ffc29a5c:	4e 80 00 20 	blr                                            <== NOT EXECUTED
                                                                      

ffc29c18 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
ffc29c18:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc29c1c:	7c 08 02 a6 	mflr    r0                                     
ffc29c20:	93 c1 00 10 	stw     r30,16(r1)                             
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc29c24:	3f c0 00 00 	lis     r30,0                                  
ffc29c28:	3b de 65 60 	addi    r30,r30,25952                          
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc29c2c:	90 01 00 1c 	stw     r0,28(r1)                              
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
ffc29c30:	81 5e 00 10 	lwz     r10,16(r30)                            
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc29c34:	93 e1 00 14 	stw     r31,20(r1)                             
ffc29c38:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc29c3c:	80 6a 00 b4 	lwz     r3,180(r10)                            
                                                                      
/*                                                                    
 *  Check if blown                                                    
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
ffc29c40:	93 a1 00 0c 	stw     r29,12(r1)                             
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc29c44:	7f 9f 18 40 	cmplw   cr7,r31,r3                             
ffc29c48:	40 9c 00 38 	bge-    cr7,ffc29c80 <rtems_stack_checker_is_blown+0x68><== ALWAYS TAKEN
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29c4c:	3d 40 00 00 	lis     r10,0                                  <== NOT EXECUTED
ffc29c50:	81 4a 5c b8 	lwz     r10,23736(r10)                         <== NOT EXECUTED
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
ffc29c54:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29c58:	2f 8a 00 00 	cmpwi   cr7,r10,0                              <== NOT EXECUTED
ffc29c5c:	41 9e 00 54 	beq-    cr7,ffc29cb0 <rtems_stack_checker_is_blown+0x98><== NOT EXECUTED
    pattern_ok = (!memcmp(                                            
ffc29c60:	3c 80 00 00 	lis     r4,0                                   <== NOT EXECUTED
ffc29c64:	38 84 66 e0 	addi    r4,r4,26336                            <== NOT EXECUTED
ffc29c68:	38 63 00 08 	addi    r3,r3,8                                <== NOT EXECUTED
ffc29c6c:	38 a0 00 80 	li      r5,128                                 <== NOT EXECUTED
ffc29c70:	48 01 cb 31 	bl      ffc467a0 <memcmp>                      <== NOT EXECUTED
ffc29c74:	7c 64 00 34 	cntlzw  r4,r3                                  <== NOT EXECUTED
ffc29c78:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          <== NOT EXECUTED
ffc29c7c:	48 00 00 34 	b       ffc29cb0 <rtems_stack_checker_is_blown+0x98><== NOT EXECUTED
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29c80:	3d 00 00 00 	lis     r8,0                                   
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc29c84:	83 aa 00 b0 	lwz     r29,176(r10)                           
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29c88:	81 08 5c b8 	lwz     r8,23736(r8)                           
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc29c8c:	7f a3 ea 14 	add     r29,r3,r29                             
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29c90:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc29c94:	7f bf e8 10 	subfc   r29,r31,r29                            
ffc29c98:	3b a0 00 00 	li      r29,0                                  
ffc29c9c:	7f bd e9 14 	adde    r29,r29,r29                            
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
ffc29ca0:	40 9e 00 18 	bne-    cr7,ffc29cb8 <rtems_stack_checker_is_blown+0xa0><== ALWAYS TAKEN
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc29ca4:	2f 9d 00 00 	cmpwi   cr7,r29,0                              <== NOT EXECUTED
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
ffc29ca8:	38 80 00 01 	li      r4,1                                   <== NOT EXECUTED
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc29cac:	40 be 00 38 	bne+    cr7,ffc29ce4 <rtems_stack_checker_is_blown+0xcc><== NOT EXECUTED
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
ffc29cb0:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc29cb4:	4b ff fd ed 	bl      ffc29aa0 <Stack_check_report_blown_task><== NOT EXECUTED
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
    pattern_ok = (!memcmp(                                            
ffc29cb8:	3c 80 00 00 	lis     r4,0                                   
ffc29cbc:	38 84 66 e0 	addi    r4,r4,26336                            
ffc29cc0:	38 63 00 08 	addi    r3,r3,8                                
ffc29cc4:	38 a0 00 80 	li      r5,128                                 
ffc29cc8:	48 01 ca d9 	bl      ffc467a0 <memcmp>                      
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc29ccc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
    pattern_ok = (!memcmp(                                            
ffc29cd0:	7c 64 00 34 	cntlzw  r4,r3                                  
ffc29cd4:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
ffc29cd8:	41 be ff d8 	beq-    cr7,ffc29cb0 <rtems_stack_checker_is_blown+0x98><== NEVER TAKEN
ffc29cdc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc29ce0:	41 be ff d0 	beq-    cr7,ffc29cb0 <rtems_stack_checker_is_blown+0x98><== NEVER TAKEN
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
ffc29ce4:	39 7f 00 18 	addi    r11,r31,24                             
ffc29ce8:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc29cec:	38 60 00 00 	li      r3,0                                   
ffc29cf0:	83 ab ff f4 	lwz     r29,-12(r11)                           
ffc29cf4:	7c 08 03 a6 	mtlr    r0                                     
ffc29cf8:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc29cfc:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc29d00:	7d 61 5b 78 	mr      r1,r11                                 
ffc29d04:	4e 80 00 20 	blr                                            
                                                                      

ffc29d08 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
ffc29d08:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc29d0c:	7c 08 02 a6 	mflr    r0                                     
ffc29d10:	93 e1 00 14 	stw     r31,20(r1)                             
  if ( !print )                                                       
ffc29d14:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
void rtems_stack_checker_report_usage_with_plugin(                    
  void                  *context,                                     
  rtems_printk_plugin_t  print                                        
)                                                                     
{                                                                     
ffc29d18:	90 01 00 1c 	stw     r0,28(r1)                              
ffc29d1c:	93 81 00 08 	stw     r28,8(r1)                              
ffc29d20:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc29d24:	93 c1 00 10 	stw     r30,16(r1)                             
  if ( !print )                                                       
ffc29d28:	41 82 00 5c 	beq-    ffc29d84 <rtems_stack_checker_report_usage_with_plugin+0x7c><== NEVER TAKEN
    return;                                                           
                                                                      
  print_context = context;                                            
ffc29d2c:	3f c0 00 00 	lis     r30,0                                  
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc29d30:	7f e9 03 a6 	mtctr   r31                                    
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc29d34:	3b 9e 5c b0 	addi    r28,r30,23728                          
  print_handler = print;                                              
ffc29d38:	93 fe 5c b0 	stw     r31,23728(r30)                         
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc29d3c:	3c 80 ff c6 	lis     r4,-58                                 
ffc29d40:	38 84 5f b8 	addi    r4,r4,24504                            
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
ffc29d44:	90 7c 00 04 	stw     r3,4(r28)                              
ffc29d48:	7c 7d 1b 78 	mr      r29,r3                                 
  print_handler = print;                                              
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
ffc29d4c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29d50:	4e 80 04 21 	bctrl                                          
  (*print)( context,                                                  
ffc29d54:	3c 80 ff c6 	lis     r4,-58                                 
ffc29d58:	38 84 5f d0 	addi    r4,r4,24528                            
ffc29d5c:	7f e9 03 a6 	mtctr   r31                                    
ffc29d60:	7f a3 eb 78 	mr      r3,r29                                 
ffc29d64:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc29d68:	4e 80 04 21 	bctrl                                          
"    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 );   
ffc29d6c:	3c 60 ff c3 	lis     r3,-61                                 
ffc29d70:	38 63 98 18 	addi    r3,r3,-26600                           
ffc29d74:	48 00 56 31 	bl      ffc2f3a4 <rtems_iterate_over_all_threads>
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    /* dump interrupt stack info if any */                            
    Stack_check_Dump_threads_usage((Thread_Control *) -1);            
  #endif                                                              
                                                                      
  print_context = NULL;                                               
ffc29d78:	39 20 00 00 	li      r9,0                                   
ffc29d7c:	91 3c 00 04 	stw     r9,4(r28)                              
  print_handler = NULL;                                               
ffc29d80:	91 3e 5c b0 	stw     r9,23728(r30)                          
}                                                                     
ffc29d84:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc29d88:	83 81 00 08 	lwz     r28,8(r1)                              
ffc29d8c:	7c 08 03 a6 	mtlr    r0                                     
ffc29d90:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc29d94:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc29d98:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc29d9c:	38 21 00 18 	addi    r1,r1,24                               
ffc29da0:	4e 80 00 20 	blr                                            
                                                                      

ffc29b84 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
ffc29b84:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc29b88:	7c 08 02 a6 	mflr    r0                                     
ffc29b8c:	90 01 00 14 	stw     r0,20(r1)                              
  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);                  
ffc29b90:	81 23 00 b4 	lwz     r9,180(r3)                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc29b94:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc29b98:	7c 3f 0b 78 	mr      r31,r1                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc29b9c:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
 */                                                                   
void rtems_stack_checker_switch_extension(                            
  Thread_Control *running __attribute__((unused)),                    
  Thread_Control *heir __attribute__((unused))                        
)                                                                     
{                                                                     
ffc29ba0:	93 c1 00 08 	stw     r30,8(r1)                              
ffc29ba4:	7c 7e 1b 78 	mr      r30,r3                                 
  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);                  
ffc29ba8:	38 69 00 08 	addi    r3,r9,8                                
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
ffc29bac:	41 9c 00 14 	blt-    cr7,ffc29bc0 <rtems_stack_checker_switch_extension+0x3c><== NEVER TAKEN
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
ffc29bb0:	81 5e 00 b0 	lwz     r10,176(r30)                           
ffc29bb4:	7d 29 52 14 	add     r9,r9,r10                              
ffc29bb8:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc29bbc:	40 9d 00 24 	ble-    cr7,ffc29be0 <rtems_stack_checker_switch_extension+0x5c><== ALWAYS TAKEN
  /*                                                                  
   *  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,                                     
ffc29bc0:	3c 80 00 00 	lis     r4,0                                   <== NOT EXECUTED
ffc29bc4:	38 84 66 e0 	addi    r4,r4,26336                            <== NOT EXECUTED
ffc29bc8:	38 a0 00 80 	li      r5,128                                 <== NOT EXECUTED
ffc29bcc:	48 01 cb d5 	bl      ffc467a0 <memcmp>                      <== NOT EXECUTED
ffc29bd0:	7c 64 00 34 	cntlzw  r4,r3                                  <== NOT EXECUTED
ffc29bd4:	54 84 d9 7e 	rlwinm  r4,r4,27,5,31                          <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
ffc29bd8:	7f c3 f3 78 	mr      r3,r30                                 
ffc29bdc:	4b ff fe c5 	bl      ffc29aa0 <Stack_check_report_blown_task>
  /*                                                                  
   *  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,                                     
ffc29be0:	3c 80 00 00 	lis     r4,0                                   
ffc29be4:	38 84 66 e0 	addi    r4,r4,26336                            
ffc29be8:	38 a0 00 80 	li      r5,128                                 
ffc29bec:	48 01 cb b5 	bl      ffc467a0 <memcmp>                      
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
ffc29bf0:	38 80 00 00 	li      r4,0                                   
ffc29bf4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc29bf8:	40 be ff e0 	bne-    cr7,ffc29bd8 <rtems_stack_checker_switch_extension+0x54>
    Stack_check_report_blown_task( running, pattern_ok );             
  }                                                                   
}                                                                     
ffc29bfc:	39 7f 00 10 	addi    r11,r31,16                             
ffc29c00:	80 0b 00 04 	lwz     r0,4(r11)                              
ffc29c04:	83 cb ff f8 	lwz     r30,-8(r11)                            
ffc29c08:	7c 08 03 a6 	mtlr    r0                                     
ffc29c0c:	83 eb ff fc 	lwz     r31,-4(r11)                            
ffc29c10:	7d 61 5b 78 	mr      r1,r11                                 
ffc29c14:	4e 80 00 20 	blr                                            
                                                                      

ffc10330 <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
ffc10330:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10334:	7c 08 02 a6 	mflr    r0                                     
ffc10338:	93 a1 00 1c 	stw     r29,28(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1033c:	7c 9d 23 79 	mr.     r29,r4                                 
rtems_status_code rtems_string_to_double (                            
  const char *s,                                                      
  double *n,                                                          
  char **endptr                                                       
)                                                                     
{                                                                     
ffc10340:	90 01 00 34 	stw     r0,52(r1)                              
ffc10344:	db e1 00 28 	stfd    f31,40(r1)                             
ffc10348:	93 81 00 18 	stw     r28,24(r1)                             
ffc1034c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10350:	93 e1 00 24 	stw     r31,36(r1)                             
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10354:	41 82 00 8c 	beq-    ffc103e0 <rtems_string_to_double+0xb0> 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10358:	3f 80 ff c2 	lis     r28,-62                                
ffc1035c:	7c be 2b 78 	mr      r30,r5                                 
ffc10360:	7c 7f 1b 78 	mr      r31,r3                                 
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10364:	48 00 2b 45 	bl      ffc12ea8 <__errno>                     
  *n = 0;                                                             
ffc10368:	c8 1c 07 a0 	lfd     f0,1952(r28)                           
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc1036c:	39 20 00 00 	li      r9,0                                   
ffc10370:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc10374:	38 81 00 08 	addi    r4,r1,8                                
ffc10378:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc1037c:	d8 1d 00 00 	stfd    f0,0(r29)                              
                                                                      
  result = strtod( s, &end );                                         
ffc10380:	48 00 56 8d 	bl      ffc15a0c <strtod>                      
                                                                      
  if ( endptr )                                                       
ffc10384:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
ffc10388:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc1038c:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
ffc10390:	41 9e 00 08 	beq-    cr7,ffc10398 <rtems_string_to_double+0x68>
    *endptr = end;                                                    
ffc10394:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc10398:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc1039c:	38 60 00 0b 	li      r3,11                                  
  result = strtod( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc103a0:	41 9e 00 1c 	beq-    cr7,ffc103bc <rtems_string_to_double+0x8c>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc103a4:	48 00 2b 05 	bl      ffc12ea8 <__errno>                     
ffc103a8:	81 23 00 00 	lwz     r9,0(r3)                               
ffc103ac:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc103b0:	41 9e 00 58 	beq-    cr7,ffc10408 <rtems_string_to_double+0xd8>
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc103b4:	db fd 00 00 	stfd    f31,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc103b8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc103bc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc103c0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc103c4:	7c 08 03 a6 	mtlr    r0                                     
ffc103c8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc103cc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc103d0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc103d4:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc103d8:	38 21 00 30 	addi    r1,r1,48                               
ffc103dc:	4e 80 00 20 	blr                                            
ffc103e0:	80 01 00 34 	lwz     r0,52(r1)                              
{                                                                     
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc103e4:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc103e8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc103ec:	7c 08 03 a6 	mtlr    r0                                     
ffc103f0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc103f4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc103f8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc103fc:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc10400:	38 21 00 30 	addi    r1,r1,48                               
ffc10404:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10408:	c8 1c 07 a0 	lfd     f0,1952(r28)                           
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
ffc1040c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10410:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10414:	41 9e ff a8 	beq+    cr7,ffc103bc <rtems_string_to_double+0x8c><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
ffc10418:	3d 20 ff c2 	lis     r9,-62                                 
ffc1041c:	c8 09 2f 00 	lfd     f0,12032(r9)                           
ffc10420:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10424:	41 9d ff 98 	bgt+    cr7,ffc103bc <rtems_string_to_double+0x8c>
ffc10428:	3d 20 ff c2 	lis     r9,-62                                 
ffc1042c:	c8 09 2f 08 	lfd     f0,12040(r9)                           
ffc10430:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10434:	41 9c ff 88 	blt+    cr7,ffc103bc <rtems_string_to_double+0x8c><== ALWAYS TAKEN
ffc10438:	4b ff ff 7c 	b       ffc103b4 <rtems_string_to_double+0x84> <== NOT EXECUTED
                                                                      

ffc1043c <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
ffc1043c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10440:	7c 08 02 a6 	mflr    r0                                     
ffc10444:	93 a1 00 1c 	stw     r29,28(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10448:	7c 9d 23 79 	mr.     r29,r4                                 
rtems_status_code rtems_string_to_float (                             
  const char *s,                                                      
  float *n,                                                           
  char **endptr                                                       
)                                                                     
{                                                                     
ffc1044c:	90 01 00 34 	stw     r0,52(r1)                              
ffc10450:	db e1 00 28 	stfd    f31,40(r1)                             
ffc10454:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10458:	93 e1 00 24 	stw     r31,36(r1)                             
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1045c:	41 82 00 84 	beq-    ffc104e0 <rtems_string_to_float+0xa4>  
ffc10460:	7c be 2b 78 	mr      r30,r5                                 
ffc10464:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10468:	48 00 2a 41 	bl      ffc12ea8 <__errno>                     
ffc1046c:	39 20 00 00 	li      r9,0                                   
ffc10470:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
ffc10474:	39 20 00 00 	li      r9,0                                   
                                                                      
  result = strtof( s, &end );                                         
ffc10478:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc1047c:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtof( s, &end );                                         
ffc10480:	38 81 00 08 	addi    r4,r1,8                                
ffc10484:	48 00 55 a1 	bl      ffc15a24 <strtof>                      
                                                                      
  if ( endptr )                                                       
ffc10488:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
ffc1048c:	ff e0 08 90 	fmr     f31,f1                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10490:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
ffc10494:	41 9e 00 08 	beq-    cr7,ffc1049c <rtems_string_to_float+0x60>
    *endptr = end;                                                    
ffc10498:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc1049c:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc104a0:	38 60 00 0b 	li      r3,11                                  
  result = strtof( s, &end );                                         
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc104a4:	41 9e 00 1c 	beq-    cr7,ffc104c0 <rtems_string_to_float+0x84>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc104a8:	48 00 2a 01 	bl      ffc12ea8 <__errno>                     
ffc104ac:	81 23 00 00 	lwz     r9,0(r3)                               
ffc104b0:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc104b4:	41 9e 00 50 	beq-    cr7,ffc10504 <rtems_string_to_float+0xc8>
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc104b8:	d3 fd 00 00 	stfs    f31,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc104bc:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc104c0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc104c4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc104c8:	7c 08 03 a6 	mtlr    r0                                     
ffc104cc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc104d0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc104d4:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc104d8:	38 21 00 30 	addi    r1,r1,48                               
ffc104dc:	4e 80 00 20 	blr                                            
ffc104e0:	80 01 00 34 	lwz     r0,52(r1)                              
{                                                                     
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc104e4:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc104e8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc104ec:	7c 08 03 a6 	mtlr    r0                                     
ffc104f0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc104f4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc104f8:	cb e1 00 28 	lfd     f31,40(r1)                             
ffc104fc:	38 21 00 30 	addi    r1,r1,48                               
ffc10500:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10504:	3d 20 ff c2 	lis     r9,-62                                 
ffc10508:	c0 09 07 90 	lfs     f0,1936(r9)                            
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
ffc1050c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10510:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10514:	41 9e ff ac 	beq+    cr7,ffc104c0 <rtems_string_to_float+0x84><== NEVER TAKEN
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
ffc10518:	3d 20 ff c2 	lis     r9,-62                                 
ffc1051c:	c0 09 2f 10 	lfs     f0,12048(r9)                           
ffc10520:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10524:	41 9d ff 9c 	bgt+    cr7,ffc104c0 <rtems_string_to_float+0x84>
ffc10528:	3d 20 ff c2 	lis     r9,-62                                 
ffc1052c:	c0 09 2f 14 	lfs     f0,12052(r9)                           
ffc10530:	ff 9f 00 00 	fcmpu   cr7,f31,f0                             
ffc10534:	41 9c ff 8c 	blt+    cr7,ffc104c0 <rtems_string_to_float+0x84><== ALWAYS TAKEN
ffc10538:	4b ff ff 80 	b       ffc104b8 <rtems_string_to_float+0x7c>  <== NOT EXECUTED
                                                                      

ffc22f40 <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
ffc22f40:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc22f44:	7c 08 02 a6 	mflr    r0                                     
ffc22f48:	93 a1 00 1c 	stw     r29,28(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc22f4c:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  int *n,                                                             
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc22f50:	90 01 00 2c 	stw     r0,44(r1)                              
ffc22f54:	93 81 00 18 	stw     r28,24(r1)                             
ffc22f58:	93 c1 00 20 	stw     r30,32(r1)                             
ffc22f5c:	93 e1 00 24 	stw     r31,36(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc22f60:	41 82 00 88 	beq-    ffc22fe8 <rtems_string_to_int+0xa8>    
ffc22f64:	7c dc 33 78 	mr      r28,r6                                 
ffc22f68:	7c be 2b 78 	mr      r30,r5                                 
ffc22f6c:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc22f70:	48 01 fa f5 	bl      ffc42a64 <__errno>                     
ffc22f74:	39 20 00 00 	li      r9,0                                   
ffc22f78:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc22f7c:	7f 85 e3 78 	mr      r5,r28                                 
ffc22f80:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc22f84:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc22f88:	38 81 00 08 	addi    r4,r1,8                                
ffc22f8c:	48 02 8d 51 	bl      ffc4bcdc <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc22f90:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc22f94:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc22f98:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
ffc22f9c:	41 9e 00 08 	beq-    cr7,ffc22fa4 <rtems_string_to_int+0x64>
    *endptr = end;                                                    
ffc22fa0:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc22fa4:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc22fa8:	38 60 00 0b 	li      r3,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc22fac:	41 9e 00 1c 	beq-    cr7,ffc22fc8 <rtems_string_to_int+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc22fb0:	48 01 fa b5 	bl      ffc42a64 <__errno>                     
ffc22fb4:	81 23 00 00 	lwz     r9,0(r3)                               
ffc22fb8:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc22fbc:	41 9e 00 50 	beq-    cr7,ffc2300c <rtems_string_to_int+0xcc>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc22fc0:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc22fc4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc22fc8:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc22fcc:	83 81 00 18 	lwz     r28,24(r1)                             
ffc22fd0:	7c 08 03 a6 	mtlr    r0                                     
ffc22fd4:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc22fd8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc22fdc:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc22fe0:	38 21 00 28 	addi    r1,r1,40                               
ffc22fe4:	4e 80 00 20 	blr                                            
ffc22fe8:	80 01 00 2c 	lwz     r0,44(r1)                              
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc22fec:	38 60 00 09 	li      r3,9                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc22ff0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc22ff4:	7c 08 03 a6 	mtlr    r0                                     
ffc22ff8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc22ffc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc23000:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc23004:	38 21 00 28 	addi    r1,r1,40                               
ffc23008:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc2300c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc23010:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc23014:	41 9e ff b4 	beq+    cr7,ffc22fc8 <rtems_string_to_int+0x88><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc23018:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc2301c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc23020:	41 9e ff a8 	beq+    cr7,ffc22fc8 <rtems_string_to_int+0x88>
ffc23024:	3d 20 80 00 	lis     r9,-32768                              
ffc23028:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc2302c:	40 9e ff 94 	bne+    cr7,ffc22fc0 <rtems_string_to_int+0x80><== NEVER TAKEN
ffc23030:	4b ff ff 98 	b       ffc22fc8 <rtems_string_to_int+0x88>    
                                                                      

ffc1075c <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
ffc1075c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10760:	7c 08 02 a6 	mflr    r0                                     
ffc10764:	93 a1 00 1c 	stw     r29,28(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10768:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long *n,                                                            
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc1076c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc10770:	93 81 00 18 	stw     r28,24(r1)                             
ffc10774:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10778:	93 e1 00 24 	stw     r31,36(r1)                             
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1077c:	41 82 00 88 	beq-    ffc10804 <rtems_string_to_long+0xa8>   
ffc10780:	7c dc 33 78 	mr      r28,r6                                 
ffc10784:	7c be 2b 78 	mr      r30,r5                                 
ffc10788:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc1078c:	48 00 27 1d 	bl      ffc12ea8 <__errno>                     
ffc10790:	39 20 00 00 	li      r9,0                                   
ffc10794:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc10798:	7f 85 e3 78 	mr      r5,r28                                 
ffc1079c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc107a0:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtol( s, &end, base );                                   
ffc107a4:	38 81 00 08 	addi    r4,r1,8                                
ffc107a8:	48 00 55 25 	bl      ffc15ccc <strtol>                      
                                                                      
  if ( endptr )                                                       
ffc107ac:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
ffc107b0:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc107b4:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
ffc107b8:	41 9e 00 08 	beq-    cr7,ffc107c0 <rtems_string_to_long+0x64>
    *endptr = end;                                                    
ffc107bc:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc107c0:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc107c4:	38 60 00 0b 	li      r3,11                                  
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc107c8:	41 9e 00 1c 	beq-    cr7,ffc107e4 <rtems_string_to_long+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc107cc:	48 00 26 dd 	bl      ffc12ea8 <__errno>                     
ffc107d0:	81 23 00 00 	lwz     r9,0(r3)                               
ffc107d4:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc107d8:	41 9e 00 50 	beq-    cr7,ffc10828 <rtems_string_to_long+0xcc>
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc107dc:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc107e0:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc107e4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc107e8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc107ec:	7c 08 03 a6 	mtlr    r0                                     
ffc107f0:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc107f4:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc107f8:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc107fc:	38 21 00 28 	addi    r1,r1,40                               
ffc10800:	4e 80 00 20 	blr                                            
ffc10804:	80 01 00 2c 	lwz     r0,44(r1)                              
{                                                                     
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10808:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc1080c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10810:	7c 08 03 a6 	mtlr    r0                                     
ffc10814:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10818:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc1081c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10820:	38 21 00 28 	addi    r1,r1,40                               
ffc10824:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10828:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc1082c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10830:	41 9e ff b4 	beq+    cr7,ffc107e4 <rtems_string_to_long+0x88><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
ffc10834:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc10838:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc1083c:	41 9e ff a8 	beq+    cr7,ffc107e4 <rtems_string_to_long+0x88>
ffc10840:	3d 20 80 00 	lis     r9,-32768                              
ffc10844:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc10848:	40 9e ff 94 	bne+    cr7,ffc107dc <rtems_string_to_long+0x80><== NEVER TAKEN
ffc1084c:	4b ff ff 98 	b       ffc107e4 <rtems_string_to_long+0x88>   
                                                                      

ffc10630 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
ffc10630:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10634:	7c 08 02 a6 	mflr    r0                                     
ffc10638:	93 a1 00 24 	stw     r29,36(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc1063c:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  long long *n,                                                       
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10640:	90 01 00 34 	stw     r0,52(r1)                              
ffc10644:	93 61 00 1c 	stw     r27,28(r1)                             
ffc10648:	93 81 00 20 	stw     r28,32(r1)                             
ffc1064c:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10650:	93 e1 00 2c 	stw     r31,44(r1)                             
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10654:	41 82 00 a0 	beq-    ffc106f4 <rtems_string_to_long_long+0xc4>
ffc10658:	7c dc 33 78 	mr      r28,r6                                 
ffc1065c:	7c be 2b 78 	mr      r30,r5                                 
ffc10660:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10664:	48 00 28 45 	bl      ffc12ea8 <__errno>                     
ffc10668:	39 20 00 00 	li      r9,0                                   
  *n = 0;                                                             
ffc1066c:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10670:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
ffc10674:	39 60 00 00 	li      r11,0                                  
ffc10678:	91 5d 00 00 	stw     r10,0(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc1067c:	7f 85 e3 78 	mr      r5,r28                                 
ffc10680:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10684:	91 7d 00 04 	stw     r11,4(r29)                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc10688:	38 81 00 08 	addi    r4,r1,8                                
ffc1068c:	48 00 56 61 	bl      ffc15cec <strtoll>                     
                                                                      
  if ( endptr )                                                       
ffc10690:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc10694:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10698:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
ffc1069c:	7c 9b 23 78 	mr      r27,r4                                 
                                                                      
  if ( endptr )                                                       
ffc106a0:	41 9e 00 08 	beq-    cr7,ffc106a8 <rtems_string_to_long_long+0x78>
    *endptr = end;                                                    
ffc106a4:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc106a8:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc106ac:	38 60 00 0b 	li      r3,11                                  
  result = strtoll( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc106b0:	41 9e 00 20 	beq-    cr7,ffc106d0 <rtems_string_to_long_long+0xa0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc106b4:	48 00 27 f5 	bl      ffc12ea8 <__errno>                     
ffc106b8:	81 23 00 00 	lwz     r9,0(r3)                               
ffc106bc:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc106c0:	41 9e 00 5c 	beq-    cr7,ffc1071c <rtems_string_to_long_long+0xec>
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc106c4:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc106c8:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc106cc:	93 7d 00 04 	stw     r27,4(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc106d0:	80 01 00 34 	lwz     r0,52(r1)                              
ffc106d4:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc106d8:	7c 08 03 a6 	mtlr    r0                                     
ffc106dc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc106e0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc106e4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc106e8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc106ec:	38 21 00 30 	addi    r1,r1,48                               
ffc106f0:	4e 80 00 20 	blr                                            
ffc106f4:	80 01 00 34 	lwz     r0,52(r1)                              
{                                                                     
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc106f8:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc106fc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc10700:	7c 08 03 a6 	mtlr    r0                                     
ffc10704:	83 81 00 20 	lwz     r28,32(r1)                             
ffc10708:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc1070c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10710:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc10714:	38 21 00 30 	addi    r1,r1,48                               
ffc10718:	4e 80 00 20 	blr                                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc1071c:	7f 89 db 79 	or.     r9,r28,r27                             
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
ffc10720:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10724:	41 82 ff ac 	beq+    ffc106d0 <rtems_string_to_long_long+0xa0><== NEVER TAKEN
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
ffc10728:	6f 89 80 00 	xoris   r9,r28,32768                           
ffc1072c:	2f 89 ff ff 	cmpwi   cr7,r9,-1                              
ffc10730:	41 9e 00 20 	beq-    cr7,ffc10750 <rtems_string_to_long_long+0x120>
ffc10734:	3d 20 80 00 	lis     r9,-32768                              
ffc10738:	7f 9c 48 00 	cmpw    cr7,r28,r9                             
ffc1073c:	40 9e ff 88 	bne+    cr7,ffc106c4 <rtems_string_to_long_long+0x94><== NEVER TAKEN
ffc10740:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
      return RTEMS_INVALID_NUMBER;                                    
ffc10744:	38 60 00 0a 	li      r3,10                                  
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
ffc10748:	40 9e ff 7c 	bne+    cr7,ffc106c4 <rtems_string_to_long_long+0x94><== NEVER TAKEN
ffc1074c:	4b ff ff 84 	b       ffc106d0 <rtems_string_to_long_long+0xa0>
ffc10750:	2f 9b ff ff 	cmpwi   cr7,r27,-1                             
ffc10754:	40 9e ff e0 	bne+    cr7,ffc10734 <rtems_string_to_long_long+0x104><== NEVER TAKEN
ffc10758:	4b ff ff 78 	b       ffc106d0 <rtems_string_to_long_long+0xa0>
                                                                      

ffc2303c <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
ffc2303c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc23040:	7c 08 02 a6 	mflr    r0                                     
ffc23044:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc23048:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned char *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc2304c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc23050:	93 81 00 18 	stw     r28,24(r1)                             
ffc23054:	93 c1 00 20 	stw     r30,32(r1)                             
ffc23058:	93 e1 00 24 	stw     r31,36(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc2305c:	41 82 00 90 	beq-    ffc230ec <rtems_string_to_unsigned_char+0xb0>
ffc23060:	7c dc 33 78 	mr      r28,r6                                 
ffc23064:	7c be 2b 78 	mr      r30,r5                                 
ffc23068:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc2306c:	48 01 f9 f9 	bl      ffc42a64 <__errno>                     
ffc23070:	39 20 00 00 	li      r9,0                                   
ffc23074:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc23078:	7f 85 e3 78 	mr      r5,r28                                 
ffc2307c:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc23080:	99 3d 00 00 	stb     r9,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc23084:	38 81 00 08 	addi    r4,r1,8                                
ffc23088:	48 02 92 4d 	bl      ffc4c2d4 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc2308c:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc23090:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc23094:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc23098:	41 9e 00 08 	beq-    cr7,ffc230a0 <rtems_string_to_unsigned_char+0x64>
    *endptr = end;                                                    
ffc2309c:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc230a0:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc230a4:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc230a8:	41 9e 00 24 	beq-    cr7,ffc230cc <rtems_string_to_unsigned_char+0x90>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc230ac:	48 01 f9 b9 	bl      ffc42a64 <__errno>                     
ffc230b0:	81 23 00 00 	lwz     r9,0(r3)                               
ffc230b4:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc230b8:	41 9e 00 88 	beq-    cr7,ffc23140 <rtems_string_to_unsigned_char+0x104>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
ffc230bc:	2b 9c 00 ff 	cmplwi  cr7,r28,255                            
ffc230c0:	41 9d 00 50 	bgt-    cr7,ffc23110 <rtems_string_to_unsigned_char+0xd4>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc230c4:	9b 9d 00 00 	stb     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc230c8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc230cc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc230d0:	83 81 00 18 	lwz     r28,24(r1)                             
ffc230d4:	7c 08 03 a6 	mtlr    r0                                     
ffc230d8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc230dc:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc230e0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc230e4:	38 21 00 28 	addi    r1,r1,40                               
ffc230e8:	4e 80 00 20 	blr                                            
ffc230ec:	80 01 00 2c 	lwz     r0,44(r1)                              
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc230f0:	38 60 00 09 	li      r3,9                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc230f4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc230f8:	7c 08 03 a6 	mtlr    r0                                     
ffc230fc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc23100:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc23104:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc23108:	38 21 00 28 	addi    r1,r1,40                               
ffc2310c:	4e 80 00 20 	blr                                            
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
ffc23110:	48 01 f9 55 	bl      ffc42a64 <__errno>                     
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc23114:	80 01 00 2c 	lwz     r0,44(r1)                              
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
ffc23118:	39 20 00 22 	li      r9,34                                  
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc2311c:	83 81 00 18 	lwz     r28,24(r1)                             
ffc23120:	7c 08 03 a6 	mtlr    r0                                     
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
ffc23124:	91 23 00 00 	stw     r9,0(r3)                               
    return RTEMS_INVALID_NUMBER;                                      
ffc23128:	38 60 00 0a 	li      r3,10                                  
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc2312c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc23130:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc23134:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc23138:	38 21 00 28 	addi    r1,r1,40                               
ffc2313c:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc23140:	39 5c ff ff 	addi    r10,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc23144:	39 20 ff fd 	li      r9,-3                                  
ffc23148:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc2314c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc23150:	41 9d ff 7c 	bgt+    cr7,ffc230cc <rtems_string_to_unsigned_char+0x90><== ALWAYS TAKEN
ffc23154:	4b ff ff 68 	b       ffc230bc <rtems_string_to_unsigned_char+0x80><== NOT EXECUTED
                                                                      

ffc10974 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
ffc10974:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc10978:	7c 08 02 a6 	mflr    r0                                     
ffc1097c:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10980:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned int *n,                                                    
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10984:	90 01 00 2c 	stw     r0,44(r1)                              
ffc10988:	93 81 00 18 	stw     r28,24(r1)                             
ffc1098c:	93 c1 00 20 	stw     r30,32(r1)                             
ffc10990:	93 e1 00 24 	stw     r31,36(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10994:	41 82 00 88 	beq-    ffc10a1c <rtems_string_to_unsigned_int+0xa8>
ffc10998:	7c dc 33 78 	mr      r28,r6                                 
ffc1099c:	7c be 2b 78 	mr      r30,r5                                 
ffc109a0:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc109a4:	48 00 25 05 	bl      ffc12ea8 <__errno>                     
ffc109a8:	39 20 00 00 	li      r9,0                                   
ffc109ac:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc109b0:	7f 85 e3 78 	mr      r5,r28                                 
ffc109b4:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc109b8:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc109bc:	38 81 00 08 	addi    r4,r1,8                                
ffc109c0:	48 00 59 05 	bl      ffc162c4 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc109c4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc109c8:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc109cc:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc109d0:	41 9e 00 08 	beq-    cr7,ffc109d8 <rtems_string_to_unsigned_int+0x64>
    *endptr = end;                                                    
ffc109d4:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc109d8:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc109dc:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc109e0:	41 9e 00 1c 	beq-    cr7,ffc109fc <rtems_string_to_unsigned_int+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc109e4:	48 00 24 c5 	bl      ffc12ea8 <__errno>                     
ffc109e8:	81 23 00 00 	lwz     r9,0(r3)                               
ffc109ec:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc109f0:	41 9e 00 50 	beq-    cr7,ffc10a40 <rtems_string_to_unsigned_int+0xcc>
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
ffc109f4:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc109f8:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc109fc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc10a00:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10a04:	7c 08 03 a6 	mtlr    r0                                     
ffc10a08:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10a0c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10a10:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10a14:	38 21 00 28 	addi    r1,r1,40                               
ffc10a18:	4e 80 00 20 	blr                                            
ffc10a1c:	80 01 00 2c 	lwz     r0,44(r1)                              
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10a20:	38 60 00 09 	li      r3,9                                   
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc10a24:	83 81 00 18 	lwz     r28,24(r1)                             
ffc10a28:	7c 08 03 a6 	mtlr    r0                                     
ffc10a2c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc10a30:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc10a34:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc10a38:	38 21 00 28 	addi    r1,r1,40                               
ffc10a3c:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc10a40:	39 5c ff ff 	addi    r10,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10a44:	39 20 ff fd 	li      r9,-3                                  
ffc10a48:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc10a4c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10a50:	41 9d ff ac 	bgt+    cr7,ffc109fc <rtems_string_to_unsigned_int+0x88><== ALWAYS TAKEN
ffc10a54:	4b ff ff a0 	b       ffc109f4 <rtems_string_to_unsigned_int+0x80><== NOT EXECUTED
                                                                      

ffc0e3d4 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
ffc0e3d4:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0e3d8:	7c 08 02 a6 	mflr    r0                                     
ffc0e3dc:	93 a1 00 1c 	stw     r29,28(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e3e0:	7c 9d 23 79 	mr.     r29,r4                                 
  const char *s,                                                      
  unsigned long *n,                                                   
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc0e3e4:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0e3e8:	93 81 00 18 	stw     r28,24(r1)                             
ffc0e3ec:	93 c1 00 20 	stw     r30,32(r1)                             
ffc0e3f0:	93 e1 00 24 	stw     r31,36(r1)                             
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc0e3f4:	41 82 00 88 	beq-    ffc0e47c <rtems_string_to_unsigned_long+0xa8>
ffc0e3f8:	7c dc 33 78 	mr      r28,r6                                 
ffc0e3fc:	7c be 2b 78 	mr      r30,r5                                 
ffc0e400:	7c 7f 1b 78 	mr      r31,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc0e404:	48 03 46 61 	bl      ffc42a64 <__errno>                     
ffc0e408:	39 20 00 00 	li      r9,0                                   
ffc0e40c:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e410:	7f 85 e3 78 	mr      r5,r28                                 
ffc0e414:	7f e3 fb 78 	mr      r3,r31                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc0e418:	91 3d 00 00 	stw     r9,0(r29)                              
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e41c:	38 81 00 08 	addi    r4,r1,8                                
ffc0e420:	48 03 de b5 	bl      ffc4c2d4 <strtoul>                     
                                                                      
  if ( endptr )                                                       
ffc0e424:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
ffc0e428:	7c 7c 1b 78 	mr      r28,r3                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc0e42c:	81 21 00 08 	lwz     r9,8(r1)                               
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
ffc0e430:	41 9e 00 08 	beq-    cr7,ffc0e438 <rtems_string_to_unsigned_long+0x64>
    *endptr = end;                                                    
ffc0e434:	91 3e 00 00 	stw     r9,0(r30)                              
                                                                      
  if ( end == s )                                                     
ffc0e438:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc0e43c:	38 60 00 0b 	li      r3,11                                  
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc0e440:	41 9e 00 1c 	beq-    cr7,ffc0e45c <rtems_string_to_unsigned_long+0x88>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e444:	48 03 46 21 	bl      ffc42a64 <__errno>                     
ffc0e448:	81 23 00 00 	lwz     r9,0(r3)                               
ffc0e44c:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc0e450:	41 9e 00 50 	beq-    cr7,ffc0e4a0 <rtems_string_to_unsigned_long+0xcc>
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc0e454:	93 9d 00 00 	stw     r28,0(r29)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc0e458:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc0e45c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0e460:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0e464:	7c 08 03 a6 	mtlr    r0                                     
ffc0e468:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e46c:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e470:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e474:	38 21 00 28 	addi    r1,r1,40                               
ffc0e478:	4e 80 00 20 	blr                                            
ffc0e47c:	80 01 00 2c 	lwz     r0,44(r1)                              
{                                                                     
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc0e480:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc0e484:	83 81 00 18 	lwz     r28,24(r1)                             
ffc0e488:	7c 08 03 a6 	mtlr    r0                                     
ffc0e48c:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc0e490:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc0e494:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0e498:	38 21 00 28 	addi    r1,r1,40                               
ffc0e49c:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
ffc0e4a0:	39 5c ff ff 	addi    r10,r28,-1                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e4a4:	39 20 ff fd 	li      r9,-3                                  
ffc0e4a8:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
ffc0e4ac:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc0e4b0:	41 9d ff ac 	bgt+    cr7,ffc0e45c <rtems_string_to_unsigned_long+0x88><== ALWAYS TAKEN
ffc0e4b4:	4b ff ff a0 	b       ffc0e454 <rtems_string_to_unsigned_long+0x80><== NOT EXECUTED
                                                                      

ffc10a58 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
ffc10a58:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc10a5c:	7c 08 02 a6 	mflr    r0                                     
ffc10a60:	93 61 00 1c 	stw     r27,28(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10a64:	7c 9b 23 79 	mr.     r27,r4                                 
  const char *s,                                                      
  unsigned long long *n,                                              
  char **endptr,                                                      
  int base                                                            
)                                                                     
{                                                                     
ffc10a68:	90 01 00 34 	stw     r0,52(r1)                              
ffc10a6c:	93 81 00 20 	stw     r28,32(r1)                             
ffc10a70:	93 a1 00 24 	stw     r29,36(r1)                             
ffc10a74:	93 c1 00 28 	stw     r30,40(r1)                             
ffc10a78:	93 e1 00 2c 	stw     r31,44(r1)                             
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
ffc10a7c:	41 82 00 a0 	beq-    ffc10b1c <rtems_string_to_unsigned_long_long+0xc4>
ffc10a80:	7c df 33 78 	mr      r31,r6                                 
ffc10a84:	7c bc 2b 78 	mr      r28,r5                                 
ffc10a88:	7c 7d 1b 78 	mr      r29,r3                                 
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10a8c:	48 00 24 1d 	bl      ffc12ea8 <__errno>                     
ffc10a90:	39 20 00 00 	li      r9,0                                   
  *n = 0;                                                             
ffc10a94:	39 40 00 00 	li      r10,0                                  
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
ffc10a98:	91 23 00 00 	stw     r9,0(r3)                               
  *n = 0;                                                             
ffc10a9c:	39 60 00 00 	li      r11,0                                  
ffc10aa0:	91 5b 00 00 	stw     r10,0(r27)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10aa4:	7f e5 fb 78 	mr      r5,r31                                 
ffc10aa8:	7f a3 eb 78 	mr      r3,r29                                 
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
ffc10aac:	91 7b 00 04 	stw     r11,4(r27)                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10ab0:	38 81 00 08 	addi    r4,r1,8                                
ffc10ab4:	48 00 58 31 	bl      ffc162e4 <strtoull>                    
                                                                      
  if ( endptr )                                                       
ffc10ab8:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10abc:	7c 9f 23 78 	mr      r31,r4                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
ffc10ac0:	81 21 00 08 	lwz     r9,8(r1)                               
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
ffc10ac4:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  if ( endptr )                                                       
ffc10ac8:	41 9e 00 08 	beq-    cr7,ffc10ad0 <rtems_string_to_unsigned_long_long+0x78>
    *endptr = end;                                                    
ffc10acc:	91 3c 00 00 	stw     r9,0(r28)                              
                                                                      
  if ( end == s )                                                     
ffc10ad0:	7f 9d 48 00 	cmpw    cr7,r29,r9                             
    return RTEMS_NOT_DEFINED;                                         
ffc10ad4:	38 60 00 0b 	li      r3,11                                  
  result = strtoull( s, &end, base );                                 
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
ffc10ad8:	41 9e 00 20 	beq-    cr7,ffc10af8 <rtems_string_to_unsigned_long_long+0xa0>
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10adc:	48 00 23 cd 	bl      ffc12ea8 <__errno>                     
ffc10ae0:	81 23 00 00 	lwz     r9,0(r3)                               
ffc10ae4:	2f 89 00 22 	cmpwi   cr7,r9,34                              
ffc10ae8:	41 9e 00 5c 	beq-    cr7,ffc10b44 <rtems_string_to_unsigned_long_long+0xec>
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10aec:	93 db 00 00 	stw     r30,0(r27)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc10af0:	38 60 00 00 	li      r3,0                                   
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
ffc10af4:	93 fb 00 04 	stw     r31,4(r27)                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc10af8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc10afc:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc10b00:	7c 08 03 a6 	mtlr    r0                                     
ffc10b04:	83 81 00 20 	lwz     r28,32(r1)                             
ffc10b08:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc10b0c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10b10:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc10b14:	38 21 00 30 	addi    r1,r1,48                               
ffc10b18:	4e 80 00 20 	blr                                            
ffc10b1c:	80 01 00 34 	lwz     r0,52(r1)                              
{                                                                     
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc10b20:	38 60 00 09 	li      r3,9                                   
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc10b24:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc10b28:	7c 08 03 a6 	mtlr    r0                                     
ffc10b2c:	83 81 00 20 	lwz     r28,32(r1)                             
ffc10b30:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc10b34:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc10b38:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc10b3c:	38 21 00 30 	addi    r1,r1,48                               
ffc10b40:	4e 80 00 20 	blr                                            
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
ffc10b44:	31 7f ff ff 	addic   r11,r31,-1                             
ffc10b48:	7d 5e 01 d4 	addme   r10,r30                                
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10b4c:	2f 8a ff ff 	cmpwi   cr7,r10,-1                             
ffc10b50:	40 be ff 9c 	bne-    cr7,ffc10aec <rtems_string_to_unsigned_long_long+0x94><== NEVER TAKEN
ffc10b54:	39 20 ff fd 	li      r9,-3                                  
ffc10b58:	7f 8b 48 40 	cmplw   cr7,r11,r9                             
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
ffc10b5c:	38 60 00 0a 	li      r3,10                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
ffc10b60:	41 9d ff 98 	bgt+    cr7,ffc10af8 <rtems_string_to_unsigned_long_long+0xa0><== ALWAYS TAKEN
ffc10b64:	4b ff ff 88 	b       ffc10aec <rtems_string_to_unsigned_long_long+0x94><== NOT EXECUTED
                                                                      

ffc041b0 <rtems_tarfs_load>: int rtems_tarfs_load( const char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
ffc041b0:	94 21 fd f0 	stwu    r1,-528(r1)                            
ffc041b4:	7c 08 02 a6 	mflr    r0                                     
ffc041b8:	92 61 01 dc 	stw     r19,476(r1)                            
ffc041bc:	7c 73 1b 78 	mr      r19,r3                                 
ffc041c0:	92 e1 01 ec 	stw     r23,492(r1)                            
ffc041c4:	7c b7 2b 78 	mr      r23,r5                                 
   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 =                     
ffc041c8:	38 a0 00 18 	li      r5,24                                  
int rtems_tarfs_load(                                                 
  const char *mountpoint,                                             
  uint8_t *tar_image,                                                 
  size_t tar_size                                                     
)                                                                     
{                                                                     
ffc041cc:	93 21 01 f4 	stw     r25,500(r1)                            
ffc041d0:	7c 99 23 78 	mr      r25,r4                                 
   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 =                     
ffc041d4:	7c 64 1b 78 	mr      r4,r3                                  
ffc041d8:	38 61 01 6c 	addi    r3,r1,364                              
int rtems_tarfs_load(                                                 
  const char *mountpoint,                                             
  uint8_t *tar_image,                                                 
  size_t tar_size                                                     
)                                                                     
{                                                                     
ffc041dc:	90 01 02 14 	stw     r0,532(r1)                             
ffc041e0:	92 81 01 e0 	stw     r20,480(r1)                            
ffc041e4:	91 c1 01 c8 	stw     r14,456(r1)                            
ffc041e8:	91 e1 01 cc 	stw     r15,460(r1)                            
ffc041ec:	92 01 01 d0 	stw     r16,464(r1)                            
ffc041f0:	92 21 01 d4 	stw     r17,468(r1)                            
ffc041f4:	92 41 01 d8 	stw     r18,472(r1)                            
ffc041f8:	92 a1 01 e4 	stw     r21,484(r1)                            
ffc041fc:	92 c1 01 e8 	stw     r22,488(r1)                            
ffc04200:	93 01 01 f0 	stw     r24,496(r1)                            
ffc04204:	93 41 01 f8 	stw     r26,504(r1)                            
ffc04208:	93 61 01 fc 	stw     r27,508(r1)                            
ffc0420c:	93 81 02 00 	stw     r28,512(r1)                            
ffc04210:	93 a1 02 04 	stw     r29,516(r1)                            
ffc04214:	93 c1 02 08 	stw     r30,520(r1)                            
ffc04218:	93 e1 02 0c 	stw     r31,524(r1)                            
   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 =                     
ffc0421c:	48 00 27 41 	bl      ffc0695c <rtems_filesystem_eval_path_start>
ffc04220:	7c 74 1b 78 	mr      r20,r3                                 
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(                          
ffc04224:	38 81 01 84 	addi    r4,r1,388                              
ffc04228:	38 61 01 a4 	addi    r3,r1,420                              
ffc0422c:	48 00 2c 7d 	bl      ffc06ea8 <rtems_filesystem_location_copy_and_detach>
     &ctx,                                                            
     RTEMS_FS_MAKE | RTEMS_FS_EXCLUSIVE                               
   );                                                                 
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
ffc04230:	81 21 01 b8 	lwz     r9,440(r1)                             
   rtems_filesystem_eval_path_set_flags(                              
     &ctx,                                                            
     RTEMS_FS_MAKE | RTEMS_FS_EXCLUSIVE                               
   );                                                                 
                                                                      
   if (                                                               
ffc04234:	3d 40 ff c2 	lis     r10,-62                                
     rootloc.mt_entry->ops != &IMFS_ops                               
ffc04238:	81 29 00 0c 	lwz     r9,12(r9)                              
   rtems_filesystem_eval_path_set_flags(                              
     &ctx,                                                            
     RTEMS_FS_MAKE | RTEMS_FS_EXCLUSIVE                               
   );                                                                 
                                                                      
   if (                                                               
ffc0423c:	39 4a 32 ec 	addi    r10,r10,13036                          
ffc04240:	7f 89 50 00 	cmpw    cr7,r9,r10                             
static inline void rtems_filesystem_eval_path_set_flags(              
  rtems_filesystem_eval_path_context_t *ctx,                          
  int flags                                                           
)                                                                     
{                                                                     
  ctx->flags = flags;                                                 
ffc04244:	39 40 00 60 	li      r10,96                                 
ffc04248:	91 41 01 7c 	stw     r10,380(r1)                            
ffc0424c:	41 9e 00 14 	beq-    cr7,ffc04260 <rtems_tarfs_load+0xb0>   
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
ffc04250:	3d 40 ff c2 	lis     r10,-62                                
ffc04254:	39 4a 3b 08 	addi    r10,r10,15112                          
ffc04258:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc0425c:	40 9e 02 10 	bne-    cr7,ffc0446c <rtems_tarfs_load+0x2bc>  <== ALWAYS TAKEN
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
ffc04260:	2b 97 01 ff 	cmplwi  cr7,r23,511                            
ffc04264:	40 9d 01 18 	ble-    cr7,ffc0437c <rtems_tarfs_load+0x1cc>  <== NEVER TAKEN
     * - 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);                              
ffc04268:	3a a1 00 08 	addi    r21,r1,8                               
ffc0426c:	3e c0 ff c2 	lis     r22,-62                                
        filename,                                                     
        strlen( filename )                                            
      );                                                              
      rtems_filesystem_eval_path_continue( &ctx );                    
                                                                      
      if ( !rtems_filesystem_location_is_null( currentloc ) ) {       
ffc04270:	3e 20 ff c2 	lis     r17,-62                                
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
ffc04274:	3b 40 02 00 	li      r26,512                                
ffc04278:	3b c0 02 00 	li      r30,512                                
ffc0427c:	3b e0 00 00 	li      r31,0                                  
ffc04280:	3a d6 33 70 	addi    r22,r22,13168                          
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc04284:	3b 61 01 08 	addi    r27,r1,264                             
        filename,                                                     
        strlen( filename )                                            
      );                                                              
      rtems_filesystem_eval_path_continue( &ctx );                    
                                                                      
      if ( !rtems_filesystem_location_is_null( currentloc ) ) {       
ffc04288:	3a 31 39 8c 	addi    r17,r17,14732                          
     * - 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);                              
ffc0428c:	7e b2 a8 f8 	not     r18,r21                                
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
ffc04290:	3a 00 2f 00 	li      r16,12032                              
ffc04294:	48 00 00 20 	b       ffc042b4 <rtems_tarfs_load+0x104>      
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
    }                                                                 
    /*                                                                
     * Create a LINEAR_FILE node                                      
     */                                                               
    else if (linkflag == REGTYPE) {                                   
ffc04298:	2f 9d 00 30 	cmpwi   cr7,r29,48                             
ffc0429c:	7f df f3 78 	mr      r31,r30                                
ffc042a0:	41 9e 01 4c 	beq-    cr7,ffc043ec <rtems_tarfs_load+0x23c>  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
ffc042a4:	3b df 02 00 	addi    r30,r31,512                            
ffc042a8:	7f 9e b8 40 	cmplw   cr7,r30,r23                            
ffc042ac:	7f da f3 78 	mr      r26,r30                                
ffc042b0:	41 9d 00 cc 	bgt-    cr7,ffc0437c <rtems_tarfs_load+0x1cc>  <== NEVER TAKEN
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
ffc042b4:	7f f9 fa 14 	add     r31,r25,r31                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
ffc042b8:	38 7f 01 01 	addi    r3,r31,257                             
ffc042bc:	7e c4 b3 78 	mr      r4,r22                                 
ffc042c0:	38 a0 00 05 	li      r5,5                                   
ffc042c4:	48 01 2a bd 	bl      ffc16d80 <strncmp>                     
ffc042c8:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc042cc:	40 82 00 b0 	bne-    ffc0437c <rtems_tarfs_load+0x1cc>      
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
ffc042d0:	38 a0 00 63 	li      r5,99                                  
ffc042d4:	7f e4 fb 78 	mr      r4,r31                                 
ffc042d8:	7f 63 db 78 	mr      r3,r27                                 
ffc042dc:	48 01 2b dd 	bl      ffc16eb8 <strncpy>                     
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc042e0:	38 80 00 08 	li      r4,8                                   
ffc042e4:	38 7f 00 64 	addi    r3,r31,100                             
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
ffc042e8:	9b 81 01 6b 	stb     r28,363(r1)                            
                                                                      
    linkflag   = hdr_ptr[156];                                        
ffc042ec:	8b bf 00 9c 	lbz     r29,156(r31)                           
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
ffc042f0:	48 00 a0 95 	bl      ffc0e384 <_rtems_octal2ulong>          
ffc042f4:	7c 6f 1b 78 	mr      r15,r3                                 
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
ffc042f8:	38 80 00 0c 	li      r4,12                                  
ffc042fc:	38 7f 00 7c 	addi    r3,r31,124                             
ffc04300:	48 00 a0 85 	bl      ffc0e384 <_rtems_octal2ulong>          
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc04304:	38 80 00 08 	li      r4,8                                   
    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);               
ffc04308:	7c 78 1b 78 	mr      r24,r3                                 
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
ffc0430c:	38 7f 00 94 	addi    r3,r31,148                             
ffc04310:	48 00 a0 75 	bl      ffc0e384 <_rtems_octal2ulong>          
ffc04314:	7c 6e 1b 78 	mr      r14,r3                                 
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
ffc04318:	7f e3 fb 78 	mr      r3,r31                                 
ffc0431c:	48 00 a6 29 	bl      ffc0e944 <_rtems_tar_header_checksum>  
ffc04320:	7f 83 70 00 	cmpw    cr7,r3,r14                             
ffc04324:	40 9e 00 58 	bne-    cr7,ffc0437c <rtems_tarfs_load+0x1cc>  <== NEVER TAKEN
     * 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) {                                        
ffc04328:	2f 9d 00 35 	cmpwi   cr7,r29,53                             
ffc0432c:	40 9e ff 6c 	bne+    cr7,ffc04298 <rtems_tarfs_load+0xe8>   
      strcpy(full_filename, mountpoint);                              
ffc04330:	7e a3 ab 78 	mr      r3,r21                                 
ffc04334:	7e 64 9b 78 	mr      r4,r19                                 
ffc04338:	48 01 23 19 	bl      ffc16650 <stpcpy>                      
      if (full_filename[strlen(full_filename)-1] != '/')              
ffc0433c:	7d 35 1a 14 	add     r9,r21,r3                              
ffc04340:	7d 29 90 ae 	lbzx    r9,r9,r18                              
ffc04344:	2f 89 00 2f 	cmpwi   cr7,r9,47                              
ffc04348:	41 9e 00 08 	beq-    cr7,ffc04350 <rtems_tarfs_load+0x1a0>  <== ALWAYS TAKEN
        strcat(full_filename, "/");                                   
ffc0434c:	b2 03 00 00 	sth     r16,0(r3)                              <== NOT EXECUTED
      strcat(full_filename, filename);                                
ffc04350:	7f 64 db 78 	mr      r4,r27                                 
ffc04354:	7e a3 ab 78 	mr      r3,r21                                 
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc04358:	7f df f3 78 	mr      r31,r30                                
     */                                                               
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
      strcat(full_filename, filename);                                
ffc0435c:	48 01 23 61 	bl      ffc166bc <strcat>                      
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
ffc04360:	3b df 02 00 	addi    r30,r31,512                            
    if (linkflag == DIRTYPE) {                                        
      strcpy(full_filename, mountpoint);                              
      if (full_filename[strlen(full_filename)-1] != '/')              
        strcat(full_filename, "/");                                   
      strcat(full_filename, filename);                                
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
ffc04364:	7e a3 ab 78 	mr      r3,r21                                 
ffc04368:	38 80 01 ff 	li      r4,511                                 
ffc0436c:	48 00 13 ed 	bl      ffc05758 <mkdir>                       
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
ffc04370:	7f 9e b8 40 	cmplw   cr7,r30,r23                            
ffc04374:	7f da f3 78 	mr      r26,r30                                
ffc04378:	40 9d ff 3c 	ble+    cr7,ffc042b4 <rtems_tarfs_load+0x104>  <== ALWAYS TAKEN
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
   ) {                                                                
     rv = -1;                                                         
ffc0437c:	3b e0 00 00 	li      r31,0                                  
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_filesystem_location_free( &rootloc );                         
ffc04380:	38 61 01 a4 	addi    r3,r1,420                              
ffc04384:	48 00 0b f9 	bl      ffc04f7c <rtems_filesystem_location_free>
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc04388:	38 61 01 6c 	addi    r3,r1,364                              
ffc0438c:	48 00 27 19 	bl      ffc06aa4 <rtems_filesystem_eval_path_cleanup>
                                                                      
  return rv;                                                          
}                                                                     
ffc04390:	80 01 02 14 	lwz     r0,532(r1)                             
ffc04394:	7f e3 fb 78 	mr      r3,r31                                 
ffc04398:	81 c1 01 c8 	lwz     r14,456(r1)                            
ffc0439c:	7c 08 03 a6 	mtlr    r0                                     
ffc043a0:	81 e1 01 cc 	lwz     r15,460(r1)                            
ffc043a4:	82 01 01 d0 	lwz     r16,464(r1)                            
ffc043a8:	82 21 01 d4 	lwz     r17,468(r1)                            
ffc043ac:	82 41 01 d8 	lwz     r18,472(r1)                            
ffc043b0:	82 61 01 dc 	lwz     r19,476(r1)                            
ffc043b4:	82 81 01 e0 	lwz     r20,480(r1)                            
ffc043b8:	82 a1 01 e4 	lwz     r21,484(r1)                            
ffc043bc:	82 c1 01 e8 	lwz     r22,488(r1)                            
ffc043c0:	82 e1 01 ec 	lwz     r23,492(r1)                            
ffc043c4:	83 01 01 f0 	lwz     r24,496(r1)                            
ffc043c8:	83 21 01 f4 	lwz     r25,500(r1)                            
ffc043cc:	83 41 01 f8 	lwz     r26,504(r1)                            
ffc043d0:	83 61 01 fc 	lwz     r27,508(r1)                            
ffc043d4:	83 81 02 00 	lwz     r28,512(r1)                            
ffc043d8:	83 a1 02 04 	lwz     r29,516(r1)                            
ffc043dc:	83 c1 02 08 	lwz     r30,520(r1)                            
ffc043e0:	83 e1 02 0c 	lwz     r31,524(r1)                            
ffc043e4:	38 21 02 10 	addi    r1,r1,528                              
ffc043e8:	4e 80 00 20 	blr                                            
    }                                                                 
    /*                                                                
     * Create a LINEAR_FILE node                                      
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      rtems_filesystem_location_free( currentloc );                   
ffc043ec:	7e 83 a3 78 	mr      r3,r20                                 
ffc043f0:	48 00 0b 8d 	bl      ffc04f7c <rtems_filesystem_location_free>
      rtems_filesystem_location_clone( currentloc, &rootloc );        
ffc043f4:	38 81 01 a4 	addi    r4,r1,420                              
ffc043f8:	7e 83 a3 78 	mr      r3,r20                                 
ffc043fc:	48 00 07 41 	bl      ffc04b3c <rtems_filesystem_location_clone>
      rtems_filesystem_eval_path_set_path(                            
ffc04400:	7f 63 db 78 	mr      r3,r27                                 
ffc04404:	48 01 28 e1 	bl      ffc16ce4 <strlen>                      
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char *path,                                                   
  size_t pathlen                                                      
)                                                                     
{                                                                     
  ctx->path = path;                                                   
ffc04408:	93 61 01 6c 	stw     r27,364(r1)                            
  ctx->pathlen = pathlen;                                             
ffc0440c:	90 61 01 70 	stw     r3,368(r1)                             
        &ctx,                                                         
        filename,                                                     
        strlen( filename )                                            
      );                                                              
      rtems_filesystem_eval_path_continue( &ctx );                    
ffc04410:	38 61 01 6c 	addi    r3,r1,364                              
ffc04414:	48 00 22 fd 	bl      ffc06710 <rtems_filesystem_eval_path_continue>
                                                                      
      if ( !rtems_filesystem_location_is_null( currentloc ) ) {       
ffc04418:	81 34 00 10 	lwz     r9,16(r20)                             
ffc0441c:	7f 89 88 00 	cmpw    cr7,r9,r17                             
ffc04420:	41 9e 00 3c 	beq-    cr7,ffc0445c <rtems_tarfs_load+0x2ac>  <== NEVER TAKEN
  size_t namelen,                                                     
  mode_t mode,                                                        
  const IMFS_types_union *info                                        
)                                                                     
{                                                                     
  const IMFS_fs_info_t *fs_info =                                     
ffc04424:	81 34 00 14 	lwz     r9,20(r20)                             
        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,      
ffc04428:	55 e7 05 fe 	clrlwi  r7,r15,23                              
    (const IMFS_fs_info_t *) parentloc->mt_entry->fs_info;            
                                                                      
  return IMFS_create_node_with_control(                               
ffc0442c:	80 a1 01 74 	lwz     r5,372(r1)                             
ffc04430:	7e 83 a3 78 	mr      r3,r20                                 
ffc04434:	81 29 00 08 	lwz     r9,8(r9)                               
ffc04438:	60 e7 80 00 	ori     r7,r7,32768                            
ffc0443c:	80 c1 01 78 	lwz     r6,376(r1)                             
ffc04440:	39 00 00 00 	li      r8,0                                   
ffc04444:	80 89 00 1c 	lwz     r4,28(r9)                              
ffc04448:	48 00 a8 91 	bl      ffc0ecd8 <IMFS_create_node_with_control>
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
ffc0444c:	7d 39 d2 14 	add     r9,r25,r26                             
          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;                     
ffc04450:	93 03 00 54 	stw     r24,84(r3)                             
ffc04454:	93 83 00 50 	stw     r28,80(r3)                             
        node->info.linearfile.direct = &tar_image[offset];            
ffc04458:	91 23 00 58 	stw     r9,88(r3)                              
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
ffc0445c:	3b f8 01 ff 	addi    r31,r24,511                            
      offset += 512 * nblocks;                                        
ffc04460:	57 ff 00 2c 	rlwinm  r31,r31,0,0,22                         
ffc04464:	7f ff d2 14 	add     r31,r31,r26                            
ffc04468:	4b ff fe 3c 	b       ffc042a4 <rtems_tarfs_load+0xf4>       
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
   ) {                                                                
     rv = -1;                                                         
ffc0446c:	3b e0 ff ff 	li      r31,-1                                 
ffc04470:	4b ff ff 10 	b       ffc04380 <rtems_tarfs_load+0x1d0>      
                                                                      

ffc14a14 <rtems_task_mode>: ASR_Information *asr; bool is_asr_enabled = false; bool needs_asr_dispatching = false; rtems_mode old_mode; if ( !previous_mode_set )
ffc14a14:	2c 05 00 00 	cmpwi   r5,0                                   
rtems_status_code rtems_task_mode(                                    
  rtems_mode  mode_set,                                               
  rtems_mode  mask,                                                   
  rtems_mode *previous_mode_set                                       
)                                                                     
{                                                                     
ffc14a18:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc14a1c:	7c 08 02 a6 	mflr    r0                                     
ffc14a20:	90 01 00 0c 	stw     r0,12(r1)                              
  ASR_Information    *asr;                                            
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
ffc14a24:	41 82 01 b4 	beq-    ffc14bd8 <rtems_task_mode+0x1c4>       
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
ffc14a28:	3d 60 00 00 	lis     r11,0                                  
ffc14a2c:	39 6b 2e 40 	addi    r11,r11,11840                          
ffc14a30:	81 2b 00 10 	lwz     r9,16(r11)                             
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc14a34:	81 49 00 78 	lwz     r10,120(r9)                            
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc14a38:	88 e9 00 70 	lbz     r7,112(r9)                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc14a3c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
ffc14a40:	81 49 01 48 	lwz     r10,328(r9)                            
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
ffc14a44:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc14a48:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc14a4c:	54 e6 40 2e 	rlwinm  r6,r7,8,0,23                           
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
ffc14a50:	40 9e 01 08 	bne-    cr7,ffc14b58 <rtems_task_mode+0x144>   
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc14a54:	88 ea 00 08 	lbz     r7,8(r10)                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc14a58:	39 00 00 00 	li      r8,0                                   
ffc14a5c:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc14a60:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc14a64:	54 e7 50 2a 	rlwinm  r7,r7,10,0,21                          
ffc14a68:	7c e6 33 78 	or      r6,r7,r6                               
ffc14a6c:	7d 00 00 a6 	mfmsr   r8                                     
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc14a70:	70 87 01 00 	andi.   r7,r4,256                              
  if (msr & MSR_EE) return 0;                                         
ffc14a74:	69 08 80 00 	xori    r8,r8,32768                            
ffc14a78:	55 08 8f fe 	rlwinm  r8,r8,17,31,31                         
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
ffc14a7c:	7c c6 43 78 	or      r6,r6,r8                               
                                                                      
  *previous_mode_set = old_mode;                                      
ffc14a80:	90 c5 00 00 	stw     r6,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc14a84:	41 82 00 10 	beq-    ffc14a94 <rtems_task_mode+0x80>        
ffc14a88:	68 68 01 00 	xori    r8,r3,256                              
ffc14a8c:	55 08 c7 fe 	rlwinm  r8,r8,24,31,31                         
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
ffc14a90:	99 09 00 70 	stb     r8,112(r9)                             
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
ffc14a94:	70 88 02 00 	andi.   r8,r4,512                              
ffc14a98:	41 82 00 20 	beq-    ffc14ab8 <rtems_task_mode+0xa4>        
    if ( _Modes_Is_timeslice(mode_set) ) {                            
ffc14a9c:	70 68 02 00 	andi.   r8,r3,512                              
ffc14aa0:	41 82 01 4c 	beq-    ffc14bec <rtems_task_mode+0x1d8>       
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc14aa4:	3d 00 00 00 	lis     r8,0                                   
ffc14aa8:	81 08 27 b8 	lwz     r8,10168(r8)                           
  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;
ffc14aac:	38 e0 00 01 	li      r7,1                                   
ffc14ab0:	90 e9 00 78 	stw     r7,120(r9)                             
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
ffc14ab4:	91 09 00 74 	stw     r8,116(r9)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc14ab8:	70 89 00 01 	andi.   r9,r4,1                                
ffc14abc:	41 82 00 20 	beq-    ffc14adc <rtems_task_mode+0xc8>        
}                                                                     
                                                                      
static inline void _CPU_ISR_Set_level( uint32_t   level )             
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc14ac0:	39 20 00 00 	li      r9,0                                   
ffc14ac4:	7d 20 00 a6 	mfmsr   r9                                     
                                                                      
static inline uint32_t ppc_interrupt_get_disable_mask( void )         
{                                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc14ac8:	7d 10 42 a6 	mfsprg  r8,0                                   
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
ffc14acc:	70 67 00 01 	andi.   r7,r3,1                                
ffc14ad0:	40 82 01 2c 	bne-    ffc14bfc <rtems_task_mode+0x1e8>       
    msr |= ppc_interrupt_get_disable_mask();                          
ffc14ad4:	7d 09 4b 78 	or      r9,r8,r9                               
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc14ad8:	7d 20 01 24 	mtmsr   r9                                     
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc14adc:	70 88 04 00 	andi.   r8,r4,1024                             
                                                                      
  /*                                                                  
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
ffc14ae0:	39 00 00 00 	li      r8,0                                   
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
ffc14ae4:	41 82 00 50 	beq-    ffc14b34 <rtems_task_mode+0x120>       
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
ffc14ae8:	68 63 04 00 	xori    r3,r3,1024                             
    if ( is_asr_enabled != asr->is_enabled ) {                        
ffc14aec:	89 2a 00 08 	lbz     r9,8(r10)                              
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
ffc14af0:	54 63 b7 fe 	rlwinm  r3,r3,22,31,31                         
    if ( is_asr_enabled != asr->is_enabled ) {                        
ffc14af4:	7f 89 18 00 	cmpw    cr7,r9,r3                              
ffc14af8:	41 9e 00 3c 	beq-    cr7,ffc14b34 <rtems_task_mode+0x120>   
      asr->is_enabled = is_asr_enabled;                               
ffc14afc:	98 6a 00 08 	stb     r3,8(r10)                              
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc14b00:	7d 00 00 a6 	mfmsr   r8                                     
ffc14b04:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc14b08:	7d 09 48 78 	andc    r9,r8,r9                               
ffc14b0c:	7d 20 01 24 	mtmsr   r9                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
ffc14b10:	81 2a 00 18 	lwz     r9,24(r10)                             
    information->signals_pending = information->signals_posted;       
ffc14b14:	80 ea 00 14 	lwz     r7,20(r10)                             
    information->signals_posted  = _signals;                          
ffc14b18:	91 2a 00 14 	stw     r9,20(r10)                             
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
ffc14b1c:	90 ea 00 18 	stw     r7,24(r10)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc14b20:	7d 00 01 24 	mtmsr   r8                                     
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
ffc14b24:	81 0a 00 14 	lwz     r8,20(r10)                             
ffc14b28:	7d 08 00 34 	cntlzw  r8,r8                                  
ffc14b2c:	55 08 d9 7e 	rlwinm  r8,r8,27,5,31                          
ffc14b30:	69 08 00 01 	xori    r8,r8,1                                
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc14b34:	3d 20 00 00 	lis     r9,0                                   
ffc14b38:	81 29 27 e4 	lwz     r9,10212(r9)                           
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc14b3c:	38 60 00 00 	li      r3,0                                   
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
ffc14b40:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc14b44:	41 9e 00 50 	beq-    cr7,ffc14b94 <rtems_task_mode+0x180>   
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc14b48:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc14b4c:	38 21 00 08 	addi    r1,r1,8                                
ffc14b50:	7c 08 03 a6 	mtlr    r0                                     
ffc14b54:	4e 80 00 20 	blr                                            
  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;           
ffc14b58:	88 ea 00 08 	lbz     r7,8(r10)                              
  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;                                      
ffc14b5c:	60 c6 02 00 	ori     r6,r6,512                              
#ifndef ASM                                                           
                                                                      
static inline uint32_t   _CPU_ISR_Get_level( void )                   
{                                                                     
  register unsigned int msr;                                          
  _CPU_MSR_GET(msr);                                                  
ffc14b60:	39 00 00 00 	li      r8,0                                   
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
ffc14b64:	7c e7 00 34 	cntlzw  r7,r7                                  
ffc14b68:	54 e7 d9 7e 	rlwinm  r7,r7,27,5,31                          
ffc14b6c:	54 e7 50 2a 	rlwinm  r7,r7,10,0,21                          
ffc14b70:	7c e6 33 78 	or      r6,r7,r6                               
ffc14b74:	7d 00 00 a6 	mfmsr   r8                                     
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc14b78:	70 87 01 00 	andi.   r7,r4,256                              
  if (msr & MSR_EE) return 0;                                         
ffc14b7c:	69 08 80 00 	xori    r8,r8,32768                            
ffc14b80:	55 08 8f fe 	rlwinm  r8,r8,17,31,31                         
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
  old_mode |= _ISR_Get_level();                                       
ffc14b84:	7c c6 43 78 	or      r6,r6,r8                               
                                                                      
  *previous_mode_set = old_mode;                                      
ffc14b88:	90 c5 00 00 	stw     r6,0(r5)                               
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
ffc14b8c:	41 a2 ff 08 	beq-    ffc14a94 <rtems_task_mode+0x80>        
ffc14b90:	4b ff fe f8 	b       ffc14a88 <rtems_task_mode+0x74>        
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
ffc14b94:	2f 88 00 00 	cmpwi   cr7,r8,0                               
  bool are_signals_pending                                            
)                                                                     
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
ffc14b98:	81 2b 00 10 	lwz     r9,16(r11)                             
                                                                      
  if ( are_signals_pending ||                                         
ffc14b9c:	40 9e 00 1c 	bne-    cr7,ffc14bb8 <rtems_task_mode+0x1a4>   
ffc14ba0:	81 4b 00 14 	lwz     r10,20(r11)                            
ffc14ba4:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc14ba8:	41 be ff a0 	beq-    cr7,ffc14b48 <rtems_task_mode+0x134>   
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
ffc14bac:	89 29 00 70 	lbz     r9,112(r9)                             
ffc14bb0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc14bb4:	41 be ff 94 	beq-    cr7,ffc14b48 <rtems_task_mode+0x134>   <== NEVER TAKEN
    _Thread_Dispatch_necessary = true;                                
ffc14bb8:	39 20 00 01 	li      r9,1                                   
ffc14bbc:	99 2b 00 0c 	stb     r9,12(r11)                             
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
ffc14bc0:	4b ff 92 59 	bl      ffc0de18 <_Thread_Dispatch>            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
ffc14bc4:	38 60 00 00 	li      r3,0                                   
}                                                                     
ffc14bc8:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc14bcc:	38 21 00 08 	addi    r1,r1,8                                
ffc14bd0:	7c 08 03 a6 	mtlr    r0                                     
ffc14bd4:	4e 80 00 20 	blr                                            
ffc14bd8:	80 01 00 0c 	lwz     r0,12(r1)                              
  bool                is_asr_enabled = false;                         
  bool                needs_asr_dispatching = false;                  
  rtems_mode          old_mode;                                       
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
ffc14bdc:	38 60 00 09 	li      r3,9                                   
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc14be0:	7c 08 03 a6 	mtlr    r0                                     
ffc14be4:	38 21 00 08 	addi    r1,r1,8                                
ffc14be8:	4e 80 00 20 	blr                                            
  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;      
    } else                                                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE; 
ffc14bec:	91 09 00 78 	stw     r8,120(r9)                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
ffc14bf0:	70 89 00 01 	andi.   r9,r4,1                                
ffc14bf4:	41 a2 fe e8 	beq-    ffc14adc <rtems_task_mode+0xc8>        
ffc14bf8:	4b ff fe c8 	b       ffc14ac0 <rtems_task_mode+0xac>        
  _CPU_MSR_GET(msr);                                                  
  if (!(level & CPU_MODES_INTERRUPT_MASK)) {                          
    msr |= ppc_interrupt_get_disable_mask();                          
  }                                                                   
  else {                                                              
    msr &= ~ppc_interrupt_get_disable_mask();                         
ffc14bfc:	7d 29 40 78 	andc    r9,r9,r8                               
  }                                                                   
  _CPU_MSR_SET(msr);                                                  
ffc14c00:	7d 20 01 24 	mtmsr   r9                                     
 */                                                                   
RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (                
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );           
ffc14c04:	4b ff fe d8 	b       ffc14adc <rtems_task_mode+0xc8>        
                                                                      

ffc0f188 <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
ffc0f188:	7d 80 00 26 	mfcr    r12                                    
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0f18c:	2e 04 00 00 	cmpwi   cr4,r4,0                               
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
ffc0f190:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc0f194:	7c 08 02 a6 	mflr    r0                                     
ffc0f198:	93 e1 00 24 	stw     r31,36(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0f19c:	7c 9f 23 78 	mr      r31,r4                                 
rtems_status_code rtems_task_set_priority(                            
  rtems_id             id,                                            
  rtems_task_priority  new_priority,                                  
  rtems_task_priority *old_priority                                   
)                                                                     
{                                                                     
ffc0f1a0:	90 01 00 2c 	stw     r0,44(r1)                              
ffc0f1a4:	91 81 00 20 	stw     r12,32(r1)                             
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
ffc0f1a8:	41 92 00 18 	beq-    cr4,ffc0f1c0 <rtems_task_set_priority+0x38>
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 ) );             
ffc0f1ac:	3d 20 00 00 	lis     r9,0                                   
ffc0f1b0:	89 49 27 04 	lbz     r10,9988(r9)                           
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
ffc0f1b4:	39 20 00 13 	li      r9,19                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
ffc0f1b8:	7f 84 50 40 	cmplw   cr7,r4,r10                             
ffc0f1bc:	41 9d 00 68 	bgt-    cr7,ffc0f224 <rtems_task_set_priority+0x9c>
                                                                      
  if ( !old_priority )                                                
ffc0f1c0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
    return RTEMS_INVALID_ADDRESS;                                     
ffc0f1c4:	39 20 00 09 	li      r9,9                                   
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
ffc0f1c8:	41 9e 00 5c 	beq-    cr7,ffc0f224 <rtems_task_set_priority+0x9c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
ffc0f1cc:	38 81 00 08 	addi    r4,r1,8                                
ffc0f1d0:	90 a1 00 18 	stw     r5,24(r1)                              
ffc0f1d4:	48 00 2c 4d 	bl      ffc11e20 <_Thread_Get>                 
  switch ( location ) {                                               
ffc0f1d8:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0f1dc:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc0f1e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f1e4:	40 9e 00 60 	bne-    cr7,ffc0f244 <rtems_task_set_priority+0xbc>
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
ffc0f1e8:	81 23 00 14 	lwz     r9,20(r3)                              
ffc0f1ec:	91 25 00 00 	stw     r9,0(r5)                               
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
ffc0f1f0:	41 92 00 2c 	beq-    cr4,ffc0f21c <rtems_task_set_priority+0x94>
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
ffc0f1f4:	81 23 00 1c 	lwz     r9,28(r3)                              
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
        the_thread->real_priority = new_priority;                     
ffc0f1f8:	93 e3 00 18 	stw     r31,24(r3)                             
        if ( the_thread->resource_count == 0 ||                       
ffc0f1fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0f200:	41 9e 00 10 	beq-    cr7,ffc0f210 <rtems_task_set_priority+0x88>
ffc0f204:	81 23 00 14 	lwz     r9,20(r3)                              
ffc0f208:	7f 9f 48 40 	cmplw   cr7,r31,r9                             
ffc0f20c:	40 9c 00 10 	bge-    cr7,ffc0f21c <rtems_task_set_priority+0x94><== ALWAYS TAKEN
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
ffc0f210:	7f e4 fb 78 	mr      r4,r31                                 
ffc0f214:	38 a0 00 00 	li      r5,0                                   
ffc0f218:	48 00 25 61 	bl      ffc11778 <_Thread_Change_priority>     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc0f21c:	48 00 2b e9 	bl      ffc11e04 <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc0f220:	39 20 00 00 	li      r9,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc0f224:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc0f228:	7d 23 4b 78 	mr      r3,r9                                  
ffc0f22c:	81 81 00 20 	lwz     r12,32(r1)                             
ffc0f230:	7c 08 03 a6 	mtlr    r0                                     
ffc0f234:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f238:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0f23c:	38 21 00 28 	addi    r1,r1,40                               
ffc0f240:	4e 80 00 20 	blr                                            
ffc0f244:	80 01 00 2c 	lwz     r0,44(r1)                              
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc0f248:	39 20 00 04 	li      r9,4                                   
}                                                                     
ffc0f24c:	81 81 00 20 	lwz     r12,32(r1)                             
ffc0f250:	7d 23 4b 78 	mr      r3,r9                                  
ffc0f254:	7c 08 03 a6 	mtlr    r0                                     
ffc0f258:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0f25c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc0f260:	38 21 00 28 	addi    r1,r1,40                               
ffc0f264:	4e 80 00 20 	blr                                            
                                                                      

ffc0874c <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
ffc0874c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08750:	7c 08 02 a6 	mflr    r0                                     
ffc08754:	93 e1 00 1c 	stw     r31,28(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc08758:	7c 9f 23 79 	mr.     r31,r4                                 
                                                                      
rtems_status_code rtems_task_variable_delete(                         
  rtems_id  tid,                                                      
  void    **ptr                                                       
)                                                                     
{                                                                     
ffc0875c:	90 01 00 24 	stw     r0,36(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
ffc08760:	41 82 00 74 	beq-    ffc087d4 <rtems_task_variable_delete+0x88>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc08764:	38 81 00 08 	addi    r4,r1,8                                
ffc08768:	48 00 25 55 	bl      ffc0acbc <_Thread_Get>                 
  switch (location) {                                                 
ffc0876c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc08770:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08774:	40 9e 00 48 	bne-    cr7,ffc087bc <rtems_task_variable_delete+0x70>
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
ffc08778:	81 23 01 54 	lwz     r9,340(r3)                             
      while (tvp) {                                                   
ffc0877c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08780:	41 9e 00 30 	beq-    cr7,ffc087b0 <rtems_task_variable_delete+0x64>
        if (tvp->ptr == ptr) {                                        
ffc08784:	81 49 00 04 	lwz     r10,4(r9)                              
ffc08788:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0878c:	40 be 00 18 	bne+    cr7,ffc087a4 <rtems_task_variable_delete+0x58>
ffc08790:	48 00 00 74 	b       ffc08804 <rtems_task_variable_delete+0xb8>
ffc08794:	81 44 00 04 	lwz     r10,4(r4)                              
ffc08798:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0879c:	41 9e 00 50 	beq-    cr7,ffc087ec <rtems_task_variable_delete+0xa0>
ffc087a0:	7c 89 23 78 	mr      r9,r4                                  
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
ffc087a4:	80 89 00 00 	lwz     r4,0(r9)                               
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
ffc087a8:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc087ac:	40 9e ff e8 	bne+    cr7,ffc08794 <rtems_task_variable_delete+0x48><== ALWAYS TAKEN
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc087b0:	48 00 24 f1 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc087b4:	38 60 00 09 	li      r3,9                                   
ffc087b8:	48 00 00 08 	b       ffc087c0 <rtems_task_variable_delete+0x74>
                                                                      
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc087bc:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc087c0:	80 01 00 24 	lwz     r0,36(r1)                              
ffc087c4:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc087c8:	7c 08 03 a6 	mtlr    r0                                     
ffc087cc:	38 21 00 20 	addi    r1,r1,32                               
ffc087d0:	4e 80 00 20 	blr                                            
ffc087d4:	80 01 00 24 	lwz     r0,36(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc087d8:	38 60 00 09 	li      r3,9                                   
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc087dc:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc087e0:	7c 08 03 a6 	mtlr    r0                                     
ffc087e4:	38 21 00 20 	addi    r1,r1,32                               
ffc087e8:	4e 80 00 20 	blr                                            
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
ffc087ec:	81 44 00 00 	lwz     r10,0(r4)                              
ffc087f0:	91 49 00 00 	stw     r10,0(r9)                              
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
ffc087f4:	48 00 00 dd 	bl      ffc088d0 <_RTEMS_Tasks_Invoke_task_variable_dtor>
          _Thread_Enable_dispatch();                                  
ffc087f8:	48 00 24 a9 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc087fc:	38 60 00 00 	li      r3,0                                   
ffc08800:	4b ff ff c0 	b       ffc087c0 <rtems_task_variable_delete+0x74>
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
ffc08804:	81 49 00 00 	lwz     r10,0(r9)                              
ffc08808:	7d 24 4b 78 	mr      r4,r9                                  
ffc0880c:	91 43 01 54 	stw     r10,340(r3)                            
ffc08810:	4b ff ff e4 	b       ffc087f4 <rtems_task_variable_delete+0xa8>
                                                                      

ffc08814 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
ffc08814:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc08818:	7c 08 02 a6 	mflr    r0                                     
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc0881c:	39 20 00 09 	li      r9,9                                   
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
ffc08820:	93 e1 00 24 	stw     r31,36(r1)                             
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc08824:	7c 9f 23 79 	mr.     r31,r4                                 
rtems_status_code rtems_task_variable_get(                            
  rtems_id tid,                                                       
  void **ptr,                                                         
  void **result                                                       
)                                                                     
{                                                                     
ffc08828:	90 01 00 2c 	stw     r0,44(r1)                              
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
ffc0882c:	41 82 00 64 	beq-    ffc08890 <rtems_task_variable_get+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
ffc08830:	2f 85 00 00 	cmpwi   cr7,r5,0                               
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
    return RTEMS_INVALID_ADDRESS;                                     
ffc08834:	39 20 00 09 	li      r9,9                                   
                                                                      
  if ( !result )                                                      
ffc08838:	41 9e 00 58 	beq-    cr7,ffc08890 <rtems_task_variable_get+0x7c>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
ffc0883c:	38 81 00 08 	addi    r4,r1,8                                
ffc08840:	90 a1 00 18 	stw     r5,24(r1)                              
ffc08844:	48 00 24 79 	bl      ffc0acbc <_Thread_Get>                 
  switch (location) {                                                 
ffc08848:	81 21 00 08 	lwz     r9,8(r1)                               
ffc0884c:	80 a1 00 18 	lwz     r5,24(r1)                              
ffc08850:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08854:	40 9e 00 54 	bne-    cr7,ffc088a8 <rtems_task_variable_get+0x94>
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
ffc08858:	81 23 01 54 	lwz     r9,340(r3)                             
      while (tvp) {                                                   
ffc0885c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08860:	40 be 00 14 	bne+    cr7,ffc08874 <rtems_task_variable_get+0x60>
ffc08864:	48 00 00 60 	b       ffc088c4 <rtems_task_variable_get+0xb0>
	   */                                                                
          *result = tvp->tval;                                        
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
ffc08868:	81 29 00 00 	lwz     r9,0(r9)                               
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
ffc0886c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08870:	41 9e 00 54 	beq-    cr7,ffc088c4 <rtems_task_variable_get+0xb0><== NEVER TAKEN
        if (tvp->ptr == ptr) {                                        
ffc08874:	81 49 00 04 	lwz     r10,4(r9)                              
ffc08878:	7f 8a f8 00 	cmpw    cr7,r10,r31                            
ffc0887c:	40 9e ff ec 	bne+    cr7,ffc08868 <rtems_task_variable_get+0x54>
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
ffc08880:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc08884:	91 25 00 00 	stw     r9,0(r5)                               
          _Thread_Enable_dispatch();                                  
ffc08888:	48 00 24 19 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
          return RTEMS_SUCCESSFUL;                                    
ffc0888c:	39 20 00 00 	li      r9,0                                   
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc08890:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc08894:	7d 23 4b 78 	mr      r3,r9                                  
ffc08898:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc0889c:	7c 08 03 a6 	mtlr    r0                                     
ffc088a0:	38 21 00 28 	addi    r1,r1,40                               
ffc088a4:	4e 80 00 20 	blr                                            
ffc088a8:	80 01 00 2c 	lwz     r0,44(r1)                              
#endif                                                                
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
ffc088ac:	39 20 00 04 	li      r9,4                                   
}                                                                     
ffc088b0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc088b4:	7d 23 4b 78 	mr      r3,r9                                  
ffc088b8:	7c 08 03 a6 	mtlr    r0                                     
ffc088bc:	38 21 00 28 	addi    r1,r1,40                               
ffc088c0:	4e 80 00 20 	blr                                            
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
ffc088c4:	48 00 23 dd 	bl      ffc0aca0 <_Thread_Enable_dispatch>     
      return RTEMS_INVALID_ADDRESS;                                   
ffc088c8:	39 20 00 09 	li      r9,9                                   
ffc088cc:	4b ff ff c4 	b       ffc08890 <rtems_task_variable_get+0x7c>
                                                                      

ffc08104 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
ffc08104:	2f 83 00 09 	cmpwi   cr7,r3,9                               
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
ffc08108:	39 20 00 09 	li      r9,9                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0810c:	41 9e 00 50 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08110:	2b 83 00 09 	cmplwi  cr7,r3,9                               
ffc08114:	40 9d 00 50 	ble-    cr7,ffc08164 <rtems_termios_baud_to_index+0x60>
ffc08118:	2f 83 00 0e 	cmpwi   cr7,r3,14                              
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
ffc0811c:	39 20 00 0e 	li      r9,14                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08120:	41 9e 00 3c 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08124:	2b 83 00 0e 	cmplwi  cr7,r3,14                              
ffc08128:	40 9d 00 88 	ble-    cr7,ffc081b0 <rtems_termios_baud_to_index+0xac>
ffc0812c:	2f 83 10 02 	cmpwi   cr7,r3,4098                            
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
ffc08130:	39 20 00 11 	li      r9,17                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08134:	41 9e 00 28 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08138:	2b 83 10 02 	cmplwi  cr7,r3,4098                            
ffc0813c:	40 9d 00 e4 	ble-    cr7,ffc08220 <rtems_termios_baud_to_index+0x11c>
ffc08140:	2f 83 10 03 	cmpwi   cr7,r3,4099                            
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
ffc08144:	39 20 00 12 	li      r9,18                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08148:	41 9e 00 14 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc0814c:	2f 83 10 04 	cmpwi   cr7,r3,4100                            
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
    case B115200:   baud_index = 17;  break;                          
    case B230400:   baud_index = 18;  break;                          
    case B460800:   baud_index = 19;  break;                          
ffc08150:	39 20 00 13 	li      r9,19                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08154:	41 9e 00 08 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
    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;                          
ffc08158:	39 20 ff ff 	li      r9,-1                                  
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
ffc0815c:	7d 23 4b 78 	mr      r3,r9                                  
ffc08160:	4e 80 00 20 	blr                                            
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08164:	2f 83 00 04 	cmpwi   cr7,r3,4                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
ffc08168:	39 20 00 04 	li      r9,4                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0816c:	41 be ff f0 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08170:	2b 83 00 04 	cmplwi  cr7,r3,4                               
ffc08174:	40 9d 00 74 	ble-    cr7,ffc081e8 <rtems_termios_baud_to_index+0xe4>
ffc08178:	2f 83 00 06 	cmpwi   cr7,r3,6                               
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
ffc0817c:	39 20 00 06 	li      r9,6                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08180:	41 be ff dc 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08184:	2b 83 00 06 	cmplwi  cr7,r3,6                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
ffc08188:	39 20 00 05 	li      r9,5                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc0818c:	41 bc ff d0 	blt-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08190:	2f 83 00 07 	cmpwi   cr7,r3,7                               
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
ffc08194:	39 20 00 07 	li      r9,7                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08198:	41 be ff c4 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc0819c:	2f 83 00 08 	cmpwi   cr7,r3,8                               
    case B110:      baud_index =  3;  break;                          
    case B134:      baud_index =  4;  break;                          
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
ffc081a0:	39 20 00 08 	li      r9,8                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081a4:	41 be ff b8 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58><== ALWAYS TAKEN
    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;                          
ffc081a8:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc081ac:	4b ff ff b0 	b       ffc0815c <rtems_termios_baud_to_index+0x58><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081b0:	2f 83 00 0b 	cmpwi   cr7,r3,11                              
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
ffc081b4:	39 20 00 0b 	li      r9,11                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081b8:	41 be ff a4 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc081bc:	2b 83 00 0b 	cmplwi  cr7,r3,11                              
    case B150:      baud_index =  5;  break;                          
    case B200:      baud_index =  6;  break;                          
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
ffc081c0:	39 20 00 0a 	li      r9,10                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081c4:	41 bc ff 98 	blt-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc081c8:	2f 83 00 0c 	cmpwi   cr7,r3,12                              
    case B300:      baud_index =  7;  break;                          
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
ffc081cc:	39 20 00 0c 	li      r9,12                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081d0:	41 be ff 8c 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc081d4:	2f 83 00 0d 	cmpwi   cr7,r3,13                              
    case B600:      baud_index =  8;  break;                          
    case B1200:     baud_index =  9;  break;                          
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
ffc081d8:	39 20 00 0d 	li      r9,13                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081dc:	41 be ff 80 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58><== ALWAYS TAKEN
    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;                          
ffc081e0:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc081e4:	4b ff ff 78 	b       ffc0815c <rtems_termios_baud_to_index+0x58><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081e8:	2f 83 00 01 	cmpwi   cr7,r3,1                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
ffc081ec:	39 20 00 01 	li      r9,1                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081f0:	41 be ff 6c 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc081f4:	2b 83 00 01 	cmplwi  cr7,r3,1                               
    case B0:        baud_index =  0;  break;                          
ffc081f8:	39 20 00 00 	li      r9,0                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc081fc:	41 bc ff 60 	blt-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc08200:	2f 83 00 02 	cmpwi   cr7,r3,2                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
ffc08204:	39 20 00 02 	li      r9,2                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08208:	41 be ff 54 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc0820c:	2f 83 00 03 	cmpwi   cr7,r3,3                               
    case B0:        baud_index =  0;  break;                          
    case B50:       baud_index =  1;  break;                          
    case B75:       baud_index =  2;  break;                          
    case B110:      baud_index =  3;  break;                          
ffc08210:	39 20 00 03 	li      r9,3                                   
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08214:	41 be ff 48 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58><== ALWAYS TAKEN
    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;                          
ffc08218:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc0821c:	4b ff ff 40 	b       ffc0815c <rtems_termios_baud_to_index+0x58><== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08220:	2f 83 00 0f 	cmpwi   cr7,r3,15                              
    case B1800:     baud_index = 10;  break;                          
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
ffc08224:	39 20 00 0f 	li      r9,15                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08228:	41 be ff 34 	beq-    cr7,ffc0815c <rtems_termios_baud_to_index+0x58>
ffc0822c:	2f 83 10 01 	cmpwi   cr7,r3,4097                            
    case B2400:     baud_index = 11;  break;                          
    case B4800:     baud_index = 12;  break;                          
    case B9600:     baud_index = 13;  break;                          
    case B19200:    baud_index = 14;  break;                          
    case B38400:    baud_index = 15;  break;                          
    case B57600:    baud_index = 16;  break;                          
ffc08230:	39 20 00 10 	li      r9,16                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
ffc08234:	40 9e ff 24 	bne+    cr7,ffc08158 <rtems_termios_baud_to_index+0x54><== NEVER TAKEN
ffc08238:	4b ff ff 24 	b       ffc0815c <rtems_termios_baud_to_index+0x58>
                                                                      

ffc0732c <rtems_termios_close>: rtems_interrupt_enable (level); } rtems_status_code rtems_termios_close (void *arg) {
ffc0732c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc07330:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc07334:	38 80 00 00 	li      r4,0                                   
  rtems_interrupt_enable (level);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc07338:	90 01 00 1c 	stw     r0,28(r1)                              
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc0733c:	38 a0 00 00 	li      r5,0                                   
  rtems_interrupt_enable (level);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc07340:	93 c1 00 10 	stw     r30,16(r1)                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc07344:	3f c0 00 00 	lis     r30,0                                  
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc07348:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_interrupt_enable (level);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc0734c:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc07350:	7c 7d 1b 78 	mr      r29,r3                                 
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc07354:	80 7e 28 14 	lwz     r3,10260(r30)                          
  rtems_interrupt_enable (level);                                     
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
ffc07358:	93 e1 00 14 	stw     r31,20(r1)                             
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc0735c:	83 e9 00 30 	lwz     r31,48(r9)                             
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
ffc07360:	48 00 26 c1 	bl      ffc09a20 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc07364:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07368:	40 9e 01 ac 	bne-    cr7,ffc07514 <rtems_termios_close+0x1e8><== NEVER TAKEN
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
ffc0736c:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc07370:	39 29 ff ff 	addi    r9,r9,-1                               
ffc07374:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07378:	91 3f 00 08 	stw     r9,8(r31)                              
ffc0737c:	40 9e 00 d0 	bne-    cr7,ffc0744c <rtems_termios_close+0x120>
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc07380:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc07384:	3d 40 00 00 	lis     r10,0                                  
ffc07388:	39 4a 28 c0 	addi    r10,r10,10432                          
ffc0738c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07390:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc07394:	81 29 00 04 	lwz     r9,4(r9)                               
ffc07398:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0739c:	41 9e 01 10 	beq-    cr7,ffc074ac <rtems_termios_close+0x180>
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc073a0:	7d 29 03 a6 	mtctr   r9                                     
ffc073a4:	7f e3 fb 78 	mr      r3,r31                                 
ffc073a8:	4e 80 04 21 	bctrl                                          
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc073ac:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc073b0:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc073b4:	41 9e 01 38 	beq-    cr7,ffc074ec <rtems_termios_close+0x1c0><== NEVER TAKEN
        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)                                        
ffc073b8:	81 3f 00 9c 	lwz     r9,156(r31)                            
ffc073bc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc073c0:	41 9e 00 18 	beq-    cr7,ffc073d8 <rtems_termios_close+0xac><== ALWAYS TAKEN
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
ffc073c4:	80 7f 00 0c 	lwz     r3,12(r31)                             <== NOT EXECUTED
ffc073c8:	7f a5 eb 78 	mr      r5,r29                                 <== NOT EXECUTED
ffc073cc:	80 9f 00 10 	lwz     r4,16(r31)                             <== NOT EXECUTED
ffc073d0:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc073d4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
ffc073d8:	81 3f 00 00 	lwz     r9,0(r31)                              
      rtems_termios_ttyTail = tty->back;                              
ffc073dc:	81 5f 00 04 	lwz     r10,4(r31)                             
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
ffc073e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc073e4:	41 9e 00 ac 	beq-    cr7,ffc07490 <rtems_termios_close+0x164>
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
ffc073e8:	91 49 00 04 	stw     r10,4(r9)                              
ffc073ec:	81 5f 00 04 	lwz     r10,4(r31)                             
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
ffc073f0:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc073f4:	41 9e 00 8c 	beq-    cr7,ffc07480 <rtems_termios_close+0x154><== ALWAYS TAKEN
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
ffc073f8:	91 2a 00 00 	stw     r9,0(r10)                              <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
ffc073fc:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc07400:	48 00 25 2d 	bl      ffc0992c <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->osem);                               
ffc07404:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc07408:	48 00 25 25 	bl      ffc0992c <rtems_semaphore_delete>      
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
ffc0740c:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc07410:	48 00 25 1d 	bl      ffc0992c <rtems_semaphore_delete>      
    if ((tty->device.pollRead == NULL) ||                             
ffc07414:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc07418:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0741c:	41 9e 00 58 	beq-    cr7,ffc07474 <rtems_termios_close+0x148>
ffc07420:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc07424:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc07428:	41 9e 00 4c 	beq-    cr7,ffc07474 <rtems_termios_close+0x148>
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
ffc0742c:	80 7f 00 58 	lwz     r3,88(r31)                             
ffc07430:	4b ff d7 39 	bl      ffc04b68 <free>                        
    free (tty->rawOutBuf.theBuf);                                     
ffc07434:	80 7f 00 7c 	lwz     r3,124(r31)                            
ffc07438:	4b ff d7 31 	bl      ffc04b68 <free>                        
    free (tty->cbuf);                                                 
ffc0743c:	80 7f 00 1c 	lwz     r3,28(r31)                             
ffc07440:	4b ff d7 29 	bl      ffc04b68 <free>                        
    free (tty);                                                       
ffc07444:	7f e3 fb 78 	mr      r3,r31                                 
ffc07448:	4b ff d7 21 	bl      ffc04b68 <free>                        
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc0744c:	80 7e 28 14 	lwz     r3,10260(r30)                          
ffc07450:	48 00 27 71 	bl      ffc09bc0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc07454:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc07458:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0745c:	38 60 00 00 	li      r3,0                                   
ffc07460:	7c 08 03 a6 	mtlr    r0                                     
ffc07464:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc07468:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0746c:	38 21 00 18 	addi    r1,r1,24                               
ffc07470:	4e 80 00 20 	blr                                            
    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);               
ffc07474:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc07478:	48 00 24 b5 	bl      ffc0992c <rtems_semaphore_delete>      
ffc0747c:	4b ff ff b0 	b       ffc0742c <rtems_termios_close+0x100>   
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc07480:	3d 00 00 00 	lis     r8,0                                   
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
ffc07484:	91 49 00 04 	stw     r10,4(r9)                              
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc07488:	91 28 28 1c 	stw     r9,10268(r8)                           
ffc0748c:	4b ff ff 70 	b       ffc073fc <rtems_termios_close+0xd0>    
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc07490:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
        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;                              
ffc07494:	3d 00 00 00 	lis     r8,0                                   
ffc07498:	91 48 28 18 	stw     r10,10264(r8)                          
      if ( rtems_termios_ttyTail != NULL ) {                          
ffc0749c:	41 9e 00 7c 	beq-    cr7,ffc07518 <rtems_termios_close+0x1ec><== ALWAYS TAKEN
        rtems_termios_ttyTail->forw = NULL;                           
ffc074a0:	91 2a 00 00 	stw     r9,0(r10)                              <== NOT EXECUTED
ffc074a4:	81 3f 00 00 	lwz     r9,0(r31)                              <== NOT EXECUTED
ffc074a8:	4b ff ff 50 	b       ffc073f8 <rtems_termios_close+0xcc>    <== 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);
ffc074ac:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc074b0:	38 80 00 00 	li      r4,0                                   
ffc074b4:	38 a0 00 00 	li      r5,0                                   
ffc074b8:	48 00 25 69 	bl      ffc09a20 <rtems_semaphore_obtain>      
      if (sc != RTEMS_SUCCESSFUL) {                                   
ffc074bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc074c0:	40 9e 00 54 	bne-    cr7,ffc07514 <rtems_termios_close+0x1e8><== NEVER TAKEN
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc074c4:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc074c8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc074cc:	41 9e 00 0c 	beq-    cr7,ffc074d8 <rtems_termios_close+0x1ac>
ffc074d0:	7f e3 fb 78 	mr      r3,r31                                 
ffc074d4:	4b ff f9 19 	bl      ffc06dec <drainOutput.part.0>          
      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);                            
ffc074d8:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc074dc:	48 00 26 e5 	bl      ffc09bc0 <rtems_semaphore_release>     
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc074e0:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc074e4:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc074e8:	40 9e fe d0 	bne+    cr7,ffc073b8 <rtems_termios_close+0x8c>
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
ffc074ec:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc074f0:	38 80 00 01 	li      r4,1                                   
ffc074f4:	48 00 1f c5 	bl      ffc094b8 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc074f8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc074fc:	40 9e 00 18 	bne-    cr7,ffc07514 <rtems_termios_close+0x1e8><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
ffc07500:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc07504:	38 80 00 01 	li      r4,1                                   
ffc07508:	48 00 1f b1 	bl      ffc094b8 <rtems_event_send>            
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0750c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07510:	41 9e fe a8 	beq+    cr7,ffc073b8 <rtems_termios_close+0x8c><== ALWAYS TAKEN
        rtems_fatal_error_occurred (sc);                              
ffc07514:	48 00 2e 85 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
ffc07518:	3d 20 00 00 	lis     r9,0                                   
ffc0751c:	91 49 28 1c 	stw     r10,10268(r9)                          
ffc07520:	4b ff fe dc 	b       ffc073fc <rtems_termios_close+0xd0>    
                                                                      

ffc08ce4 <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) {
ffc08ce4:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc08ce8:	7c 08 02 a6 	mflr    r0                                     
ffc08cec:	90 01 00 0c 	stw     r0,12(r1)                              
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc08cf0:	81 03 00 b4 	lwz     r8,180(r3)                             
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc08cf4:	81 43 00 90 	lwz     r10,144(r3)                            
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc08cf8:	2f 88 00 02 	cmpwi   cr7,r8,2                               
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
ffc08cfc:	7c 8a 22 14 	add     r4,r10,r4                              
ffc08d00:	90 83 00 90 	stw     r4,144(r3)                             
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
ffc08d04:	41 9e 00 4c 	beq-    cr7,ffc08d50 <rtems_termios_dequeue_characters+0x6c>
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
ffc08d08:	81 23 00 cc 	lwz     r9,204(r3)                             
ffc08d0c:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc08d10:	41 9e 00 14 	beq-    cr7,ffc08d24 <rtems_termios_dequeue_characters+0x40>
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc08d14:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08d18:	38 21 00 08 	addi    r1,r1,8                                
ffc08d1c:	7c 08 03 a6 	mtlr    r0                                     
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
ffc08d20:	4b ff dd ec 	b       ffc06b0c <rtems_termios_refill_transmitter>
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc08d24:	3d 20 00 00 	lis     r9,0                                   
ffc08d28:	81 29 29 74 	lwz     r9,10612(r9)                           
ffc08d2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08d30:	41 9e 00 0c 	beq-    cr7,ffc08d3c <rtems_termios_dequeue_characters+0x58><== NEVER TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc08d34:	7d 29 03 a6 	mtctr   r9                                     
ffc08d38:	4e 80 04 21 	bctrl                                          
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
ffc08d3c:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc08d40:	38 60 00 00 	li      r3,0                                   
ffc08d44:	7c 08 03 a6 	mtlr    r0                                     
ffc08d48:	38 21 00 08 	addi    r1,r1,8                                
ffc08d4c:	4e 80 00 20 	blr                                            
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
ffc08d50:	80 63 00 c8 	lwz     r3,200(r3)                             
ffc08d54:	38 80 00 02 	li      r4,2                                   
ffc08d58:	48 00 07 61 	bl      ffc094b8 <rtems_event_send>            
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc08d5c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08d60:	41 9e ff dc 	beq+    cr7,ffc08d3c <rtems_termios_dequeue_characters+0x58><== ALWAYS TAKEN
      rtems_fatal_error_occurred (sc);                                
ffc08d64:	48 00 16 35 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc088a8 <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) {
ffc088a8:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc088ac:	7c 08 02 a6 	mflr    r0                                     
ffc088b0:	90 01 00 34 	stw     r0,52(r1)                              
  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) {             
ffc088b4:	81 23 00 cc 	lwz     r9,204(r3)                             
 *       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)
{                                                                     
ffc088b8:	93 a1 00 24 	stw     r29,36(r1)                             
  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) {             
ffc088bc:	3f a0 00 00 	lis     r29,0                                  
ffc088c0:	3b bd 28 c0 	addi    r29,r29,10432                          
ffc088c4:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
 *       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)
{                                                                     
ffc088c8:	93 81 00 20 	stw     r28,32(r1)                             
  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) {             
ffc088cc:	7d 3d 4a 14 	add     r9,r29,r9                              
ffc088d0:	81 29 00 10 	lwz     r9,16(r9)                              
 *       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)
{                                                                     
ffc088d4:	7c 9c 23 78 	mr      r28,r4                                 
ffc088d8:	93 e1 00 2c 	stw     r31,44(r1)                             
ffc088dc:	7c 7f 1b 78 	mr      r31,r3                                 
  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) {             
ffc088e0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 *       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)
{                                                                     
ffc088e4:	92 c1 00 08 	stw     r22,8(r1)                              
ffc088e8:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc088ec:	93 01 00 10 	stw     r24,16(r1)                             
ffc088f0:	93 21 00 14 	stw     r25,20(r1)                             
ffc088f4:	93 41 00 18 	stw     r26,24(r1)                             
ffc088f8:	93 61 00 1c 	stw     r27,28(r1)                             
ffc088fc:	93 c1 00 28 	stw     r30,40(r1)                             
  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) {             
ffc08900:	41 9e 00 b8 	beq-    cr7,ffc089b8 <rtems_termios_enqueue_raw_characters+0x110>
    while (len--) {                                                   
ffc08904:	2f 85 00 00 	cmpwi   cr7,r5,0                               
 * 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)
ffc08908:	3b 65 ff ff 	addi    r27,r5,-1                              
ffc0890c:	3b c0 00 00 	li      r30,0                                  
  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--) {                                                   
ffc08910:	40 be 00 18 	bne+    cr7,ffc08928 <rtems_termios_enqueue_raw_characters+0x80><== ALWAYS TAKEN
ffc08914:	48 00 00 30 	b       ffc08944 <rtems_termios_enqueue_raw_characters+0x9c><== NOT EXECUTED
ffc08918:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc0891c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc08920:	7d 3d 4a 14 	add     r9,r29,r9                              
ffc08924:	81 29 00 10 	lwz     r9,16(r9)                              
      c = *buf++;                                                     
      rtems_termios_linesw[tty->t_line].l_rint(c,tty);                
ffc08928:	7c 7c f0 ae 	lbzx    r3,r28,r30                             
ffc0892c:	7f e4 fb 78 	mr      r4,r31                                 
ffc08930:	7d 29 03 a6 	mtctr   r9                                     
ffc08934:	4e 80 04 21 	bctrl                                          
  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--) {                                                   
ffc08938:	7f 9e d8 00 	cmpw    cr7,r30,r27                            
ffc0893c:	3b de 00 01 	addi    r30,r30,1                              
ffc08940:	40 9e ff d8 	bne+    cr7,ffc08918 <rtems_termios_enqueue_raw_characters+0x70>
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc08944:	81 3f 00 e4 	lwz     r9,228(r31)                            
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
ffc08948:	3b c0 00 00 	li      r30,0                                  
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc0894c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08950:	40 9e 00 2c 	bne-    cr7,ffc0897c <rtems_termios_enqueue_raw_characters+0xd4><== NEVER TAKEN
ffc08954:	81 3f 00 dc 	lwz     r9,220(r31)                            
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
ffc08958:	3b c0 00 00 	li      r30,0                                  
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
ffc0895c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08960:	41 9e 00 1c 	beq-    cr7,ffc0897c <rtems_termios_enqueue_raw_characters+0xd4>
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
ffc08964:	7d 29 03 a6 	mtctr   r9                                     
ffc08968:	38 7f 00 30 	addi    r3,r31,48                              
ffc0896c:	80 9f 00 e0 	lwz     r4,224(r31)                            
ffc08970:	4e 80 04 21 	bctrl                                          
      tty->tty_rcvwakeup = 1;                                         
ffc08974:	39 20 00 01 	li      r9,1                                   
ffc08978:	91 3f 00 e4 	stw     r9,228(r31)                            
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
  return dropped;                                                     
}                                                                     
ffc0897c:	80 01 00 34 	lwz     r0,52(r1)                              
ffc08980:	7f c3 f3 78 	mr      r3,r30                                 
ffc08984:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc08988:	7c 08 03 a6 	mtlr    r0                                     
ffc0898c:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc08990:	83 01 00 10 	lwz     r24,16(r1)                             
ffc08994:	83 21 00 14 	lwz     r25,20(r1)                             
ffc08998:	83 41 00 18 	lwz     r26,24(r1)                             
ffc0899c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc089a0:	83 81 00 20 	lwz     r28,32(r1)                             
ffc089a4:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc089a8:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc089ac:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc089b0:	38 21 00 30 	addi    r1,r1,48                               
ffc089b4:	4e 80 00 20 	blr                                            
 * 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)
ffc089b8:	3b 84 ff ff 	addi    r28,r4,-1                              
ffc089bc:	7f 5c 2a 14 	add     r26,r28,r5                             
ffc089c0:	3b 20 00 00 	li      r25,0                                  
ffc089c4:	3b c0 00 00 	li      r30,0                                  
                                                                      
        /*                                                            
         * 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); 
ffc089c8:	3b 03 00 30 	addi    r24,r3,48                              
              (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);              
ffc089cc:	3a e3 00 4a 	addi    r23,r3,74                              
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc089d0:	7f 9c d0 00 	cmpw    cr7,r28,r26                            
ffc089d4:	41 9e 01 14 	beq-    cr7,ffc08ae8 <rtems_termios_enqueue_raw_characters+0x240>
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc089d8:	81 3f 00 b8 	lwz     r9,184(r31)                            
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
ffc089dc:	8f 7c 00 01 	lbzu    r27,1(r28)                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
ffc089e0:	71 2a 02 00 	andi.   r10,r9,512                             
ffc089e4:	41 82 00 1c 	beq-    ffc08a00 <rtems_termios_enqueue_raw_characters+0x158>
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
ffc089e8:	89 3f 00 4a 	lbz     r9,74(r31)                             
ffc089ec:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc089f0:	41 9e 01 48 	beq-    cr7,ffc08b38 <rtems_termios_enqueue_raw_characters+0x290>
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
ffc089f4:	89 3f 00 49 	lbz     r9,73(r31)                             
ffc089f8:	7f 89 d8 00 	cmpw    cr7,r9,r27                             
ffc089fc:	41 9e 01 c8 	beq-    cr7,ffc08bc4 <rtems_termios_enqueue_raw_characters+0x31c><== NEVER TAKEN
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
ffc08a00:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc08a04:	40 9e 01 50 	bne-    cr7,ffc08b54 <rtems_termios_enqueue_raw_characters+0x2ac><== NEVER TAKEN
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
ffc08a08:	81 3f 00 60 	lwz     r9,96(r31)                             
ffc08a0c:	81 5f 00 64 	lwz     r10,100(r31)                           
ffc08a10:	39 29 00 01 	addi    r9,r9,1                                
ffc08a14:	7f a9 53 96 	divwu   r29,r9,r10                             
ffc08a18:	7f bd 51 d6 	mullw   r29,r29,r10                            
ffc08a1c:	7f bd 48 50 	subf    r29,r29,r9                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08a20:	7e c0 00 a6 	mfmsr   r22                                    
ffc08a24:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc08a28:	7e c9 48 78 	andc    r9,r22,r9                              
ffc08a2c:	7d 20 01 24 	mtmsr   r9                                     
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
ffc08a30:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc08a34:	81 1f 00 64 	lwz     r8,100(r31)                            
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc08a38:	81 5f 00 64 	lwz     r10,100(r31)                           
      }                                                               
    } 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)       
ffc08a3c:	7d 29 40 50 	subf    r9,r9,r8                               
ffc08a40:	81 1f 00 c0 	lwz     r8,192(r31)                            
ffc08a44:	7d 29 ea 14 	add     r9,r9,r29                              
            % tty->rawInBuf.Size) > tty->highwater) &&                
ffc08a48:	7c e9 53 96 	divwu   r7,r9,r10                              
ffc08a4c:	7d 47 51 d6 	mullw   r10,r7,r10                             
ffc08a50:	7d 2a 48 50 	subf    r9,r10,r9                              
      }                                                               
    } 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)       
ffc08a54:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc08a58:	40 9d 00 3c 	ble-    cr7,ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== ALWAYS TAKEN
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
ffc08a5c:	81 3f 00 b8 	lwz     r9,184(r31)                            <== 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) &&                
ffc08a60:	71 2a 00 01 	andi.   r10,r9,1                               <== NOT EXECUTED
ffc08a64:	40 82 00 30 	bne-    ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
ffc08a68:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc08a6c:	61 29 00 01 	ori     r9,r9,1                                <== NOT EXECUTED
ffc08a70:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
ffc08a74:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc08a78:	71 29 04 02 	andi.   r9,r9,1026                             <== NOT EXECUTED
ffc08a7c:	2f 89 04 00 	cmpwi   cr7,r9,1024                            <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
ffc08a80:	81 3f 00 b8 	lwz     r9,184(r31)                            <== 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))                
ffc08a84:	41 9e 01 64 	beq-    cr7,ffc08be8 <rtems_termios_enqueue_raw_characters+0x340><== 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) ) {
ffc08a88:	71 29 01 04 	andi.   r9,r9,260                              <== NOT EXECUTED
ffc08a8c:	2f 89 01 00 	cmpwi   cr7,r9,256                             <== NOT EXECUTED
ffc08a90:	41 9e 01 94 	beq-    cr7,ffc08c24 <rtems_termios_enqueue_raw_characters+0x37c><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08a94:	7e c0 01 24 	mtmsr   r22                                    
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
ffc08a98:	81 3f 00 5c 	lwz     r9,92(r31)                             
ffc08a9c:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc08aa0:	41 9e 01 1c 	beq-    cr7,ffc08bbc <rtems_termios_enqueue_raw_characters+0x314><== NEVER TAKEN
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
ffc08aa4:	81 3f 00 58 	lwz     r9,88(r31)                             
ffc08aa8:	7f 69 e9 ae 	stbx    r27,r9,r29                             
        tty->rawInBuf.Tail = newTail;                                 
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc08aac:	81 3f 00 e4 	lwz     r9,228(r31)                            
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
ffc08ab0:	93 bf 00 60 	stw     r29,96(r31)                            
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
ffc08ab4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08ab8:	40 be ff 18 	bne-    cr7,ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== NEVER TAKEN
ffc08abc:	81 3f 00 dc 	lwz     r9,220(r31)                            
ffc08ac0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08ac4:	41 be ff 0c 	beq-    cr7,ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== ALWAYS TAKEN
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
ffc08ac8:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08acc:	7f 03 c3 78 	mr      r3,r24                                 <== NOT EXECUTED
ffc08ad0:	80 9f 00 e0 	lwz     r4,224(r31)                            <== NOT EXECUTED
ffc08ad4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc08ad8:	7f 9c d0 00 	cmpw    cr7,r28,r26                            <== NOT EXECUTED
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
          tty->tty_rcvwakeup = 1;                                     
ffc08adc:	39 20 00 01 	li      r9,1                                   <== NOT EXECUTED
ffc08ae0:	91 3f 00 e4 	stw     r9,228(r31)                            <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
ffc08ae4:	40 9e fe f4 	bne+    cr7,ffc089d8 <rtems_termios_enqueue_raw_characters+0x130><== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc08ae8:	81 3f 00 78 	lwz     r9,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc08aec:	80 7f 00 68 	lwz     r3,104(r31)                            
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
ffc08af0:	7d 29 f2 14 	add     r9,r9,r30                              
ffc08af4:	91 3f 00 78 	stw     r9,120(r31)                            
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
ffc08af8:	48 00 10 c9 	bl      ffc09bc0 <rtems_semaphore_release>     
  return dropped;                                                     
}                                                                     
ffc08afc:	80 01 00 34 	lwz     r0,52(r1)                              
ffc08b00:	7f c3 f3 78 	mr      r3,r30                                 
ffc08b04:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc08b08:	7c 08 03 a6 	mtlr    r0                                     
ffc08b0c:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc08b10:	83 01 00 10 	lwz     r24,16(r1)                             
ffc08b14:	83 21 00 14 	lwz     r25,20(r1)                             
ffc08b18:	83 41 00 18 	lwz     r26,24(r1)                             
ffc08b1c:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc08b20:	83 81 00 20 	lwz     r28,32(r1)                             
ffc08b24:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc08b28:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc08b2c:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc08b30:	38 21 00 30 	addi    r1,r1,48                               
ffc08b34:	4e 80 00 20 	blr                                            
    /* 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]) {                         
ffc08b38:	89 5f 00 49 	lbz     r10,73(r31)                            
ffc08b3c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
ffc08b40:	81 3f 00 b8 	lwz     r9,184(r31)                            
    /* 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]) {                         
ffc08b44:	41 9e 00 94 	beq-    cr7,ffc08bd8 <rtems_termios_enqueue_raw_characters+0x330><== NEVER TAKEN
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
ffc08b48:	61 29 00 10 	ori     r9,r9,16                               
ffc08b4c:	91 3f 00 b8 	stw     r9,184(r31)                            
 * 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)
ffc08b50:	3b 20 00 01 	li      r25,1                                  
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
ffc08b54:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc08b58:	55 29 06 b6 	rlwinm  r9,r9,0,26,27                          
ffc08b5c:	2f 89 00 20 	cmpwi   cr7,r9,32                              
ffc08b60:	40 9e fe 70 	bne+    cr7,ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== ALWAYS TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08b64:	7f a0 00 a6 	mfmsr   r29                                    <== NOT EXECUTED
ffc08b68:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc08b6c:	7f a9 48 78 	andc    r9,r29,r9                              <== NOT EXECUTED
ffc08b70:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc08b74:	81 3f 00 94 	lwz     r9,148(r31)                            <== 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;                                  
ffc08b78:	81 5f 00 b8 	lwz     r10,184(r31)                           <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc08b7c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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;                                  
ffc08b80:	55 4a 06 f2 	rlwinm  r10,r10,0,27,25                        <== NOT EXECUTED
ffc08b84:	91 5f 00 b8 	stw     r10,184(r31)                           <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
ffc08b88:	40 9e 00 0c 	bne-    cr7,ffc08b94 <rtems_termios_enqueue_raw_characters+0x2ec><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08b8c:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc08b90:	4b ff fe 40 	b       ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== NOT EXECUTED
          /* if chars available, call write function... */            
          (*tty->device.write)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
ffc08b94:	80 9f 00 84 	lwz     r4,132(r31)                            <== 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)(                                       
ffc08b98:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc08b9c:	81 5f 00 7c 	lwz     r10,124(r31)                           <== NOT EXECUTED
ffc08ba0:	81 3f 00 a4 	lwz     r9,164(r31)                            <== NOT EXECUTED
ffc08ba4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc08ba8:	7c 8a 22 14 	add     r4,r10,r4                              <== NOT EXECUTED
ffc08bac:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08bb0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc08bb4:	7f a0 01 24 	mtmsr   r29                                    <== NOT EXECUTED
ffc08bb8:	4b ff fe 18 	b       ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== NOT EXECUTED
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
ffc08bbc:	3b de 00 01 	addi    r30,r30,1                              <== NOT EXECUTED
ffc08bc0:	4b ff fe 10 	b       ffc089d0 <rtems_termios_enqueue_raw_characters+0x128><== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc08bc4:	81 3f 00 b8 	lwz     r9,184(r31)                            <== 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)
ffc08bc8:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
ffc08bcc:	55 29 07 34 	rlwinm  r9,r9,0,28,26                          <== NOT EXECUTED
ffc08bd0:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
ffc08bd4:	4b ff ff 80 	b       ffc08b54 <rtems_termios_enqueue_raw_characters+0x2ac><== 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;               
ffc08bd8:	69 29 00 10 	xori    r9,r9,16                               <== NOT EXECUTED
ffc08bdc:	91 3f 00 b8 	stw     r9,184(r31)                            <== 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)
ffc08be0:	3b 20 00 01 	li      r25,1                                  <== NOT EXECUTED
ffc08be4:	4b ff ff 70 	b       ffc08b54 <rtems_termios_enqueue_raw_characters+0x2ac><== 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) ||                          
ffc08be8:	71 2a 00 20 	andi.   r10,r9,32                              <== NOT EXECUTED
ffc08bec:	40 82 00 10 	bne-    ffc08bfc <rtems_termios_enqueue_raw_characters+0x354><== NOT EXECUTED
ffc08bf0:	81 3f 00 94 	lwz     r9,148(r31)                            <== NOT EXECUTED
ffc08bf4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08bf8:	40 be fe 9c 	bne-    cr7,ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== 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;                             
ffc08bfc:	81 5f 00 b8 	lwz     r10,184(r31)                           <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc08c00:	7e e4 bb 78 	mr      r4,r23                                 <== NOT EXECUTED
ffc08c04:	81 3f 00 a4 	lwz     r9,164(r31)                            <== NOT EXECUTED
ffc08c08:	38 a0 00 01 	li      r5,1                                   <== 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;                             
ffc08c0c:	61 4a 00 02 	ori     r10,r10,2                              <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc08c10:	80 7f 00 10 	lwz     r3,16(r31)                             <== 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;                             
ffc08c14:	91 5f 00 b8 	stw     r10,184(r31)                           <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
ffc08c18:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08c1c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc08c20:	4b ff fe 74 	b       ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== 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;                               
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc08c24:	81 3f 00 ac 	lwz     r9,172(r31)                            <== 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;                               
ffc08c28:	81 5f 00 b8 	lwz     r10,184(r31)                           <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc08c2c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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;                               
ffc08c30:	61 4a 00 04 	ori     r10,r10,4                              <== NOT EXECUTED
ffc08c34:	91 5f 00 b8 	stw     r10,184(r31)                           <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
ffc08c38:	41 be fe 5c 	beq-    cr7,ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
ffc08c3c:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc08c40:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08c44:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc08c48:	4b ff fe 4c 	b       ffc08a94 <rtems_termios_enqueue_raw_characters+0x1ec><== NOT EXECUTED
                                                                      

ffc07540 <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
ffc07540:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc07544:	7c 08 02 a6 	mflr    r0                                     
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07548:	38 80 00 00 	li      r4,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc0754c:	90 01 00 24 	stw     r0,36(r1)                              
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07550:	38 a0 00 00 	li      r5,0                                   
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc07554:	81 23 00 00 	lwz     r9,0(r3)                               
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc07558:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc0755c:	83 c9 00 30 	lwz     r30,48(r9)                             
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
  args->ioctl_return = 0;                                             
ffc07560:	39 20 00 00 	li      r9,0                                   
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
ffc07564:	93 81 00 10 	stw     r28,16(r1)                             
ffc07568:	93 a1 00 14 	stw     r29,20(r1)                             
ffc0756c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc07570:	7c 7f 1b 78 	mr      r31,r3                                 
ffc07574:	93 61 00 0c 	stw     r27,12(r1)                             
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
  rtems_status_code sc;                                               
                                                                      
  args->ioctl_return = 0;                                             
ffc07578:	91 23 00 0c 	stw     r9,12(r3)                              
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0757c:	80 7e 00 18 	lwz     r3,24(r30)                             
rtems_status_code                                                     
rtems_termios_ioctl (void *arg)                                       
{                                                                     
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
ffc07580:	83 9f 00 08 	lwz     r28,8(r31)                             
  rtems_status_code sc;                                               
                                                                      
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc07584:	48 00 24 9d 	bl      ffc09a20 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL) {                                       
ffc07588:	7c 7d 1b 79 	mr.     r29,r3                                 
ffc0758c:	40 82 00 84 	bne-    ffc07610 <rtems_termios_ioctl+0xd0>    <== NEVER TAKEN
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc07590:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc07594:	2f 89 00 05 	cmpwi   cr7,r9,5                               
ffc07598:	41 9e 00 60 	beq-    cr7,ffc075f8 <rtems_termios_ioctl+0xb8>
ffc0759c:	2b 89 00 05 	cmplwi  cr7,r9,5                               
ffc075a0:	41 9d 00 98 	bgt-    cr7,ffc07638 <rtems_termios_ioctl+0xf8>
ffc075a4:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc075a8:	41 9e 00 ec 	beq-    cr7,ffc07694 <rtems_termios_ioctl+0x154>
ffc075ac:	2b 89 00 02 	cmplwi  cr7,r9,2                               
ffc075b0:	41 9d 02 fc 	bgt-    cr7,ffc078ac <rtems_termios_ioctl+0x36c>
ffc075b4:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc075b8:	41 9e 03 40 	beq-    cr7,ffc078f8 <rtems_termios_ioctl+0x3b8><== ALWAYS TAKEN
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc075bc:	81 3e 00 cc 	lwz     r9,204(r30)                            
ffc075c0:	3d 40 00 00 	lis     r10,0                                  
ffc075c4:	39 4a 28 c0 	addi    r10,r10,10432                          
ffc075c8:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc075cc:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc075d0:	81 29 00 18 	lwz     r9,24(r9)                              
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
    }                                                                 
    else {                                                            
      sc = RTEMS_INVALID_NUMBER;                                      
ffc075d4:	3b a0 00 0a 	li      r29,10                                 
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
ffc075d8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc075dc:	41 9e 00 2c 	beq-    cr7,ffc07608 <rtems_termios_ioctl+0xc8>
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
ffc075e0:	7f c3 f3 78 	mr      r3,r30                                 
ffc075e4:	7d 29 03 a6 	mtctr   r9                                     
ffc075e8:	7f e4 fb 78 	mr      r4,r31                                 
ffc075ec:	4e 80 04 21 	bctrl                                          
ffc075f0:	7c 7d 1b 78 	mr      r29,r3                                 
ffc075f4:	48 00 00 14 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
        break;                                                        
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
ffc075f8:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc075fc:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc07600:	91 3e 00 d4 	stw     r9,212(r30)                            
ffc07604:	91 5e 00 d8 	stw     r10,216(r30)                           
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
ffc07608:	80 7e 00 18 	lwz     r3,24(r30)                             
ffc0760c:	48 00 25 b5 	bl      ffc09bc0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc07610:	80 01 00 24 	lwz     r0,36(r1)                              
ffc07614:	7f a3 eb 78 	mr      r3,r29                                 
ffc07618:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0761c:	7c 08 03 a6 	mtlr    r0                                     
ffc07620:	83 81 00 10 	lwz     r28,16(r1)                             
ffc07624:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc07628:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc0762c:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc07630:	38 21 00 20 	addi    r1,r1,32                               
ffc07634:	4e 80 00 20 	blr                                            
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc07638:	3d 40 40 04 	lis     r10,16388                              
ffc0763c:	61 4a 66 7f 	ori     r10,r10,26239                          
ffc07640:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc07644:	41 9e 01 bc 	beq-    cr7,ffc07800 <rtems_termios_ioctl+0x2c0><== NEVER TAKEN
ffc07648:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc0764c:	41 9d 01 e0 	bgt-    cr7,ffc0782c <rtems_termios_ioctl+0x2ec>
ffc07650:	2f 89 00 06 	cmpwi   cr7,r9,6                               
ffc07654:	40 9e ff 68 	bne+    cr7,ffc075bc <rtems_termios_ioctl+0x7c>
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_TCFLUSH:                                              
    switch ((intptr_t) args->buffer) {                                
ffc07658:	81 3f 00 08 	lwz     r9,8(r31)                              
ffc0765c:	2f 89 00 01 	cmpwi   cr7,r9,1                               
ffc07660:	41 9e 02 f4 	beq-    cr7,ffc07954 <rtems_termios_ioctl+0x414>
ffc07664:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc07668:	41 9e 03 5c 	beq-    cr7,ffc079c4 <rtems_termios_ioctl+0x484>
ffc0766c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07670:	40 9e 03 4c 	bne-    cr7,ffc079bc <rtems_termios_ioctl+0x47c>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07674:	7d 20 00 a6 	mfmsr   r9                                     
ffc07678:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0767c:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc07680:	7d 40 01 24 	mtmsr   r10                                    
flushInput (struct rtems_termios_tty *tty)                            
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawInBuf.Tail = 0;                                             
ffc07684:	93 be 00 60 	stw     r29,96(r30)                            
  tty->rawInBuf.Head = 0;                                             
ffc07688:	93 be 00 5c 	stw     r29,92(r30)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc0768c:	7d 20 01 24 	mtmsr   r9                                     
ffc07690:	4b ff ff 78 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
ffc07694:	3b 9e 00 30 	addi    r28,r30,48                             
ffc07698:	80 9f 00 08 	lwz     r4,8(r31)                              
ffc0769c:	7f 83 e3 78 	mr      r3,r28                                 
ffc076a0:	38 a0 00 24 	li      r5,36                                  
ffc076a4:	48 00 b6 d9 	bl      ffc12d7c <memcpy>                      
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
ffc076a8:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc076ac:	71 2a 02 00 	andi.   r10,r9,512                             
ffc076b0:	41 82 00 58 	beq-    ffc07708 <rtems_termios_ioctl+0x1c8>   
      !(tty->termios.c_iflag & IXON)) {                               
ffc076b4:	81 3e 00 30 	lwz     r9,48(r30)                             
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
ffc076b8:	71 2a 04 00 	andi.   r10,r9,1024                            
ffc076bc:	40 82 00 4c 	bne-    ffc07708 <rtems_termios_ioctl+0x1c8>   
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
ffc076c0:	81 5e 00 b8 	lwz     r10,184(r30)                           
ffc076c4:	39 20 fd ef 	li      r9,-529                                
ffc076c8:	7d 49 48 38 	and     r9,r10,r9                              
ffc076cc:	91 3e 00 b8 	stw     r9,184(r30)                            
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
ffc076d0:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc076d4:	71 2a 00 20 	andi.   r10,r9,32                              
ffc076d8:	41 82 00 30 	beq-    ffc07708 <rtems_termios_ioctl+0x1c8>   <== ALWAYS TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc076dc:	7f e0 00 a6 	mfmsr   r31                                    <== NOT EXECUTED
ffc076e0:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc076e4:	7f e9 48 78 	andc    r9,r31,r9                              <== NOT EXECUTED
ffc076e8:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc076ec:	81 3e 00 94 	lwz     r9,148(r30)                            <== 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;                                    
ffc076f0:	81 5e 00 b8 	lwz     r10,184(r30)                           <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc076f4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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;                                    
ffc076f8:	55 4a 06 f2 	rlwinm  r10,r10,0,27,25                        <== NOT EXECUTED
ffc076fc:	91 5e 00 b8 	stw     r10,184(r30)                           <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
ffc07700:	40 9e 02 94 	bne-    cr7,ffc07994 <rtems_termios_ioctl+0x454><== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07704:	7f e0 01 24 	mtmsr   r31                                    <== NOT EXECUTED
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
ffc07708:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc0770c:	71 2a 04 00 	andi.   r10,r9,1024                            
ffc07710:	41 82 00 28 	beq-    ffc07738 <rtems_termios_ioctl+0x1f8>   
ffc07714:	81 3e 00 30 	lwz     r9,48(r30)                             
ffc07718:	71 2a 10 00 	andi.   r10,r9,4096                            
ffc0771c:	40 82 00 1c 	bne-    ffc07738 <rtems_termios_ioctl+0x1f8>   <== NEVER TAKEN
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
ffc07720:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc07724:	55 29 05 a8 	rlwinm  r9,r9,0,22,20                          
ffc07728:	91 3e 00 b8 	stw     r9,184(r30)                            
    /* FIXME: what happens, if we had sent XOFF but not yet XON? */   
    tty->flow_ctrl &= ~(FL_ISNTXOF);                                  
ffc0772c:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc07730:	55 29 07 fa 	rlwinm  r9,r9,0,31,29                          
ffc07734:	91 3e 00 b8 	stw     r9,184(r30)                            
  }                                                                   
                                                                      
  /* check for incoming RTS/CTS flow control switched off */          
  if (( tty->flow_ctrl & FL_MDRTS) && !(tty->termios.c_cflag & CRTSCTS)) {
ffc07738:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc0773c:	71 2a 01 00 	andi.   r10,r9,256                             
ffc07740:	81 3e 00 38 	lwz     r9,56(r30)                             
ffc07744:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07748:	41 82 00 4c 	beq-    ffc07794 <rtems_termios_ioctl+0x254>   <== ALWAYS TAKEN
ffc0774c:	41 9c 02 38 	blt-    cr7,ffc07984 <rtems_termios_ioctl+0x444><== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
ffc07750:	81 3e 00 b8 	lwz     r9,184(r30)                            <== NOT EXECUTED
ffc07754:	55 29 06 2c 	rlwinm  r9,r9,0,24,22                          <== NOT EXECUTED
ffc07758:	91 3e 00 b8 	stw     r9,184(r30)                            <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
ffc0775c:	81 3e 00 b8 	lwz     r9,184(r30)                            <== NOT EXECUTED
ffc07760:	71 2a 00 04 	andi.   r10,r9,4                               <== NOT EXECUTED
ffc07764:	41 82 00 24 	beq-    ffc07788 <rtems_termios_ioctl+0x248>   <== NOT EXECUTED
ffc07768:	81 3e 00 b0 	lwz     r9,176(r30)                            <== NOT EXECUTED
ffc0776c:	2f 09 00 00 	cmpwi   cr6,r9,0                               <== NOT EXECUTED
ffc07770:	41 9a 00 18 	beq-    cr6,ffc07788 <rtems_termios_ioctl+0x248><== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
ffc07774:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc07778:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc0777c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc07780:	81 3e 00 38 	lwz     r9,56(r30)                             <== NOT EXECUTED
ffc07784:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
ffc07788:	81 3e 00 b8 	lwz     r9,184(r30)                            <== NOT EXECUTED
ffc0778c:	55 29 07 b8 	rlwinm  r9,r9,0,30,28                          <== NOT EXECUTED
ffc07790:	91 3e 00 b8 	stw     r9,184(r30)                            <== 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) {                               
ffc07794:	41 9c 01 f0 	blt-    cr7,ffc07984 <rtems_termios_ioctl+0x444><== NEVER TAKEN
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
ffc07798:	81 3e 00 30 	lwz     r9,48(r30)                             
ffc0779c:	71 2a 10 00 	andi.   r10,r9,4096                            
ffc077a0:	41 82 00 10 	beq-    ffc077b0 <rtems_termios_ioctl+0x270>   
    tty->flow_ctrl |= FL_MDXOF;                                       
ffc077a4:	81 5e 00 b8 	lwz     r10,184(r30)                           
ffc077a8:	61 4a 04 00 	ori     r10,r10,1024                           
ffc077ac:	91 5e 00 b8 	stw     r10,184(r30)                           
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
ffc077b0:	71 2a 04 00 	andi.   r10,r9,1024                            
ffc077b4:	41 82 00 10 	beq-    ffc077c4 <rtems_termios_ioctl+0x284>   
    tty->flow_ctrl |= FL_MDXON;                                       
ffc077b8:	81 3e 00 b8 	lwz     r9,184(r30)                            
ffc077bc:	61 29 02 00 	ori     r9,r9,512                              
ffc077c0:	91 3e 00 b8 	stw     r9,184(r30)                            
    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) {                              
ffc077c4:	81 3e 00 3c 	lwz     r9,60(r30)                             
ffc077c8:	71 3f 00 02 	andi.   r31,r9,2                               
ffc077cc:	41 82 01 40 	beq-    ffc0790c <rtems_termios_ioctl+0x3cc>   
      tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                     
ffc077d0:	39 20 00 00 	li      r9,0                                   
ffc077d4:	91 3e 00 6c 	stw     r9,108(r30)                            
      tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;               
ffc077d8:	91 3e 00 70 	stw     r9,112(r30)                            
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
ffc077dc:	91 3e 00 74 	stw     r9,116(r30)                            
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
ffc077e0:	81 3e 00 a8 	lwz     r9,168(r30)                            
ffc077e4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc077e8:	41 be fe 20 	beq-    cr7,ffc07608 <rtems_termios_ioctl+0xc8>
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
ffc077ec:	80 7e 00 10 	lwz     r3,16(r30)                             
ffc077f0:	7f 84 e3 78 	mr      r4,r28                                 
ffc077f4:	7d 29 03 a6 	mtctr   r9                                     
ffc077f8:	4e 80 04 21 	bctrl                                          
ffc077fc:	4b ff fe 0c 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
ffc07800:	81 5e 00 60 	lwz     r10,96(r30)                            <== NOT EXECUTED
ffc07804:	81 3e 00 5c 	lwz     r9,92(r30)                             <== NOT EXECUTED
      if ( rawnc < 0 )                                                
ffc07808:	7d 09 50 51 	subf.   r8,r9,r10                              <== NOT EXECUTED
ffc0780c:	41 80 01 6c 	blt-    ffc07978 <rtems_termios_ioctl+0x438>   <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
ffc07810:	81 5e 00 20 	lwz     r10,32(r30)                            <== NOT EXECUTED
ffc07814:	81 3e 00 24 	lwz     r9,36(r30)                             <== NOT EXECUTED
ffc07818:	80 ff 00 08 	lwz     r7,8(r31)                              <== NOT EXECUTED
ffc0781c:	7d 29 50 50 	subf    r9,r9,r10                              <== NOT EXECUTED
ffc07820:	7d 09 42 14 	add     r8,r9,r8                               <== NOT EXECUTED
ffc07824:	91 07 00 00 	stw     r8,0(r7)                               <== NOT EXECUTED
    }                                                                 
    break;                                                            
ffc07828:	4b ff fd e0 	b       ffc07608 <rtems_termios_ioctl+0xc8>    <== 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) {                                            
ffc0782c:	6d 2a 40 04 	xoris   r10,r9,16388                           
ffc07830:	2f 8a 74 1a 	cmpwi   cr7,r10,29722                          
ffc07834:	41 9e 00 b4 	beq-    cr7,ffc078e8 <rtems_termios_ioctl+0x3a8>
ffc07838:	6d 2a 80 04 	xoris   r10,r9,32772                           
ffc0783c:	2f 8a 74 1b 	cmpwi   cr7,r10,29723                          
ffc07840:	40 9e fd 7c 	bne+    cr7,ffc075bc <rtems_termios_ioctl+0x7c><== NEVER TAKEN
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
ffc07844:	81 3e 00 cc 	lwz     r9,204(r30)                            
ffc07848:	3f 80 00 00 	lis     r28,0                                  
ffc0784c:	3b 9c 28 c0 	addi    r28,r28,10432                          
ffc07850:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc07854:	7d 3c 4a 14 	add     r9,r28,r9                              
ffc07858:	81 29 00 04 	lwz     r9,4(r9)                               
ffc0785c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07860:	41 9e 00 14 	beq-    cr7,ffc07874 <rtems_termios_ioctl+0x334>
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
ffc07864:	7f c3 f3 78 	mr      r3,r30                                 
ffc07868:	7d 29 03 a6 	mtctr   r9                                     
ffc0786c:	4e 80 04 21 	bctrl                                          
ffc07870:	7c 7d 1b 78 	mr      r29,r3                                 
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc07874:	81 3f 00 08 	lwz     r9,8(r31)                              
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc07878:	39 40 00 00 	li      r10,0                                  
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc0787c:	81 29 00 00 	lwz     r9,0(r9)                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
ffc07880:	91 5e 00 d0 	stw     r10,208(r30)                           
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc07884:	55 2a 28 34 	rlwinm  r10,r9,5,0,26                          
ffc07888:	7d 5c 50 2e 	lwzx    r10,r28,r10                            
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
ffc0788c:	91 3e 00 cc 	stw     r9,204(r30)                            
    tty->t_sc = NULL; /* ensure that no more valid data */            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
ffc07890:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc07894:	41 be fd 74 	beq-    cr7,ffc07608 <rtems_termios_ioctl+0xc8>
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
ffc07898:	7f c3 f3 78 	mr      r3,r30                                 
ffc0789c:	7d 49 03 a6 	mtctr   r10                                    
ffc078a0:	4e 80 04 21 	bctrl                                          
ffc078a4:	7c 7d 1b 78 	mr      r29,r3                                 
ffc078a8:	4b ff fd 60 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
ffc078ac:	2f 89 00 03 	cmpwi   cr7,r9,3                               
ffc078b0:	41 9e 00 20 	beq-    cr7,ffc078d0 <rtems_termios_ioctl+0x390>
ffc078b4:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc078b8:	40 9e fd 04 	bne+    cr7,ffc075bc <rtems_termios_ioctl+0x7c><== NEVER TAKEN
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
ffc078bc:	81 3c 00 00 	lwz     r9,0(r28)                              
ffc078c0:	81 5c 00 04 	lwz     r10,4(r28)                             
ffc078c4:	91 3e 00 dc 	stw     r9,220(r30)                            
ffc078c8:	91 5e 00 e0 	stw     r10,224(r30)                           
    break;                                                            
ffc078cc:	4b ff fd 3c 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
ffc078d0:	81 3e 00 b4 	lwz     r9,180(r30)                            
ffc078d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc078d8:	41 be fd 30 	beq-    cr7,ffc07608 <rtems_termios_ioctl+0xc8><== ALWAYS TAKEN
ffc078dc:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc078e0:	4b ff f5 0d 	bl      ffc06dec <drainOutput.part.0>          <== NOT EXECUTED
ffc078e4:	4b ff fd 24 	b       ffc07608 <rtems_termios_ioctl+0xc8>    <== NOT EXECUTED
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
ffc078e8:	81 3e 00 cc 	lwz     r9,204(r30)                            
ffc078ec:	81 5f 00 08 	lwz     r10,8(r31)                             
ffc078f0:	91 2a 00 00 	stw     r9,0(r10)                              
    break;                                                            
ffc078f4:	4b ff fd 14 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
      sc = RTEMS_INVALID_NUMBER;                                      
    }                                                                 
    break;                                                            
                                                                      
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
ffc078f8:	80 7f 00 08 	lwz     r3,8(r31)                              
ffc078fc:	38 9e 00 30 	addi    r4,r30,48                              
ffc07900:	38 a0 00 24 	li      r5,36                                  
ffc07904:	48 00 b4 79 	bl      ffc12d7c <memcpy>                      
    break;                                                            
ffc07908:	4b ff fd 00 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
    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] *                    
ffc0790c:	8b 7e 00 46 	lbz     r27,70(r30)                            
                    rtems_clock_get_ticks_per_second() / 10;          
ffc07910:	48 00 18 fd 	bl      ffc0920c <rtems_clock_get_ticks_per_second>
      if (tty->termios.c_cc[VTIME]) {                                 
ffc07914:	89 3e 00 46 	lbz     r9,70(r30)                             
      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;          
ffc07918:	3d 40 cc cc 	lis     r10,-13108                             
    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] *                    
ffc0791c:	7c 63 d9 d6 	mullw   r3,r3,r27                              
                    rtems_clock_get_ticks_per_second() / 10;          
ffc07920:	61 4a cc cd 	ori     r10,r10,52429                          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc07924:	2f 89 00 00 	cmpwi   cr7,r9,0                               
      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;          
ffc07928:	7d 43 50 16 	mulhwu  r10,r3,r10                             
ffc0792c:	55 4a e8 fe 	rlwinm  r10,r10,29,3,31                        
    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] *                    
ffc07930:	91 5e 00 54 	stw     r10,84(r30)                            
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
ffc07934:	41 9e 00 d4 	beq-    cr7,ffc07a08 <rtems_termios_ioctl+0x4c8>
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc07938:	89 3e 00 47 	lbz     r9,71(r30)                             
      tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;          
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
ffc0793c:	93 fe 00 6c 	stw     r31,108(r30)                           
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
ffc07940:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      tty->vtimeTicks = tty->termios.c_cc[VTIME] *                    
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
ffc07944:	91 5e 00 70 	stw     r10,112(r30)                           
        if (tty->termios.c_cc[VMIN])                                  
ffc07948:	41 9e 00 dc 	beq-    cr7,ffc07a24 <rtems_termios_ioctl+0x4e4>
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc0794c:	93 fe 00 74 	stw     r31,116(r30)                           
ffc07950:	4b ff fe 90 	b       ffc077e0 <rtems_termios_ioctl+0x2a0>   
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07954:	7d 20 00 a6 	mfmsr   r9                                     
ffc07958:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc0795c:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc07960:	7d 40 01 24 	mtmsr   r10                                    
flushOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawOutBuf.Tail = 0;                                            
ffc07964:	93 be 00 84 	stw     r29,132(r30)                           
  tty->rawOutBuf.Head = 0;                                            
  tty->rawOutBufState = rob_idle;                                     
ffc07968:	93 be 00 94 	stw     r29,148(r30)                           
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawOutBuf.Tail = 0;                                            
  tty->rawOutBuf.Head = 0;                                            
ffc0796c:	93 be 00 80 	stw     r29,128(r30)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07970:	7d 20 01 24 	mtmsr   r9                                     
ffc07974:	4b ff fc 94 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
ffc07978:	81 3e 00 64 	lwz     r9,100(r30)                            <== NOT EXECUTED
ffc0797c:	7d 08 4a 14 	add     r8,r8,r9                               <== NOT EXECUTED
ffc07980:	4b ff fe 90 	b       ffc07810 <rtems_termios_ioctl+0x2d0>   <== 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;                                       
ffc07984:	81 3e 00 b8 	lwz     r9,184(r30)                            <== NOT EXECUTED
ffc07988:	61 29 01 00 	ori     r9,r9,256                              <== NOT EXECUTED
ffc0798c:	91 3e 00 b8 	stw     r9,184(r30)                            <== NOT EXECUTED
ffc07990:	4b ff fe 08 	b       ffc07798 <rtems_termios_ioctl+0x258>   <== 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); 
ffc07994:	80 9e 00 84 	lwz     r4,132(r30)                            <== 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)(                                         
ffc07998:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc0799c:	81 5e 00 7c 	lwz     r10,124(r30)                           <== NOT EXECUTED
ffc079a0:	81 3e 00 a4 	lwz     r9,164(r30)                            <== NOT EXECUTED
ffc079a4:	80 7e 00 10 	lwz     r3,16(r30)                             <== NOT EXECUTED
ffc079a8:	7c 8a 22 14 	add     r4,r10,r4                              <== NOT EXECUTED
ffc079ac:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc079b0:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc079b4:	7f e0 01 24 	mtmsr   r31                                    <== NOT EXECUTED
ffc079b8:	4b ff fd 50 	b       ffc07708 <rtems_termios_ioctl+0x1c8>   <== NOT EXECUTED
      case TCIOFLUSH:                                                 
        flushOutput (tty);                                            
        flushInput (tty);                                             
        break;                                                        
      default:                                                        
        sc = RTEMS_INVALID_NAME;                                      
ffc079bc:	3b a0 00 03 	li      r29,3                                  
ffc079c0:	4b ff fc 48 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc079c4:	7d 20 00 a6 	mfmsr   r9                                     
ffc079c8:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc079cc:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc079d0:	7d 40 01 24 	mtmsr   r10                                    
flushOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawOutBuf.Tail = 0;                                            
ffc079d4:	93 be 00 84 	stw     r29,132(r30)                           
  tty->rawOutBuf.Head = 0;                                            
  tty->rawOutBufState = rob_idle;                                     
ffc079d8:	93 be 00 94 	stw     r29,148(r30)                           
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawOutBuf.Tail = 0;                                            
  tty->rawOutBuf.Head = 0;                                            
ffc079dc:	93 be 00 80 	stw     r29,128(r30)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc079e0:	7d 20 01 24 	mtmsr   r9                                     
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc079e4:	7d 40 00 a6 	mfmsr   r10                                    
ffc079e8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc079ec:	7d 49 48 78 	andc    r9,r10,r9                              
ffc079f0:	7d 20 01 24 	mtmsr   r9                                     
flushInput (struct rtems_termios_tty *tty)                            
{                                                                     
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable (level);                                    
  tty->rawInBuf.Tail = 0;                                             
ffc079f4:	39 20 00 00 	li      r9,0                                   
ffc079f8:	91 3e 00 60 	stw     r9,96(r30)                             
  tty->rawInBuf.Head = 0;                                             
ffc079fc:	91 3e 00 5c 	stw     r9,92(r30)                             
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07a00:	7d 40 01 24 	mtmsr   r10                                    
ffc07a04:	4b ff fc 04 	b       ffc07608 <rtems_termios_ioctl+0xc8>    
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
ffc07a08:	89 5e 00 47 	lbz     r10,71(r30)                            
ffc07a0c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc07a10:	41 9e 00 1c 	beq-    cr7,ffc07a2c <rtems_termios_ioctl+0x4ec><== ALWAYS TAKEN
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
ffc07a14:	91 3e 00 6c 	stw     r9,108(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
ffc07a18:	91 3e 00 70 	stw     r9,112(r30)                            <== NOT EXECUTED
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
ffc07a1c:	91 3e 00 74 	stw     r9,116(r30)                            <== NOT EXECUTED
ffc07a20:	4b ff fd c0 	b       ffc077e0 <rtems_termios_ioctl+0x2a0>   <== NOT EXECUTED
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
ffc07a24:	91 5e 00 74 	stw     r10,116(r30)                           
ffc07a28:	4b ff fd b8 	b       ffc077e0 <rtems_termios_ioctl+0x2a0>   
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
ffc07a2c:	39 20 00 01 	li      r9,1                                   
ffc07a30:	91 3e 00 6c 	stw     r9,108(r30)                            
ffc07a34:	4b ff fd ac 	b       ffc077e0 <rtems_termios_ioctl+0x2a0>   
                                                                      

ffc06e88 <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
ffc06e88:	94 21 ff c0 	stwu    r1,-64(r1)                             
ffc06e8c:	7d 80 00 26 	mfcr    r12                                    
ffc06e90:	7c 08 02 a6 	mflr    r0                                     
ffc06e94:	93 61 00 2c 	stw     r27,44(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06e98:	3f 60 00 00 	lis     r27,0                                  
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06e9c:	93 c1 00 38 	stw     r30,56(r1)                             
ffc06ea0:	7c 7e 1b 78 	mr      r30,r3                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06ea4:	80 7b 28 14 	lwz     r3,10260(r27)                          
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06ea8:	93 41 00 28 	stw     r26,40(r1)                             
ffc06eac:	7c ba 2b 78 	mr      r26,r5                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06eb0:	38 a0 00 00 	li      r5,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06eb4:	93 a1 00 34 	stw     r29,52(r1)                             
ffc06eb8:	7c 9d 23 78 	mr      r29,r4                                 
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06ebc:	38 80 00 00 	li      r4,0                                   
  rtems_device_major_number      major,                               
  rtems_device_minor_number      minor,                               
  void                          *arg,                                 
  const rtems_termios_callbacks *callbacks                            
)                                                                     
{                                                                     
ffc06ec0:	92 e1 00 1c 	stw     r23,28(r1)                             
ffc06ec4:	7c d7 33 78 	mr      r23,r6                                 
ffc06ec8:	93 81 00 30 	stw     r28,48(r1)                             
ffc06ecc:	90 01 00 44 	stw     r0,68(r1)                              
ffc06ed0:	92 81 00 10 	stw     r20,16(r1)                             
ffc06ed4:	92 a1 00 14 	stw     r21,20(r1)                             
ffc06ed8:	92 c1 00 18 	stw     r22,24(r1)                             
ffc06edc:	93 01 00 20 	stw     r24,32(r1)                             
ffc06ee0:	93 21 00 24 	stw     r25,36(r1)                             
ffc06ee4:	93 e1 00 3c 	stw     r31,60(r1)                             
ffc06ee8:	91 81 00 0c 	stw     r12,12(r1)                             
  struct rtems_termios_tty *tty;                                      
                                                                      
  /*                                                                  
   * See if the device has already been opened                        
   */                                                                 
  sc = rtems_semaphore_obtain(                                        
ffc06eec:	48 00 2b 35 	bl      ffc09a20 <rtems_semaphore_obtain>      
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc06ef0:	7c 7c 1b 79 	mr.     r28,r3                                 
ffc06ef4:	40 82 00 90 	bne-    ffc06f84 <rtems_termios_open+0xfc>     <== NEVER TAKEN
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
ffc06ef8:	3f 00 00 00 	lis     r24,0                                  
ffc06efc:	83 38 28 1c 	lwz     r25,10268(r24)                         
ffc06f00:	2e 19 00 00 	cmpwi   cr4,r25,0                              
ffc06f04:	41 92 00 cc 	beq-    cr4,ffc06fd0 <rtems_termios_open+0x148>
ffc06f08:	7f 3f cb 78 	mr      r31,r25                                
ffc06f0c:	48 00 00 10 	b       ffc06f1c <rtems_termios_open+0x94>     
ffc06f10:	83 ff 00 00 	lwz     r31,0(r31)                             
ffc06f14:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc06f18:	41 9e 00 b8 	beq-    cr7,ffc06fd0 <rtems_termios_open+0x148><== ALWAYS TAKEN
    if ((tty->major == major) && (tty->minor == minor))               
ffc06f1c:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc06f20:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06f24:	40 9e ff ec 	bne+    cr7,ffc06f10 <rtems_termios_open+0x88> 
ffc06f28:	81 3f 00 10 	lwz     r9,16(r31)                             
ffc06f2c:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc06f30:	40 9e ff e0 	bne+    cr7,ffc06f10 <rtems_termios_open+0x88> <== NEVER TAKEN
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
  if (!tty->refcount++) {                                             
ffc06f34:	81 3f 00 08 	lwz     r9,8(r31)                              
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc06f38:	81 5a 00 00 	lwz     r10,0(r26)                             
  if (!tty->refcount++) {                                             
ffc06f3c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06f40:	39 29 00 01 	addi    r9,r9,1                                
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
ffc06f44:	93 ea 00 30 	stw     r31,48(r10)                            
  if (!tty->refcount++) {                                             
ffc06f48:	91 3f 00 08 	stw     r9,8(r31)                              
ffc06f4c:	40 9e 00 30 	bne-    cr7,ffc06f7c <rtems_termios_open+0xf4> 
    if (tty->device.firstOpen)                                        
ffc06f50:	81 3f 00 98 	lwz     r9,152(r31)                            
ffc06f54:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06f58:	41 9e 00 18 	beq-    cr7,ffc06f70 <rtems_termios_open+0xe8> <== ALWAYS TAKEN
      (*tty->device.firstOpen)(major, minor, arg);                    
ffc06f5c:	7f c3 f3 78 	mr      r3,r30                                 <== NOT EXECUTED
ffc06f60:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc06f64:	7f a4 eb 78 	mr      r4,r29                                 <== NOT EXECUTED
ffc06f68:	7f 45 d3 78 	mr      r5,r26                                 <== NOT EXECUTED
ffc06f6c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc06f70:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc06f74:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc06f78:	41 9e 02 b4 	beq-    cr7,ffc0722c <rtems_termios_open+0x3a4>
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
ffc06f7c:	80 7b 28 14 	lwz     r3,10260(r27)                          
ffc06f80:	48 00 2c 41 	bl      ffc09bc0 <rtems_semaphore_release>     
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
ffc06f84:	80 01 00 44 	lwz     r0,68(r1)                              
ffc06f88:	7f 83 e3 78 	mr      r3,r28                                 
ffc06f8c:	81 81 00 0c 	lwz     r12,12(r1)                             
ffc06f90:	7c 08 03 a6 	mtlr    r0                                     
ffc06f94:	82 81 00 10 	lwz     r20,16(r1)                             
ffc06f98:	82 a1 00 14 	lwz     r21,20(r1)                             
ffc06f9c:	7d 80 81 20 	mtcrf   8,r12                                  
ffc06fa0:	82 c1 00 18 	lwz     r22,24(r1)                             
ffc06fa4:	82 e1 00 1c 	lwz     r23,28(r1)                             
ffc06fa8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc06fac:	83 21 00 24 	lwz     r25,36(r1)                             
ffc06fb0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc06fb4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc06fb8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc06fbc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc06fc0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc06fc4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc06fc8:	38 21 00 40 	addi    r1,r1,64                               
ffc06fcc:	4e 80 00 20 	blr                                            
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
ffc06fd0:	38 60 00 01 	li      r3,1                                   
ffc06fd4:	38 80 00 e8 	li      r4,232                                 
ffc06fd8:	4b ff d7 e1 	bl      ffc047b8 <calloc>                      
    if (tty == NULL) {                                                
ffc06fdc:	7c 7f 1b 79 	mr.     r31,r3                                 
ffc06fe0:	41 82 02 a0 	beq-    ffc07280 <rtems_termios_open+0x3f8>    
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
ffc06fe4:	3e c0 00 00 	lis     r22,0                                  
ffc06fe8:	81 36 21 5c 	lwz     r9,8540(r22)                           
ffc06fec:	3a d6 21 5c 	addi    r22,r22,8540                           
ffc06ff0:	91 3f 00 64 	stw     r9,100(r31)                            
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc06ff4:	80 7f 00 64 	lwz     r3,100(r31)                            
ffc06ff8:	4b ff df 9d 	bl      ffc04f94 <malloc>                      
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc06ffc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
ffc07000:	90 7f 00 58 	stw     r3,88(r31)                             
ffc07004:	7c 75 1b 78 	mr      r21,r3                                 
    if (tty->rawInBuf.theBuf == NULL) {                               
ffc07008:	41 9e 02 70 	beq-    cr7,ffc07278 <rtems_termios_open+0x3f0>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
ffc0700c:	81 36 00 04 	lwz     r9,4(r22)                              
ffc07010:	91 3f 00 88 	stw     r9,136(r31)                            
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc07014:	80 7f 00 88 	lwz     r3,136(r31)                            
ffc07018:	4b ff df 7d 	bl      ffc04f94 <malloc>                      
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc0701c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
ffc07020:	90 7f 00 7c 	stw     r3,124(r31)                            
ffc07024:	7c 74 1b 78 	mr      r20,r3                                 
    if (tty->rawOutBuf.theBuf == NULL) {                              
ffc07028:	41 9e 02 48 	beq-    cr7,ffc07270 <rtems_termios_open+0x3e8>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc0702c:	80 76 00 08 	lwz     r3,8(r22)                              
ffc07030:	4b ff df 65 	bl      ffc04f94 <malloc>                      
    if (tty->cbuf == NULL) {                                          
ffc07034:	2f 83 00 00 	cmpwi   cr7,r3,0                               
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
ffc07038:	90 7f 00 1c 	stw     r3,28(r31)                             
    if (tty->cbuf == NULL) {                                          
ffc0703c:	41 9e 02 2c 	beq-    cr7,ffc07268 <rtems_termios_open+0x3e0>
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc07040:	39 20 00 00 	li      r9,0                                   
    tty->tty_rcvwakeup  = 0;                                          
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
ffc07044:	93 3f 00 00 	stw     r25,0(r31)                             
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
ffc07048:	91 3f 00 d4 	stw     r9,212(r31)                            
    tty->tty_snd.sw_arg = NULL;                                       
ffc0704c:	91 3f 00 d8 	stw     r9,216(r31)                            
    tty->tty_rcv.sw_pfn = NULL;                                       
ffc07050:	91 3f 00 dc 	stw     r9,220(r31)                            
    tty->tty_rcv.sw_arg = NULL;                                       
ffc07054:	91 3f 00 e0 	stw     r9,224(r31)                            
    tty->tty_rcvwakeup  = 0;                                          
ffc07058:	91 3f 00 e4 	stw     r9,228(r31)                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
ffc0705c:	91 3f 00 04 	stw     r9,4(r31)                              
    if (rtems_termios_ttyHead != NULL)                                
ffc07060:	41 92 00 08 	beq-    cr4,ffc07068 <rtems_termios_open+0x1e0>
      rtems_termios_ttyHead->back = tty;                              
ffc07064:	93 f9 00 04 	stw     r31,4(r25)                             
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
ffc07068:	3d 20 00 00 	lis     r9,0                                   
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
ffc0706c:	93 f8 28 1c 	stw     r31,10268(r24)                         
    if (rtems_termios_ttyTail == NULL)                                
ffc07070:	81 49 28 18 	lwz     r10,10264(r9)                          
ffc07074:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc07078:	41 9e 02 ac 	beq-    cr7,ffc07324 <rtems_termios_open+0x49c>
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
ffc0707c:	88 76 00 0c 	lbz     r3,12(r22)                             
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc07080:	38 80 00 01 	li      r4,1                                   
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
ffc07084:	93 bf 00 10 	stw     r29,16(r31)                            
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc07088:	38 a0 00 54 	li      r5,84                                  
ffc0708c:	64 63 54 52 	oris    r3,r3,21586                            
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
                                                                      
    tty->minor = minor;                                               
    tty->major = major;                                               
ffc07090:	93 df 00 0c 	stw     r30,12(r31)                            
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
ffc07094:	60 63 69 00 	ori     r3,r3,26880                            
ffc07098:	38 c0 00 00 	li      r6,0                                   
ffc0709c:	38 ff 00 14 	addi    r7,r31,20                              
ffc070a0:	48 00 26 6d 	bl      ffc0970c <rtems_semaphore_create>      
      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)                                       
ffc070a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc070a8:	40 9e 02 1c 	bne-    cr7,ffc072c4 <rtems_termios_open+0x43c>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
ffc070ac:	88 76 00 0c 	lbz     r3,12(r22)                             
      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 (                                     
ffc070b0:	38 80 00 01 	li      r4,1                                   
ffc070b4:	38 a0 00 54 	li      r5,84                                  
ffc070b8:	64 63 54 52 	oris    r3,r3,21586                            
ffc070bc:	60 63 6f 00 	ori     r3,r3,28416                            
ffc070c0:	38 c0 00 00 	li      r6,0                                   
ffc070c4:	38 ff 00 18 	addi    r7,r31,24                              
ffc070c8:	48 00 26 45 	bl      ffc0970c <rtems_semaphore_create>      
      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)                                       
ffc070cc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc070d0:	40 9e 01 f4 	bne-    cr7,ffc072c4 <rtems_termios_open+0x43c>
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
ffc070d4:	88 76 00 0c 	lbz     r3,12(r22)                             
      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 (                                     
ffc070d8:	38 80 00 00 	li      r4,0                                   
ffc070dc:	38 a0 00 20 	li      r5,32                                  
ffc070e0:	64 63 54 52 	oris    r3,r3,21586                            
ffc070e4:	60 63 78 00 	ori     r3,r3,30720                            
ffc070e8:	38 c0 00 00 	li      r6,0                                   
ffc070ec:	38 ff 00 8c 	addi    r7,r31,140                             
ffc070f0:	48 00 26 1d 	bl      ffc0970c <rtems_semaphore_create>      
      rtems_build_name ('T', 'R', 'x', c),                            
      0,                                                              
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
ffc070f4:	7c 68 1b 79 	mr.     r8,r3                                  
ffc070f8:	40 82 01 cc 	bne-    ffc072c4 <rtems_termios_open+0x43c>    
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc070fc:	81 37 00 00 	lwz     r9,0(r23)                              
ffc07100:	80 d7 00 04 	lwz     r6,4(r23)                              
ffc07104:	80 f7 00 08 	lwz     r7,8(r23)                              
ffc07108:	81 57 00 0c 	lwz     r10,12(r23)                            
ffc0710c:	91 3f 00 98 	stw     r9,152(r31)                            
ffc07110:	90 df 00 9c 	stw     r6,156(r31)                            
ffc07114:	90 ff 00 a0 	stw     r7,160(r31)                            
ffc07118:	91 5f 00 a4 	stw     r10,164(r31)                           
ffc0711c:	81 37 00 1c 	lwz     r9,28(r23)                             
ffc07120:	80 d7 00 10 	lwz     r6,16(r23)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc07124:	2f 89 00 02 	cmpwi   cr7,r9,2                               
    tty->rawOutBufState = rob_idle;                                   
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc07128:	80 f7 00 14 	lwz     r7,20(r23)                             
ffc0712c:	81 57 00 18 	lwz     r10,24(r23)                            
      RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_FIFO,                     
      RTEMS_NO_PRIORITY,                                              
      &tty->rawOutBuf.Semaphore);                                     
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
ffc07130:	91 1f 00 94 	stw     r8,148(r31)                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
ffc07134:	90 df 00 a8 	stw     r6,168(r31)                            
ffc07138:	90 ff 00 ac 	stw     r7,172(r31)                            
ffc0713c:	91 5f 00 b0 	stw     r10,176(r31)                           
ffc07140:	91 3f 00 b4 	stw     r9,180(r31)                            
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
ffc07144:	41 9e 01 84 	beq-    cr7,ffc072c8 <rtems_termios_open+0x440>
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
ffc07148:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc0714c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07150:	41 9e 01 4c 	beq-    cr7,ffc0729c <rtems_termios_open+0x414>
ffc07154:	81 3f 00 b4 	lwz     r9,180(r31)                            
ffc07158:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc0715c:	41 9e 01 40 	beq-    cr7,ffc0729c <rtems_termios_open+0x414>
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
ffc07160:	38 c0 25 02 	li      r6,9474                                
ffc07164:	90 df 00 30 	stw     r6,48(r31)                             
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc07168:	38 c0 18 05 	li      r6,6149                                
    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';                                 
ffc0716c:	39 40 00 00 	li      r10,0                                  
    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;                                               
ffc07170:	39 20 00 00 	li      r9,0                                   
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
ffc07174:	90 df 00 34 	stw     r6,52(r31)                             
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc07178:	38 c0 08 bd 	li      r6,2237                                
    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;                                               
ffc0717c:	91 3f 00 b8 	stw     r9,184(r31)                            
    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';                                 
ffc07180:	99 5f 00 4c 	stb     r10,76(r31)                            
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc07184:	89 36 00 0c 	lbz     r9,12(r22)                             
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
ffc07188:	90 df 00 38 	stw     r6,56(r31)                             
    tty->termios.c_lflag =                                            
ffc0718c:	38 c0 00 00 	li      r6,0                                   
ffc07190:	60 c6 82 3b 	ori     r6,r6,33339                            
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
ffc07194:	99 5f 00 51 	stb     r10,81(r31)                            
    tty->termios.c_cc[VSTART] = '\021';                               
ffc07198:	39 40 00 11 	li      r10,17                                 
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc0719c:	2f 89 00 7a 	cmpwi   cr7,r9,122                             
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
ffc071a0:	99 5f 00 49 	stb     r10,73(r31)                            
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc071a4:	39 40 00 13 	li      r10,19                                 
    /* 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;                        
ffc071a8:	80 ff 00 64 	lwz     r7,100(r31)                            
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
ffc071ac:	90 df 00 3c 	stw     r6,60(r31)                             
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc071b0:	38 c0 00 03 	li      r6,3                                   
    /* 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;                        
ffc071b4:	54 e7 f8 7e 	rlwinm  r7,r7,31,1,31                          
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc071b8:	81 1f 00 64 	lwz     r8,100(r31)                            
    tty->termios.c_cc[VKILL] = '\025';                                
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
ffc071bc:	99 5f 00 4a 	stb     r10,74(r31)                            
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc071c0:	39 40 00 1a 	li      r10,26                                 
    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;                        
ffc071c4:	1d 08 00 03 	mulli   r8,r8,3                                
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
ffc071c8:	98 df 00 41 	stb     r6,65(r31)                             
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc071cc:	38 c0 00 1c 	li      r6,28                                  
    tty->termios.c_cc[VEOF] = '\004';                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
ffc071d0:	99 5f 00 4b 	stb     r10,75(r31)                            
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc071d4:	39 40 00 12 	li      r10,18                                 
    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;                        
ffc071d8:	55 08 f0 be 	rlwinm  r8,r8,30,2,31                          
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
ffc071dc:	98 df 00 42 	stb     r6,66(r31)                             
    tty->termios.c_cc[VERASE] = '\177';                               
ffc071e0:	38 c0 00 7f 	li      r6,127                                 
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
    tty->termios.c_cc[VSTOP] = '\023';                                
    tty->termios.c_cc[VSUSP] = '\032';                                
    tty->termios.c_cc[VREPRINT] = '\022';                             
ffc071e4:	99 5f 00 4d 	stb     r10,77(r31)                            
    tty->termios.c_cc[VDISCARD] = '\017';                             
ffc071e8:	39 40 00 0f 	li      r10,15                                 
    tty->termios.c_lflag =                                            
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
ffc071ec:	98 df 00 43 	stb     r6,67(r31)                             
    tty->termios.c_cc[VKILL] = '\025';                                
ffc071f0:	38 c0 00 15 	li      r6,21                                  
    tty->termios.c_cc[VEOL2] = '\000';                                
    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';                             
ffc071f4:	99 5f 00 4e 	stb     r10,78(r31)                            
    tty->termios.c_cc[VWERASE] = '\027';                              
ffc071f8:	39 40 00 17 	li      r10,23                                 
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
    tty->termios.c_cc[VQUIT] = '\034';                                
    tty->termios.c_cc[VERASE] = '\177';                               
    tty->termios.c_cc[VKILL] = '\025';                                
ffc071fc:	98 df 00 44 	stb     r6,68(r31)                             
    tty->termios.c_cc[VEOF] = '\004';                                 
ffc07200:	38 c0 00 04 	li      r6,4                                   
    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';                              
ffc07204:	99 5f 00 4f 	stb     r10,79(r31)                            
    tty->termios.c_cc[VLNEXT] = '\026';                               
ffc07208:	39 40 00 16 	li      r10,22                                 
                                                                      
    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';                                 
ffc0720c:	98 df 00 45 	stb     r6,69(r31)                             
    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';                               
ffc07210:	99 5f 00 50 	stb     r10,80(r31)                            
    /* 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;                        
ffc07214:	90 ff 00 bc 	stw     r7,188(r31)                            
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
ffc07218:	91 1f 00 c0 	stw     r8,192(r31)                            
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
ffc0721c:	41 9e 00 74 	beq-    cr7,ffc07290 <rtems_termios_open+0x408>
ffc07220:	39 29 00 01 	addi    r9,r9,1                                
ffc07224:	99 36 00 0c 	stb     r9,12(r22)                             
ffc07228:	4b ff fd 0c 	b       ffc06f34 <rtems_termios_open+0xac>     
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
ffc0722c:	80 7f 00 c4 	lwz     r3,196(r31)                            
ffc07230:	3c 80 ff c1 	lis     r4,-63                                 
ffc07234:	38 84 8c 4c 	addi    r4,r4,-29620                           
ffc07238:	7f e5 fb 78 	mr      r5,r31                                 
ffc0723c:	48 00 2e 4d 	bl      ffc0a088 <rtems_task_start>            
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc07240:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07244:	40 9e 00 80 	bne-    cr7,ffc072c4 <rtems_termios_open+0x43c><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
ffc07248:	80 7f 00 c8 	lwz     r3,200(r31)                            
ffc0724c:	3c 80 ff c0 	lis     r4,-64                                 
ffc07250:	38 84 6d 68 	addi    r4,r4,28008                            
ffc07254:	7f e5 fb 78 	mr      r5,r31                                 
ffc07258:	48 00 2e 31 	bl      ffc0a088 <rtems_task_start>            
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc0725c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07260:	41 9e fd 1c 	beq+    cr7,ffc06f7c <rtems_termios_open+0xf4> <== ALWAYS TAKEN
ffc07264:	48 00 00 60 	b       ffc072c4 <rtems_termios_open+0x43c>    <== NOT EXECUTED
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
ffc07268:	7e 83 a3 78 	mr      r3,r20                                 
ffc0726c:	4b ff d8 fd 	bl      ffc04b68 <free>                        
            free((void *)(tty->rawInBuf.theBuf));                     
ffc07270:	7e a3 ab 78 	mr      r3,r21                                 
ffc07274:	4b ff d8 f5 	bl      ffc04b68 <free>                        
            free(tty);                                                
ffc07278:	7f e3 fb 78 	mr      r3,r31                                 
ffc0727c:	4b ff d8 ed 	bl      ffc04b68 <free>                        
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc07280:	80 7b 28 14 	lwz     r3,10260(r27)                          
      return RTEMS_NO_MEMORY;                                         
ffc07284:	3b 80 00 1a 	li      r28,26                                 
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
            free((void *)(tty->rawInBuf.theBuf));                     
            free(tty);                                                
      rtems_semaphore_release (rtems_termios_ttyMutex);               
ffc07288:	48 00 29 39 	bl      ffc09bc0 <rtems_semaphore_release>     
      return RTEMS_NO_MEMORY;                                         
ffc0728c:	4b ff fc f8 	b       ffc06f84 <rtems_termios_open+0xfc>     
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
ffc07290:	39 20 00 61 	li      r9,97                                  
ffc07294:	99 36 00 0c 	stb     r9,12(r22)                             
ffc07298:	4b ff fc 9c 	b       ffc06f34 <rtems_termios_open+0xac>     
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
        rtems_build_name ('T', 'R', 'r', c),                          
ffc0729c:	88 76 00 0c 	lbz     r3,12(r22)                             
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
ffc072a0:	38 80 00 00 	li      r4,0                                   
ffc072a4:	38 a0 00 24 	li      r5,36                                  
ffc072a8:	64 63 54 52 	oris    r3,r3,21586                            
ffc072ac:	60 63 72 00 	ori     r3,r3,29184                            
ffc072b0:	38 c0 00 00 	li      r6,0                                   
ffc072b4:	38 ff 00 68 	addi    r7,r31,104                             
ffc072b8:	48 00 24 55 	bl      ffc0970c <rtems_semaphore_create>      
        rtems_build_name ('T', 'R', 'r', c),                          
        0,                                                            
        RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,               
        RTEMS_NO_PRIORITY,                                            
        &tty->rawInBuf.Semaphore);                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc072bc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc072c0:	41 9e fe a0 	beq+    cr7,ffc07160 <rtems_termios_open+0x2d8><== ALWAYS TAKEN
        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);                              
ffc072c4:	48 00 30 d5 	bl      ffc0a398 <rtems_fatal_error_occurred>  
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
                                   rtems_build_name ('T', 'x', 'T', c),
ffc072c8:	88 76 00 0c 	lbz     r3,12(r22)                             
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
ffc072cc:	38 80 00 0a 	li      r4,10                                  
ffc072d0:	38 a0 04 00 	li      r5,1024                                
ffc072d4:	64 63 54 78 	oris    r3,r3,21624                            
ffc072d8:	60 63 54 00 	ori     r3,r3,21504                            
ffc072dc:	38 c0 05 00 	li      r6,1280                                
ffc072e0:	38 e0 00 00 	li      r7,0                                   
ffc072e4:	39 1f 00 c8 	addi    r8,r31,200                             
ffc072e8:	48 00 2a 31 	bl      ffc09d18 <rtems_task_create>           
           TERMIOS_TXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc072ec:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc072f0:	40 be ff d4 	bne-    cr7,ffc072c4 <rtems_termios_open+0x43c><== NEVER TAKEN
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
ffc072f4:	88 76 00 0c 	lbz     r3,12(r22)                             
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->txTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
ffc072f8:	38 80 00 09 	li      r4,9                                   
ffc072fc:	38 a0 04 00 	li      r5,1024                                
ffc07300:	64 63 52 78 	oris    r3,r3,21112                            
ffc07304:	60 63 54 00 	ori     r3,r3,21504                            
ffc07308:	38 c0 05 00 	li      r6,1280                                
ffc0730c:	38 e0 00 00 	li      r7,0                                   
ffc07310:	39 1f 00 c4 	addi    r8,r31,196                             
ffc07314:	48 00 2a 05 	bl      ffc09d18 <rtems_task_create>           
           TERMIOS_RXTASK_STACKSIZE,                                  
           RTEMS_NO_PREEMPT | RTEMS_NO_TIMESLICE |                    
           RTEMS_NO_ASR,                                              
           RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,                     
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc07318:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0731c:	41 9e fe 2c 	beq+    cr7,ffc07148 <rtems_termios_open+0x2c0><== ALWAYS TAKEN
ffc07320:	4b ff ff a4 	b       ffc072c4 <rtems_termios_open+0x43c>    <== 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;                                    
ffc07324:	93 e9 28 18 	stw     r31,10264(r9)                          
ffc07328:	4b ff fd 54 	b       ffc0707c <rtems_termios_open+0x1f4>    
                                                                      

ffc07a38 <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, size_t len, struct rtems_termios_tty *tty) {
ffc07a38:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc07a3c:	7c 08 02 a6 	mflr    r0                                     
ffc07a40:	90 01 00 2c 	stw     r0,44(r1)                              
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc07a44:	81 25 00 b4 	lwz     r9,180(r5)                             
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, size_t len, struct rtems_termios_tty *tty)        
{                                                                     
ffc07a48:	93 21 00 0c 	stw     r25,12(r1)                             
ffc07a4c:	7c 79 1b 78 	mr      r25,r3                                 
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc07a50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
  const void *_buf, size_t len, struct rtems_termios_tty *tty)        
{                                                                     
ffc07a54:	93 41 00 10 	stw     r26,16(r1)                             
ffc07a58:	7c 9a 23 78 	mr      r26,r4                                 
ffc07a5c:	93 e1 00 24 	stw     r31,36(r1)                             
ffc07a60:	7c bf 2b 78 	mr      r31,r5                                 
ffc07a64:	93 01 00 08 	stw     r24,8(r1)                              
ffc07a68:	93 61 00 14 	stw     r27,20(r1)                             
ffc07a6c:	93 81 00 18 	stw     r28,24(r1)                             
ffc07a70:	93 a1 00 1c 	stw     r29,28(r1)                             
ffc07a74:	93 c1 00 20 	stw     r30,32(r1)                             
  const unsigned char *buf = _buf;                                    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
ffc07a78:	41 9e 01 24 	beq-    cr7,ffc07b9c <rtems_termios_puts+0x164>
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc07a7c:	2f 84 00 00 	cmpwi   cr7,r4,0                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
ffc07a80:	83 65 00 80 	lwz     r27,128(r5)                            
                                                                      
/*                                                                    
 * Send characters to device-specific code                            
 */                                                                   
void                                                                  
rtems_termios_puts (                                                  
ffc07a84:	3b 23 ff ff 	addi    r25,r3,-1                              
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
ffc07a88:	3b 80 00 02 	li      r28,2                                  
          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;                                 
ffc07a8c:	3b 00 00 01 	li      r24,1                                  
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc07a90:	41 9e 00 b8 	beq-    cr7,ffc07b48 <rtems_termios_puts+0x110><== NEVER TAKEN
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
ffc07a94:	81 3f 00 88 	lwz     r9,136(r31)                            
ffc07a98:	3b 7b 00 01 	addi    r27,r27,1                              
ffc07a9c:	7d 5b 4b 96 	divwu   r10,r27,r9                             
ffc07aa0:	7d 2a 49 d6 	mullw   r9,r10,r9                              
ffc07aa4:	7f 69 d8 50 	subf    r27,r9,r27                             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07aa8:	7f c0 00 a6 	mfmsr   r30                                    
ffc07aac:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc07ab0:	7f c9 48 78 	andc    r9,r30,r9                              
ffc07ab4:	7d 20 01 24 	mtmsr   r9                                     
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
ffc07ab8:	83 bf 00 84 	lwz     r29,132(r31)                           
ffc07abc:	7f 9d d8 00 	cmpw    cr7,r29,r27                            
ffc07ac0:	40 9e 00 40 	bne-    cr7,ffc07b00 <rtems_termios_puts+0xc8> 
      tty->rawOutBufState = rob_wait;                                 
ffc07ac4:	93 9f 00 94 	stw     r28,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07ac8:	7f c0 01 24 	mtmsr   r30                                    
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
ffc07acc:	80 7f 00 8c 	lwz     r3,140(r31)                            
ffc07ad0:	38 80 00 00 	li      r4,0                                   
ffc07ad4:	38 a0 00 00 	li      r5,0                                   
ffc07ad8:	48 00 1f 49 	bl      ffc09a20 <rtems_semaphore_obtain>      
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc07adc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc07ae0:	40 9e 01 00 	bne-    cr7,ffc07be0 <rtems_termios_puts+0x1a8><== NEVER TAKEN
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc07ae4:	7f c0 00 a6 	mfmsr   r30                                    
ffc07ae8:	7d 30 42 a6 	mfsprg  r9,0                                   
ffc07aec:	7f c9 48 78 	andc    r9,r30,r9                              
ffc07af0:	7d 20 01 24 	mtmsr   r9                                     
     * 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) {                          
ffc07af4:	81 3f 00 84 	lwz     r9,132(r31)                            
ffc07af8:	7f 89 e8 00 	cmpw    cr7,r9,r29                             
ffc07afc:	41 9e ff c8 	beq+    cr7,ffc07ac4 <rtems_termios_puts+0x8c> <== NEVER TAKEN
        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++;              
ffc07b00:	81 5f 00 80 	lwz     r10,128(r31)                           
ffc07b04:	8d 19 00 01 	lbzu    r8,1(r25)                              
ffc07b08:	81 3f 00 7c 	lwz     r9,124(r31)                            
ffc07b0c:	7d 09 51 ae 	stbx    r8,r9,r10                              
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
ffc07b10:	81 3f 00 94 	lwz     r9,148(r31)                            
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
    }                                                                 
    tty->rawOutBuf.theBuf[tty->rawOutBuf.Head] = *buf++;              
    tty->rawOutBuf.Head = newHead;                                    
ffc07b14:	93 7f 00 80 	stw     r27,128(r31)                           
    if (tty->rawOutBufState == rob_idle) {                            
ffc07b18:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc07b1c:	40 9e 00 20 	bne-    cr7,ffc07b3c <rtems_termios_puts+0x104>
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
ffc07b20:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc07b24:	71 2a 00 10 	andi.   r10,r9,16                              
ffc07b28:	41 82 00 50 	beq-    ffc07b78 <rtems_termios_puts+0x140>    <== ALWAYS TAKEN
        (*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;                                   
ffc07b2c:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc07b30:	61 29 00 20 	ori     r9,r9,32                               <== NOT EXECUTED
ffc07b34:	91 3f 00 b8 	stw     r9,184(r31)                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
ffc07b38:	93 1f 00 94 	stw     r24,148(r31)                           
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc07b3c:	7f c0 01 24 	mtmsr   r30                                    
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
ffc07b40:	37 5a ff ff 	addic.  r26,r26,-1                             
ffc07b44:	40 82 ff 50 	bne+    ffc07a94 <rtems_termios_puts+0x5c>     
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07b48:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc07b4c:	83 01 00 08 	lwz     r24,8(r1)                              
ffc07b50:	7c 08 03 a6 	mtlr    r0                                     
ffc07b54:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc07b58:	83 41 00 10 	lwz     r26,16(r1)                             
ffc07b5c:	83 61 00 14 	lwz     r27,20(r1)                             
ffc07b60:	83 81 00 18 	lwz     r28,24(r1)                             
ffc07b64:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc07b68:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc07b6c:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc07b70:	38 21 00 28 	addi    r1,r1,40                               
ffc07b74:	4e 80 00 20 	blr                                            
    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); 
ffc07b78:	80 9f 00 84 	lwz     r4,132(r31)                            
    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)(                                         
ffc07b7c:	38 a0 00 01 	li      r5,1                                   
ffc07b80:	81 5f 00 7c 	lwz     r10,124(r31)                           
ffc07b84:	81 3f 00 a4 	lwz     r9,164(r31)                            
ffc07b88:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc07b8c:	7c 8a 22 14 	add     r4,r10,r4                              
ffc07b90:	7d 29 03 a6 	mtctr   r9                                     
ffc07b94:	4e 80 04 21 	bctrl                                          
ffc07b98:	4b ff ff a0 	b       ffc07b38 <rtems_termios_puts+0x100>    
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
ffc07b9c:	81 25 00 a4 	lwz     r9,164(r5)                             
ffc07ba0:	7f 24 cb 78 	mr      r4,r25                                 
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07ba4:	80 01 00 2c 	lwz     r0,44(r1)                              
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
ffc07ba8:	7d 29 03 a6 	mtctr   r9                                     
ffc07bac:	80 65 00 10 	lwz     r3,16(r5)                              
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07bb0:	7c 08 03 a6 	mtlr    r0                                     
ffc07bb4:	83 01 00 08 	lwz     r24,8(r1)                              
ffc07bb8:	83 21 00 0c 	lwz     r25,12(r1)                             
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
ffc07bbc:	7f 45 d3 78 	mr      r5,r26                                 
      tty->rawOutBufState = rob_busy;                                 
    }                                                                 
    rtems_interrupt_enable (level);                                   
    len--;                                                            
  }                                                                   
}                                                                     
ffc07bc0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc07bc4:	83 41 00 10 	lwz     r26,16(r1)                             
ffc07bc8:	83 81 00 18 	lwz     r28,24(r1)                             
ffc07bcc:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc07bd0:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc07bd4:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc07bd8:	38 21 00 28 	addi    r1,r1,40                               
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
ffc07bdc:	4e 80 04 20 	bctr                                           
      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);                              
ffc07be0:	48 00 27 b9 	bl      ffc0a398 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc0845c <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
ffc0845c:	94 21 ff d0 	stwu    r1,-48(r1)                             
ffc08460:	7c 08 02 a6 	mflr    r0                                     
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc08464:	38 80 00 00 	li      r4,0                                   
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc08468:	90 01 00 34 	stw     r0,52(r1)                              
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0846c:	38 a0 00 00 	li      r5,0                                   
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc08470:	81 23 00 00 	lwz     r9,0(r3)                               
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc08474:	93 e1 00 2c 	stw     r31,44(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc08478:	83 e9 00 30 	lwz     r31,48(r9)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc0847c:	93 41 00 18 	stw     r26,24(r1)                             
ffc08480:	7c 7a 1b 78 	mr      r26,r3                                 
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc08484:	80 7f 00 14 	lwz     r3,20(r31)                             
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_read (void *arg)                                        
{                                                                     
ffc08488:	93 01 00 10 	stw     r24,16(r1)                             
ffc0848c:	93 21 00 14 	stw     r25,20(r1)                             
ffc08490:	93 81 00 20 	stw     r28,32(r1)                             
ffc08494:	92 c1 00 08 	stw     r22,8(r1)                              
ffc08498:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc0849c:	93 61 00 1c 	stw     r27,28(r1)                             
ffc084a0:	93 a1 00 24 	stw     r29,36(r1)                             
ffc084a4:	93 c1 00 28 	stw     r30,40(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  uint32_t   count = args->count;                                     
ffc084a8:	83 9a 00 14 	lwz     r28,20(r26)                            
  char      *buffer = args->buffer;                                   
ffc084ac:	83 1a 00 10 	lwz     r24,16(r26)                            
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc084b0:	48 00 15 71 	bl      ffc09a20 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc084b4:	7c 79 1b 79 	mr.     r25,r3                                 
ffc084b8:	40 82 00 48 	bne-    ffc08500 <rtems_termios_read+0xa4>     <== NEVER TAKEN
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
ffc084bc:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc084c0:	3d 40 00 00 	lis     r10,0                                  
ffc084c4:	39 4a 28 c0 	addi    r10,r10,10432                          
ffc084c8:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc084cc:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc084d0:	81 29 00 08 	lwz     r9,8(r9)                               
ffc084d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc084d8:	41 9e 00 64 	beq-    cr7,ffc0853c <rtems_termios_read+0xe0> 
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc084dc:	7d 29 03 a6 	mtctr   r9                                     
ffc084e0:	7f e3 fb 78 	mr      r3,r31                                 
ffc084e4:	7f 44 d3 78 	mr      r4,r26                                 
ffc084e8:	4e 80 04 21 	bctrl                                          
    tty->tty_rcvwakeup = 0;                                           
ffc084ec:	39 20 00 00 	li      r9,0                                   
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
ffc084f0:	7c 79 1b 78 	mr      r25,r3                                 
    tty->tty_rcvwakeup = 0;                                           
ffc084f4:	91 3f 00 e4 	stw     r9,228(r31)                            
    rtems_semaphore_release (tty->isem);                              
ffc084f8:	80 7f 00 14 	lwz     r3,20(r31)                             
ffc084fc:	48 00 16 c5 	bl      ffc09bc0 <rtems_semaphore_release>     
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
ffc08500:	80 01 00 34 	lwz     r0,52(r1)                              
ffc08504:	7f 23 cb 78 	mr      r3,r25                                 
ffc08508:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc0850c:	7c 08 03 a6 	mtlr    r0                                     
ffc08510:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc08514:	83 01 00 10 	lwz     r24,16(r1)                             
ffc08518:	83 21 00 14 	lwz     r25,20(r1)                             
ffc0851c:	83 41 00 18 	lwz     r26,24(r1)                             
ffc08520:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc08524:	83 81 00 20 	lwz     r28,32(r1)                             
ffc08528:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc0852c:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc08530:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc08534:	38 21 00 30 	addi    r1,r1,48                               
ffc08538:	4e 80 00 20 	blr                                            
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
ffc0853c:	81 5f 00 24 	lwz     r10,36(r31)                            
ffc08540:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc08544:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc08548:	41 9e 00 ac 	beq-    cr7,ffc085f4 <rtems_termios_read+0x198><== ALWAYS TAKEN
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc0854c:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc08550:	41 9e 00 48 	beq-    cr7,ffc08598 <rtems_termios_read+0x13c><== NEVER TAKEN
ffc08554:	81 3f 00 24 	lwz     r9,36(r31)                             
ffc08558:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc0855c:	7f 89 50 00 	cmpw    cr7,r9,r10                             
ffc08560:	40 9c 00 3c 	bge-    cr7,ffc0859c <rtems_termios_read+0x140>
ffc08564:	7f 09 c0 50 	subf    r24,r9,r24                             
ffc08568:	7f 89 03 a6 	mtctr   r28                                    
ffc0856c:	48 00 00 10 	b       ffc0857c <rtems_termios_read+0x120>    
ffc08570:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc08574:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc08578:	40 9d 00 24 	ble-    cr7,ffc0859c <rtems_termios_read+0x140>
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc0857c:	81 5f 00 1c 	lwz     r10,28(r31)                            
    count--;                                                          
ffc08580:	3b 9c ff ff 	addi    r28,r28,-1                             
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
ffc08584:	7d 4a 48 ae 	lbzx    r10,r10,r9                             
ffc08588:	7d 58 49 ae 	stbx    r10,r24,r9                             
ffc0858c:	39 29 00 01 	addi    r9,r9,1                                
ffc08590:	91 3f 00 24 	stw     r9,36(r31)                             
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
ffc08594:	42 00 ff dc 	bdnz+   ffc08570 <rtems_termios_read+0x114>    
ffc08598:	3b 80 00 00 	li      r28,0                                  
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc0859c:	81 3a 00 14 	lwz     r9,20(r26)                             
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
ffc085a0:	80 7f 00 14 	lwz     r3,20(r31)                             
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
ffc085a4:	7d 3c 48 50 	subf    r9,r28,r9                              
ffc085a8:	91 3a 00 1c 	stw     r9,28(r26)                             
  tty->tty_rcvwakeup = 0;                                             
ffc085ac:	39 20 00 00 	li      r9,0                                   
ffc085b0:	91 3f 00 e4 	stw     r9,228(r31)                            
  rtems_semaphore_release (tty->isem);                                
ffc085b4:	48 00 16 0d 	bl      ffc09bc0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc085b8:	80 01 00 34 	lwz     r0,52(r1)                              
ffc085bc:	7f 23 cb 78 	mr      r3,r25                                 
ffc085c0:	82 c1 00 08 	lwz     r22,8(r1)                              
ffc085c4:	7c 08 03 a6 	mtlr    r0                                     
ffc085c8:	82 e1 00 0c 	lwz     r23,12(r1)                             
ffc085cc:	83 01 00 10 	lwz     r24,16(r1)                             
ffc085d0:	83 21 00 14 	lwz     r25,20(r1)                             
ffc085d4:	83 41 00 18 	lwz     r26,24(r1)                             
ffc085d8:	83 61 00 1c 	lwz     r27,28(r1)                             
ffc085dc:	83 81 00 20 	lwz     r28,32(r1)                             
ffc085e0:	83 a1 00 24 	lwz     r29,36(r1)                             
ffc085e4:	83 c1 00 28 	lwz     r30,40(r1)                             
ffc085e8:	83 e1 00 2c 	lwz     r31,44(r1)                             
ffc085ec:	38 21 00 30 	addi    r1,r1,48                               
ffc085f0:	4e 80 00 20 	blr                                            
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
ffc085f4:	81 3f 00 a0 	lwz     r9,160(r31)                            
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
ffc085f8:	81 5f 00 28 	lwz     r10,40(r31)                            
    if (tty->device.pollRead != NULL &&                               
ffc085fc:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
ffc08600:	93 3f 00 20 	stw     r25,32(r31)                            
ffc08604:	93 3f 00 24 	stw     r25,36(r31)                            
    tty->read_start_column = tty->column;                             
ffc08608:	91 5f 00 2c 	stw     r10,44(r31)                            
    if (tty->device.pollRead != NULL &&                               
ffc0860c:	41 9e 00 10 	beq-    cr7,ffc0861c <rtems_termios_read+0x1c0>
ffc08610:	81 5f 00 b4 	lwz     r10,180(r31)                           
ffc08614:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc08618:	41 9e 01 94 	beq-    cr7,ffc087ac <rtems_termios_read+0x350>
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
ffc0861c:	83 df 00 74 	lwz     r30,116(r31)                           
  rtems_status_code sc;                                               
  int               wait = 1;                                         
ffc08620:	3b 60 00 01 	li      r27,1                                  
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc08624:	3e e0 00 00 	lis     r23,0                                  
             ==                (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);     
ffc08628:	3a df 00 49 	addi    r22,r31,73                             
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0862c:	81 5f 00 5c 	lwz     r10,92(r31)                            
ffc08630:	81 3f 00 60 	lwz     r9,96(r31)                             
ffc08634:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc08638:	41 9e 01 00 	beq-    cr7,ffc08738 <rtems_termios_read+0x2dc>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc0863c:	3b b7 21 5c 	addi    r29,r23,8540                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc08640:	81 5f 00 20 	lwz     r10,32(r31)                            
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc08644:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc08648:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0864c:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc08650:	40 9d 00 e8 	ble-    cr7,ffc08738 <rtems_termios_read+0x2dc><== NEVER TAKEN
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc08654:	80 ff 00 5c 	lwz     r7,92(r31)                             
ffc08658:	80 df 00 64 	lwz     r6,100(r31)                            
ffc0865c:	38 e7 00 01 	addi    r7,r7,1                                
      c = tty->rawInBuf.theBuf[newHead];                              
ffc08660:	80 bf 00 58 	lwz     r5,88(r31)                             
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc08664:	7d 27 33 96 	divwu   r9,r7,r6                               
      c = tty->rawInBuf.theBuf[newHead];                              
      tty->rawInBuf.Head = newHead;                                   
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc08668:	81 7f 00 bc 	lwz     r11,188(r31)                           
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
ffc0866c:	7d 29 31 d6 	mullw   r9,r9,r6                               
ffc08670:	7d 29 38 50 	subf    r9,r9,r7                               
      c = tty->rawInBuf.theBuf[newHead];                              
ffc08674:	7f c5 48 ae 	lbzx    r30,r5,r9                              
      tty->rawInBuf.Head = newHead;                                   
ffc08678:	91 3f 00 5c 	stw     r9,92(r31)                             
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
ffc0867c:	81 5f 00 60 	lwz     r10,96(r31)                            
ffc08680:	80 ff 00 64 	lwz     r7,100(r31)                            
          % tty->rawInBuf.Size)                                       
ffc08684:	81 1f 00 64 	lwz     r8,100(r31)                            
      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)             
ffc08688:	7d 47 52 14 	add     r10,r7,r10                             
ffc0868c:	7d 49 50 50 	subf    r10,r9,r10                             
          % tty->rawInBuf.Size)                                       
ffc08690:	7d 2a 43 96 	divwu   r9,r10,r8                              
ffc08694:	7d 09 41 d6 	mullw   r8,r9,r8                               
ffc08698:	7d 48 50 50 	subf    r10,r8,r10                             
      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)             
ffc0869c:	7f 8a 58 40 	cmplw   cr7,r10,r11                            
ffc086a0:	40 9c 00 50 	bge-    cr7,ffc086f0 <rtems_termios_read+0x294><== NEVER TAKEN
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
ffc086a4:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc086a8:	55 29 00 3c 	rlwinm  r9,r9,0,0,30                           
ffc086ac:	91 3f 00 b8 	stw     r9,184(r31)                            
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
ffc086b0:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc086b4:	71 29 02 02 	andi.   r9,r9,514                              
ffc086b8:	2f 89 02 02 	cmpwi   cr7,r9,514                             
ffc086bc:	41 9e 00 bc 	beq-    cr7,ffc08778 <rtems_termios_read+0x31c><== NEVER TAKEN
            && ((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) {                       
ffc086c0:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc086c4:	71 28 01 00 	andi.   r8,r9,256                              
ffc086c8:	41 82 00 28 	beq-    ffc086f0 <rtems_termios_read+0x294>    <== ALWAYS TAKEN
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc086cc:	81 3f 00 b0 	lwz     r9,176(r31)                            <== 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;                              
ffc086d0:	81 5f 00 b8 	lwz     r10,184(r31)                           <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc086d4:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== 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;                              
ffc086d8:	55 4a 07 b8 	rlwinm  r10,r10,0,30,28                        <== NOT EXECUTED
ffc086dc:	91 5f 00 b8 	stw     r10,184(r31)                           <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
ffc086e0:	41 9e 00 10 	beq-    cr7,ffc086f0 <rtems_termios_read+0x294><== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
ffc086e4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc086e8:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc086ec:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc086f0:	81 3f 00 3c 	lwz     r9,60(r31)                             
        if (siproc (c, tty))                                          
ffc086f4:	7f c3 f3 78 	mr      r3,r30                                 
ffc086f8:	7f e4 fb 78 	mr      r4,r31                                 
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
ffc086fc:	71 28 00 02 	andi.   r8,r9,2                                
ffc08700:	41 82 00 5c 	beq-    ffc0875c <rtems_termios_read+0x300>    <== NEVER TAKEN
        if (siproc (c, tty))                                          
ffc08704:	4b ff fb a5 	bl      ffc082a8 <siproc>                      
ffc08708:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0870c:	40 9e 00 64 	bne-    cr7,ffc08770 <rtems_termios_read+0x314>
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc08710:	81 5f 00 5c 	lwz     r10,92(r31)                            
ffc08714:	81 3f 00 60 	lwz     r9,96(r31)                             
      } else {                                                        
        siproc (c, tty);                                              
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
          wait = 0;                                                   
      }                                                               
      timeout = tty->rawInBufSemaphoreTimeout;                        
ffc08718:	83 df 00 70 	lwz     r30,112(r31)                           
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc0871c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc08720:	41 9e 00 18 	beq-    cr7,ffc08738 <rtems_termios_read+0x2dc>
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc08724:	81 3d 00 08 	lwz     r9,8(r29)                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc08728:	81 5f 00 20 	lwz     r10,32(r31)                            
                       (tty->ccount < (CBUFSIZE-1))) {                
ffc0872c:	39 29 ff ff 	addi    r9,r9,-1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
ffc08730:	7f 8a 48 40 	cmplw   cr7,r10,r9                             
ffc08734:	41 9c ff 20 	blt+    cr7,ffc08654 <rtems_termios_read+0x1f8><== ALWAYS TAKEN
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
ffc08738:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
ffc0873c:	41 9e fe 10 	beq+    cr7,ffc0854c <rtems_termios_read+0xf0> 
      sc = rtems_semaphore_obtain(                                    
ffc08740:	80 7f 00 68 	lwz     r3,104(r31)                            
ffc08744:	7f c5 f3 78 	mr      r5,r30                                 
ffc08748:	80 9f 00 6c 	lwz     r4,108(r31)                            
ffc0874c:	48 00 12 d5 	bl      ffc09a20 <rtems_semaphore_obtain>      
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
ffc08750:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08754:	41 9e fe d8 	beq+    cr7,ffc0862c <rtems_termios_read+0x1d0><== ALWAYS TAKEN
ffc08758:	4b ff fd f4 	b       ffc0854c <rtems_termios_read+0xf0>     <== NOT EXECUTED
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
ffc0875c:	4b ff fb 4d 	bl      ffc082a8 <siproc>                      <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc08760:	89 5f 00 47 	lbz     r10,71(r31)                            <== NOT EXECUTED
ffc08764:	81 3f 00 20 	lwz     r9,32(r31)                             <== NOT EXECUTED
ffc08768:	7f 89 50 00 	cmpw    cr7,r9,r10                             <== NOT EXECUTED
ffc0876c:	41 bc ff a4 	blt-    cr7,ffc08710 <rtems_termios_read+0x2b4><== NOT EXECUTED
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
ffc08770:	3b 60 00 00 	li      r27,0                                  
ffc08774:	4b ff ff 9c 	b       ffc08710 <rtems_termios_read+0x2b4>    
         < 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)                     
ffc08778:	81 3f 00 94 	lwz     r9,148(r31)                            <== NOT EXECUTED
ffc0877c:	2f 89 00 00 	cmpwi   cr7,r9,0                               <== NOT EXECUTED
ffc08780:	41 9e 00 10 	beq-    cr7,ffc08790 <rtems_termios_read+0x334><== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
ffc08784:	81 3f 00 b8 	lwz     r9,184(r31)                            <== NOT EXECUTED
ffc08788:	71 28 00 20 	andi.   r8,r9,32                               <== NOT EXECUTED
ffc0878c:	41 a2 ff 34 	beq-    ffc086c0 <rtems_termios_read+0x264>    <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
ffc08790:	81 3f 00 a4 	lwz     r9,164(r31)                            <== NOT EXECUTED
ffc08794:	7e c4 b3 78 	mr      r4,r22                                 <== NOT EXECUTED
ffc08798:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc0879c:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc087a0:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc087a4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc087a8:	4b ff ff 48 	b       ffc086f0 <rtems_termios_read+0x294>    <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
ffc087ac:	81 5f 00 3c 	lwz     r10,60(r31)                            
ffc087b0:	71 48 00 02 	andi.   r8,r10,2                               
ffc087b4:	41 82 00 34 	beq-    ffc087e8 <rtems_termios_read+0x38c>    
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc087b8:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc087bc:	7d 29 03 a6 	mtctr   r9                                     
ffc087c0:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc087c4:	7f e4 fb 78 	mr      r4,r31                                 
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
ffc087c8:	2c 03 00 00 	cmpwi   r3,0                                   
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc087cc:	54 63 06 3e 	clrlwi  r3,r3,24                               
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
ffc087d0:	41 80 00 bc 	blt-    ffc0888c <rtems_termios_read+0x430>    
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
ffc087d4:	4b ff fa d5 	bl      ffc082a8 <siproc>                      
ffc087d8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc087dc:	40 be fd 70 	bne-    cr7,ffc0854c <rtems_termios_read+0xf0> 
ffc087e0:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc087e4:	4b ff ff d4 	b       ffc087b8 <rtems_termios_read+0x35c>    
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
ffc087e8:	48 00 0a 3d 	bl      ffc09224 <rtems_clock_get_ticks_since_boot>
ffc087ec:	7c 7e 1b 78 	mr      r30,r3                                 
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
ffc087f0:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc087f4:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc087f8:	7d 29 03 a6 	mtctr   r9                                     
ffc087fc:	4e 80 04 21 	bctrl                                          
      if (n < 0) {                                                    
ffc08800:	2c 03 00 00 	cmpwi   r3,0                                   
ffc08804:	41 80 00 38 	blt-    ffc0883c <rtems_termios_read+0x3e0>    
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
ffc08808:	54 63 06 3e 	clrlwi  r3,r3,24                               
ffc0880c:	7f e4 fb 78 	mr      r4,r31                                 
ffc08810:	4b ff fa 99 	bl      ffc082a8 <siproc>                      
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
ffc08814:	89 3f 00 47 	lbz     r9,71(r31)                             
ffc08818:	81 5f 00 20 	lwz     r10,32(r31)                            
ffc0881c:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc08820:	40 bc fd 2c 	bge-    cr7,ffc0854c <rtems_termios_read+0xf0> 
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
ffc08824:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08828:	41 be ff c8 	beq-    cr7,ffc087f0 <rtems_termios_read+0x394><== NEVER TAKEN
ffc0882c:	89 3f 00 46 	lbz     r9,70(r31)                             
ffc08830:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08834:	41 9e ff bc 	beq+    cr7,ffc087f0 <rtems_termios_read+0x394><== NEVER TAKEN
ffc08838:	4b ff ff b0 	b       ffc087e8 <rtems_termios_read+0x38c>    
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
ffc0883c:	89 3f 00 47 	lbz     r9,71(r31)                             
ffc08840:	2f 89 00 00 	cmpwi   cr7,r9,0                               
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc08844:	89 3f 00 46 	lbz     r9,70(r31)                             
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
ffc08848:	41 9e 00 24 	beq-    cr7,ffc0886c <rtems_termios_read+0x410>
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
ffc0884c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08850:	41 9e 00 10 	beq-    cr7,ffc08860 <rtems_termios_read+0x404><== NEVER TAKEN
ffc08854:	81 3f 00 20 	lwz     r9,32(r31)                             
ffc08858:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0885c:	40 9e 00 18 	bne-    cr7,ffc08874 <rtems_termios_read+0x418>
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
ffc08860:	38 60 00 01 	li      r3,1                                   
ffc08864:	48 00 18 c5 	bl      ffc0a128 <rtems_task_wake_after>       
ffc08868:	4b ff ff 88 	b       ffc087f0 <rtems_termios_read+0x394>    
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
ffc0886c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08870:	41 be fc dc 	beq-    cr7,ffc0854c <rtems_termios_read+0xf0> <== NEVER TAKEN
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
ffc08874:	48 00 09 b1 	bl      ffc09224 <rtems_clock_get_ticks_since_boot>
          if ((now - then) > tty->vtimeTicks) {                       
ffc08878:	81 3f 00 54 	lwz     r9,84(r31)                             
ffc0887c:	7c 7e 18 50 	subf    r3,r30,r3                              
ffc08880:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc08884:	40 9d ff dc 	ble+    cr7,ffc08860 <rtems_termios_read+0x404>
ffc08888:	4b ff fc c4 	b       ffc0854c <rtems_termios_read+0xf0>     
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
ffc0888c:	38 60 00 01 	li      r3,1                                   
ffc08890:	48 00 18 99 	bl      ffc0a128 <rtems_task_wake_after>       
ffc08894:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc08898:	4b ff ff 20 	b       ffc087b8 <rtems_termios_read+0x35c>    
                                                                      

ffc06b0c <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) {
ffc06b0c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc06b10:	7c 08 02 a6 	mflr    r0                                     
ffc06b14:	90 01 00 1c 	stw     r0,28(r1)                              
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc06b18:	81 23 00 b8 	lwz     r9,184(r3)                             
 * 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)      
{                                                                     
ffc06b1c:	93 e1 00 14 	stw     r31,20(r1)                             
ffc06b20:	7c 7f 1b 78 	mr      r31,r3                                 
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc06b24:	71 29 04 03 	andi.   r9,r9,1027                             
 * 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)      
{                                                                     
ffc06b28:	93 a1 00 0c 	stw     r29,12(r1)                             
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc06b2c:	2f 89 04 01 	cmpwi   cr7,r9,1025                            
 * 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)      
{                                                                     
ffc06b30:	93 c1 00 10 	stw     r30,16(r1)                             
  int nToSend;                                                        
  rtems_interrupt_level level;                                        
  int len;                                                            
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
ffc06b34:	41 9e 01 5c 	beq-    cr7,ffc06c90 <rtems_termios_refill_transmitter+0x184><== NEVER TAKEN
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
ffc06b38:	81 23 00 b8 	lwz     r9,184(r3)                             
ffc06b3c:	55 29 07 be 	clrlwi  r9,r9,30                               
ffc06b40:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc06b44:	41 9e 01 b4 	beq-    cr7,ffc06cf8 <rtems_termios_refill_transmitter+0x1ec><== NEVER TAKEN
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
ffc06b48:	81 43 00 80 	lwz     r10,128(r3)                            
ffc06b4c:	81 23 00 84 	lwz     r9,132(r3)                             
ffc06b50:	7f 8a 48 00 	cmpw    cr7,r10,r9                             
ffc06b54:	41 9e 00 d8 	beq-    cr7,ffc06c2c <rtems_termios_refill_transmitter+0x120>
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06b58:	7d 20 00 a6 	mfmsr   r9                                     
ffc06b5c:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc06b60:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc06b64:	7d 40 01 24 	mtmsr   r10                                    
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
ffc06b68:	39 40 00 00 	li      r10,0                                  
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
ffc06b6c:	83 c3 00 90 	lwz     r30,144(r3)                            
    tty->t_dqlen = 0;                                                 
ffc06b70:	91 43 00 90 	stw     r10,144(r3)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06b74:	7d 20 01 24 	mtmsr   r9                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc06b78:	81 23 00 84 	lwz     r9,132(r3)                             
ffc06b7c:	81 43 00 88 	lwz     r10,136(r3)                            
ffc06b80:	7d 3e 4a 14 	add     r9,r30,r9                              
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc06b84:	81 03 00 94 	lwz     r8,148(r3)                             
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc06b88:	7f c9 53 96 	divwu   r30,r9,r10                             
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
ffc06b8c:	2f 88 00 02 	cmpwi   cr7,r8,2                               
    rtems_interrupt_disable(level);                                   
    len = tty->t_dqlen;                                               
    tty->t_dqlen = 0;                                                 
    rtems_interrupt_enable(level);                                    
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
ffc06b90:	7f de 51 d6 	mullw   r30,r30,r10                            
ffc06b94:	7f de 48 50 	subf    r30,r30,r9                             
    tty->rawOutBuf.Tail = newTail;                                    
ffc06b98:	93 c3 00 84 	stw     r30,132(r3)                            
    if (tty->rawOutBufState == rob_wait) {                            
ffc06b9c:	41 9e 00 e8 	beq-    cr7,ffc06c84 <rtems_termios_refill_transmitter+0x178>
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
ffc06ba0:	81 3f 00 80 	lwz     r9,128(r31)                            
ffc06ba4:	7f 89 f0 00 	cmpw    cr7,r9,r30                             
ffc06ba8:	41 9e 00 a0 	beq-    cr7,ffc06c48 <rtems_termios_refill_transmitter+0x13c>
      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))               
ffc06bac:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc06bb0:	71 29 02 10 	andi.   r9,r9,528                              
ffc06bb4:	2f 89 02 10 	cmpwi   cr7,r9,528                             
ffc06bb8:	41 9e 01 7c 	beq-    cr7,ffc06d34 <rtems_termios_refill_transmitter+0x228><== NEVER TAKEN
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
ffc06bbc:	81 3f 00 80 	lwz     r9,128(r31)                            
ffc06bc0:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc06bc4:	41 9d 00 b4 	bgt-    cr7,ffc06c78 <rtems_termios_refill_transmitter+0x16c>
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
ffc06bc8:	83 bf 00 80 	lwz     r29,128(r31)                           
ffc06bcc:	7f be e8 50 	subf    r29,r30,r29                            
      /* 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)) {                   
ffc06bd0:	81 3f 00 b8 	lwz     r9,184(r31)                            
ffc06bd4:	7f a5 eb 78 	mr      r5,r29                                 
ffc06bd8:	71 2a 06 00 	andi.   r10,r9,1536                            
ffc06bdc:	41 82 00 0c 	beq-    ffc06be8 <rtems_termios_refill_transmitter+0xdc>
ffc06be0:	38 a0 00 01 	li      r5,1                                   
        nToSend = 1;                                                  
ffc06be4:	3b a0 00 01 	li      r29,1                                  
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc06be8:	39 20 00 01 	li      r9,1                                   
      (*tty->device.write)(                                           
ffc06bec:	80 9f 00 7c 	lwz     r4,124(r31)                            
      /* 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*/                         
ffc06bf0:	91 3f 00 94 	stw     r9,148(r31)                            
      (*tty->device.write)(                                           
ffc06bf4:	7c 84 f2 14 	add     r4,r4,r30                              
ffc06bf8:	81 3f 00 a4 	lwz     r9,164(r31)                            
ffc06bfc:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc06c00:	7d 29 03 a6 	mtctr   r9                                     
ffc06c04:	4e 80 04 21 	bctrl                                          
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc06c08:	93 df 00 84 	stw     r30,132(r31)                           
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc06c0c:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc06c10:	7f a3 eb 78 	mr      r3,r29                                 
ffc06c14:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc06c18:	7c 08 03 a6 	mtlr    r0                                     
ffc06c1c:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc06c20:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc06c24:	38 21 00 18 	addi    r1,r1,24                               
ffc06c28:	4e 80 00 20 	blr                                            
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc06c2c:	81 23 00 94 	lwz     r9,148(r3)                             
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
ffc06c30:	3b a0 00 00 	li      r29,0                                  
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
ffc06c34:	2f 89 00 02 	cmpwi   cr7,r9,2                               
ffc06c38:	40 9e ff d4 	bne+    cr7,ffc06c0c <rtems_termios_refill_transmitter+0x100><== ALWAYS TAKEN
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
ffc06c3c:	80 63 00 8c 	lwz     r3,140(r3)                             <== NOT EXECUTED
ffc06c40:	48 00 2f 81 	bl      ffc09bc0 <rtems_semaphore_release>     <== NOT EXECUTED
ffc06c44:	4b ff ff c8 	b       ffc06c0c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
      nToSend = 0;                                                    
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc06c48:	81 3f 00 d4 	lwz     r9,212(r31)                            
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
ffc06c4c:	39 40 00 00 	li      r10,0                                  
ffc06c50:	91 5f 00 94 	stw     r10,148(r31)                           
      nToSend = 0;                                                    
ffc06c54:	3b a0 00 00 	li      r29,0                                  
                                                                      
      /*                                                              
       * check to see if snd wakeup callback was set                  
       */                                                             
      if ( tty->tty_snd.sw_pfn != NULL) {                             
ffc06c58:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06c5c:	41 be ff ac 	beq-    cr7,ffc06c08 <rtems_termios_refill_transmitter+0xfc><== ALWAYS TAKEN
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
ffc06c60:	38 7f 00 30 	addi    r3,r31,48                              <== NOT EXECUTED
ffc06c64:	80 9f 00 d8 	lwz     r4,216(r31)                            <== NOT EXECUTED
ffc06c68:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc06c6c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc06c70:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc06c74:	4b ff ff 98 	b       ffc06c0c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
ffc06c78:	83 bf 00 88 	lwz     r29,136(r31)                           
ffc06c7c:	7f be e8 50 	subf    r29,r30,r29                            
ffc06c80:	4b ff ff 50 	b       ffc06bd0 <rtems_termios_refill_transmitter+0xc4>
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
ffc06c84:	80 63 00 8c 	lwz     r3,140(r3)                             
ffc06c88:	48 00 2f 39 	bl      ffc09bc0 <rtems_semaphore_release>     
ffc06c8c:	4b ff ff 14 	b       ffc06ba0 <rtems_termios_refill_transmitter+0x94>
                                                                      
  /* 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);
ffc06c90:	81 23 00 a4 	lwz     r9,164(r3)                             <== NOT EXECUTED
ffc06c94:	38 9f 00 4a 	addi    r4,r31,74                              <== NOT EXECUTED
ffc06c98:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc06c9c:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc06ca0:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc06ca4:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06ca8:	7d 40 00 a6 	mfmsr   r10                                    <== NOT EXECUTED
ffc06cac:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc06cb0:	7d 49 48 78 	andc    r9,r10,r9                              <== NOT EXECUTED
ffc06cb4:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc06cb8:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc06cbc:	81 1f 00 b8 	lwz     r8,184(r31)                            <== 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--;                                                   
ffc06cc0:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
ffc06cc4:	61 08 00 02 	ori     r8,r8,2                                <== 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--;                                                   
ffc06cc8:	91 3f 00 90 	stw     r9,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc06ccc:	91 1f 00 b8 	stw     r8,184(r31)                            <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06cd0:	7d 40 01 24 	mtmsr   r10                                    <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc06cd4:	80 01 00 1c 	lwz     r0,28(r1)                              <== NOT EXECUTED
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
ffc06cd8:	3b a0 00 01 	li      r29,1                                  <== NOT EXECUTED
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
  }                                                                   
  return nToSend;                                                     
}                                                                     
ffc06cdc:	7f a3 eb 78 	mr      r3,r29                                 <== NOT EXECUTED
ffc06ce0:	83 c1 00 10 	lwz     r30,16(r1)                             <== NOT EXECUTED
ffc06ce4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc06ce8:	83 a1 00 0c 	lwz     r29,12(r1)                             <== NOT EXECUTED
ffc06cec:	83 e1 00 14 	lwz     r31,20(r1)                             <== NOT EXECUTED
ffc06cf0:	38 21 00 18 	addi    r1,r1,24                               <== NOT EXECUTED
ffc06cf4:	4e 80 00 20 	blr                                            <== 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);
ffc06cf8:	81 23 00 a4 	lwz     r9,164(r3)                             <== NOT EXECUTED
ffc06cfc:	38 9f 00 49 	addi    r4,r31,73                              <== NOT EXECUTED
ffc06d00:	38 a0 00 01 	li      r5,1                                   <== NOT EXECUTED
ffc06d04:	80 63 00 10 	lwz     r3,16(r3)                              <== NOT EXECUTED
ffc06d08:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc06d0c:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc06d10:	7d 40 00 a6 	mfmsr   r10                                    <== NOT EXECUTED
ffc06d14:	7d 30 42 a6 	mfsprg  r9,0                                   <== NOT EXECUTED
ffc06d18:	7d 49 48 78 	andc    r9,r10,r9                              <== NOT EXECUTED
ffc06d1c:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
ffc06d20:	81 3f 00 90 	lwz     r9,144(r31)                            <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc06d24:	81 1f 00 b8 	lwz     r8,184(r31)                            <== 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--;                                                   
ffc06d28:	39 29 ff ff 	addi    r9,r9,-1                               <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
ffc06d2c:	55 08 07 fa 	rlwinm  r8,r8,0,31,29                          <== NOT EXECUTED
ffc06d30:	4b ff ff 98 	b       ffc06cc8 <rtems_termios_refill_transmitter+0x1bc><== NOT EXECUTED
ffc06d34:	7d 20 00 a6 	mfmsr   r9                                     <== NOT EXECUTED
ffc06d38:	7d 50 42 a6 	mfsprg  r10,0                                  <== NOT EXECUTED
ffc06d3c:	7d 2a 50 78 	andc    r10,r9,r10                             <== NOT EXECUTED
ffc06d40:	7d 40 01 24 	mtmsr   r10                                    <== 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;                                     
ffc06d44:	81 5f 00 b8 	lwz     r10,184(r31)                           <== NOT EXECUTED
ffc06d48:	61 4a 00 20 	ori     r10,r10,32                             <== NOT EXECUTED
ffc06d4c:	91 5f 00 b8 	stw     r10,184(r31)                           <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
ffc06d50:	39 40 00 01 	li      r10,1                                  <== NOT EXECUTED
ffc06d54:	91 5f 00 94 	stw     r10,148(r31)                           <== NOT EXECUTED
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc06d58:	7d 20 01 24 	mtmsr   r9                                     <== NOT EXECUTED
      rtems_interrupt_enable(level);                                  
      nToSend = 0;                                                    
ffc06d5c:	3b a0 00 00 	li      r29,0                                  <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
ffc06d60:	93 df 00 84 	stw     r30,132(r31)                           <== NOT EXECUTED
ffc06d64:	4b ff fe a8 	b       ffc06c0c <rtems_termios_refill_transmitter+0x100><== NOT EXECUTED
                                                                      

ffc08c4c <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
ffc08c4c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08c50:	7c 08 02 a6 	mflr    r0                                     
ffc08c54:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc08c58:	7c 7f 1b 78 	mr      r31,r3                                 
ffc08c5c:	90 01 00 24 	stw     r0,36(r1)                              
ffc08c60:	48 00 00 20 	b       ffc08c80 <rtems_termios_rxdaemon+0x34> 
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08c64:	81 3f 00 a0 	lwz     r9,160(r31)                            
ffc08c68:	80 7f 00 10 	lwz     r3,16(r31)                             
ffc08c6c:	7d 29 03 a6 	mtctr   r9                                     
ffc08c70:	4e 80 04 21 	bctrl                                          
    if (c != EOF) {                                                   
ffc08c74:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08c78:	7c 69 1b 78 	mr      r9,r3                                  
    if (c != EOF) {                                                   
ffc08c7c:	40 9e 00 50 	bne-    cr7,ffc08ccc <rtems_termios_rxdaemon+0x80>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc08c80:	38 c1 00 08 	addi    r6,r1,8                                
ffc08c84:	38 80 00 02 	li      r4,2                                   
ffc08c88:	38 a0 00 00 	li      r5,0                                   
ffc08c8c:	38 60 00 03 	li      r3,3                                   
ffc08c90:	48 00 06 25 	bl      ffc092b4 <rtems_event_receive>         
      (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) {              
ffc08c94:	81 21 00 08 	lwz     r9,8(r1)                               
ffc08c98:	71 2a 00 01 	andi.   r10,r9,1                               
ffc08c9c:	41 82 ff c8 	beq+    ffc08c64 <rtems_termios_rxdaemon+0x18> <== ALWAYS TAKEN
      tty->rxTaskId = 0;                                              
ffc08ca0:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc08ca4:	91 3f 00 c4 	stw     r9,196(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc08ca8:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc08cac:	48 00 12 0d 	bl      ffc09eb8 <rtems_task_delete>           <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08cb0:	81 3f 00 a0 	lwz     r9,160(r31)                            <== NOT EXECUTED
ffc08cb4:	80 7f 00 10 	lwz     r3,16(r31)                             <== NOT EXECUTED
ffc08cb8:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc08cbc:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc08cc0:	2f 83 ff ff 	cmpwi   cr7,r3,-1                              <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
ffc08cc4:	7c 69 1b 78 	mr      r9,r3                                  <== NOT EXECUTED
    if (c != EOF) {                                                   
ffc08cc8:	41 9e ff b8 	beq+    cr7,ffc08c80 <rtems_termios_rxdaemon+0x34><== NOT EXECUTED
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc08ccc:	7f e3 fb 78 	mr      r3,r31                                 
    c = tty->device.pollRead(tty->minor);                             
    if (c != EOF) {                                                   
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
ffc08cd0:	99 21 00 0c 	stb     r9,12(r1)                              
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
ffc08cd4:	38 81 00 0c 	addi    r4,r1,12                               
ffc08cd8:	38 a0 00 01 	li      r5,1                                   
ffc08cdc:	4b ff fb cd 	bl      ffc088a8 <rtems_termios_enqueue_raw_characters>
ffc08ce0:	4b ff ff a0 	b       ffc08c80 <rtems_termios_rxdaemon+0x34> 
                                                                      

ffc06d68 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
ffc06d68:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc06d6c:	7c 08 02 a6 	mflr    r0                                     
ffc06d70:	93 c1 00 18 	stw     r30,24(r1)                             
ffc06d74:	3f c0 00 00 	lis     r30,0                                  
ffc06d78:	3b de 28 c0 	addi    r30,r30,10432                          
ffc06d7c:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc06d80:	7c 7f 1b 78 	mr      r31,r3                                 
ffc06d84:	90 01 00 24 	stw     r0,36(r1)                              
ffc06d88:	48 00 00 30 	b       ffc06db8 <rtems_termios_txdaemon+0x50> 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06d8c:	81 3f 00 cc 	lwz     r9,204(r31)                            
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc06d90:	7f e3 fb 78 	mr      r3,r31                                 
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
ffc06d94:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc06d98:	7d 3e 4a 14 	add     r9,r30,r9                              
ffc06d9c:	81 29 00 14 	lwz     r9,20(r9)                              
ffc06da0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc06da4:	41 9e 00 0c 	beq-    cr7,ffc06db0 <rtems_termios_txdaemon+0x48><== ALWAYS TAKEN
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
ffc06da8:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc06dac:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
ffc06db0:	7f e3 fb 78 	mr      r3,r31                                 
ffc06db4:	4b ff fd 59 	bl      ffc06b0c <rtems_termios_refill_transmitter>
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
ffc06db8:	38 80 00 02 	li      r4,2                                   
ffc06dbc:	38 a0 00 00 	li      r5,0                                   
ffc06dc0:	38 c1 00 08 	addi    r6,r1,8                                
ffc06dc4:	38 60 00 03 	li      r3,3                                   
ffc06dc8:	48 00 24 ed 	bl      ffc092b4 <rtems_event_receive>         
       (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) {              
ffc06dcc:	81 21 00 08 	lwz     r9,8(r1)                               
ffc06dd0:	71 2a 00 01 	andi.   r10,r9,1                               
ffc06dd4:	41 82 ff b8 	beq+    ffc06d8c <rtems_termios_txdaemon+0x24> <== ALWAYS TAKEN
      tty->txTaskId = 0;                                              
ffc06dd8:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc06ddc:	91 3f 00 c8 	stw     r9,200(r31)                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
ffc06de0:	38 60 00 00 	li      r3,0                                   <== NOT EXECUTED
ffc06de4:	48 00 30 d5 	bl      ffc09eb8 <rtems_task_delete>           <== NOT EXECUTED
ffc06de8:	4b ff ff a4 	b       ffc06d8c <rtems_termios_txdaemon+0x24> <== NOT EXECUTED
                                                                      

ffc0832c <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
ffc0832c:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc08330:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc08334:	38 80 00 00 	li      r4,0                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc08338:	90 01 00 24 	stw     r0,36(r1)                              
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc0833c:	38 a0 00 00 	li      r5,0                                   
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc08340:	81 23 00 00 	lwz     r9,0(r3)                               
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc08344:	93 e1 00 1c 	stw     r31,28(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
ffc08348:	83 e9 00 30 	lwz     r31,48(r9)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc0834c:	93 81 00 10 	stw     r28,16(r1)                             
ffc08350:	7c 7c 1b 78 	mr      r28,r3                                 
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc08354:	80 7f 00 18 	lwz     r3,24(r31)                             
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
ffc08358:	93 61 00 0c 	stw     r27,12(r1)                             
ffc0835c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc08360:	93 c1 00 18 	stw     r30,24(r1)                             
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
ffc08364:	48 00 16 bd 	bl      ffc09a20 <rtems_semaphore_obtain>      
  if (sc != RTEMS_SUCCESSFUL)                                         
ffc08368:	7c 7b 1b 79 	mr.     r27,r3                                 
ffc0836c:	40 82 00 40 	bne-    ffc083ac <rtems_termios_write+0x80>    
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
ffc08370:	81 3f 00 cc 	lwz     r9,204(r31)                            
ffc08374:	3d 40 00 00 	lis     r10,0                                  
ffc08378:	39 4a 28 c0 	addi    r10,r10,10432                          
ffc0837c:	55 29 28 34 	rlwinm  r9,r9,5,0,26                           
ffc08380:	7d 2a 4a 14 	add     r9,r10,r9                              
ffc08384:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc08388:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0838c:	41 9e 00 48 	beq-    cr7,ffc083d4 <rtems_termios_write+0xa8>
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
ffc08390:	7f e3 fb 78 	mr      r3,r31                                 
ffc08394:	7d 29 03 a6 	mtctr   r9                                     
ffc08398:	7f 84 e3 78 	mr      r4,r28                                 
ffc0839c:	4e 80 04 21 	bctrl                                          
ffc083a0:	7c 7b 1b 78 	mr      r27,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc083a4:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc083a8:	48 00 18 19 	bl      ffc09bc0 <rtems_semaphore_release>     
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
ffc083ac:	80 01 00 24 	lwz     r0,36(r1)                              
ffc083b0:	7f 63 db 78 	mr      r3,r27                                 
ffc083b4:	83 81 00 10 	lwz     r28,16(r1)                             
ffc083b8:	7c 08 03 a6 	mtlr    r0                                     
ffc083bc:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc083c0:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc083c4:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc083c8:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc083cc:	38 21 00 20 	addi    r1,r1,32                               
ffc083d0:	4e 80 00 20 	blr                                            
  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) {                                 
ffc083d4:	81 3f 00 34 	lwz     r9,52(r31)                             
ffc083d8:	71 2a 00 01 	andi.   r10,r9,1                               
ffc083dc:	41 82 00 64 	beq-    ffc08440 <rtems_termios_write+0x114>   <== NEVER TAKEN
    uint32_t   count = args->count;                                   
ffc083e0:	83 dc 00 14 	lwz     r30,20(r28)                            
    char      *buffer = args->buffer;                                 
ffc083e4:	83 bc 00 10 	lwz     r29,16(r28)                            
    while (count--)                                                   
ffc083e8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc083ec:	41 9e 00 68 	beq-    cr7,ffc08454 <rtems_termios_write+0x128><== NEVER TAKEN
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
ffc083f0:	3b bd ff ff 	addi    r29,r29,-1                             
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
ffc083f4:	8c 7d 00 01 	lbzu    r3,1(r29)                              
ffc083f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc083fc:	4b ff f7 e9 	bl      ffc07be4 <oproc>                       
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc08400:	37 de ff ff 	addic.  r30,r30,-1                             
ffc08404:	40 82 ff f0 	bne+    ffc083f4 <rtems_termios_write+0xc8>    
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
ffc08408:	81 3c 00 14 	lwz     r9,20(r28)                             
ffc0840c:	91 3c 00 1c 	stw     r9,28(r28)                             
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
ffc08410:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc08414:	48 00 17 ad 	bl      ffc09bc0 <rtems_semaphore_release>     
  return sc;                                                          
}                                                                     
ffc08418:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0841c:	7f 63 db 78 	mr      r3,r27                                 
ffc08420:	83 81 00 10 	lwz     r28,16(r1)                             
ffc08424:	7c 08 03 a6 	mtlr    r0                                     
ffc08428:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0842c:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc08430:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc08434:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc08438:	38 21 00 20 	addi    r1,r1,32                               
ffc0843c:	4e 80 00 20 	blr                                            
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
ffc08440:	80 7c 00 10 	lwz     r3,16(r28)                             <== NOT EXECUTED
ffc08444:	7f e5 fb 78 	mr      r5,r31                                 <== NOT EXECUTED
ffc08448:	80 9c 00 14 	lwz     r4,20(r28)                             <== NOT EXECUTED
ffc0844c:	4b ff f5 ed 	bl      ffc07a38 <rtems_termios_puts>          <== NOT EXECUTED
ffc08450:	4b ff ff b8 	b       ffc08408 <rtems_termios_write+0xdc>    <== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
ffc08454:	39 20 00 00 	li      r9,0                                   <== NOT EXECUTED
ffc08458:	4b ff ff b4 	b       ffc0840c <rtems_termios_write+0xe0>    <== NOT EXECUTED
                                                                      

ffc1cc7c <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
ffc1cc7c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc1cc80:	7c 08 02 a6 	mflr    r0                                     
ffc1cc84:	7c 64 1b 78 	mr      r4,r3                                  
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
ffc1cc88:	3c 60 00 00 	lis     r3,0                                   
ffc1cc8c:	90 01 00 1c 	stw     r0,28(r1)                              
ffc1cc90:	38 63 72 e0 	addi    r3,r3,29408                            
ffc1cc94:	38 a1 00 08 	addi    r5,r1,8                                
ffc1cc98:	48 00 3b 99 	bl      ffc20830 <_Objects_Get>                
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1cc9c:	81 21 00 08 	lwz     r9,8(r1)                               
ffc1cca0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc1cca4:	40 9e 00 30 	bne-    cr7,ffc1ccd4 <rtems_timer_cancel+0x58> 
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
ffc1cca8:	81 23 00 38 	lwz     r9,56(r3)                              
ffc1ccac:	2f 89 00 04 	cmpwi   cr7,r9,4                               
ffc1ccb0:	41 9e 00 0c 	beq-    cr7,ffc1ccbc <rtems_timer_cancel+0x40> <== NEVER TAKEN
        (void) _Watchdog_Remove( &the_timer->Ticker );                
ffc1ccb4:	38 63 00 10 	addi    r3,r3,16                               
ffc1ccb8:	48 00 5f dd 	bl      ffc22c94 <_Watchdog_Remove>            
      _Thread_Enable_dispatch();                                      
ffc1ccbc:	48 00 4c 11 	bl      ffc218cc <_Thread_Enable_dispatch>     
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1ccc0:	80 01 00 1c 	lwz     r0,28(r1)                              
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
        (void) _Watchdog_Remove( &the_timer->Ticker );                
      _Thread_Enable_dispatch();                                      
      return RTEMS_SUCCESSFUL;                                        
ffc1ccc4:	38 60 00 00 	li      r3,0                                   
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1ccc8:	7c 08 03 a6 	mtlr    r0                                     
ffc1cccc:	38 21 00 18 	addi    r1,r1,24                               
ffc1ccd0:	4e 80 00 20 	blr                                            
ffc1ccd4:	80 01 00 1c 	lwz     r0,28(r1)                              
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1ccd8:	38 60 00 04 	li      r3,4                                   
}                                                                     
ffc1ccdc:	7c 08 03 a6 	mtlr    r0                                     
ffc1cce0:	38 21 00 18 	addi    r1,r1,24                               
ffc1cce4:	4e 80 00 20 	blr                                            
                                                                      

ffc1d3e8 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
ffc1d3e8:	94 21 ff c0 	stwu    r1,-64(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc1d3ec:	3d 20 00 00 	lis     r9,0                                   
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1d3f0:	7c 08 02 a6 	mflr    r0                                     
ffc1d3f4:	93 e1 00 3c 	stw     r31,60(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
ffc1d3f8:	83 e9 29 38 	lwz     r31,10552(r9)                          
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1d3fc:	90 01 00 44 	stw     r0,68(r1)                              
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc1d400:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  rtems_id                           id,                              
  rtems_time_of_day                  *wall_time,                      
  rtems_timer_service_routine_entry  routine,                         
  void                              *user_data                        
)                                                                     
{                                                                     
ffc1d404:	93 01 00 20 	stw     r24,32(r1)                             
ffc1d408:	93 21 00 24 	stw     r25,36(r1)                             
ffc1d40c:	93 41 00 28 	stw     r26,40(r1)                             
ffc1d410:	93 61 00 2c 	stw     r27,44(r1)                             
ffc1d414:	93 81 00 30 	stw     r28,48(r1)                             
ffc1d418:	93 a1 00 34 	stw     r29,52(r1)                             
ffc1d41c:	93 c1 00 38 	stw     r30,56(r1)                             
  Timer_Control        *the_timer;                                    
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
ffc1d420:	41 9e 00 b0 	beq-    cr7,ffc1d4d0 <rtems_timer_server_fire_when+0xe8>
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
ffc1d424:	3f c0 00 00 	lis     r30,0                                  
ffc1d428:	3b de 70 00 	addi    r30,r30,28672                          
ffc1d42c:	89 5e 00 14 	lbz     r10,20(r30)                            
ffc1d430:	7c 7c 1b 78 	mr      r28,r3                                 
    return RTEMS_NOT_DEFINED;                                         
ffc1d434:	38 60 00 0b 	li      r3,11                                  
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
ffc1d438:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc1d43c:	40 9e 00 34 	bne-    cr7,ffc1d470 <rtems_timer_server_fire_when+0x88><== ALWAYS TAKEN
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1d440:	80 01 00 44 	lwz     r0,68(r1)                              
ffc1d444:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1d448:	7c 08 03 a6 	mtlr    r0                                     
ffc1d44c:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1d450:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1d454:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1d458:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1d45c:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1d460:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1d464:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1d468:	38 21 00 40 	addi    r1,r1,64                               
ffc1d46c:	4e 80 00 20 	blr                                            
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1d470:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1d474:	7c bd 2b 78 	mr      r29,r5                                 
    return RTEMS_INVALID_ADDRESS;                                     
ffc1d478:	38 60 00 09 	li      r3,9                                   
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
ffc1d47c:	41 be ff c4 	beq-    cr7,ffc1d440 <rtems_timer_server_fire_when+0x58>
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
ffc1d480:	7c 83 23 78 	mr      r3,r4                                  
ffc1d484:	90 81 00 18 	stw     r4,24(r1)                              
ffc1d488:	7c db 33 78 	mr      r27,r6                                 
ffc1d48c:	4b ff bb 45 	bl      ffc18fd0 <_TOD_Validate>               
ffc1d490:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc1d494:	80 81 00 18 	lwz     r4,24(r1)                              
ffc1d498:	40 9e 00 6c 	bne-    cr7,ffc1d504 <rtems_timer_server_fire_when+0x11c>
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1d49c:	80 01 00 44 	lwz     r0,68(r1)                              
                                                                      
  if ( !routine )                                                     
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
ffc1d4a0:	38 60 00 14 	li      r3,20                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1d4a4:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1d4a8:	7c 08 03 a6 	mtlr    r0                                     
ffc1d4ac:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1d4b0:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1d4b4:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1d4b8:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1d4bc:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1d4c0:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1d4c4:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1d4c8:	38 21 00 40 	addi    r1,r1,64                               
ffc1d4cc:	4e 80 00 20 	blr                                            
ffc1d4d0:	80 01 00 44 	lwz     r0,68(r1)                              
  Objects_Locations     location;                                     
  rtems_interval        seconds;                                      
  Timer_server_Control *timer_server = _Timer_server;                 
                                                                      
  if ( !timer_server )                                                
    return RTEMS_INCORRECT_STATE;                                     
ffc1d4d4:	38 60 00 0e 	li      r3,14                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
ffc1d4d8:	83 01 00 20 	lwz     r24,32(r1)                             
ffc1d4dc:	7c 08 03 a6 	mtlr    r0                                     
ffc1d4e0:	83 21 00 24 	lwz     r25,36(r1)                             
ffc1d4e4:	83 41 00 28 	lwz     r26,40(r1)                             
ffc1d4e8:	83 61 00 2c 	lwz     r27,44(r1)                             
ffc1d4ec:	83 81 00 30 	lwz     r28,48(r1)                             
ffc1d4f0:	83 a1 00 34 	lwz     r29,52(r1)                             
ffc1d4f4:	83 c1 00 38 	lwz     r30,56(r1)                             
ffc1d4f8:	83 e1 00 3c 	lwz     r31,60(r1)                             
ffc1d4fc:	38 21 00 40 	addi    r1,r1,64                               
ffc1d500:	4e 80 00 20 	blr                                            
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
ffc1d504:	7c 83 23 78 	mr      r3,r4                                  
ffc1d508:	4b ff ba 15 	bl      ffc18f1c <_TOD_To_seconds>             
ffc1d50c:	80 9e 00 04 	lwz     r4,4(r30)                              
ffc1d510:	7c 7a 1b 78 	mr      r26,r3                                 
ffc1d514:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc1d518:	3c c0 3b 9a 	lis     r6,15258                               
ffc1d51c:	38 a0 00 00 	li      r5,0                                   
ffc1d520:	60 c6 ca 00 	ori     r6,r6,51712                            
ffc1d524:	48 01 52 a1 	bl      ffc327c4 <__divdi3>                    
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
ffc1d528:	7f 9a 20 40 	cmplw   cr7,r26,r4                             
ffc1d52c:	40 9d ff 70 	ble+    cr7,ffc1d49c <rtems_timer_server_fire_when+0xb4>
ffc1d530:	3c 60 00 00 	lis     r3,0                                   
ffc1d534:	38 63 72 e0 	addi    r3,r3,29408                            
ffc1d538:	7f 84 e3 78 	mr      r4,r28                                 
ffc1d53c:	38 a1 00 08 	addi    r5,r1,8                                
ffc1d540:	48 00 32 f1 	bl      ffc20830 <_Objects_Get>                
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1d544:	83 01 00 08 	lwz     r24,8(r1)                              
ffc1d548:	7c 79 1b 78 	mr      r25,r3                                 
ffc1d54c:	2f 98 00 00 	cmpwi   cr7,r24,0                              
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
ffc1d550:	38 60 00 04 	li      r3,4                                   
  seconds = _TOD_To_seconds( wall_time );                             
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
ffc1d554:	40 be fe ec 	bne-    cr7,ffc1d440 <rtems_timer_server_fire_when+0x58>
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
ffc1d558:	38 79 00 10 	addi    r3,r25,16                              
ffc1d55c:	48 00 57 39 	bl      ffc22c94 <_Watchdog_Remove>            
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
ffc1d560:	39 20 00 03 	li      r9,3                                   
ffc1d564:	80 7e 00 00 	lwz     r3,0(r30)                              
ffc1d568:	3c c0 3b 9a 	lis     r6,15258                               
ffc1d56c:	80 9e 00 04 	lwz     r4,4(r30)                              
ffc1d570:	38 a0 00 00 	li      r5,0                                   
ffc1d574:	91 39 00 38 	stw     r9,56(r25)                             
ffc1d578:	60 c6 ca 00 	ori     r6,r6,51712                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
ffc1d57c:	93 19 00 18 	stw     r24,24(r25)                            
  the_watchdog->routine   = routine;                                  
ffc1d580:	93 b9 00 2c 	stw     r29,44(r25)                            
  the_watchdog->id        = id;                                       
ffc1d584:	93 99 00 30 	stw     r28,48(r25)                            
  the_watchdog->user_data = user_data;                                
ffc1d588:	93 79 00 34 	stw     r27,52(r25)                            
ffc1d58c:	48 01 52 39 	bl      ffc327c4 <__divdi3>                    
      _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 ); 
ffc1d590:	81 3f 00 04 	lwz     r9,4(r31)                              
                                                                      
    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();
ffc1d594:	7f 44 d0 50 	subf    r26,r4,r26                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc1d598:	7f e3 fb 78 	mr      r3,r31                                 
ffc1d59c:	7d 29 03 a6 	mtctr   r9                                     
ffc1d5a0:	7f 24 cb 78 	mr      r4,r25                                 
                                                                      
    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();
ffc1d5a4:	93 59 00 1c 	stw     r26,28(r25)                            
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
ffc1d5a8:	4e 80 04 21 	bctrl                                          
                                                                      
      _Thread_Enable_dispatch();                                      
ffc1d5ac:	48 00 43 21 	bl      ffc218cc <_Thread_Enable_dispatch>     
      return RTEMS_SUCCESSFUL;                                        
ffc1d5b0:	38 60 00 00 	li      r3,0                                   
ffc1d5b4:	4b ff fe 8c 	b       ffc1d440 <rtems_timer_server_fire_when+0x58>
                                                                      

ffc04840 <rtems_verror>: { int local_errno = 0; int chars_written = 0; rtems_status_code status; if (error_flag & RTEMS_ERROR_PANIC) {
ffc04840:	74 69 20 00 	andis.  r9,r3,8192                             
static int rtems_verror(                                              
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
ffc04844:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc04848:	7c 08 02 a6 	mflr    r0                                     
ffc0484c:	93 41 00 08 	stw     r26,8(r1)                              
ffc04850:	7c 9a 23 78 	mr      r26,r4                                 
ffc04854:	93 61 00 0c 	stw     r27,12(r1)                             
ffc04858:	7c bb 2b 78 	mr      r27,r5                                 
ffc0485c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc04860:	7c 7e 1b 78 	mr      r30,r3                                 
ffc04864:	90 01 00 24 	stw     r0,36(r1)                              
ffc04868:	93 81 00 10 	stw     r28,16(r1)                             
ffc0486c:	93 a1 00 14 	stw     r29,20(r1)                             
ffc04870:	93 e1 00 1c 	stw     r31,28(r1)                             
  int               local_errno = 0;                                  
  int               chars_written = 0;                                
  rtems_status_code status;                                           
                                                                      
  if (error_flag & RTEMS_ERROR_PANIC) {                               
ffc04874:	41 82 00 3c 	beq-    ffc048b0 <rtems_verror+0x70>           
    if (rtems_panic_in_progress++)                                    
ffc04878:	3d 40 00 00 	lis     r10,0                                  
ffc0487c:	81 2a 28 04 	lwz     r9,10244(r10)                          
ffc04880:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc04884:	39 29 00 01 	addi    r9,r9,1                                
ffc04888:	91 2a 28 04 	stw     r9,10244(r10)                          
ffc0488c:	41 9e 00 18 	beq-    cr7,ffc048a4 <rtems_verror+0x64>       <== ALWAYS TAKEN
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    uint32_t level = _Thread_Dispatch_disable_level;                  
ffc04890:	3d 20 00 00 	lis     r9,0                                   <== NOT EXECUTED
ffc04894:	81 09 28 24 	lwz     r8,10276(r9)                           <== NOT EXECUTED
                                                                      
    ++level;                                                          
ffc04898:	39 08 00 01 	addi    r8,r8,1                                <== NOT EXECUTED
    _Thread_Dispatch_disable_level = level;                           
ffc0489c:	91 09 28 24 	stw     r8,10276(r9)                           <== 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();                                    
ffc048a0:	81 2a 28 04 	lwz     r9,10244(r10)                          <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc048a4:	2f 89 00 02 	cmpwi   cr7,r9,2                               
      return 0;                                                       
ffc048a8:	3b a0 00 00 	li      r29,0                                  
  if (error_flag & RTEMS_ERROR_PANIC) {                               
    if (rtems_panic_in_progress++)                                    
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
ffc048ac:	41 9d 00 ac 	bgt-    cr7,ffc04958 <rtems_verror+0x118>      <== NEVER TAKEN
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
ffc048b0:	3f e0 00 00 	lis     r31,0                                  
ffc048b4:	81 3f 27 a8 	lwz     r9,10152(r31)                          
ffc048b8:	80 69 00 08 	lwz     r3,8(r9)                               
ffc048bc:	48 00 dc 85 	bl      ffc12540 <fflush>                      
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc048c0:	77 c9 40 00 	andis.  r9,r30,16384                           
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
ffc048c4:	57 de 01 00 	rlwinm  r30,r30,0,4,0                          
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
ffc048c8:	40 82 00 f0 	bne-    ffc049b8 <rtems_verror+0x178>          
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
ffc048cc:	3b 80 00 00 	li      r28,0                                  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc048d0:	81 3f 27 a8 	lwz     r9,10152(r31)                          
ffc048d4:	7f 44 d3 78 	mr      r4,r26                                 
ffc048d8:	7f 65 db 78 	mr      r5,r27                                 
ffc048dc:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc048e0:	48 01 33 c1 	bl      ffc17ca0 <vfprintf>                    
                                                                      
  if (status)                                                         
ffc048e4:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
ffc048e8:	7c 7d 1b 78 	mr      r29,r3                                 
                                                                      
  if (status)                                                         
ffc048ec:	40 9e 00 98 	bne-    cr7,ffc04984 <rtems_verror+0x144>      
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
ffc048f0:	2f 9c 00 00 	cmpwi   cr7,r28,0                              
ffc048f4:	41 9e 00 3c 	beq-    cr7,ffc04930 <rtems_verror+0xf0>       
    if ((local_errno > 0) && *strerror(local_errno))                  
ffc048f8:	40 9d 00 18 	ble-    cr7,ffc04910 <rtems_verror+0xd0>       
ffc048fc:	7f 83 e3 78 	mr      r3,r28                                 
ffc04900:	48 00 ef b5 	bl      ffc138b4 <strerror>                    
ffc04904:	89 23 00 00 	lbz     r9,0(r3)                               
ffc04908:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc0490c:	40 9e 00 b8 	bne-    cr7,ffc049c4 <rtems_verror+0x184>      <== ALWAYS TAKEN
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
ffc04910:	81 3f 27 a8 	lwz     r9,10152(r31)                          
ffc04914:	3c 80 ff c2 	lis     r4,-62                                 
ffc04918:	38 84 e3 d4 	addi    r4,r4,-7212                            
ffc0491c:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04920:	7f 85 e3 78 	mr      r5,r28                                 
ffc04924:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04928:	48 00 e1 61 	bl      ffc12a88 <fprintf>                     
ffc0492c:	7f bd 1a 14 	add     r29,r29,r3                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc04930:	81 3f 27 a8 	lwz     r9,10152(r31)                          
ffc04934:	3c 80 ff c2 	lis     r4,-62                                 
ffc04938:	38 84 d6 f0 	addi    r4,r4,-10512                           
ffc0493c:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04940:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc04944:	48 00 e1 45 	bl      ffc12a88 <fprintf>                     
                                                                      
  (void) fflush(stderr);                                              
ffc04948:	81 3f 27 a8 	lwz     r9,10152(r31)                          
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
ffc0494c:	7f a3 ea 14 	add     r29,r3,r29                             
                                                                      
  (void) fflush(stderr);                                              
ffc04950:	80 69 00 0c 	lwz     r3,12(r9)                              
ffc04954:	48 00 db ed 	bl      ffc12540 <fflush>                      
                                                                      
  return chars_written;                                               
}                                                                     
ffc04958:	80 01 00 24 	lwz     r0,36(r1)                              
ffc0495c:	7f a3 eb 78 	mr      r3,r29                                 
ffc04960:	83 41 00 08 	lwz     r26,8(r1)                              
ffc04964:	7c 08 03 a6 	mtlr    r0                                     
ffc04968:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc0496c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc04970:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc04974:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc04978:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc0497c:	38 21 00 20 	addi    r1,r1,32                               
ffc04980:	4e 80 00 20 	blr                                            
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
ffc04984:	3d 20 00 00 	lis     r9,0                                   
ffc04988:	81 29 27 a8 	lwz     r9,10152(r9)                           
ffc0498c:	7f c3 f3 78 	mr      r3,r30                                 
ffc04990:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc04994:	4b ff fe 9d 	bl      ffc04830 <rtems_status_text>           
ffc04998:	3c 80 ff c2 	lis     r4,-62                                 
ffc0499c:	7c 65 1b 78 	mr      r5,r3                                  
ffc049a0:	38 84 e3 b4 	addi    r4,r4,-7244                            
ffc049a4:	7f c3 f3 78 	mr      r3,r30                                 
ffc049a8:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049ac:	48 00 e0 dd 	bl      ffc12a88 <fprintf>                     
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
ffc049b0:	7f bd 1a 14 	add     r29,r29,r3                             
ffc049b4:	4b ff ff 3c 	b       ffc048f0 <rtems_verror+0xb0>           
                                                                      
  (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;                                              
ffc049b8:	48 00 d6 c1 	bl      ffc12078 <__errno>                     
ffc049bc:	83 83 00 00 	lwz     r28,0(r3)                              
ffc049c0:	4b ff ff 10 	b       ffc048d0 <rtems_verror+0x90>           
    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));
ffc049c4:	81 3f 27 a8 	lwz     r9,10152(r31)                          
ffc049c8:	7f 83 e3 78 	mr      r3,r28                                 
ffc049cc:	83 c9 00 0c 	lwz     r30,12(r9)                             
ffc049d0:	48 00 ee e5 	bl      ffc138b4 <strerror>                    
ffc049d4:	3c 80 ff c2 	lis     r4,-62                                 
ffc049d8:	7c 65 1b 78 	mr      r5,r3                                  
ffc049dc:	38 84 e3 c4 	addi    r4,r4,-7228                            
ffc049e0:	7f c3 f3 78 	mr      r3,r30                                 
ffc049e4:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc049e8:	48 00 e0 a1 	bl      ffc12a88 <fprintf>                     
ffc049ec:	7f bd 1a 14 	add     r29,r29,r3                             
ffc049f0:	4b ff ff 40 	b       ffc04930 <rtems_verror+0xf0>           
                                                                      

ffc2be7c <scanInt>: /** * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
ffc2be7c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc2be80:	7c 08 02 a6 	mflr    r0                                     
ffc2be84:	93 01 00 08 	stw     r24,8(r1)                              
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc2be88:	3f 00 cc cc 	lis     r24,-13108                             
ffc2be8c:	63 18 cc cd 	ori     r24,r24,52429                          
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2be90:	93 41 00 10 	stw     r26,16(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
ffc2be94:	3f 40 7f ff 	lis     r26,32767                              
ffc2be98:	63 5a ff ff 	ori     r26,r26,65535                          
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2be9c:	90 01 00 2c 	stw     r0,44(r1)                              
ffc2bea0:	93 21 00 0c 	stw     r25,12(r1)                             
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc2bea4:	3f 20 00 00 	lis     r25,0                                  
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2bea8:	93 61 00 14 	stw     r27,20(r1)                             
ffc2beac:	7c 9b 23 78 	mr      r27,r4                                 
ffc2beb0:	93 81 00 18 	stw     r28,24(r1)                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2beb4:	3f 80 00 00 	lis     r28,0                                  
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2beb8:	93 a1 00 1c 	stw     r29,28(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
ffc2bebc:	3b a0 00 00 	li      r29,0                                  
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2bec0:	93 c1 00 20 	stw     r30,32(r1)                             
  int c;                                                              
  unsigned int i = 0;                                                 
ffc2bec4:	3b c0 00 00 	li      r30,0                                  
/**                                                                   
 *  Extract an integer value from the database                        
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
ffc2bec8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc2becc:	7c 7f 1b 78 	mr      r31,r3                                 
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2bed0:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc2bed4:	39 29 ff ff 	addi    r9,r9,-1                               
ffc2bed8:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2bedc:	91 3f 00 04 	stw     r9,4(r31)                              
ffc2bee0:	41 9c 00 80 	blt-    cr7,ffc2bf60 <scanInt+0xe4>            <== NEVER TAKEN
ffc2bee4:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc2bee8:	88 69 00 00 	lbz     r3,0(r9)                               
ffc2beec:	39 49 00 01 	addi    r10,r9,1                               
ffc2bef0:	91 5f 00 00 	stw     r10,0(r31)                             
    if (c == ':')                                                     
ffc2bef4:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
ffc2bef8:	41 9e 00 7c 	beq-    cr7,ffc2bf74 <scanInt+0xf8>            
      break;                                                          
    if (sign == 0) {                                                  
ffc2befc:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
ffc2bf00:	40 9e 00 10 	bne-    cr7,ffc2bf10 <scanInt+0x94>            
      if (c == '-') {                                                 
ffc2bf04:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
        sign = -1;                                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
ffc2bf08:	3b a0 00 01 	li      r29,1                                  
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
ffc2bf0c:	41 9e 00 f0 	beq-    cr7,ffc2bffc <scanInt+0x180>           
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
ffc2bf10:	81 39 33 e4 	lwz     r9,13284(r25)                          
ffc2bf14:	7d 29 1a 14 	add     r9,r9,r3                               
ffc2bf18:	89 29 00 01 	lbz     r9,1(r9)                               
ffc2bf1c:	55 29 07 7a 	rlwinm  r9,r9,0,29,29                          
ffc2bf20:	71 2a 00 ff 	andi.   r10,r9,255                             
ffc2bf24:	41 82 00 a4 	beq-    ffc2bfc8 <scanInt+0x14c>               
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
ffc2bf28:	7d 3a c0 16 	mulhwu  r9,r26,r24                             
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
ffc2bf2c:	38 63 ff d0 	addi    r3,r3,-48                              
    if ((i > (limit / 10))                                            
ffc2bf30:	55 29 e8 fe 	rlwinm  r9,r9,29,3,31                          
ffc2bf34:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
ffc2bf38:	41 9d 00 90 	bgt-    cr7,ffc2bfc8 <scanInt+0x14c>           
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc2bf3c:	7f 9e 48 00 	cmpw    cr7,r30,r9                             
ffc2bf40:	1f de 00 0a 	mulli   r30,r30,10                             
ffc2bf44:	41 9e 00 78 	beq-    cr7,ffc2bfbc <scanInt+0x140>           
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2bf48:	81 3f 00 04 	lwz     r9,4(r31)                              
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
ffc2bf4c:	7f c3 f2 14 	add     r30,r3,r30                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2bf50:	39 29 ff ff 	addi    r9,r9,-1                               
ffc2bf54:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2bf58:	91 3f 00 04 	stw     r9,4(r31)                              
ffc2bf5c:	40 9c ff 88 	bge+    cr7,ffc2bee4 <scanInt+0x68>            <== ALWAYS TAKEN
ffc2bf60:	80 7c 33 f4 	lwz     r3,13300(r28)                          <== NOT EXECUTED
ffc2bf64:	7f e4 fb 78 	mr      r4,r31                                 <== NOT EXECUTED
ffc2bf68:	48 01 d2 a5 	bl      ffc4920c <__srget_r>                   <== NOT EXECUTED
    if (c == ':')                                                     
ffc2bf6c:	2f 83 00 3a 	cmpwi   cr7,r3,58                              <== NOT EXECUTED
ffc2bf70:	40 9e ff 8c 	bne+    cr7,ffc2befc <scanInt+0x80>            <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
ffc2bf74:	2f 9d 00 00 	cmpwi   cr7,r29,0                              
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
ffc2bf78:	38 60 00 00 	li      r3,0                                   
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
ffc2bf7c:	41 9e 00 50 	beq-    cr7,ffc2bfcc <scanInt+0x150>           <== NEVER TAKEN
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc2bf80:	80 01 00 2c 	lwz     r0,44(r1)                              
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc2bf84:	7f dd f1 d6 	mullw   r30,r29,r30                            
  return 1;                                                           
}                                                                     
ffc2bf88:	83 01 00 08 	lwz     r24,8(r1)                              
ffc2bf8c:	7c 08 03 a6 	mtlr    r0                                     
ffc2bf90:	83 21 00 0c 	lwz     r25,12(r1)                             
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
ffc2bf94:	93 db 00 00 	stw     r30,0(r27)                             
  return 1;                                                           
ffc2bf98:	38 60 00 01 	li      r3,1                                   
}                                                                     
ffc2bf9c:	83 41 00 10 	lwz     r26,16(r1)                             
ffc2bfa0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc2bfa4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc2bfa8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc2bfac:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc2bfb0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc2bfb4:	38 21 00 28 	addi    r1,r1,40                               
ffc2bfb8:	4e 80 00 20 	blr                                            
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
ffc2bfbc:	7d 3e d0 50 	subf    r9,r30,r26                             
ffc2bfc0:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc2bfc4:	40 9d ff 84 	ble+    cr7,ffc2bf48 <scanInt+0xcc>            <== NEVER TAKEN
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
ffc2bfc8:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
ffc2bfcc:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc2bfd0:	83 01 00 08 	lwz     r24,8(r1)                              
ffc2bfd4:	7c 08 03 a6 	mtlr    r0                                     
ffc2bfd8:	83 21 00 0c 	lwz     r25,12(r1)                             
ffc2bfdc:	83 41 00 10 	lwz     r26,16(r1)                             
ffc2bfe0:	83 61 00 14 	lwz     r27,20(r1)                             
ffc2bfe4:	83 81 00 18 	lwz     r28,24(r1)                             
ffc2bfe8:	83 a1 00 1c 	lwz     r29,28(r1)                             
ffc2bfec:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc2bff0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc2bff4:	38 21 00 28 	addi    r1,r1,40                               
ffc2bff8:	4e 80 00 20 	blr                                            
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
ffc2bffc:	3b 5a 00 01 	addi    r26,r26,1                              
    c = getc(fp);                                                     
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
ffc2c000:	3b a0 ff ff 	li      r29,-1                                 
        limit++;                                                      
        continue;                                                     
ffc2c004:	4b ff fe cc 	b       ffc2bed0 <scanInt+0x54>                
                                                                      

ffc2c008 <scanString>: /** * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
ffc2c008:	94 21 ff e0 	stwu    r1,-32(r1)                             
ffc2c00c:	7c 08 02 a6 	mflr    r0                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc2c010:	81 25 00 00 	lwz     r9,0(r5)                               
/**                                                                   
 *  Extract a string value from the database                          
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
ffc2c014:	93 61 00 0c 	stw     r27,12(r1)                             
ffc2c018:	7c fb 3b 78 	mr      r27,r7                                 
ffc2c01c:	93 81 00 10 	stw     r28,16(r1)                             
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2c020:	3f 80 00 00 	lis     r28,0                                  
/**                                                                   
 *  Extract a string value from the database                          
 */                                                                   
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
ffc2c024:	93 a1 00 14 	stw     r29,20(r1)                             
ffc2c028:	7c dd 33 78 	mr      r29,r6                                 
ffc2c02c:	93 c1 00 18 	stw     r30,24(r1)                             
ffc2c030:	7c be 2b 78 	mr      r30,r5                                 
ffc2c034:	93 e1 00 1c 	stw     r31,28(r1)                             
ffc2c038:	7c 7f 1b 78 	mr      r31,r3                                 
ffc2c03c:	90 01 00 24 	stw     r0,36(r1)                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
ffc2c040:	91 24 00 00 	stw     r9,0(r4)                               
ffc2c044:	48 00 00 58 	b       ffc2c09c <scanString+0x94>             
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2c048:	81 3f 00 00 	lwz     r9,0(r31)                              
ffc2c04c:	88 69 00 00 	lbz     r3,0(r9)                               
ffc2c050:	39 49 00 01 	addi    r10,r9,1                               
ffc2c054:	91 5f 00 00 	stw     r10,0(r31)                             
    if (c == ':') {                                                   
ffc2c058:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc2c05c:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc2c060:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc2c064:	41 9e 00 68 	beq-    cr7,ffc2c0cc <scanString+0xc4>         
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc2c068:	41 9a 00 e4 	beq-    cr6,ffc2c14c <scanString+0x144>        
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc2c06c:	41 86 00 b8 	beq-    cr1,ffc2c124 <scanString+0x11c>        
      return 0;                                                       
    if (*nleft < 2)                                                   
ffc2c070:	81 3d 00 00 	lwz     r9,0(r29)                              
ffc2c074:	2b 89 00 01 	cmplwi  cr7,r9,1                               
ffc2c078:	40 9d 00 ac 	ble-    cr7,ffc2c124 <scanString+0x11c>        
      return 0;                                                       
    **bufp = c;                                                       
ffc2c07c:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc2c080:	98 69 00 00 	stb     r3,0(r9)                               
    ++(*bufp);                                                        
ffc2c084:	81 5e 00 00 	lwz     r10,0(r30)                             
    --(*nleft);                                                       
ffc2c088:	81 3d 00 00 	lwz     r9,0(r29)                              
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc2c08c:	39 4a 00 01 	addi    r10,r10,1                              
    --(*nleft);                                                       
ffc2c090:	39 29 ff ff 	addi    r9,r9,-1                               
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
ffc2c094:	91 5e 00 00 	stw     r10,0(r30)                             
    --(*nleft);                                                       
ffc2c098:	91 3d 00 00 	stw     r9,0(r29)                              
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
ffc2c09c:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc2c0a0:	39 29 ff ff 	addi    r9,r9,-1                               
ffc2c0a4:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2c0a8:	91 3f 00 04 	stw     r9,4(r31)                              
ffc2c0ac:	40 9c ff 9c 	bge+    cr7,ffc2c048 <scanString+0x40>         
ffc2c0b0:	80 7c 33 f4 	lwz     r3,13300(r28)                          
ffc2c0b4:	7f e4 fb 78 	mr      r4,r31                                 
ffc2c0b8:	48 01 d1 55 	bl      ffc4920c <__srget_r>                   
    if (c == ':') {                                                   
ffc2c0bc:	2f 83 00 3a 	cmpwi   cr7,r3,58                              
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
ffc2c0c0:	2f 03 00 0a 	cmpwi   cr6,r3,10                              
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
ffc2c0c4:	2c 83 ff ff 	cmpwi   cr1,r3,-1                              
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
ffc2c0c8:	40 9e ff a0 	bne+    cr7,ffc2c068 <scanString+0x60>         <== ALWAYS TAKEN
        if (nlFlag)                                                   
ffc2c0cc:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
            return 0;                                                 
ffc2c0d0:	38 60 00 00 	li      r3,0                                   
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
ffc2c0d4:	40 9e 00 54 	bne-    cr7,ffc2c128 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc2c0d8:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc2c0dc:	39 40 00 00 	li      r10,0                                  
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc2c0e0:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc2c0e4:	99 49 00 00 	stb     r10,0(r9)                              
  ++(*bufp);                                                          
ffc2c0e8:	81 5e 00 00 	lwz     r10,0(r30)                             
  --(*nleft);                                                         
ffc2c0ec:	81 3d 00 00 	lwz     r9,0(r29)                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc2c0f0:	39 4a 00 01 	addi    r10,r10,1                              
  --(*nleft);                                                         
ffc2c0f4:	39 29 ff ff 	addi    r9,r9,-1                               
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc2c0f8:	91 5e 00 00 	stw     r10,0(r30)                             
  --(*nleft);                                                         
ffc2c0fc:	91 3d 00 00 	stw     r9,0(r29)                              
  return 1;                                                           
}                                                                     
ffc2c100:	80 01 00 24 	lwz     r0,36(r1)                              
ffc2c104:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc2c108:	7c 08 03 a6 	mtlr    r0                                     
ffc2c10c:	83 81 00 10 	lwz     r28,16(r1)                             
ffc2c110:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2c114:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc2c118:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc2c11c:	38 21 00 20 	addi    r1,r1,32                               
ffc2c120:	4e 80 00 20 	blr                                            
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
            return 0;                                                 
ffc2c124:	38 60 00 00 	li      r3,0                                   
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
}                                                                     
ffc2c128:	80 01 00 24 	lwz     r0,36(r1)                              
ffc2c12c:	83 61 00 0c 	lwz     r27,12(r1)                             
ffc2c130:	7c 08 03 a6 	mtlr    r0                                     
ffc2c134:	83 81 00 10 	lwz     r28,16(r1)                             
ffc2c138:	83 a1 00 14 	lwz     r29,20(r1)                             
ffc2c13c:	83 c1 00 18 	lwz     r30,24(r1)                             
ffc2c140:	83 e1 00 1c 	lwz     r31,28(r1)                             
ffc2c144:	38 21 00 20 	addi    r1,r1,32                               
ffc2c148:	4e 80 00 20 	blr                                            
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc2c14c:	2f 9b 00 00 	cmpwi   cr7,r27,0                              
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
    if (c == ':') {                                                   
        if (nlFlag)                                                   
            return 0;                                                 
ffc2c150:	38 60 00 00 	li      r3,0                                   
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
ffc2c154:	41 be ff d4 	beq-    cr7,ffc2c128 <scanString+0x120>        
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc2c158:	81 3e 00 00 	lwz     r9,0(r30)                              
ffc2c15c:	39 40 00 00 	li      r10,0                                  
  ++(*bufp);                                                          
  --(*nleft);                                                         
  return 1;                                                           
ffc2c160:	38 60 00 01 	li      r3,1                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
ffc2c164:	99 49 00 00 	stb     r10,0(r9)                              
  ++(*bufp);                                                          
ffc2c168:	81 5e 00 00 	lwz     r10,0(r30)                             
  --(*nleft);                                                         
ffc2c16c:	81 3d 00 00 	lwz     r9,0(r29)                              
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc2c170:	39 4a 00 01 	addi    r10,r10,1                              
  --(*nleft);                                                         
ffc2c174:	39 29 ff ff 	addi    r9,r9,-1                               
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
ffc2c178:	91 5e 00 00 	stw     r10,0(r30)                             
  --(*nleft);                                                         
ffc2c17c:	91 3d 00 00 	stw     r9,0(r29)                              
ffc2c180:	4b ff ff 80 	b       ffc2c100 <scanString+0xf8>             
                                                                      

ffc2c184 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
ffc2c184:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc2c188:	7c 08 02 a6 	mflr    r0                                     
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc2c18c:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c190:	90 a1 00 18 	stw     r5,24(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc2c194:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c198:	90 c1 00 1c 	stw     r6,28(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc2c19c:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c1a0:	93 c1 00 20 	stw     r30,32(r1)                             
ffc2c1a4:	7c 9e 23 78 	mr      r30,r4                                 
ffc2c1a8:	93 e1 00 24 	stw     r31,36(r1)                             
ffc2c1ac:	7c 7f 1b 78 	mr      r31,r3                                 
ffc2c1b0:	90 01 00 2c 	stw     r0,44(r1)                              
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
ffc2c1b4:	4b ff fe 55 	bl      ffc2c008 <scanString>                  
ffc2c1b8:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c1bc:	40 9e 00 20 	bne-    cr7,ffc2c1dc <scangr+0x58>             
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
ffc2c1c0:	38 60 00 00 	li      r3,0                                   
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
  return 1;                                                           
}                                                                     
ffc2c1c4:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc2c1c8:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc2c1cc:	7c 08 03 a6 	mtlr    r0                                     
ffc2c1d0:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc2c1d4:	38 21 00 28 	addi    r1,r1,40                               
ffc2c1d8:	4e 80 00 20 	blr                                            
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
ffc2c1dc:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c1e0:	38 9e 00 04 	addi    r4,r30,4                               
ffc2c1e4:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c1e8:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c1ec:	38 e0 00 00 	li      r7,0                                   
ffc2c1f0:	4b ff fe 19 	bl      ffc2c008 <scanString>                  
ffc2c1f4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c1f8:	41 9e ff c8 	beq+    cr7,ffc2c1c0 <scangr+0x3c>             <== NEVER TAKEN
   || !scanInt(fp, &grgid)                                            
ffc2c1fc:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c200:	38 81 00 0c 	addi    r4,r1,12                               
ffc2c204:	4b ff fc 79 	bl      ffc2be7c <scanInt>                     
ffc2c208:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c20c:	41 9e ff b4 	beq+    cr7,ffc2c1c0 <scangr+0x3c>             <== NEVER TAKEN
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
ffc2c210:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c214:	38 81 00 08 	addi    r4,r1,8                                
ffc2c218:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c21c:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c220:	38 e0 00 01 	li      r7,1                                   
ffc2c224:	4b ff fd e5 	bl      ffc2c008 <scanString>                  
ffc2c228:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c22c:	41 be ff 94 	beq-    cr7,ffc2c1c0 <scangr+0x3c>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_gid = grgid;                                                
ffc2c230:	81 21 00 0c 	lwz     r9,12(r1)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c234:	80 e1 00 08 	lwz     r7,8(r1)                               
  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;                                                
ffc2c238:	b1 3e 00 08 	sth     r9,8(r30)                              
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c23c:	89 27 00 00 	lbz     r9,0(r7)                               
ffc2c240:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc2c244:	41 9e 00 b8 	beq-    cr7,ffc2c2fc <scangr+0x178>            <== NEVER TAKEN
ffc2c248:	7c e8 3b 78 	mr      r8,r7                                  
ffc2c24c:	39 40 00 01 	li      r10,1                                  
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc2c250:	69 26 00 2c 	xori    r6,r9,44                               
ffc2c254:	20 c6 00 00 	subfic  r6,r6,0                                
ffc2c258:	7c ca 01 94 	addze   r6,r10                                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c25c:	8d 28 00 01 	lbzu    r9,1(r8)                               
ffc2c260:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    if(*cp == ',')                                                    
      memcount++;                                                     
ffc2c264:	7c ca 33 78 	mr      r10,r6                                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c268:	40 9e ff e8 	bne+    cr7,ffc2c250 <scangr+0xcc>             
ffc2c26c:	54 ca 10 3a 	rlwinm  r10,r6,2,0,29                          
ffc2c270:	39 4a 00 13 	addi    r10,r10,19                             
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
ffc2c274:	81 21 00 1c 	lwz     r9,28(r1)                              
ffc2c278:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc2c27c:	41 bc ff 44 	blt-    cr7,ffc2c1c0 <scangr+0x3c>             <== NEVER TAKEN
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
ffc2c280:	81 21 00 18 	lwz     r9,24(r1)                              
ffc2c284:	39 29 00 0f 	addi    r9,r9,15                               
ffc2c288:	55 29 00 36 	rlwinm  r9,r9,0,0,27                           
ffc2c28c:	91 3e 00 0c 	stw     r9,12(r30)                             
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
ffc2c290:	90 e9 00 00 	stw     r7,0(r9)                               
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c294:	81 21 00 08 	lwz     r9,8(r1)                               
ffc2c298:	89 49 00 00 	lbz     r10,0(r9)                              
ffc2c29c:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc2c2a0:	41 9e 00 64 	beq-    cr7,ffc2c304 <scangr+0x180>            <== NEVER TAKEN
}                                                                     
                                                                      
/**                                                                   
 *  Extract a single group record from the database                   
 */                                                                   
static int scangr(                                                    
ffc2c2a4:	39 29 00 01 	addi    r9,r9,1                                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c2a8:	39 00 00 01 	li      r8,1                                   
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
ffc2c2ac:	38 c0 00 00 	li      r6,0                                   
ffc2c2b0:	48 00 00 14 	b       ffc2c2c4 <scangr+0x140>                
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c2b4:	89 49 00 00 	lbz     r10,0(r9)                              
ffc2c2b8:	39 29 00 01 	addi    r9,r9,1                                
ffc2c2bc:	2f 8a 00 00 	cmpwi   cr7,r10,0                              
ffc2c2c0:	41 9e 00 24 	beq-    cr7,ffc2c2e4 <scangr+0x160>            
    if(*cp == ',') {                                                  
ffc2c2c4:	2f 8a 00 2c 	cmpwi   cr7,r10,44                             
ffc2c2c8:	40 9e ff ec 	bne+    cr7,ffc2c2b4 <scangr+0x130>            
      *cp = '\0';                                                     
ffc2c2cc:	98 c9 ff ff 	stb     r6,-1(r9)                              
      grp->gr_mem[memcount++] = cp + 1;                               
ffc2c2d0:	55 07 10 3a 	rlwinm  r7,r8,2,0,29                           
ffc2c2d4:	39 08 00 01 	addi    r8,r8,1                                
ffc2c2d8:	81 5e 00 0c 	lwz     r10,12(r30)                            
ffc2c2dc:	7d 2a 39 2e 	stwx    r9,r10,r7                              
ffc2c2e0:	4b ff ff d4 	b       ffc2c2b4 <scangr+0x130>                
ffc2c2e4:	55 08 10 3a 	rlwinm  r8,r8,2,0,29                           
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc2c2e8:	81 3e 00 0c 	lwz     r9,12(r30)                             
ffc2c2ec:	39 40 00 00 	li      r10,0                                  
  return 1;                                                           
ffc2c2f0:	38 60 00 01 	li      r3,1                                   
    if(*cp == ',') {                                                  
      *cp = '\0';                                                     
      grp->gr_mem[memcount++] = cp + 1;                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
ffc2c2f4:	7d 49 41 2e 	stwx    r10,r9,r8                              
ffc2c2f8:	4b ff fe cc 	b       ffc2c1c4 <scangr+0x40>                 
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c2fc:	39 40 00 17 	li      r10,23                                 <== NOT EXECUTED
ffc2c300:	4b ff ff 74 	b       ffc2c274 <scangr+0xf0>                 <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
ffc2c304:	39 00 00 04 	li      r8,4                                   <== NOT EXECUTED
ffc2c308:	4b ff ff e0 	b       ffc2c2e8 <scangr+0x164>                <== NOT EXECUTED
                                                                      

ffc2c30c <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
ffc2c30c:	94 21 ff d8 	stwu    r1,-40(r1)                             
ffc2c310:	7c 08 02 a6 	mflr    r0                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc2c314:	38 e0 00 00 	li      r7,0                                   
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c318:	90 a1 00 18 	stw     r5,24(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc2c31c:	38 a1 00 18 	addi    r5,r1,24                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c320:	90 c1 00 1c 	stw     r6,28(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc2c324:	38 c1 00 1c 	addi    r6,r1,28                               
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
ffc2c328:	93 c1 00 20 	stw     r30,32(r1)                             
ffc2c32c:	7c 9e 23 78 	mr      r30,r4                                 
ffc2c330:	93 e1 00 24 	stw     r31,36(r1)                             
ffc2c334:	7c 7f 1b 78 	mr      r31,r3                                 
ffc2c338:	90 01 00 2c 	stw     r0,44(r1)                              
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
ffc2c33c:	4b ff fc cd 	bl      ffc2c008 <scanString>                  
ffc2c340:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c344:	40 9e 00 20 	bne-    cr7,ffc2c364 <scanpw+0x58>             
   || !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;                                                         
ffc2c348:	38 60 00 00 	li      r3,0                                   
  pwd->pw_uid = pwuid;                                                
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
}                                                                     
ffc2c34c:	80 01 00 2c 	lwz     r0,44(r1)                              
ffc2c350:	83 c1 00 20 	lwz     r30,32(r1)                             
ffc2c354:	7c 08 03 a6 	mtlr    r0                                     
ffc2c358:	83 e1 00 24 	lwz     r31,36(r1)                             
ffc2c35c:	38 21 00 28 	addi    r1,r1,40                               
ffc2c360:	4e 80 00 20 	blr                                            
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
ffc2c364:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c368:	38 9e 00 04 	addi    r4,r30,4                               
ffc2c36c:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c370:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c374:	38 e0 00 00 	li      r7,0                                   
ffc2c378:	4b ff fc 91 	bl      ffc2c008 <scanString>                  
ffc2c37c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c380:	41 9e ff c8 	beq+    cr7,ffc2c348 <scanpw+0x3c>             <== NEVER TAKEN
   || !scanInt(fp, &pwuid)                                            
ffc2c384:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c388:	38 81 00 0c 	addi    r4,r1,12                               
ffc2c38c:	4b ff fa f1 	bl      ffc2be7c <scanInt>                     
ffc2c390:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c394:	41 9e ff b4 	beq+    cr7,ffc2c348 <scanpw+0x3c>             
   || !scanInt(fp, &pwgid)                                            
ffc2c398:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c39c:	38 81 00 08 	addi    r4,r1,8                                
ffc2c3a0:	4b ff fa dd 	bl      ffc2be7c <scanInt>                     
ffc2c3a4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c3a8:	41 9e ff a0 	beq+    cr7,ffc2c348 <scanpw+0x3c>             
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
ffc2c3ac:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c3b0:	38 9e 00 0c 	addi    r4,r30,12                              
ffc2c3b4:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c3b8:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c3bc:	38 e0 00 00 	li      r7,0                                   
ffc2c3c0:	4b ff fc 49 	bl      ffc2c008 <scanString>                  
ffc2c3c4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c3c8:	41 9e ff 80 	beq+    cr7,ffc2c348 <scanpw+0x3c>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
ffc2c3cc:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c3d0:	38 9e 00 10 	addi    r4,r30,16                              
ffc2c3d4:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c3d8:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c3dc:	38 e0 00 00 	li      r7,0                                   
ffc2c3e0:	4b ff fc 29 	bl      ffc2c008 <scanString>                  
ffc2c3e4:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c3e8:	41 9e ff 60 	beq+    cr7,ffc2c348 <scanpw+0x3c>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
ffc2c3ec:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c3f0:	38 9e 00 14 	addi    r4,r30,20                              
ffc2c3f4:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c3f8:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c3fc:	38 e0 00 00 	li      r7,0                                   
ffc2c400:	4b ff fc 09 	bl      ffc2c008 <scanString>                  
ffc2c404:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c408:	41 9e ff 40 	beq+    cr7,ffc2c348 <scanpw+0x3c>             <== NEVER TAKEN
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
ffc2c40c:	7f e3 fb 78 	mr      r3,r31                                 
ffc2c410:	38 9e 00 18 	addi    r4,r30,24                              
ffc2c414:	38 a1 00 18 	addi    r5,r1,24                               
ffc2c418:	38 c1 00 1c 	addi    r6,r1,28                               
ffc2c41c:	38 e0 00 01 	li      r7,1                                   
ffc2c420:	4b ff fb e9 	bl      ffc2c008 <scanString>                  
ffc2c424:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc2c428:	41 be ff 20 	beq-    cr7,ffc2c348 <scanpw+0x3c>             
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc2c42c:	81 21 00 0c 	lwz     r9,12(r1)                              
  pwd->pw_gid = pwgid;                                                
  return 1;                                                           
ffc2c430:	38 60 00 01 	li      r3,1                                   
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
ffc2c434:	b1 3e 00 08 	sth     r9,8(r30)                              
  pwd->pw_gid = pwgid;                                                
ffc2c438:	81 21 00 08 	lwz     r9,8(r1)                               
ffc2c43c:	b1 3e 00 0a 	sth     r9,10(r30)                             
ffc2c440:	4b ff ff 0c 	b       ffc2c34c <scanpw+0x40>                 
                                                                      

ffc082a8 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
ffc082a8:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc082ac:	7c 08 02 a6 	mflr    r0                                     
ffc082b0:	90 01 00 14 	stw     r0,20(r1)                              
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
ffc082b4:	81 24 00 3c 	lwz     r9,60(r4)                              
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc082b8:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc082bc:	7c 9f 23 78 	mr      r31,r4                                 
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
ffc082c0:	71 2a 0e 78 	andi.   r10,r9,3704                            
/*                                                                    
 * Process input character, with semaphore.                           
 */                                                                   
static int                                                            
siproc (unsigned char c, struct rtems_termios_tty *tty)               
{                                                                     
ffc082c4:	93 c1 00 08 	stw     r30,8(r1)                              
  int i;                                                              
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
ffc082c8:	40 82 00 1c 	bne-    ffc082e4 <siproc+0x3c>                 <== ALWAYS TAKEN
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc082cc:	80 01 00 14 	lwz     r0,20(r1)                              <== NOT EXECUTED
ffc082d0:	83 c1 00 08 	lwz     r30,8(r1)                              <== NOT EXECUTED
ffc082d4:	7c 08 03 a6 	mtlr    r0                                     <== NOT EXECUTED
ffc082d8:	83 e1 00 0c 	lwz     r31,12(r1)                             <== NOT EXECUTED
ffc082dc:	38 21 00 10 	addi    r1,r1,16                               <== NOT EXECUTED
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
ffc082e0:	4b ff fd 68 	b       ffc08048 <iproc>                       <== NOT EXECUTED
ffc082e4:	7c 7e 1b 78 	mr      r30,r3                                 
                                                                      
  /*                                                                  
   * 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); 
ffc082e8:	80 64 00 18 	lwz     r3,24(r4)                              
ffc082ec:	38 a0 00 00 	li      r5,0                                   
ffc082f0:	38 80 00 00 	li      r4,0                                   
ffc082f4:	48 00 17 2d 	bl      ffc09a20 <rtems_semaphore_obtain>      
    i = iproc (c, tty);                                               
ffc082f8:	7f e4 fb 78 	mr      r4,r31                                 
ffc082fc:	7f c3 f3 78 	mr      r3,r30                                 
ffc08300:	4b ff fd 49 	bl      ffc08048 <iproc>                       
ffc08304:	7c 7e 1b 78 	mr      r30,r3                                 
    rtems_semaphore_release (tty->osem);                              
ffc08308:	80 7f 00 18 	lwz     r3,24(r31)                             
ffc0830c:	48 00 18 b5 	bl      ffc09bc0 <rtems_semaphore_release>     
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
  }                                                                   
  return i;                                                           
}                                                                     
ffc08310:	80 01 00 14 	lwz     r0,20(r1)                              
ffc08314:	7f c3 f3 78 	mr      r3,r30                                 
ffc08318:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc0831c:	7c 08 03 a6 	mtlr    r0                                     
ffc08320:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc08324:	38 21 00 10 	addi    r1,r1,16                               
ffc08328:	4e 80 00 20 	blr                                            
                                                                      

ffc119a0 <sparse_disk_ioctl>: static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp ) { rtems_status_code sc; rtems_sparse_disk *sd = rtems_disk_get_driver_data( dd ); if ( RTEMS_BLKIO_REQUEST == req ) {
ffc119a0:	3d 40 c0 18 	lis     r10,-16360                             
                                                                      
/*                                                                    
 * ioctl handler to be passed to the block device handler             
 */                                                                   
static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp )
{                                                                     
ffc119a4:	7d 80 00 26 	mfcr    r12                                    
  rtems_status_code  sc;                                              
  rtems_sparse_disk *sd = rtems_disk_get_driver_data( dd );           
                                                                      
  if ( RTEMS_BLKIO_REQUEST == req ) {                                 
ffc119a8:	61 4a 42 01 	ori     r10,r10,16897                          
                                                                      
/*                                                                    
 * ioctl handler to be passed to the block device handler             
 */                                                                   
static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp )
{                                                                     
ffc119ac:	94 21 ff b0 	stwu    r1,-80(r1)                             
  rtems_status_code  sc;                                              
  rtems_sparse_disk *sd = rtems_disk_get_driver_data( dd );           
                                                                      
  if ( RTEMS_BLKIO_REQUEST == req ) {                                 
ffc119b0:	7f 84 50 00 	cmpw    cr7,r4,r10                             
                                                                      
/*                                                                    
 * ioctl handler to be passed to the block device handler             
 */                                                                   
static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp )
{                                                                     
ffc119b4:	7c 08 02 a6 	mflr    r0                                     
ffc119b8:	93 a1 00 44 	stw     r29,68(r1)                             
ffc119bc:	90 01 00 54 	stw     r0,84(r1)                              
ffc119c0:	92 61 00 1c 	stw     r19,28(r1)                             
ffc119c4:	92 81 00 20 	stw     r20,32(r1)                             
ffc119c8:	92 a1 00 24 	stw     r21,36(r1)                             
ffc119cc:	92 c1 00 28 	stw     r22,40(r1)                             
ffc119d0:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc119d4:	93 01 00 30 	stw     r24,48(r1)                             
ffc119d8:	93 21 00 34 	stw     r25,52(r1)                             
ffc119dc:	93 41 00 38 	stw     r26,56(r1)                             
ffc119e0:	93 61 00 3c 	stw     r27,60(r1)                             
ffc119e4:	93 81 00 40 	stw     r28,64(r1)                             
ffc119e8:	93 c1 00 48 	stw     r30,72(r1)                             
ffc119ec:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc119f0:	91 81 00 18 	stw     r12,24(r1)                             
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
ffc119f4:	83 a3 00 3c 	lwz     r29,60(r3)                             
static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp )
{                                                                     
  rtems_status_code  sc;                                              
  rtems_sparse_disk *sd = rtems_disk_get_driver_data( dd );           
                                                                      
  if ( RTEMS_BLKIO_REQUEST == req ) {                                 
ffc119f8:	41 9e 00 9c 	beq-    cr7,ffc11a94 <sparse_disk_ioctl+0xf4>  
      case RTEMS_BLKDEV_REQ_WRITE:                                    
        return sparse_disk_read_write( sd, r, r->req == RTEMS_BLKDEV_REQ_READ );
      default:                                                        
        break;                                                        
    }                                                                 
  } else if ( RTEMS_BLKIO_DELETED == req ) {                          
ffc119fc:	6c 8a 20 00 	xoris   r10,r4,8192                            
ffc11a00:	2f 8a 42 07 	cmpwi   cr7,r10,16903                          
ffc11a04:	41 9e 00 5c 	beq-    cr7,ffc11a60 <sparse_disk_ioctl+0xc0>  
    if ( NULL != sd->delete_handler )                                 
      ( *sd->delete_handler )( sd );                                  
                                                                      
    return 0;                                                         
  } else {                                                            
    return rtems_blkdev_ioctl( dd, req, argp );                       
ffc11a08:	48 00 3b b1 	bl      ffc155b8 <rtems_blkdev_ioctl>          
ffc11a0c:	7c 7f 1b 78 	mr      r31,r3                                 
  }                                                                   
                                                                      
  errno = EINVAL;                                                     
  return -1;                                                          
}                                                                     
ffc11a10:	80 01 00 54 	lwz     r0,84(r1)                              
ffc11a14:	7f e3 fb 78 	mr      r3,r31                                 
ffc11a18:	81 81 00 18 	lwz     r12,24(r1)                             
ffc11a1c:	7c 08 03 a6 	mtlr    r0                                     
ffc11a20:	82 61 00 1c 	lwz     r19,28(r1)                             
ffc11a24:	82 81 00 20 	lwz     r20,32(r1)                             
ffc11a28:	7d 80 81 20 	mtcrf   8,r12                                  
ffc11a2c:	82 a1 00 24 	lwz     r21,36(r1)                             
ffc11a30:	82 c1 00 28 	lwz     r22,40(r1)                             
ffc11a34:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc11a38:	83 01 00 30 	lwz     r24,48(r1)                             
ffc11a3c:	83 21 00 34 	lwz     r25,52(r1)                             
ffc11a40:	83 41 00 38 	lwz     r26,56(r1)                             
ffc11a44:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc11a48:	83 81 00 40 	lwz     r28,64(r1)                             
ffc11a4c:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc11a50:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc11a54:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc11a58:	38 21 00 50 	addi    r1,r1,80                               
ffc11a5c:	4e 80 00 20 	blr                                            
        return sparse_disk_read_write( sd, r, r->req == RTEMS_BLKDEV_REQ_READ );
      default:                                                        
        break;                                                        
    }                                                                 
  } else if ( RTEMS_BLKIO_DELETED == req ) {                          
    sc = rtems_semaphore_delete( sd->mutex );                         
ffc11a60:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc11a64:	4b ff a0 7d 	bl      ffc0bae0 <rtems_semaphore_delete>      
                                                                      
    if ( RTEMS_SUCCESSFUL != sc )                                     
ffc11a68:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11a6c:	40 82 02 44 	bne-    ffc11cb0 <sparse_disk_ioctl+0x310>     <== NEVER TAKEN
      rtems_fatal_error_occurred( 0xdeadbeef );                       
                                                                      
    sd->mutex = RTEMS_ID_NONE;                                        
                                                                      
    if ( NULL != sd->delete_handler )                                 
ffc11a70:	81 3d 00 10 	lwz     r9,16(r29)                             
      ( *sd->delete_handler )( sd );                                  
                                                                      
    return 0;                                                         
ffc11a74:	3b e0 00 00 	li      r31,0                                  
    sc = rtems_semaphore_delete( sd->mutex );                         
                                                                      
    if ( RTEMS_SUCCESSFUL != sc )                                     
      rtems_fatal_error_occurred( 0xdeadbeef );                       
                                                                      
    sd->mutex = RTEMS_ID_NONE;                                        
ffc11a78:	90 7d 00 00 	stw     r3,0(r29)                              
                                                                      
    if ( NULL != sd->delete_handler )                                 
ffc11a7c:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc11a80:	41 be ff 90 	beq-    cr7,ffc11a10 <sparse_disk_ioctl+0x70>  <== NEVER TAKEN
      ( *sd->delete_handler )( sd );                                  
ffc11a84:	7f a3 eb 78 	mr      r3,r29                                 
ffc11a88:	7d 29 03 a6 	mtctr   r9                                     
ffc11a8c:	4e 80 04 21 	bctrl                                          
ffc11a90:	4b ff ff 80 	b       ffc11a10 <sparse_disk_ioctl+0x70>      
  rtems_sparse_disk *sd = rtems_disk_get_driver_data( dd );           
                                                                      
  if ( RTEMS_BLKIO_REQUEST == req ) {                                 
    rtems_blkdev_request *r = argp;                                   
                                                                      
    switch ( r->req ) {                                               
ffc11a94:	83 05 00 00 	lwz     r24,0(r5)                              
ffc11a98:	7c b5 2b 78 	mr      r21,r5                                 
ffc11a9c:	2b 98 00 01 	cmplwi  cr7,r24,1                              
ffc11aa0:	41 9d 01 fc 	bgt-    cr7,ffc11c9c <sparse_disk_ioctl+0x2fc> <== NEVER TAKEN
  rtems_blkdev_bnum       block;                                      
  uint8_t                *buff;                                       
  size_t                  buff_size;                                  
  unsigned int            bytes_handled;                              
                                                                      
  rtems_semaphore_obtain( sparse_disk->mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
ffc11aa4:	80 7d 00 00 	lwz     r3,0(r29)                              
ffc11aa8:	38 80 00 00 	li      r4,0                                   
ffc11aac:	38 a0 00 00 	li      r5,0                                   
ffc11ab0:	4b ff a1 25 	bl      ffc0bbd4 <rtems_semaphore_obtain>      
ffc11ab4:	3a c0 00 01 	li      r22,1                                  
ffc11ab8:	81 15 00 10 	lwz     r8,16(r21)                             
ffc11abc:	39 36 ff ff 	addi    r9,r22,-1                              
ffc11ac0:	3f 20 ff c1 	lis     r25,-63                                
                                                                      
  for ( req_buffer = 0;                                               
        ( 0 <= rv ) && ( req_buffer < req->bufnum );                  
ffc11ac4:	7f 89 40 40 	cmplw   cr7,r9,r8                              
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
ffc11ac8:	3a e0 00 00 	li      r23,0                                  
ffc11acc:	2e 18 00 00 	cmpwi   cr4,r24,0                              
ffc11ad0:	3b 39 19 74 	addi    r25,r25,6516                           
  unsigned int            bytes_handled;                              
                                                                      
  rtems_semaphore_obtain( sparse_disk->mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
                                                                      
  for ( req_buffer = 0;                                               
        ( 0 <= rv ) && ( req_buffer < req->bufnum );                  
ffc11ad4:	40 9c 00 ac 	bge-    cr7,ffc11b80 <sparse_disk_ioctl+0x1e0> <== NEVER TAKEN
        ++req_buffer ) {                                              
    scatter_gather = &req->bufs[req_buffer];                          
ffc11ad8:	56 c9 20 36 	rlwinm  r9,r22,4,0,27                          
ffc11adc:	7d 35 4a 14 	add     r9,r21,r9                              
                                                                      
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
ffc11ae0:	83 c9 00 0c 	lwz     r30,12(r9)                             
        ( 0 <= rv ) && ( req_buffer < req->bufnum );                  
        ++req_buffer ) {                                              
    scatter_gather = &req->bufs[req_buffer];                          
                                                                      
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
ffc11ae4:	83 49 00 10 	lwz     r26,16(r9)                             
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
ffc11ae8:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
        ++req_buffer ) {                                              
    scatter_gather = &req->bufs[req_buffer];                          
                                                                      
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
ffc11aec:	83 89 00 08 	lwz     r28,8(r9)                              
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
ffc11af0:	41 9e 00 80 	beq-    cr7,ffc11b70 <sparse_disk_ioctl+0x1d0> <== NEVER TAKEN
ffc11af4:	3b 60 00 00 	li      r27,0                                  
  const rtems_blkdev_bnum  block,                                     
  uint8_t                 *buffer,                                    
  const size_t             buffer_size )                              
{                                                                     
  rtems_sparse_disk_key *key;                                         
  rtems_sparse_disk_key  block_key = {                                
ffc11af8:	93 81 00 08 	stw     r28,8(r1)                              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
      if ( read )                                                     
        rv = sparse_disk_read_block( sparse_disk,                     
ffc11afc:	7e 9a da 14 	add     r20,r26,r27                            
  rtems_sparse_disk_key *key;                                         
  rtems_sparse_disk_key  block_key = {                                
    .block = block,                                                   
    .data  = NULL                                                     
  };                                                                  
  size_t                 bytes_to_copy = sparse_disk->media_block_size;
ffc11b00:	81 3d 00 0c 	lwz     r9,12(r29)                             
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
      if ( read )                                                     
ffc11b04:	40 92 00 a0 	bne-    cr4,ffc11ba4 <sparse_disk_ioctl+0x204> 
ffc11b08:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
  const rtems_blkdev_bnum  block,                                     
  uint8_t                 *buffer,                                    
  const size_t             buffer_size )                              
{                                                                     
  rtems_sparse_disk_key *key;                                         
  rtems_sparse_disk_key  block_key = {                                
ffc11b0c:	93 01 00 0c 	stw     r24,12(r1)                             
ffc11b10:	7f df f3 78 	mr      r31,r30                                
ffc11b14:	40 9d 00 08 	ble-    cr7,ffc11b1c <sparse_disk_ioctl+0x17c> 
ffc11b18:	7d 3f 4b 78 	mr      r31,r9                                 
  size_t                 bytes_to_copy = sparse_disk->media_block_size;
                                                                      
  if ( buffer_size < bytes_to_copy )                                  
    bytes_to_copy = buffer_size;                                      
                                                                      
  key = bsearch(                                                      
ffc11b1c:	80 9d 00 18 	lwz     r4,24(r29)                             
ffc11b20:	38 61 00 08 	addi    r3,r1,8                                
ffc11b24:	80 bd 00 08 	lwz     r5,8(r29)                              
ffc11b28:	38 c0 00 08 	li      r6,8                                   
ffc11b2c:	7f 27 cb 78 	mr      r7,r25                                 
ffc11b30:	48 00 ea 99 	bl      ffc205c8 <bsearch>                     
    sparse_disk->used_count,                                          
    sizeof( rtems_sparse_disk_key ),                                  
    sparse_disk_compare                                               
    );                                                                
                                                                      
  if ( NULL != key )                                                  
ffc11b34:	2c 03 00 00 	cmpwi   r3,0                                   
ffc11b38:	41 82 00 b4 	beq-    ffc11bec <sparse_disk_ioctl+0x24c>     
    memcpy( buffer, key->data, bytes_to_copy );                       
ffc11b3c:	80 83 00 04 	lwz     r4,4(r3)                               
ffc11b40:	7f e5 fb 78 	mr      r5,r31                                 
ffc11b44:	7e 83 a3 78 	mr      r3,r20                                 
ffc11b48:	48 00 f8 35 	bl      ffc2137c <memcpy>                      
  if ( NULL != key )                                                  
    memcpy( key->data, buffer, bytes_to_copy );                       
  else if ( block_needs_writing )                                     
    return -1;                                                        
                                                                      
  return bytes_to_copy;                                               
ffc11b4c:	7f e9 fb 78 	mr      r9,r31                                 
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
ffc11b50:	2f 89 00 00 	cmpwi   cr7,r9,0                               
        rv = sparse_disk_write_block( sparse_disk,                    
                                      block,                          
                                      &buff[bytes_handled],           
                                      buff_size );                    
                                                                      
      ++block;                                                        
ffc11b54:	3b 9c 00 01 	addi    r28,r28,1                              
      bytes_handled += rv;                                            
ffc11b58:	7f 7b fa 14 	add     r27,r27,r31                            
      buff_size     -= rv;                                            
ffc11b5c:	7f df f0 50 	subf    r30,r31,r30                            
    bytes_handled  = 0;                                               
    buff           = (uint8_t *) scatter_gather->buffer;              
    block          = scatter_gather->block;                           
    buff_size      = scatter_gather->length;                          
                                                                      
    while ( ( 0 <= rv ) && ( 0 < buff_size ) ) {                      
ffc11b60:	41 9c 01 0c 	blt-    cr7,ffc11c6c <sparse_disk_ioctl+0x2cc> <== NEVER TAKEN
ffc11b64:	2f 9e 00 00 	cmpwi   cr7,r30,0                              
ffc11b68:	40 9e ff 90 	bne+    cr7,ffc11af8 <sparse_disk_ioctl+0x158> 
ffc11b6c:	81 15 00 10 	lwz     r8,16(r21)                             
ffc11b70:	3a d6 00 01 	addi    r22,r22,1                              
ffc11b74:	39 36 ff ff 	addi    r9,r22,-1                              
  unsigned int            bytes_handled;                              
                                                                      
  rtems_semaphore_obtain( sparse_disk->mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
                                                                      
  for ( req_buffer = 0;                                               
        ( 0 <= rv ) && ( req_buffer < req->bufnum );                  
ffc11b78:	7f 89 40 40 	cmplw   cr7,r9,r8                              
ffc11b7c:	41 9c ff 5c 	blt+    cr7,ffc11ad8 <sparse_disk_ioctl+0x138> 
      bytes_handled += rv;                                            
      buff_size     -= rv;                                            
    }                                                                 
  }                                                                   
                                                                      
  rtems_semaphore_release( sparse_disk->mutex );                      
ffc11b80:	80 7d 00 00 	lwz     r3,0(r29)                              
    rtems_blkdev_request *r = argp;                                   
                                                                      
    switch ( r->req ) {                                               
      case RTEMS_BLKDEV_REQ_READ:                                     
      case RTEMS_BLKDEV_REQ_WRITE:                                    
        return sparse_disk_read_write( sd, r, r->req == RTEMS_BLKDEV_REQ_READ );
ffc11b84:	3b e0 00 00 	li      r31,0                                  
      bytes_handled += rv;                                            
      buff_size     -= rv;                                            
    }                                                                 
  }                                                                   
                                                                      
  rtems_semaphore_release( sparse_disk->mutex );                      
ffc11b88:	4b ff a1 ed 	bl      ffc0bd74 <rtems_semaphore_release>     
static inline void rtems_blkdev_request_done(                         
  rtems_blkdev_request *req,                                          
  rtems_status_code status                                            
)                                                                     
{                                                                     
  (*req->done)(req, status);                                          
ffc11b8c:	81 35 00 04 	lwz     r9,4(r21)                              
ffc11b90:	7e a3 ab 78 	mr      r3,r21                                 
ffc11b94:	38 80 00 00 	li      r4,0                                   
ffc11b98:	7d 29 03 a6 	mtctr   r9                                     
ffc11b9c:	4e 80 04 21 	bctrl                                          
ffc11ba0:	4b ff fe 70 	b       ffc11a10 <sparse_disk_ioctl+0x70>      
ffc11ba4:	7f 9e 48 40 	cmplw   cr7,r30,r9                             
  const size_t            buffer_size )                               
{                                                                     
  unsigned int           i;                                           
  bool                   block_needs_writing = false;                 
  rtems_sparse_disk_key *key;                                         
  rtems_sparse_disk_key  block_key           = {                      
ffc11ba8:	92 e1 00 0c 	stw     r23,12(r1)                             
ffc11bac:	7f df f3 78 	mr      r31,r30                                
ffc11bb0:	40 9d 00 08 	ble-    cr7,ffc11bb8 <sparse_disk_ioctl+0x218> 
ffc11bb4:	7d 3f 4b 78 	mr      r31,r9                                 
                                                                      
  /* we only need to write the block if it is different from the fill pattern.
   * If the read method does not find a block it will deliver the fill pattern anyway.
   */                                                                 
                                                                      
  key = bsearch(                                                      
ffc11bb8:	80 9d 00 18 	lwz     r4,24(r29)                             
ffc11bbc:	38 61 00 08 	addi    r3,r1,8                                
ffc11bc0:	80 bd 00 08 	lwz     r5,8(r29)                              
ffc11bc4:	38 c0 00 08 	li      r6,8                                   
ffc11bc8:	7f 27 cb 78 	mr      r7,r25                                 
ffc11bcc:	48 00 e9 fd 	bl      ffc205c8 <bsearch>                     
    sparse_disk->used_count,                                          
    sizeof( rtems_sparse_disk_key ),                                  
    sparse_disk_compare                                               
    );                                                                
                                                                      
  if ( NULL == key ) {                                                
ffc11bd0:	7c 73 1b 79 	mr.     r19,r3                                 
ffc11bd4:	41 82 00 2c 	beq-    ffc11c00 <sparse_disk_ioctl+0x260>     
      key = sparse_disk_get_new_block( sparse_disk, block );          
    }                                                                 
  }                                                                   
                                                                      
  if ( NULL != key )                                                  
    memcpy( key->data, buffer, bytes_to_copy );                       
ffc11bd8:	80 73 00 04 	lwz     r3,4(r19)                              
ffc11bdc:	7e 84 a3 78 	mr      r4,r20                                 
ffc11be0:	7f e5 fb 78 	mr      r5,r31                                 
ffc11be4:	48 00 f7 99 	bl      ffc2137c <memcpy>                      
ffc11be8:	4b ff ff 64 	b       ffc11b4c <sparse_disk_ioctl+0x1ac>     
    );                                                                
                                                                      
  if ( NULL != key )                                                  
    memcpy( buffer, key->data, bytes_to_copy );                       
  else                                                                
    memset( buffer, sparse_disk->fill_pattern, buffer_size );         
ffc11bec:	88 9d 00 14 	lbz     r4,20(r29)                             
ffc11bf0:	7e 83 a3 78 	mr      r3,r20                                 
ffc11bf4:	7f c5 f3 78 	mr      r5,r30                                 
ffc11bf8:	48 00 f8 79 	bl      ffc21470 <memset>                      
ffc11bfc:	4b ff ff 50 	b       ffc11b4c <sparse_disk_ioctl+0x1ac>     
    sizeof( rtems_sparse_disk_key ),                                  
    sparse_disk_compare                                               
    );                                                                
                                                                      
  if ( NULL == key ) {                                                
    for ( i = 0; ( !block_needs_writing ) && ( i < bytes_to_copy ); ++i ) {
ffc11c00:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc11c04:	41 be ff 48 	beq-    cr7,ffc11b4c <sparse_disk_ioctl+0x1ac> <== NEVER TAKEN
      if ( buffer[i] != sparse_disk->fill_pattern )                   
ffc11c08:	89 14 00 00 	lbz     r8,0(r20)                              
    sizeof( rtems_sparse_disk_key ),                                  
    sparse_disk_compare                                               
    );                                                                
                                                                      
  if ( NULL == key ) {                                                
    for ( i = 0; ( !block_needs_writing ) && ( i < bytes_to_copy ); ++i ) {
ffc11c0c:	89 3d 00 14 	lbz     r9,20(r29)                             
ffc11c10:	7f 89 40 00 	cmpw    cr7,r9,r8                              
ffc11c14:	40 9e 00 1c 	bne-    cr7,ffc11c30 <sparse_disk_ioctl+0x290> 
}                                                                     
                                                                      
/*                                                                    
 * ioctl handler to be passed to the block device handler             
 */                                                                   
static int sparse_disk_ioctl( rtems_disk_device *dd, uint32_t req, void *argp )
ffc11c18:	7f e9 03 a6 	mtctr   r31                                    
ffc11c1c:	7e 89 a3 78 	mr      r9,r20                                 
    sizeof( rtems_sparse_disk_key ),                                  
    sparse_disk_compare                                               
    );                                                                
                                                                      
  if ( NULL == key ) {                                                
    for ( i = 0; ( !block_needs_writing ) && ( i < bytes_to_copy ); ++i ) {
ffc11c20:	42 40 ff 2c 	bdz+    ffc11b4c <sparse_disk_ioctl+0x1ac>     
ffc11c24:	8d 49 00 01 	lbzu    r10,1(r9)                              
ffc11c28:	7f 8a 40 00 	cmpw    cr7,r10,r8                             
ffc11c2c:	41 9e ff f4 	beq+    cr7,ffc11c20 <sparse_disk_ioctl+0x280> 
  rtems_sparse_disk      *sparse_disk,                                
  const rtems_blkdev_bnum block )                                     
{                                                                     
  rtems_sparse_disk_key *key;                                         
                                                                      
  if ( sparse_disk->used_count < sparse_disk->blocks_with_buffer ) {  
ffc11c30:	81 3d 00 08 	lwz     r9,8(r29)                              
ffc11c34:	81 5d 00 04 	lwz     r10,4(r29)                             
ffc11c38:	7f 89 50 40 	cmplw   cr7,r9,r10                             
ffc11c3c:	40 9c 00 54 	bge-    cr7,ffc11c90 <sparse_disk_ioctl+0x2f0> <== NEVER TAKEN
    key        = &sparse_disk->key_table[sparse_disk->used_count];    
ffc11c40:	81 5d 00 18 	lwz     r10,24(r29)                            
ffc11c44:	55 33 18 38 	rlwinm  r19,r9,3,0,28                          
    key->block = block;                                               
    ++sparse_disk->used_count;                                        
ffc11c48:	38 89 00 01 	addi    r4,r9,1                                
{                                                                     
  rtems_sparse_disk_key *key;                                         
                                                                      
  if ( sparse_disk->used_count < sparse_disk->blocks_with_buffer ) {  
    key        = &sparse_disk->key_table[sparse_disk->used_count];    
    key->block = block;                                               
ffc11c4c:	7f 8a 99 2e 	stwx    r28,r10,r19                            
    ++sparse_disk->used_count;                                        
    qsort( sparse_disk->key_table, sparse_disk->used_count,           
ffc11c50:	7d 43 53 78 	mr      r3,r10                                 
ffc11c54:	38 a0 00 08 	li      r5,8                                   
  rtems_sparse_disk_key *key;                                         
                                                                      
  if ( sparse_disk->used_count < sparse_disk->blocks_with_buffer ) {  
    key        = &sparse_disk->key_table[sparse_disk->used_count];    
    key->block = block;                                               
    ++sparse_disk->used_count;                                        
ffc11c58:	90 9d 00 08 	stw     r4,8(r29)                              
    qsort( sparse_disk->key_table, sparse_disk->used_count,           
ffc11c5c:	7f 26 cb 78 	mr      r6,r25                                 
  const rtems_blkdev_bnum block )                                     
{                                                                     
  rtems_sparse_disk_key *key;                                         
                                                                      
  if ( sparse_disk->used_count < sparse_disk->blocks_with_buffer ) {  
    key        = &sparse_disk->key_table[sparse_disk->used_count];    
ffc11c60:	7e 6a 9a 14 	add     r19,r10,r19                            
    key->block = block;                                               
    ++sparse_disk->used_count;                                        
    qsort( sparse_disk->key_table, sparse_disk->used_count,           
ffc11c64:	48 00 f9 25 	bl      ffc21588 <qsort>                       
ffc11c68:	4b ff ff 70 	b       ffc11bd8 <sparse_disk_ioctl+0x238>     
      bytes_handled += rv;                                            
      buff_size     -= rv;                                            
    }                                                                 
  }                                                                   
                                                                      
  rtems_semaphore_release( sparse_disk->mutex );                      
ffc11c6c:	80 7d 00 00 	lwz     r3,0(r29)                              <== NOT EXECUTED
    rtems_blkdev_request *r = argp;                                   
                                                                      
    switch ( r->req ) {                                               
      case RTEMS_BLKDEV_REQ_READ:                                     
      case RTEMS_BLKDEV_REQ_WRITE:                                    
        return sparse_disk_read_write( sd, r, r->req == RTEMS_BLKDEV_REQ_READ );
ffc11c70:	3b e0 00 00 	li      r31,0                                  <== NOT EXECUTED
      bytes_handled += rv;                                            
      buff_size     -= rv;                                            
    }                                                                 
  }                                                                   
                                                                      
  rtems_semaphore_release( sparse_disk->mutex );                      
ffc11c74:	4b ff a1 01 	bl      ffc0bd74 <rtems_semaphore_release>     <== NOT EXECUTED
ffc11c78:	81 35 00 04 	lwz     r9,4(r21)                              <== NOT EXECUTED
ffc11c7c:	7e a3 ab 78 	mr      r3,r21                                 <== NOT EXECUTED
ffc11c80:	38 80 00 1b 	li      r4,27                                  <== NOT EXECUTED
ffc11c84:	7d 29 03 a6 	mtctr   r9                                     <== NOT EXECUTED
ffc11c88:	4e 80 04 21 	bctrl                                          <== NOT EXECUTED
ffc11c8c:	4b ff fd 84 	b       ffc11a10 <sparse_disk_ioctl+0x70>      <== NOT EXECUTED
  rtems_sparse_disk      *sparse_disk,                                
  const rtems_blkdev_bnum block )                                     
{                                                                     
  rtems_sparse_disk_key *key;                                         
                                                                      
  if ( sparse_disk->used_count < sparse_disk->blocks_with_buffer ) {  
ffc11c90:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  if ( NULL != key )                                                  
    memcpy( key->data, buffer, bytes_to_copy );                       
  else if ( block_needs_writing )                                     
    return -1;                                                        
ffc11c94:	39 20 ff ff 	li      r9,-1                                  <== NOT EXECUTED
ffc11c98:	4b ff fe b8 	b       ffc11b50 <sparse_disk_ioctl+0x1b0>     <== NOT EXECUTED
    return 0;                                                         
  } else {                                                            
    return rtems_blkdev_ioctl( dd, req, argp );                       
  }                                                                   
                                                                      
  errno = EINVAL;                                                     
ffc11c9c:	48 00 ea 01 	bl      ffc2069c <__errno>                     <== NOT EXECUTED
ffc11ca0:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc11ca4:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
  return -1;                                                          
ffc11ca8:	3b e0 ff ff 	li      r31,-1                                 <== NOT EXECUTED
ffc11cac:	4b ff fd 64 	b       ffc11a10 <sparse_disk_ioctl+0x70>      <== NOT EXECUTED
    }                                                                 
  } else if ( RTEMS_BLKIO_DELETED == req ) {                          
    sc = rtems_semaphore_delete( sd->mutex );                         
                                                                      
    if ( RTEMS_SUCCESSFUL != sc )                                     
      rtems_fatal_error_occurred( 0xdeadbeef );                       
ffc11cb0:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc11cb4:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc11cb8:	4b ff a8 7d 	bl      ffc0c534 <rtems_fatal_error_occurred>  <== NOT EXECUTED
                                                                      

ffc19cb0 <tcsetattr>: int fd, int opt, struct termios *tp ) { switch (opt) {
ffc19cb0:	2c 04 00 00 	cmpwi   r4,0                                   
int tcsetattr(                                                        
  int             fd,                                                 
  int             opt,                                                
  struct termios *tp                                                  
)                                                                     
{                                                                     
ffc19cb4:	94 21 ff f0 	stwu    r1,-16(r1)                             
ffc19cb8:	7c 08 02 a6 	mflr    r0                                     
ffc19cbc:	93 c1 00 08 	stw     r30,8(r1)                              
ffc19cc0:	7c 7e 1b 78 	mr      r30,r3                                 
ffc19cc4:	93 e1 00 0c 	stw     r31,12(r1)                             
ffc19cc8:	7c bf 2b 78 	mr      r31,r5                                 
ffc19ccc:	90 01 00 14 	stw     r0,20(r1)                              
  switch (opt) {                                                      
ffc19cd0:	41 82 00 4c 	beq-    ffc19d1c <tcsetattr+0x6c>              
ffc19cd4:	2f 84 00 01 	cmpwi   cr7,r4,1                               
ffc19cd8:	41 9e 00 2c 	beq-    cr7,ffc19d04 <tcsetattr+0x54>          
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
ffc19cdc:	48 00 44 a9 	bl      ffc1e184 <__errno>                     
ffc19ce0:	39 20 00 86 	li      r9,134                                 
ffc19ce4:	91 23 00 00 	stw     r9,0(r3)                               
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
ffc19ce8:	80 01 00 14 	lwz     r0,20(r1)                              
ffc19cec:	38 60 ff ff 	li      r3,-1                                  
ffc19cf0:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc19cf4:	7c 08 03 a6 	mtlr    r0                                     
ffc19cf8:	83 e1 00 0c 	lwz     r31,12(r1)                             
ffc19cfc:	38 21 00 10 	addi    r1,r1,16                               
ffc19d00:	4e 80 00 20 	blr                                            
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
ffc19d04:	38 80 00 03 	li      r4,3                                   
ffc19d08:	38 a0 00 00 	li      r5,0                                   
ffc19d0c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc19d10:	48 00 3b 49 	bl      ffc1d858 <ioctl>                       
ffc19d14:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc19d18:	41 bc ff d0 	blt-    cr7,ffc19ce8 <tcsetattr+0x38>          <== NEVER TAKEN
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
ffc19d1c:	80 01 00 14 	lwz     r0,20(r1)                              
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc19d20:	7f c3 f3 78 	mr      r3,r30                                 
ffc19d24:	7f e5 fb 78 	mr      r5,r31                                 
  }                                                                   
}                                                                     
ffc19d28:	83 c1 00 08 	lwz     r30,8(r1)                              
ffc19d2c:	7c 08 03 a6 	mtlr    r0                                     
ffc19d30:	83 e1 00 0c 	lwz     r31,12(r1)                             
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc19d34:	38 80 00 02 	li      r4,2                                   
  }                                                                   
}                                                                     
ffc19d38:	38 21 00 10 	addi    r1,r1,16                               
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
ffc19d3c:	4c c6 31 82 	crclr   4*cr1+eq                               
ffc19d40:	48 00 3b 18 	b       ffc1d858 <ioctl>                       
                                                                      

ffc08ddc <unmount>: * in some form is supported on most UNIX and POSIX systems. This * routine is necessary to mount instantiations of a file system * into the file system name space. */ int unmount( const char *path ) {
ffc08ddc:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc08de0:	7c 08 02 a6 	mflr    r0                                     
ffc08de4:	7c 64 1b 78 	mr      r4,r3                                  
  int rv = 0;                                                         
  rtems_filesystem_eval_path_context_t ctx;                           
  int eval_flags = RTEMS_FS_FOLLOW_LINK;                              
  const rtems_filesystem_location_info_t *currentloc =                
ffc08de8:	38 a0 00 18 	li      r5,24                                  
 *  in some form is supported on most UNIX and POSIX systems.  This   
 *  routine is necessary to mount instantiations of a file system     
 *  into the file system name space.                                  
 */                                                                   
int unmount( const char *path )                                       
{                                                                     
ffc08dec:	90 01 00 54 	stw     r0,84(r1)                              
  int rv = 0;                                                         
  rtems_filesystem_eval_path_context_t ctx;                           
  int eval_flags = RTEMS_FS_FOLLOW_LINK;                              
  const rtems_filesystem_location_info_t *currentloc =                
ffc08df0:	38 61 00 08 	addi    r3,r1,8                                
 *  in some form is supported on most UNIX and POSIX systems.  This   
 *  routine is necessary to mount instantiations of a file system     
 *  into the file system name space.                                  
 */                                                                   
int unmount( const char *path )                                       
{                                                                     
ffc08df4:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc08df8:	93 c1 00 48 	stw     r30,72(r1)                             
  int rv = 0;                                                         
  rtems_filesystem_eval_path_context_t ctx;                           
  int eval_flags = RTEMS_FS_FOLLOW_LINK;                              
  const rtems_filesystem_location_info_t *currentloc =                
ffc08dfc:	4b ff d4 85 	bl      ffc06280 <rtems_filesystem_eval_path_start>
    rtems_filesystem_eval_path_start( &ctx, path, eval_flags );       
  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
ffc08e00:	83 e3 00 14 	lwz     r31,20(r3)                             
  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)(                         
ffc08e04:	81 3f 00 0c 	lwz     r9,12(r31)                             
ffc08e08:	80 9f 00 24 	lwz     r4,36(r31)                             
ffc08e0c:	81 29 00 10 	lwz     r9,16(r9)                              
ffc08e10:	7d 29 03 a6 	mtctr   r9                                     
ffc08e14:	4e 80 04 21 	bctrl                                          
                                                                      
  if ( rtems_filesystem_location_is_instance_root( currentloc ) ) {   
ffc08e18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e1c:	41 9e 00 d8 	beq-    cr7,ffc08ef4 <unmount+0x118>           
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;                                 
ffc08e20:	3d 20 00 00 	lis     r9,0                                   
ffc08e24:	81 29 27 58 	lwz     r9,10072(r9)                           
  const rtems_filesystem_location_info_t *current =                   
    &rtems_filesystem_current->location;                              
                                                                      
  return mt_entry == root->mt_entry || mt_entry == current->mt_entry; 
ffc08e28:	81 49 00 04 	lwz     r10,4(r9)                              
)                                                                     
{                                                                     
  const rtems_filesystem_location_info_t *root =                      
    &rtems_filesystem_root->location;                                 
  const rtems_filesystem_location_info_t *current =                   
    &rtems_filesystem_current->location;                              
ffc08e2c:	81 09 00 00 	lwz     r8,0(r9)                               
                                                                      
  return mt_entry == root->mt_entry || mt_entry == current->mt_entry; 
ffc08e30:	81 2a 00 14 	lwz     r9,20(r10)                             
ffc08e34:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc08e38:	41 9e 00 a8 	beq-    cr7,ffc08ee0 <unmount+0x104>           
ffc08e3c:	81 28 00 14 	lwz     r9,20(r8)                              
ffc08e40:	7f 9f 48 00 	cmpw    cr7,r31,r9                             
ffc08e44:	41 9e 00 9c 	beq-    cr7,ffc08ee0 <unmount+0x104>           
  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
                                                                      
  if ( rtems_filesystem_location_is_instance_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;              
ffc08e48:	81 3f 00 20 	lwz     r9,32(r31)                             
                                                                      
      rv = (*mt_point_ops->unmount_h)( mt_entry );                    
ffc08e4c:	7f e3 fb 78 	mr      r3,r31                                 
  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
                                                                      
  if ( rtems_filesystem_location_is_instance_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;              
ffc08e50:	81 29 00 14 	lwz     r9,20(r9)                              
                                                                      
      rv = (*mt_point_ops->unmount_h)( mt_entry );                    
ffc08e54:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc08e58:	81 29 00 38 	lwz     r9,56(r9)                              
ffc08e5c:	7d 29 03 a6 	mtctr   r9                                     
ffc08e60:	4e 80 04 21 	bctrl                                          
      if ( rv == 0 ) {                                                
ffc08e64:	7c 7e 1b 79 	mr.     r30,r3                                 
ffc08e68:	41 82 00 28 	beq-    ffc08e90 <unmount+0xb4>                
  } else {                                                            
    errno = EACCES;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc08e6c:	38 61 00 08 	addi    r3,r1,8                                
ffc08e70:	4b ff d5 59 	bl      ffc063c8 <rtems_filesystem_eval_path_cleanup>
      rtems_fatal_error_occurred( 0xdeadbeef );                       
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
ffc08e74:	80 01 00 54 	lwz     r0,84(r1)                              
ffc08e78:	7f c3 f3 78 	mr      r3,r30                                 
ffc08e7c:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc08e80:	7c 08 03 a6 	mtlr    r0                                     
ffc08e84:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc08e88:	38 21 00 50 	addi    r1,r1,80                               
ffc08e8c:	4e 80 00 20 	blr                                            
      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();                    
ffc08e90:	48 00 13 bd 	bl      ffc0a24c <rtems_task_self>             
static inline uint32_t ppc_interrupt_disable( void )                  
{                                                                     
  uint32_t level;                                                     
  uint32_t mask;                                                      
                                                                      
  __asm__ volatile (                                                  
ffc08e94:	7d 20 00 a6 	mfmsr   r9                                     
ffc08e98:	7d 50 42 a6 	mfsprg  r10,0                                  
ffc08e9c:	7d 2a 50 78 	andc    r10,r9,r10                             
ffc08ea0:	7d 40 01 24 	mtmsr   r10                                    
        rtems_filesystem_mt_entry_declare_lock_context( lock_context );
                                                                      
        rtems_filesystem_mt_entry_lock( lock_context );               
        mt_entry->unmount_task = self_task_id;                        
ffc08ea4:	90 7f 00 3c 	stw     r3,60(r31)                             
        mt_entry->mounted = false;                                    
ffc08ea8:	9b df 00 28 	stb     r30,40(r31)                            
  return level;                                                       
}                                                                     
                                                                      
static inline void ppc_interrupt_enable( uint32_t level )             
{                                                                     
  __asm__ volatile (                                                  
ffc08eac:	7d 20 01 24 	mtmsr   r9                                     
  } else {                                                            
    errno = EACCES;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
ffc08eb0:	38 61 00 08 	addi    r3,r1,8                                
ffc08eb4:	4b ff d5 15 	bl      ffc063c8 <rtems_filesystem_eval_path_cleanup>
  rtems_interval ticks                                                
)                                                                     
{                                                                     
  rtems_event_set event_out;                                          
                                                                      
  return rtems_event_system_receive(                                  
ffc08eb8:	3c 60 80 00 	lis     r3,-32768                              
ffc08ebc:	38 80 00 00 	li      r4,0                                   
ffc08ec0:	38 a0 00 00 	li      r5,0                                   
ffc08ec4:	38 c1 00 40 	addi    r6,r1,64                               
ffc08ec8:	48 00 0f 79 	bl      ffc09e40 <rtems_event_system_receive>  
    rtems_status_code sc = rtems_event_transient_receive(             
      RTEMS_WAIT,                                                     
      RTEMS_NO_TIMEOUT                                                
    );                                                                
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
ffc08ecc:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08ed0:	41 9e ff a4 	beq+    cr7,ffc08e74 <unmount+0x98>            <== ALWAYS TAKEN
      rtems_fatal_error_occurred( 0xdeadbeef );                       
ffc08ed4:	3c 60 de ad 	lis     r3,-8531                               <== NOT EXECUTED
ffc08ed8:	60 63 be ef 	ori     r3,r3,48879                            <== NOT EXECUTED
ffc08edc:	48 00 16 45 	bl      ffc0a520 <rtems_fatal_error_occurred>  <== NOT EXECUTED
        mt_entry->unmount_task = self_task_id;                        
        mt_entry->mounted = false;                                    
        rtems_filesystem_mt_entry_unlock( lock_context );             
      }                                                               
    } else {                                                          
      errno = EBUSY;                                                  
ffc08ee0:	48 00 92 65 	bl      ffc12144 <__errno>                     
ffc08ee4:	39 20 00 10 	li      r9,16                                  
ffc08ee8:	91 23 00 00 	stw     r9,0(r3)                               
      rv = -1;                                                        
ffc08eec:	3b c0 ff ff 	li      r30,-1                                 
ffc08ef0:	4b ff ff 7c 	b       ffc08e6c <unmount+0x90>                
    }                                                                 
  } else {                                                            
    errno = EACCES;                                                   
ffc08ef4:	48 00 92 51 	bl      ffc12144 <__errno>                     
ffc08ef8:	39 20 00 0d 	li      r9,13                                  
ffc08efc:	91 23 00 00 	stw     r9,0(r3)                               
    rv = -1;                                                          
ffc08f00:	3b c0 ff ff 	li      r30,-1                                 
ffc08f04:	4b ff ff 68 	b       ffc08e6c <unmount+0x90>                
                                                                      

ffc08df0 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
ffc08df0:	94 21 ff b0 	stwu    r1,-80(r1)                             
ffc08df4:	7d 80 00 26 	mfcr    r12                                    
ffc08df8:	7c 08 02 a6 	mflr    r0                                     
ffc08dfc:	93 c1 00 48 	stw     r30,72(r1)                             
ffc08e00:	7c 7e 1b 78 	mr      r30,r3                                 
ffc08e04:	90 01 00 54 	stw     r0,84(r1)                              
ffc08e08:	92 e1 00 2c 	stw     r23,44(r1)                             
ffc08e0c:	93 01 00 30 	stw     r24,48(r1)                             
ffc08e10:	93 21 00 34 	stw     r25,52(r1)                             
ffc08e14:	93 41 00 38 	stw     r26,56(r1)                             
ffc08e18:	93 61 00 3c 	stw     r27,60(r1)                             
ffc08e1c:	93 81 00 40 	stw     r28,64(r1)                             
ffc08e20:	93 a1 00 44 	stw     r29,68(r1)                             
ffc08e24:	93 e1 00 4c 	stw     r31,76(r1)                             
ffc08e28:	91 81 00 28 	stw     r12,40(r1)                             
  for (; *fmt != '\0'; fmt++) {                                       
ffc08e2c:	88 63 00 00 	lbz     r3,0(r3)                               
ffc08e30:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08e34:	41 9e 00 ec 	beq-    cr7,ffc08f20 <vprintk+0x130>           <== NEVER TAKEN
ffc08e38:	7c 9c 23 78 	mr      r28,r4                                 
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc08e3c:	3b a1 00 08 	addi    r29,r1,8                               
ffc08e40:	3f 60 ff c2 	lis     r27,-62                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
ffc08e44:	3f 40 ff c2 	lis     r26,-62                                
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
ffc08e48:	2f 83 00 25 	cmpwi   cr7,r3,37                              
ffc08e4c:	40 9e 00 c0 	bne-    cr7,ffc08f0c <vprintk+0x11c>           
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
ffc08e50:	88 7e 00 01 	lbz     r3,1(r30)                              
ffc08e54:	2f 83 00 30 	cmpwi   cr7,r3,48                              
ffc08e58:	41 9e 01 f0 	beq-    cr7,ffc09048 <vprintk+0x258>           
                                                                      
    if (*fmt != '%') {                                                
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
ffc08e5c:	3b de 00 01 	addi    r30,r30,1                              
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
ffc08e60:	3b 20 00 20 	li      r25,32                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc08e64:	2f 83 00 2d 	cmpwi   cr7,r3,45                              
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
ffc08e68:	39 00 00 00 	li      r8,0                                   
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
ffc08e6c:	41 9e 01 cc 	beq-    cr7,ffc09038 <vprintk+0x248>           
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc08e70:	39 43 ff d0 	addi    r10,r3,-48                             
ffc08e74:	2b 8a 00 09 	cmplwi  cr7,r10,9                              
ffc08e78:	3b e0 00 00 	li      r31,0                                  
ffc08e7c:	41 9d 00 20 	bgt-    cr7,ffc08e9c <vprintk+0xac>            
      width *= 10;                                                    
ffc08e80:	1f ff 00 0a 	mulli   r31,r31,10                             
      width += ((unsigned) *fmt - '0');                               
ffc08e84:	7f ff 1a 14 	add     r31,r31,r3                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc08e88:	8c 7e 00 01 	lbzu    r3,1(r30)                              
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
ffc08e8c:	3b ff ff d0 	addi    r31,r31,-48                            
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
ffc08e90:	39 43 ff d0 	addi    r10,r3,-48                             
ffc08e94:	2b 8a 00 09 	cmplwi  cr7,r10,9                              
ffc08e98:	40 9d ff e8 	ble+    cr7,ffc08e80 <vprintk+0x90>            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
ffc08e9c:	2f 83 00 6c 	cmpwi   cr7,r3,108                             
ffc08ea0:	41 9e 01 f4 	beq-    cr7,ffc09094 <vprintk+0x2a4>           
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
ffc08ea4:	2f 83 00 63 	cmpwi   cr7,r3,99                              
ffc08ea8:	41 9e 01 b0 	beq-    cr7,ffc09058 <vprintk+0x268>           
      /* 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' ) {                                                 
ffc08eac:	2f 83 00 73 	cmpwi   cr7,r3,115                             
ffc08eb0:	41 9e 02 0c 	beq-    cr7,ffc090bc <vprintk+0x2cc>           
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
ffc08eb4:	2f 83 00 6f 	cmpwi   cr7,r3,111                             
ffc08eb8:	41 9e 01 f8 	beq-    cr7,ffc090b0 <vprintk+0x2c0>           
ffc08ebc:	2f 83 00 4f 	cmpwi   cr7,r3,79                              
ffc08ec0:	41 9e 01 f0 	beq-    cr7,ffc090b0 <vprintk+0x2c0>           
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
ffc08ec4:	2f 83 00 69 	cmpwi   cr7,r3,105                             
ffc08ec8:	41 9e 00 94 	beq-    cr7,ffc08f5c <vprintk+0x16c>           
ffc08ecc:	2f 83 00 49 	cmpwi   cr7,r3,73                              
ffc08ed0:	41 9e 00 8c 	beq-    cr7,ffc08f5c <vprintk+0x16c>           
ffc08ed4:	2f 83 00 64 	cmpwi   cr7,r3,100                             
ffc08ed8:	41 9e 00 84 	beq-    cr7,ffc08f5c <vprintk+0x16c>           
                c == 'd' || c == 'D' ) {                              
ffc08edc:	2f 83 00 44 	cmpwi   cr7,r3,68                              
ffc08ee0:	41 9e 00 7c 	beq-    cr7,ffc08f5c <vprintk+0x16c>           
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
ffc08ee4:	2f 83 00 75 	cmpwi   cr7,r3,117                             
ffc08ee8:	41 9e 02 fc 	beq-    cr7,ffc091e4 <vprintk+0x3f4>           
ffc08eec:	2f 83 00 55 	cmpwi   cr7,r3,85                              
ffc08ef0:	41 9e 02 f4 	beq-    cr7,ffc091e4 <vprintk+0x3f4>           
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
ffc08ef4:	2f 83 00 78 	cmpwi   cr7,r3,120                             
ffc08ef8:	41 9e 02 f8 	beq-    cr7,ffc091f0 <vprintk+0x400>           
ffc08efc:	2f 83 00 58 	cmpwi   cr7,r3,88                              
ffc08f00:	41 9e 02 f0 	beq-    cr7,ffc091f0 <vprintk+0x400>           
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
ffc08f04:	2f 83 00 70 	cmpwi   cr7,r3,112                             
ffc08f08:	41 9e 02 e8 	beq-    cr7,ffc091f0 <vprintk+0x400>           
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      rtems_putc(c);                                                  
ffc08f0c:	48 00 62 c5 	bl      ffc0f1d0 <rtems_putc>                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc08f10:	88 7e 00 01 	lbz     r3,1(r30)                              
ffc08f14:	3b de 00 01 	addi    r30,r30,1                              
ffc08f18:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc08f1c:	40 9e ff 2c 	bne+    cr7,ffc08e48 <vprintk+0x58>            
      sign,                                                           
      width,                                                          
      lead                                                            
    );                                                                
  }                                                                   
}                                                                     
ffc08f20:	80 01 00 54 	lwz     r0,84(r1)                              
ffc08f24:	81 81 00 28 	lwz     r12,40(r1)                             
ffc08f28:	7c 08 03 a6 	mtlr    r0                                     
ffc08f2c:	82 e1 00 2c 	lwz     r23,44(r1)                             
ffc08f30:	83 01 00 30 	lwz     r24,48(r1)                             
ffc08f34:	7d 80 81 20 	mtcrf   8,r12                                  
ffc08f38:	83 21 00 34 	lwz     r25,52(r1)                             
ffc08f3c:	83 41 00 38 	lwz     r26,56(r1)                             
ffc08f40:	83 61 00 3c 	lwz     r27,60(r1)                             
ffc08f44:	83 81 00 40 	lwz     r28,64(r1)                             
ffc08f48:	83 a1 00 44 	lwz     r29,68(r1)                             
ffc08f4c:	83 c1 00 48 	lwz     r30,72(r1)                             
ffc08f50:	83 e1 00 4c 	lwz     r31,76(r1)                             
ffc08f54:	38 21 00 50 	addi    r1,r1,80                               
ffc08f58:	4e 80 00 20 	blr                                            
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
ffc08f5c:	39 20 00 01 	li      r9,1                                   
ffc08f60:	3b 00 00 0a 	li      r24,10                                 
      rtems_putc(c);                                                  
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc08f64:	89 5c 00 00 	lbz     r10,0(r28)                             
ffc08f68:	2b 8a 00 08 	cmplwi  cr7,r10,8                              
ffc08f6c:	40 9c 01 34 	bge-    cr7,ffc090a0 <vprintk+0x2b0>           
ffc08f70:	55 47 10 3a 	rlwinm  r7,r10,2,0,29                          
ffc08f74:	81 1c 00 08 	lwz     r8,8(r28)                              
ffc08f78:	39 4a 00 01 	addi    r10,r10,1                              
ffc08f7c:	99 5c 00 00 	stb     r10,0(r28)                             
ffc08f80:	7d 08 3a 14 	add     r8,r8,r7                               
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc08f84:	2f 89 00 00 	cmpwi   cr7,r9,0                               
    } else {                                                          
      rtems_putc(c);                                                  
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
ffc08f88:	82 e8 00 00 	lwz     r23,0(r8)                              
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
ffc08f8c:	41 9e 00 0c 	beq-    cr7,ffc08f98 <vprintk+0x1a8>           
ffc08f90:	2f 97 00 00 	cmpwi   cr7,r23,0                              
ffc08f94:	41 9c 02 34 	blt-    cr7,ffc091c8 <vprintk+0x3d8>           
    rtems_putc('-');                                                  
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
ffc08f98:	7e e7 bb 78 	mr      r7,r23                                 
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc08f9c:	7d 27 c3 96 	divwu   r9,r7,r24                              
ffc08fa0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc08fa4:	41 9e 02 58 	beq-    cr7,ffc091fc <vprintk+0x40c>           
ffc08fa8:	57 05 06 3e 	clrlwi  r5,r24,24                              
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc08fac:	39 40 00 00 	li      r10,0                                  
ffc08fb0:	48 00 00 08 	b       ffc08fb8 <vprintk+0x1c8>               
  while ((n = unsigned_num / base) > 0) {                             
ffc08fb4:	7d 09 43 78 	mr      r9,r8                                  
ffc08fb8:	7d 09 c3 96 	divwu   r8,r9,r24                              
ffc08fbc:	2f 88 00 00 	cmpwi   cr7,r8,0                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
ffc08fc0:	7c c5 49 d6 	mullw   r6,r5,r9                               
ffc08fc4:	7c e6 38 50 	subf    r7,r6,r7                               
ffc08fc8:	7c fd 51 ae 	stbx    r7,r29,r10                             
ffc08fcc:	7d 27 4b 78 	mr      r7,r9                                  
ffc08fd0:	39 4a 00 01 	addi    r10,r10,1                              
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc08fd4:	40 9e ff e0 	bne+    cr7,ffc08fb4 <vprintk+0x1c4>           
ffc08fd8:	3b 0a 00 01 	addi    r24,r10,1                              
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08fdc:	7f 9f c0 40 	cmplw   cr7,r31,r24                            
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
ffc08fe0:	7d 41 52 14 	add     r10,r1,r10                             
ffc08fe4:	99 2a 00 08 	stb     r9,8(r10)                              
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08fe8:	40 9d 00 18 	ble-    cr7,ffc09000 <vprintk+0x210>           
    rtems_putc(lead);                                                 
ffc08fec:	7f 23 cb 78 	mr      r3,r25                                 
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08ff0:	3b ff ff ff 	addi    r31,r31,-1                             
    rtems_putc(lead);                                                 
ffc08ff4:	48 00 61 dd 	bl      ffc0f1d0 <rtems_putc>                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
ffc08ff8:	7f 9f c0 40 	cmplw   cr7,r31,r24                            
ffc08ffc:	41 9d ff f0 	bgt+    cr7,ffc08fec <vprintk+0x1fc>           
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc09000:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc09004:	41 be ff 0c 	beq-    cr7,ffc08f10 <vprintk+0x120>           <== NEVER TAKEN
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
ffc09008:	7f fd c2 14 	add     r31,r29,r24                            
ffc0900c:	3b 3b e8 04 	addi    r25,r27,-6140                          
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
    rtems_putc("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]);      
ffc09010:	8d 3f ff ff 	lbzu    r9,-1(r31)                             
ffc09014:	7c 79 48 ae 	lbzx    r3,r25,r9                              
ffc09018:	48 00 61 b9 	bl      ffc0f1d0 <rtems_putc>                  
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
ffc0901c:	7f 9f e8 00 	cmpw    cr7,r31,r29                            
ffc09020:	40 9e ff f0 	bne+    cr7,ffc09010 <vprintk+0x220>           
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc09024:	88 7e 00 01 	lbz     r3,1(r30)                              
ffc09028:	3b de 00 01 	addi    r30,r30,1                              
ffc0902c:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc09030:	40 9e fe 18 	bne+    cr7,ffc08e48 <vprintk+0x58>            <== ALWAYS TAKEN
ffc09034:	4b ff fe ec 	b       ffc08f20 <vprintk+0x130>               <== NOT EXECUTED
ffc09038:	88 7e 00 01 	lbz     r3,1(r30)                              
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
ffc0903c:	39 00 00 01 	li      r8,1                                   
      fmt++;                                                          
ffc09040:	3b de 00 01 	addi    r30,r30,1                              
ffc09044:	4b ff fe 2c 	b       ffc08e70 <vprintk+0x80>                
ffc09048:	88 7e 00 02 	lbz     r3,2(r30)                              
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
ffc0904c:	3b 20 00 30 	li      r25,48                                 
      fmt++;                                                          
ffc09050:	3b de 00 02 	addi    r30,r30,2                              
ffc09054:	4b ff fe 10 	b       ffc08e64 <vprintk+0x74>                
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc09058:	89 3c 00 00 	lbz     r9,0(r28)                              
ffc0905c:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc09060:	40 9c 01 38 	bge-    cr7,ffc09198 <vprintk+0x3a8>           <== NEVER TAKEN
ffc09064:	55 28 10 3a 	rlwinm  r8,r9,2,0,29                           
ffc09068:	81 5c 00 08 	lwz     r10,8(r28)                             
ffc0906c:	39 29 00 01 	addi    r9,r9,1                                
ffc09070:	99 3c 00 00 	stb     r9,0(r28)                              
ffc09074:	7d 4a 42 14 	add     r10,r10,r8                             
      rtems_putc(chr);                                                
ffc09078:	88 6a 00 03 	lbz     r3,3(r10)                              
ffc0907c:	48 00 61 55 	bl      ffc0f1d0 <rtems_putc>                  
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
ffc09080:	88 7e 00 01 	lbz     r3,1(r30)                              
ffc09084:	3b de 00 01 	addi    r30,r30,1                              
ffc09088:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0908c:	40 9e fd bc 	bne+    cr7,ffc08e48 <vprintk+0x58>            
ffc09090:	4b ff fe 90 	b       ffc08f20 <vprintk+0x130>               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
ffc09094:	88 7e 00 01 	lbz     r3,1(r30)                              
ffc09098:	3b de 00 01 	addi    r30,r30,1                              
ffc0909c:	4b ff fe 08 	b       ffc08ea4 <vprintk+0xb4>                
      rtems_putc(c);                                                  
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
      lflag ? va_arg(ap, long) : (long) va_arg(ap, int),              
ffc090a0:	81 1c 00 04 	lwz     r8,4(r28)                              
ffc090a4:	39 48 00 04 	addi    r10,r8,4                               
ffc090a8:	91 5c 00 04 	stw     r10,4(r28)                             
ffc090ac:	4b ff fe d8 	b       ffc08f84 <vprintk+0x194>               
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
ffc090b0:	39 20 00 00 	li      r9,0                                   
ffc090b4:	3b 00 00 08 	li      r24,8                                  
ffc090b8:	4b ff fe ac 	b       ffc08f64 <vprintk+0x174>               
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc090bc:	89 3c 00 00 	lbz     r9,0(r28)                              
ffc090c0:	2b 89 00 08 	cmplwi  cr7,r9,8                               
ffc090c4:	40 9c 00 e4 	bge-    cr7,ffc091a8 <vprintk+0x3b8>           <== NEVER TAKEN
ffc090c8:	55 27 10 3a 	rlwinm  r7,r9,2,0,29                           
ffc090cc:	81 5c 00 08 	lwz     r10,8(r28)                             
ffc090d0:	39 29 00 01 	addi    r9,r9,1                                
ffc090d4:	99 3c 00 00 	stb     r9,0(r28)                              
ffc090d8:	7d 4a 3a 14 	add     r10,r10,r7                             
ffc090dc:	83 0a 00 00 	lwz     r24,0(r10)                             
                                                                      
      if ( str == NULL ) {                                            
ffc090e0:	2f 98 00 00 	cmpwi   cr7,r24,0                              
ffc090e4:	41 9e 00 dc 	beq-    cr7,ffc091c0 <vprintk+0x3d0>           
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
ffc090e8:	89 38 00 00 	lbz     r9,0(r24)                              
ffc090ec:	3b 20 00 00 	li      r25,0                                  
ffc090f0:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc090f4:	41 9e 00 14 	beq-    cr7,ffc09108 <vprintk+0x318>           
ffc090f8:	3b 39 00 01 	addi    r25,r25,1                              
ffc090fc:	7d 38 c8 ae 	lbzx    r9,r24,r25                             
ffc09100:	2f 89 00 00 	cmpwi   cr7,r9,0                               
ffc09104:	40 9e ff f4 	bne+    cr7,ffc090f8 <vprintk+0x308>           
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
ffc09108:	2e 08 00 00 	cmpwi   cr4,r8,0                               
ffc0910c:	40 92 00 24 	bne-    cr4,ffc09130 <vprintk+0x340>           
        for ( i=len ; i<width ; i++ )                                 
ffc09110:	7f 9f c8 40 	cmplw   cr7,r31,r25                            
ffc09114:	40 9d 00 1c 	ble-    cr7,ffc09130 <vprintk+0x340>           
ffc09118:	7f 37 cb 78 	mr      r23,r25                                
          rtems_putc(' ');                                            
ffc0911c:	38 60 00 20 	li      r3,32                                  
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc09120:	3a f7 00 01 	addi    r23,r23,1                              
          rtems_putc(' ');                                            
ffc09124:	48 00 60 ad 	bl      ffc0f1d0 <rtems_putc>                  
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
ffc09128:	7f 97 f8 40 	cmplw   cr7,r23,r31                            
ffc0912c:	41 9c ff f0 	blt+    cr7,ffc0911c <vprintk+0x32c>           
          rtems_putc(' ');                                            
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
ffc09130:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
ffc09134:	40 9e 00 10 	bne-    cr7,ffc09144 <vprintk+0x354>           
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc09138:	2f 99 00 00 	cmpwi   cr7,r25,0                              
ffc0913c:	41 be fd d4 	beq-    cr7,ffc08f10 <vprintk+0x120>           
ffc09140:	7f 3f cb 78 	mr      r31,r25                                
ffc09144:	88 78 00 00 	lbz     r3,0(r24)                              
ffc09148:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0914c:	41 9e 00 14 	beq-    cr7,ffc09160 <vprintk+0x370>           <== NEVER TAKEN
        rtems_putc(*str);                                             
ffc09150:	48 00 60 81 	bl      ffc0f1d0 <rtems_putc>                  
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
ffc09154:	8c 78 00 01 	lbzu    r3,1(r24)                              
ffc09158:	2f 83 00 00 	cmpwi   cr7,r3,0                               
ffc0915c:	40 9e ff f4 	bne+    cr7,ffc09150 <vprintk+0x360>           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
ffc09160:	41 b2 fd b0 	beq-    cr4,ffc08f10 <vprintk+0x120>           
        for ( i=len ; i<width ; i++ )                                 
ffc09164:	7f 9f c8 40 	cmplw   cr7,r31,r25                            
ffc09168:	40 bd fd a8 	ble-    cr7,ffc08f10 <vprintk+0x120>           
          rtems_putc(' ');                                            
ffc0916c:	38 60 00 20 	li      r3,32                                  
      for ( i=0 ; i<width && *str ; str++ )                           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc09170:	3b 39 00 01 	addi    r25,r25,1                              
          rtems_putc(' ');                                            
ffc09174:	48 00 60 5d 	bl      ffc0f1d0 <rtems_putc>                  
      for ( i=0 ; i<width && *str ; str++ )                           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc09178:	7f 99 f8 40 	cmplw   cr7,r25,r31                            
ffc0917c:	40 bc fd 94 	bge-    cr7,ffc08f10 <vprintk+0x120>           <== NEVER TAKEN
          rtems_putc(' ');                                            
ffc09180:	38 60 00 20 	li      r3,32                                  
      for ( i=0 ; i<width && *str ; str++ )                           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc09184:	3b 39 00 01 	addi    r25,r25,1                              
          rtems_putc(' ');                                            
ffc09188:	48 00 60 49 	bl      ffc0f1d0 <rtems_putc>                  
      for ( i=0 ; i<width && *str ; str++ )                           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
ffc0918c:	7f 99 f8 40 	cmplw   cr7,r25,r31                            
ffc09190:	41 9c ff dc 	blt+    cr7,ffc0916c <vprintk+0x37c>           
ffc09194:	4b ff fd 7c 	b       ffc08f10 <vprintk+0x120>               
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
ffc09198:	81 5c 00 04 	lwz     r10,4(r28)                             <== NOT EXECUTED
ffc0919c:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc091a0:	91 3c 00 04 	stw     r9,4(r28)                              <== NOT EXECUTED
ffc091a4:	4b ff fe d4 	b       ffc09078 <vprintk+0x288>               <== NOT EXECUTED
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
ffc091a8:	81 5c 00 04 	lwz     r10,4(r28)                             <== NOT EXECUTED
ffc091ac:	39 2a 00 04 	addi    r9,r10,4                               <== NOT EXECUTED
ffc091b0:	91 3c 00 04 	stw     r9,4(r28)                              <== NOT EXECUTED
ffc091b4:	83 0a 00 00 	lwz     r24,0(r10)                             <== NOT EXECUTED
                                                                      
      if ( str == NULL ) {                                            
ffc091b8:	2f 98 00 00 	cmpwi   cr7,r24,0                              <== NOT EXECUTED
ffc091bc:	40 9e ff 2c 	bne+    cr7,ffc090e8 <vprintk+0x2f8>           <== NOT EXECUTED
        str = "";                                                     
ffc091c0:	3b 1a e0 e4 	addi    r24,r26,-7964                          
ffc091c4:	4b ff ff 24 	b       ffc090e8 <vprintk+0x2f8>               
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    rtems_putc('-');                                                  
ffc091c8:	38 60 00 2d 	li      r3,45                                  
ffc091cc:	48 00 60 05 	bl      ffc0f1d0 <rtems_putc>                  
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
ffc091d0:	2f 9f 00 00 	cmpwi   cr7,r31,0                              
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    rtems_putc('-');                                                  
    unsigned_num = (unsigned long) -num;                              
ffc091d4:	7c f7 00 d0 	neg     r7,r23                                 
    if (maxwidth) maxwidth--;                                         
ffc091d8:	41 be fd c4 	beq-    cr7,ffc08f9c <vprintk+0x1ac>           
ffc091dc:	3b ff ff ff 	addi    r31,r31,-1                             
ffc091e0:	4b ff fd bc 	b       ffc08f9c <vprintk+0x1ac>               
      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;                                        
ffc091e4:	39 20 00 00 	li      r9,0                                   
ffc091e8:	3b 00 00 0a 	li      r24,10                                 
ffc091ec:	4b ff fd 78 	b       ffc08f64 <vprintk+0x174>               
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
ffc091f0:	39 20 00 00 	li      r9,0                                   
ffc091f4:	3b 00 00 10 	li      r24,16                                 
ffc091f8:	4b ff fd 6c 	b       ffc08f64 <vprintk+0x174>               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
ffc091fc:	7c e9 3b 78 	mr      r9,r7                                  
ffc09200:	3b 00 00 01 	li      r24,1                                  
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
ffc09204:	39 40 00 00 	li      r10,0                                  
ffc09208:	4b ff fd d4 	b       ffc08fdc <vprintk+0x1ec>               
                                                                      

ffc1cfc4 <write>: size_t count ) { rtems_libio_t *iop; rtems_libio_check_fd( fd );
ffc1cfc4:	3d 20 00 00 	lis     r9,0                                   
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1cfc8:	94 21 ff f8 	stwu    r1,-8(r1)                              
ffc1cfcc:	7c 08 02 a6 	mflr    r0                                     
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1cfd0:	81 29 27 58 	lwz     r9,10072(r9)                           
ssize_t write(                                                        
  int         fd,                                                     
  const void *buffer,                                                 
  size_t      count                                                   
)                                                                     
{                                                                     
ffc1cfd4:	90 01 00 0c 	stw     r0,12(r1)                              
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc1cfd8:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ffc1cfdc:	40 9c 00 68 	bge-    cr7,ffc1d044 <write+0x80>              
  iop = rtems_libio_iop( fd );                                        
ffc1cfe0:	3d 20 00 00 	lis     r9,0                                   
ffc1cfe4:	81 29 28 08 	lwz     r9,10248(r9)                           
ffc1cfe8:	1c 63 00 38 	mulli   r3,r3,56                               
ffc1cfec:	7c 69 1a 14 	add     r3,r9,r3                               
  rtems_libio_check_is_open( iop );                                   
ffc1cff0:	81 23 00 10 	lwz     r9,16(r3)                              
ffc1cff4:	71 27 01 00 	andi.   r7,r9,256                              
ffc1cff8:	41 82 00 4c 	beq-    ffc1d044 <write+0x80>                  
  rtems_libio_check_buffer( buffer );                                 
ffc1cffc:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc1d000:	41 9e 00 58 	beq-    cr7,ffc1d058 <write+0x94>              <== NEVER TAKEN
  rtems_libio_check_count( count );                                   
ffc1d004:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc1d008:	41 9e 00 28 	beq-    cr7,ffc1d030 <write+0x6c>              
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc1d00c:	71 2a 00 04 	andi.   r10,r9,4                               
ffc1d010:	41 82 00 34 	beq-    ffc1d044 <write+0x80>                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );    
ffc1d014:	81 23 00 24 	lwz     r9,36(r3)                              
}                                                                     
ffc1d018:	80 01 00 0c 	lwz     r0,12(r1)                              
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );    
ffc1d01c:	81 29 00 0c 	lwz     r9,12(r9)                              
}                                                                     
ffc1d020:	7c 08 03 a6 	mtlr    r0                                     
ffc1d024:	38 21 00 08 	addi    r1,r1,8                                
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );    
ffc1d028:	7d 29 03 a6 	mtctr   r9                                     
ffc1d02c:	4e 80 04 20 	bctr                                           
                                                                      
  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 );                                   
ffc1d030:	38 60 00 00 	li      r3,0                                   
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );    
}                                                                     
ffc1d034:	80 01 00 0c 	lwz     r0,12(r1)                              
ffc1d038:	38 21 00 08 	addi    r1,r1,8                                
ffc1d03c:	7c 08 03 a6 	mtlr    r0                                     
ffc1d040:	4e 80 00 20 	blr                                            
  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 );
ffc1d044:	4b ff 50 35 	bl      ffc12078 <__errno>                     
ffc1d048:	39 20 00 09 	li      r9,9                                   
ffc1d04c:	91 23 00 00 	stw     r9,0(r3)                               
ffc1d050:	38 60 ff ff 	li      r3,-1                                  
ffc1d054:	4b ff ff e0 	b       ffc1d034 <write+0x70>                  
  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 );                                 
ffc1d058:	4b ff 50 21 	bl      ffc12078 <__errno>                     <== NOT EXECUTED
ffc1d05c:	39 20 00 16 	li      r9,22                                  <== NOT EXECUTED
ffc1d060:	91 23 00 00 	stw     r9,0(r3)                               <== NOT EXECUTED
ffc1d064:	38 60 ff ff 	li      r3,-1                                  <== NOT EXECUTED
ffc1d068:	4b ff ff cc 	b       ffc1d034 <write+0x70>                  <== NOT EXECUTED
                                                                      

ffc09f48 <writev>: int bytes; rtems_libio_t *iop; ssize_t old; bool all_zeros; rtems_libio_check_fd( fd );
ffc09f48:	3d 20 00 00 	lis     r9,0                                   
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09f4c:	94 21 ff e8 	stwu    r1,-24(r1)                             
ffc09f50:	7c 08 02 a6 	mflr    r0                                     
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09f54:	81 29 27 18 	lwz     r9,10008(r9)                           
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09f58:	90 01 00 1c 	stw     r0,28(r1)                              
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09f5c:	7f 83 48 40 	cmplw   cr7,r3,r9                              
ssize_t writev(                                                       
  int                 fd,                                             
  const struct iovec *iov,                                            
  int                 iovcnt                                          
)                                                                     
{                                                                     
ffc09f60:	93 81 00 08 	stw     r28,8(r1)                              
ffc09f64:	93 a1 00 0c 	stw     r29,12(r1)                             
ffc09f68:	93 c1 00 10 	stw     r30,16(r1)                             
ffc09f6c:	93 e1 00 14 	stw     r31,20(r1)                             
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  ssize_t        old;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
ffc09f70:	40 9c 01 38 	bge-    cr7,ffc0a0a8 <writev+0x160>            
  iop = rtems_libio_iop( fd );                                        
ffc09f74:	3d 20 00 00 	lis     r9,0                                   
ffc09f78:	83 89 27 c4 	lwz     r28,10180(r9)                          
ffc09f7c:	1c 63 00 38 	mulli   r3,r3,56                               
ffc09f80:	7f 9c 1a 14 	add     r28,r28,r3                             
  rtems_libio_check_is_open( iop );                                   
ffc09f84:	81 3c 00 10 	lwz     r9,16(r28)                             
ffc09f88:	71 2a 01 00 	andi.   r10,r9,256                             
ffc09f8c:	41 82 01 1c 	beq-    ffc0a0a8 <writev+0x160>                
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
ffc09f90:	71 2a 00 04 	andi.   r10,r9,4                               
ffc09f94:	41 82 01 14 	beq-    ffc0a0a8 <writev+0x160>                <== NEVER TAKEN
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
ffc09f98:	2f 84 00 00 	cmpwi   cr7,r4,0                               
ffc09f9c:	41 9e 00 d8 	beq-    cr7,ffc0a074 <writev+0x12c>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
ffc09fa0:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc09fa4:	40 9d 00 d0 	ble-    cr7,ffc0a074 <writev+0x12c>            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
ffc09fa8:	2f 85 04 00 	cmpwi   cr7,r5,1024                            
ffc09fac:	41 9d 00 c8 	bgt-    cr7,ffc0a074 <writev+0x12c>            <== NEVER TAKEN
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
ffc09fb0:	54 be 18 38 	rlwinm  r30,r5,3,0,28                          
ffc09fb4:	39 1e ff f8 	addi    r8,r30,-8                              
ffc09fb8:	55 08 e8 fe 	rlwinm  r8,r8,29,3,31                          
ffc09fbc:	39 08 00 01 	addi    r8,r8,1                                
ffc09fc0:	7d 09 03 a6 	mtctr   r8                                     
ffc09fc4:	7c 9f 23 78 	mr      r31,r4                                 
ffc09fc8:	7c 89 23 78 	mr      r9,r4                                  
ffc09fcc:	38 c0 00 01 	li      r6,1                                   
ffc09fd0:	39 40 00 00 	li      r10,0                                  
ffc09fd4:	7f c4 f2 14 	add     r30,r4,r30                             
                                                                      
    /*                                                                
     *  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 )                                       
ffc09fd8:	81 09 00 00 	lwz     r8,0(r9)                               
ffc09fdc:	2f 88 00 00 	cmpwi   cr7,r8,0                               
ffc09fe0:	41 9e 00 94 	beq-    cr7,ffc0a074 <writev+0x12c>            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
ffc09fe4:	80 e9 00 04 	lwz     r7,4(r9)                               
ffc09fe8:	39 29 00 08 	addi    r9,r9,8                                
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
ffc09fec:	7d 07 52 14 	add     r8,r7,r10                              
    if ( total < old || total > SSIZE_MAX )                           
ffc09ff0:	7f 88 50 00 	cmpw    cr7,r8,r10                             
     */                                                               
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
ffc09ff4:	30 e7 ff ff 	addic   r7,r7,-1                               
ffc09ff8:	7c e7 39 10 	subfe   r7,r7,r7                               
ffc09ffc:	7c c6 38 38 	and     r6,r6,r7                               
   *  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++ ) {                    
ffc0a000:	7d 0a 43 78 	mr      r10,r8                                 
      all_zeros = false;                                              
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
ffc0a004:	41 9c 00 70 	blt-    cr7,ffc0a074 <writev+0x12c>            
   *  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++ ) {                    
ffc0a008:	42 00 ff d0 	bdnz+   ffc09fd8 <writev+0x90>                 
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc0a00c:	2f 86 00 00 	cmpwi   cr7,r6,0                               
    return 0;                                                         
ffc0a010:	3b a0 00 00 	li      r29,0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
ffc0a014:	40 9e 00 70 	bne-    cr7,ffc0a084 <writev+0x13c>            
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc0a018:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0a01c:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0a020:	40 9e 00 1c 	bne-    cr7,ffc0a03c <writev+0xf4>             <== ALWAYS TAKEN
ffc0a024:	3b ff 00 08 	addi    r31,r31,8                              
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
ffc0a028:	7f 9f f0 00 	cmpw    cr7,r31,r30                            
ffc0a02c:	41 9e 00 58 	beq-    cr7,ffc0a084 <writev+0x13c>            
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
ffc0a030:	80 bf 00 04 	lwz     r5,4(r31)                              
ffc0a034:	2f 85 00 00 	cmpwi   cr7,r5,0                               
ffc0a038:	41 9e ff ec 	beq+    cr7,ffc0a024 <writev+0xdc>             <== NEVER TAKEN
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
ffc0a03c:	81 3c 00 24 	lwz     r9,36(r28)                             
ffc0a040:	7f 83 e3 78 	mr      r3,r28                                 
ffc0a044:	80 9f 00 00 	lwz     r4,0(r31)                              
ffc0a048:	81 29 00 0c 	lwz     r9,12(r9)                              
ffc0a04c:	7d 29 03 a6 	mtctr   r9                                     
ffc0a050:	4e 80 04 21 	bctrl                                          
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
ffc0a054:	2c 03 00 00 	cmpwi   r3,0                                   
ffc0a058:	41 80 00 64 	blt-    ffc0a0bc <writev+0x174>                <== NEVER TAKEN
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
ffc0a05c:	41 82 00 08 	beq-    ffc0a064 <writev+0x11c>                <== NEVER TAKEN
      total       += bytes;                                           
ffc0a060:	7f bd 1a 14 	add     r29,r29,r3                             
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
ffc0a064:	81 3f 00 04 	lwz     r9,4(r31)                              
ffc0a068:	7f 83 48 00 	cmpw    cr7,r3,r9                              
ffc0a06c:	41 9e ff b8 	beq+    cr7,ffc0a024 <writev+0xdc>             <== ALWAYS TAKEN
ffc0a070:	48 00 00 14 	b       ffc0a084 <writev+0x13c>                <== NOT EXECUTED
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
ffc0a074:	48 00 89 ed 	bl      ffc12a60 <__errno>                     
ffc0a078:	39 20 00 16 	li      r9,22                                  
ffc0a07c:	91 23 00 00 	stw     r9,0(r3)                               
ffc0a080:	3b a0 ff ff 	li      r29,-1                                 
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
ffc0a084:	80 01 00 1c 	lwz     r0,28(r1)                              
ffc0a088:	7f a3 eb 78 	mr      r3,r29                                 
ffc0a08c:	83 81 00 08 	lwz     r28,8(r1)                              
ffc0a090:	7c 08 03 a6 	mtlr    r0                                     
ffc0a094:	83 a1 00 0c 	lwz     r29,12(r1)                             
ffc0a098:	83 c1 00 10 	lwz     r30,16(r1)                             
ffc0a09c:	83 e1 00 14 	lwz     r31,20(r1)                             
ffc0a0a0:	38 21 00 18 	addi    r1,r1,24                               
ffc0a0a4:	4e 80 00 20 	blr                                            
  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 );
ffc0a0a8:	48 00 89 b9 	bl      ffc12a60 <__errno>                     
ffc0a0ac:	39 20 00 09 	li      r9,9                                   
ffc0a0b0:	91 23 00 00 	stw     r9,0(r3)                               
ffc0a0b4:	3b a0 ff ff 	li      r29,-1                                 
ffc0a0b8:	4b ff ff cc 	b       ffc0a084 <writev+0x13c>                
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
      return -1;                                                      
ffc0a0bc:	3b a0 ff ff 	li      r29,-1                                 <== NOT EXECUTED
ffc0a0c0:	4b ff ff c4 	b       ffc0a084 <writev+0x13c>                <== NOT EXECUTED